]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix read past end of pattern in fnmatch (bug 18032)
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4a28f4d5
AS
12015-02-26 Andreas Schwab <schwab@suse.de>
2
3 [BZ #18032]
4 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
5 over collating symbol inside a bracket expression. Minor cleanup.
6 * posix/tst-fnmatch3.c (do_test): Add test case.
7
524ae9ea
JM
82015-02-26 Joseph Myers <joseph@codesourcery.com>
9
10 [BZ #18029]
11 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
12 Adjust exponent of power of 2 down when low part has opposite
13 sign.
14 * math/libm-test.inc (ilogb_test_data): Add more tests.
15
23d43090
AO
162015-02-26 Alexandre Oliva <aoliva@redhat.com>
17
18 [BZ #15969]
19 * locale/findlocale.c (_nl_find_locale): Fix constness error in
20 the previous change.
0d822a01
AO
21
22 [BZ #15969]
23 * locale/findlocale.c (_nl_find_locale): Retry archive search
24 after alias expansion.
25
d19df6ac
RM
262015-02-25 Roland McGrath <roland@hack.frob.com>
27
ca681b7b
RM
28 * iconv/tst-iconv3.c (main): Converted to ...
29 (do_test): ... this.
30 (TEST_FUNCTION): New macro.
31 Include test-skeleton.c.
32
fd1f2f1c
RM
33 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
34 (convert): Make function static.
35 (test_unalign): Likewise. Add const to argument pointee types.
36 (main): Replace with static function do_test.
37 Print "Succeeded." only if RET is zero.
38 (TEST_FUNCTION): New macro.
39 Include test-skeleton.c.
40
d19df6ac
RM
41 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
42 returns a null pointer.
43
115e0de7
AZ
442015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45
46 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
47 to __memcpy_ppc only for static builds.
48
137cef7d
JM
492015-02-25 Joseph Myers <joseph@codesourcery.com>
50
51 [BZ #18020]
52 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
53 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
54 * math/auto-libm-test-in: Add more tests of asinh.
55 * math/auto-libm-test-out: Regenerated.
56 * sysdeps/i386/fpu/libm-test-ulps: Update.
57 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58
cb43bb0d
CW
592015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
60
61 [BZ #15850]
62 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
63 and ip6_mtuinfo definitions here.
64 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
65 in this define too. Update comment.
66
9be1052b
BS
672015-02-24 Benno Schulenberg <bensberg@justemail.net>
68
69 * elf/sprof.c (load_shobj): Tweak error message to match others.
70
6807b1db
KE
712015-02-24 Kevin Easton <kevin@guarana.org>
72
73 [BZ #16145] (partial fix)
74 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
75 to reduce lock contention.
76
b433df00
ML
772015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
78
79 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
80 (struct timex): Update time comment.
81 (ADJ_SETOFFSET): Define.
82
440169d6
JM
832015-02-24 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #18019]
86 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
87 2**56 not 2**28 as threshold for log (2x) formula.
88 * math/auto-libm-test-in: Add more tests of acosh.
89 * math/auto-libm-test-out: Regenerated.
90 * sysdeps/i386/fpu/libm-test-ulps: Update.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92
ba7d2c54
MF
932015-02-24 Mike Frysinger <vapier@gentoo.org>
94
95 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
96 parenthesis around the buf assignment.
97 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
98
9438b237
JM
992015-02-24 Joseph Myers <joseph@codesourcery.com>
100
101 [BZ #16783]
102 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
103 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
104 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
105 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
106 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
107 * math/libm-test.inc (scalb_test_data): Add more tests.
108
6909d276
PP
1092015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
110
111 [BZ #17916]
112 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
113 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
114
65f6f938
ER
1152015-02-24 Eric Rannaud <e@nanocritical.com>
116
117 [BZ #17523]
118 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
119 * io/bits/fcntl2.h (open): Use it.
120 (openat): Likewise.
121 * io/open.c (__libc_open): Likewise.
122 * io/open64.c (__libc_open64): Likewise.
123 * io/open64_2.c (__open64_2): Likewise.
124 * io/open_2.c (__open_2): Likewise.
125 * io/openat.c (__openat): Likewise.
126 * io/openat64.c (__openat64): Likewise.
127 * io/openat64_2.c (__openat64_2): Likewise.
128 * io/openat_2.c (__openat_2): Likewise.
129 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
130 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
131 * sysdeps/posix/open64.c (__libc_open64): Likewise.
132 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
133 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
134 (__open_nocancel): Likewise.
135 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
136 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
137 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
138
3e3002ff
SP
1392015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
140
141 [BZ #14841]
142 * resolv/gethnamaddr.c (getanswer): Skip logging if
143 RES_USE_DNSSEC is set.
144 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
145
9813dd58
MF
1462015-02-24 Mike Frysinger <vapier@gentoo.org>
147
148 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
149
7b1ec6a0
AO
1502015-02-23 Alexandre Oliva <aoliva@redhat.com>
151
152 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
153 201304L, for Unicode 7.
154
d49499c1
L
1552015-02-23 H.J. Lu <hongjiu.lu@intel.com>
156
157 [BZ #17836]
158 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
159 shared library. Add gmon-start.os otherwise.
160 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
161 $(objpfx)gmon-start.os if builing shared library.
162 ($(objpfx)g$(static-start-installed-name)): Likewise.
163
51225803
AS
1642015-02-23 Andreas Schwab <schwab@suse.de>
165
166 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
167
bdf1ff05
PP
1682015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
169
170 [BZ #17269]
171 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
172 (enlarge_userbuf): Likewise.
173
95296112
CLT
1742015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
175
176 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
177 * math/atest-exp.c (TIMEOUT): Adjust to 200.
178 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
179 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
180
e4a399dc
JM
1812015-02-20 Joseph Myers <joseph@codesourcery.com>
182
183 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
184 expression inside statement expression.
185
7133957f
SL
1862015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
187
188 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
189 <sysdeps/nptl/lowlevellock.h> and remove macros and
190 functions that are now defined there.
191 (SYS_futex): Remove.
192 (lll_compare_and_swap): Remove.
193 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
194
40176158
JM
1952015-02-19 Joseph Myers <joseph@codesourcery.com>
196
197 [BZ #17999]
198 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
199 instead of scandirat.
200 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
201 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
202 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
203 __scandirat.
204 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
205 (__scandirat): Declare. Use libc_hidden_proto.
206 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
207 Remove variable.
208 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
209
4629c866
JM
2102015-02-18 Joseph Myers <joseph@codesourcery.com>
211
212 [BZ #15319]
213 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
214 (MO): New macro.
215 (__ieee754_atan2): For results with small absolute value, force
216 underflow exception and remove excess range and precision from
217 return value.
218 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
219 (MO): New macro.
220 (__ieee754_atan2f): For results with small absolute value, force
221 underflow exception and remove excess range and precision from
222 return value.
223 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
224 (MO): New macro.
225 (__atan): For results with small absolute value, force underflow
226 exception and remove excess range and precision from return value.
227 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
228 (MO): New macro.
229 (__atanf): For results with small absolute value, force underflow
230 exception and remove excess range and precision from return value.
231 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
232 <math.h>.
233 (__ieee754_atan2): Force underflow exception for results with
234 small absolute value.
235 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
236 <math_private.h>.
237 (atan): Force underflow exception for results with small absolute
238 value.
239 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
240 (__atanf): Force underflow exception for results with small
241 absolute value.
242 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
243 <math.h>.
244 (__atanl): Force underflow exception for results with small
245 absolute value.
246 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
247 (__atanl): Force underflow exception for results with small
248 absolute value.
249 * sysdeps/x86/fpu/bits/mathinline.h
250 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
251 (__ieee754_atan2): Only define inline for long double.
252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
253 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
254 * math/auto-libm-test-in: Do not mark underflow exceptions as
255 possibly missing for bug 15319. Add more tests of atan2.
256 * math/auto-libm-test-out: Regenerated.
257 * math/libm-test.inc (casin_test_data): Do not mark underflow
258 exceptions as possibly missing for bug 15319.
259 (casinh_test_data): Likewise.
260 * sysdeps/i386/fpu/libm-test-ulps: Update.
261
9ee16d8b
SE
2622015-02-18 Steve Ellcey <sellcey@imgtec.com>
263
264 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
265 * sysdeps/mips/bits/endian.h: Fix comments.
266
4ffb1771
JM
2672015-02-18 Joseph Myers <joseph@codesourcery.com>
268
269 [BZ #17996]
270 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
271 (hdestroy_r): Likewise.
272 (hsearch_r): Likewise.
273 (__hcreate_r): Declare and use libc_hidden_proto.
274 (__hdestroy_r): Likewise.
275 (__hsearch_r): Likewise.
276 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
277 (hcreate): Call __hcreate_r instead of hcreate_r.
278 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
279 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
280 as weak alias of __hcreate_r.
281 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
282 __hdestroy_r.
283 (hsearch_r): Rename to __hsearch_r and define as weak alias of
284 __hsearch_r.
285 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
286 Remove variable.
287 (test-xfail-XPG4/search.h/linknamespace): Likewise.
288 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
289 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
290 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
291
94c5a52a
SP
2922015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
293
294 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
295 arena_lock into a single arena_get.
296
8a35c3fe
CD
2972015-02-17 Carlos O'Donell <carlos@redhat.com>
298
299 * dl-reloc.c: Inlucde libc-internal.h.
300 (_dl_try_allocate_static_tls): Call ALIGN_UP.
301 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
302 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
303 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
304 (grow_heap): Likewise.
305 * malloc/malloc.c: Include libc-internal.h.
306 (do_check_malloc): Call powerof2.
307 (sysmalloc): Use pagesize. Call ALIGN_UP.
308 (systrim): Use pagesize.
309 (mremap_chunk): Use pagesize. Call ALIGN_UP.
310 (__libc_valloc): Use pagesize.
311 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
312
1a2325c0
JM
3132015-02-17 Joseph Myers <joseph@codesourcery.com>
314
315 [BZ #17991]
316 * include/sys/resource.h (__getrlimit64): Declare. Use
317 libc_hidden_proto.
318 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
319 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
320 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
321 getrlimit64.
322 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
323 __getrlimit64.
324 [!getrlimit64] (getrlimit64): Define as weak alias of
325 __getrlimit64. Use libc_hidden_weak.
326 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
327 using __getrlimit64 not __new_getrlimit64.
328 (__GI_getrlimit64): Likewise.
329 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
330 Likewise.
331 (__GI_getrlimit64): Likewise.
332 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
334 (getrlimit): Add __getrlimit64 alias.
335 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
336 Likewise.
337 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
338 Remove variable.
339 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
340 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
341
8ae4bb5a
PP
3422015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
343
344 * libio/fileops.c: Add missing sys/mman.h
345 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
346
18a218b7
JM
3472015-02-17 Joseph Myers <joseph@codesourcery.com>
348
349 * manual/math.texi (Errors in Math Functions): Clarify goals
350 regarding inexact and underflow exceptions.
351
e72ad0ef
SE
3522015-02-17 Steve Ellcey <sellcey@imgtec.com>
353
354 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
355 * sysdeps/mips/memset.S: Ditto.
356
2caa4099
SE
3572015-02-17 Steve Ellcey <sellcey@imgtec.com>
358
359 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
360
f20bfc9b
SL
3612015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
362
363 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
364 (__v1longjmp): Remove versioned symbol.
365 (__v1siglongjmp): Remove alias and versioned symbol.
366 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
367 (__v2siglongjmp): Likewise.
368
71c06b69
TR
3692015-02-16 Torvald Riegel <triegel@redhat.com>
370
371 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
372
a9a05adb
MF
3732015-02-16 Mike Frysinger <vapier@gentoo.org>
374
375 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
376
ce8fc784
JM
3772015-02-16 Joseph Myers <joseph@codesourcery.com>
378
379 [BZ #17987]
380 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
381 zero result does not depend on the sign resulting from
382 subtraction.
383 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
384 Likewise.
385 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
386 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
387 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
388 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
389 * math/libm-test.inc (remquo_test_data): Add more tests.
390
0d7036bd
PE
3912015-02-16 Paul Eggert <eggert@cs.ucla.edu>
392
393 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
394 Problem reported by J William Piggott.
395
86c56b16
JM
3962015-02-16 Joseph Myers <joseph@codesourcery.com>
397
a820f9b3
JM
398 [BZ #17978]
399 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
400 products 4 * y and 2 * y where those would overflow.
401 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
402 Likewise.
403 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
404 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
405 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
406 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
407 * math/libm-test.inc (remquo_test_data): Add more tests.
408
be802953
JM
409 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
410
e5e72fe9
JM
411 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
412 [defined _COMPILING_NEWLIB].
413 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
414 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
415
86c56b16
JM
416 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
417 [!defined __mips_isa_rev || __mips_isa_rev < 6].
418
35264d14
TR
4192015-02-16 Torvald Riegel <triegel@redhat.com>
420
421 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
422 acquired.
423
6f49e32a
MF
4242015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
425
426 [BZ #17792]
427 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
428 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
429 HOST_STACK_END_ADDR): Likewise.
430
e525154e
SE
4312015-02-13 Steve Ellcey <sellcey@imgtec.com>
432
433 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
434 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
435 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
436
4ab770b7
RM
4372015-02-13 Roland McGrath <roland@hack.frob.com>
438
439 * sysdeps/generic/c++-types.data: New file.
440 * sysdeps/generic/ld.abilist: New file.
441 * sysdeps/generic/libBrokenLocale.abilist: New file.
442 * sysdeps/generic/libanl.abilist: New file.
443 * sysdeps/generic/libc.abilist: New file.
444 * sysdeps/generic/libcrypt.abilist: New file.
445 * sysdeps/generic/libdl.abilist: New file.
446 * sysdeps/generic/libm.abilist: New file.
447 * sysdeps/generic/libpthread.abilist: New file.
448 * sysdeps/generic/libresolv.abilist: New file.
449 * sysdeps/generic/librt.abilist: New file.
450
d9afe48d
JM
4512015-02-13 Joseph Myers <joseph@codesourcery.com>
452
453 [BZ #17569]
454 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
455 Compute absolute value of x as modified by fmod, not original
456 value of x.
457 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
458 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
459 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
460 RUN_TEST_ffI_f1_mod8.
461 (remquo_test_data): Add more tests.
462
3846188b
RM
4632015-02-13 Roland McGrath <roland@hack.frob.com>
464
465 * sysdeps/init_array/pt-crti.S: New file.
466
95c26233
JM
4672015-02-13 Joseph Myers <joseph@codesourcery.com>
468
469 [BZ #17967]
470 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
471 __builtin_fmaf instead of relying on contraction of a * b + c.
472
3f293d61
WP
4732015-02-12 J William Piggott <elseifthen@gmx.com>
474
475 [BZ #17969]
476 * manual/time.texi: correct the zoneinfo path in the TZ Variable
477 node.
478
e8bd5286
JM
4792015-02-12 Joseph Myers <joseph@codesourcery.com>
480
481 [BZ #17964]
482 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
483 __builtin_fma instead of relying on contraction of a * b + c.
484
04f5a636
RM
4852015-02-12 Roland McGrath <roland@hack.frob.com>
486
96a15749
RM
487 * Makeconfig (ASFLAGS): Add -Werror=undef.
488 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
489 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
490 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
491
04f5a636
RM
492 * Makeconfig (after-link): New variable.
493 (+link-pie, +link-pie-tests): Use it.
494 (+link-static, +link-static-tests): Likewise.
495 (+link, +link-tests): Likewise.
496 * Makerules (build-module, build-module-asneeded): Likewise.
497 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
498 Likewise.
499 * elf/Makefile ($(objpfx)ld.so): Likewise.
500
87a629c5
RS
5012015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
502
503 [BZ #17965]
504 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
505 both struct timeval and struct timespec.
506
03d95bd4
JM
5072015-02-12 Joseph Myers <joseph@codesourcery.com>
508
509 [BZ #16560]
510 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
511 and redefine.
512 (__ieee754_exp2l): Do not multiply small fractional parts by
513 M_LN2l.
514 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
515 small argument.
516 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
517 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
518 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
519 * math/auto-libm-test-in: Add more tests of exp2.
520 * math/auto-libm-test-out: Regenerated.
521
98408b95
RS
5222015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
523
524 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
525 unaligned path.
526
6f741503
AZ
5272015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
528
529 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
530 little endian.
531
2868e070
AS
5322015-02-12 Andreas Schwab <schwab@suse.de>
533
534 [BZ #15790]
535 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
536 Filter out elision flags from value returned in kind.
537 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
538 * nptl/tst-pthread-mutexattr.c: New file.
539
ebf27d12
ST
5402015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
541
542 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
543 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
544 into gnu-gnu, and update comment to refer to abi-tags.
545
d435569c
JM
5462015-02-11 Joseph Myers <joseph@codesourcery.com>
547
548 [BZ #15467]
549 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
550 (__sincos): Set errno to EDOM for infinite argument.
551 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
552 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
553 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
554 (__sincosl): Set errno to EDOM for infinite argument.
555 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
556 (__sincosl): Set errno to EDOM for infinite argument.
557 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
558 (__sincosl): Set errno to EDOM for infinite argument.
559 * math/libm-test.inc (sincos_test_data): Test errno setting.
560
d35273f2
LH
5612015-02-11 Leonhard Holz <leonhard.holz@web.de>
562
563 * string/strxfrm_l.c: Remove #define STRCMP.
564 * string/strcoll_l.c: Remove #define STRLEN.
565 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
566 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
567
306bc0d1
JM
5682015-02-10 Joseph Myers <joseph@codesourcery.com>
569
570 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
571 * sysdeps/mips/mips32/sfp-machine.h: ... here.
572 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
573 * sysdeps/mips/mips64/Makefile: ... here.
574 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
575 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
576 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
577 * sysdeps/mips/mips64/sfp-machine.h: ... here.
578 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
579 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
580 * sysdeps/mips/mips64/n64/Implies: Likewise.
581
92b67e8d
RM
5822015-02-10 Roland McGrath <roland@hack.frob.com>
583
584 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
585 <sys/time.h>, <string.h>, and <errno.h>.
586 (dest_offset, dest_address, value, zero): Remove unused variables.
587 (ldouble): Remove typedef.
588 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
589 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
590 1). Fix code style.
591 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
592 (check): Function removed.
593 (CHECK): New macro.
594 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
595 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
596 Don't call set_sigaction_FP and remove_sigaction_FP here.
597 (ldouble_test): Just use 'long double' as macro argument, no need for
598 the 'ldouble' typedef.
599 (do_test): Set up SIGFPE handler at start, using plain signal rather
600 than sigaction. Fix code style.
601
132a1328
EF
6022015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
603
604 [BZ #17949]
605 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
606 jump label.
607
3001e54c
AZ
6082015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
609
bc0cdc49
AZ
610 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
611 * sysdeps/powerpc/powerpc32/configure: Regenerated.
612
83658961
AZ
613 * sysdeps/powerpc/configure.ac: Remove file.
614 * sysdeps/powerpc/configure: Likewise.
615
10169938
AZ
616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
617 [sysdep_routines]: Remove wordcopy-power6 object.
618 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
619 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
620 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
621 (__memmove_ppc32): Likewise.
622 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
623 file.
624 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
625 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
626 Remove preprocessor.
627
8548a53d
AZ
628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
629 [sysdep_routines]: Remove wide chars objects.
630 [wcsmbs]: New rule for wide char objects.
631
b2692114
AZ
632 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
633 Remove wordcopy-power6 obejct.
634 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
635 Use local call for wordcopy and memcpy symbols.
636 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
637 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
638 implementation for loader.
639 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
640
18e270aa
AZ
641 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
642 Remove wordcopy-power7 object.
643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
645 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
646 (_wordcopy_fwd_dest_aligned): Likewise.
647 (_wordcopy_bwd_aligned): Likewise.
648 (_wordcopy_bwd_dest_aligned): Likewise.
649
6f0993a6
AZ
650 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
651 Rewrite to call __memmove_ppc instead of include default
652 implementation.
653
3001e54c
AZ
654 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
655 Remove wide chars objects.
656 [wcsmbs]: New rule for wide char objects.
657
59b61c82
AS
6582015-02-09 Andreas Schwab <schwab@suse.de>
659
660 [BZ #17912]
661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
662 in terms of __O_DIRECTORY.
663
ebd7aede
ST
6642015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
665
666 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
667 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
668 call PTR_MANGLE.
669 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
670 PTR_DEMANGLE.
ebd7aede 671
3999d26e
PE
6722015-02-07 Paul Eggert <eggert@cs.ucla.edu>
673
674 Add ersatz _Static_assert on older C hosts
675 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
676 pre-C11 C platform that is not known to support _Static_assert.
677
e9a5bc1c
ST
6782015-02-07 Richard Braun <rbraun@sceen.net>
679
680 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
681 sigstate.
e86c5b64 682 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 683
e2049d17
ST
6842015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
685
686 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
687 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
688 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
689 instead of int.
690 * misc/fchflags.c (fchflags): Likewise.
691 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
692 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
693 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
694 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
695 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
696 Declare macros.
697 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
698 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
699 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
700 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
701 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
702 45.
a9a002fb
ST
703 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
704 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
705 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
706 MACH_RCV_TIMED_OUT.
f96ec27a
ST
707 * hurd/hurd/signal.h (_hurd_self_sigstate,
708 _hurd_critical_section_lock, _hurd_critical_section_unlock):
709 Explicit casts from void *.
4fc81a77 710 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 711 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 712
f05826f0
ST
713 [BZ #4719]
714 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
715 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
716 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
717 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
718 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
719 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
720
a5eb23de
ST
721 [BZ #17944]
722 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
723 duplicates ADDR->sun_path with sockaddr LEN limitation.
724 * sysdeps/mach/hurd/connect.c: Include <string.h>
725 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
726 * sysdeps/mach/hurd/sendmsg.c: Likewise.
727 * sysdeps/mach/hurd/sendto.c: Likewise.
728 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
729 implementing it by hand.
730
ac9e0e5e
RM
7312015-02-06 Roland McGrath <roland@hack.frob.com>
732
f8d1bb4c
RM
733 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
734 Use sfi_breg on ldr.
735 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
736 Likewise.
737
022f4812
RM
738 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
739 it's defined.
740 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
741 Test SIGSETXID only if it's defined.
742
1ac074e6
RM
743 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
744
f50ad78b
RM
745 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
746 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
747
9e7265f4
RM
748 * nptl/tst-align2.c: Moved ...
749 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
750 * nptl/Makefile (tests): Remove tst-align2.
751 * sysdeps/unix/sysv/linux/Makefile
752 [$(subdir) = nptl] (tests): Add tst-align-clone.
753 * nptl/tst-getpid1.c: Moved ...
754 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
755 * nptl/tst-getpid2.c: Moved ...
756 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
757 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
758 * sysdeps/unix/sysv/linux/Makefile
759 [$(subdir) = nptl] (tests): ... here.
760 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
761 * sysdeps/unix/sysv/linux/Makefile
762 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
763
62ad2abc
RM
764 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
765 Drop trailing \n from perror argument. Use return rather than exit.
766
cfa69b0b
RM
767 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
768 on [SA_SIGINFO].
769 * nptl/tst-cancel21.c (do_test): Likewise.
770 * debug/tst-backtrace6.c: Include <signal.h> first thing.
771 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
772 [!SA_SIGINFO]: Make it a stub test.
773
82727806
RM
774 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
775 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
776
da3a1594
RM
777 * posix/tst-getlogin.c: Move to ...
778 * login/tst-getlogin.c: ... here.
779 * posix/Makefile (tests): Move tst-getlogin to ...
780 * login/Makefile (tests): ... here.
781
b65c0ff9
RM
782 * libio/tst-atime.c (do_test): Move local variables SV and E
783 inside [ST_NOATIME] conditional.
784
56606ab3
RM
785 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
786
ebf7d6ee
RM
787 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
788
ca0e0675
RM
789 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
790 (wait_code): New function replaces macro.
791 Call nanosleep rather than syscall.
792
8c28bbc6
RM
793 * nptl/pt-system.c: Rewritten. Put everything under
794 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
795 Use IFUNC to redirect when possible.
796
ec2a88b3
RM
797 * nptl/pt-longjmp.c: Rewritten. Put everything under
798 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
799 Use IFUNC to redirect when possible.
800
beff1d13
RM
801 * nptl/pt-fork.c: Rewritten. Put everything under
802 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
803 Use IFUNC to redirect when possible.
804 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
805
ea02c6b8
RM
806 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
807 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
808 unconditionally nowadays. This included the only reference to
809 __vdso_clock_gettime that appears outside libc proper.
810 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
811 Remove version set (containing only __vdso_clock_gettime).
812 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
813 Add attribute_hidden.
814 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
815 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
816 libc_hidden_data_def.
817 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
818 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
819
a1309c2b
RM
820 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
821 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
822 setrpcent, and getrpcport to ...
823 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
824 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
825 getrpcbynumber_r, and getrpcent_r to ...
826 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
827 * inet/getrpcbyname.c: Moved ...
828 * sunrpc/getrpcbyname.c: ... here.
829 * inet/getrpcbyname_r.c: Moved ...
830 * sunrpc/getrpcbyname_r.c: ... here.
831 * inet/getrpcbynumber.c: Moved ...
832 * sunrpc/getrpcbynumber.c: ... here.
833 * inet/getrpcbynumber_r.c: Moved ...
834 * sunrpc/getrpcbynumber_r.c: ... here.
835 * inet/getrpcent.c: Moved ...
836 * sunrpc/getrpcent.c: ... here.
837 * inet/getrpcent_r.c: Moved ...
838 * sunrpc/getrpcent_r.c: ... here.
839 * inet/Makefile (routines): Move those to ...
840 * sunrpc/Makefile (routines): ... here.
841 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
842 the $(subdirs) list.
843 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
844 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
845 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
846 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
847
ac9e0e5e
RM
848 * elf/Makefile (routines): Include $(all-dl-routines), not just
849 $(dl-routines).
850 (rtld-routines): Likewise. Use = rather than :=.
851 * sysdeps/aarch64/Makefile [$(subdir) = elf]
852 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
853 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
854 * sysdeps/arm/Makefile: Likewise.
855 * sysdeps/i386/Makefile: Likewise.
856 * sysdeps/x86_64/Makefile: Likewise.
857 * sysdeps/hppa/Makefile [$(subdir) = elf]
858 (sysdep_routines, sysdep-rtld-routines): Don't add
859 $(sysdep-dl-routines) to these.
860 * sysdeps/ia64/Makefile: Likewise.
861 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
862 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
863 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
864 Don't add dl-static to these; sysdep-dl-routines alone is enough.
865 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
866 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
867 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
868 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
869 * sysdeps/powerpc/Makefile [$(subdir) = elf]
870 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
871 these; sysdep-dl-routines alone is enough.
872
639e42eb
JM
8732015-02-06 Joseph Myers <joseph@codesourcery.com>
874
1c7a4a51
JM
875 [BZ #17932]
876 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
877 where multiplication results in zero and third argument is finite
878 and nonzero.
879 * math/auto-libm-test-in: Add more tests of fma.
880 * math/auto-libm-test-out: Regenerated.
881
61f006c1
JM
882 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
883 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
884 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
885 (_FP_CMP_EQ): Likewise.
886 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
887
639e42eb
JM
888 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
889 extra argument CHECK_NAN. Redefine as wrapper around
890 _FP_EXTEND_CNAN.
891
3c0c543b
CD
8922015-02-06 Carlos O'Donell <carlos@systemhalted.org>
893
4e42b5b8
CD
894 * version.h (RELEASE): Set to "stable".
895 (VERSION): Set to "2.21"
896 * include/features.h (__GLIBC_MINOR__): Set to 21.
897
3c0c543b
CD
898 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
899
5bd80bfe 9002015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 901 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
902
903 [BZ #16618]
904 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
905 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
906 size in bytes. Store needed elements in wpmax. Use needed size
907 in bytes for extend_alloca.
908
3f823f48
CD
9092015-02-05 Carlos O'Donell <carlos@systemhalted.org>
910
04cb913d
CD
911 * manual/install.texi: Latest tested versions are GCC 4.9.2,
912 binutls 2.25, and texinfo 5.2.
913 * INSTALL: Regenerate.
914 * sysdeps/nios2/configure: Regenerate.
915 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
916 * manual/contrib.texi: Update.
917 * po/be.po: Update.
918 * po/bg.po: Update.
919 * po/ca.po: Update.
920 * po/cs.po: Update.
921 * po/da.po: Update.
922 * po/de.po: Update.
923 * po/el.po: Update.
924 * po/eo.po: Update.
925 * po/es.po: Update.
926 * po/fi.po: Update.
927 * po/fr.po: Update.
928 * po/gl.po: Update.
929 * po/hr.po: Update.
930 * po/hu.po: Update.
931 * po/ia.po: Update.
932 * po/id.po: Update.
933 * po/it.po: Update.
934 * po/ja.po: Update.
935 * po/ko.po: Update.
936 * po/lt.po: Update.
937 * po/nb.po: Update.
938 * po/nl.po: Update.
939 * po/pl.po: Update.
940 * po/pt_BR.po: Update.
941 * po/ru.po: Update.
942 * po/rw.po: Update.
943 * po/sk.po: Update.
944 * po/sl.po: Update.
945 * po/sv.po: Update.
946 * po/tr.po: Update.
947 * po/uk.po: Update.
948 * po/vi.po: Update.
949 * po/zh_CN.po: Update.
950 * po/zh_TW.po: Update.
951
3f823f48
CD
952 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
953 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
954 * sysdeps/hppa/dl-irel.h: Remove #warning.
955 * sysdeps/hppa/entry.h: Provide prototype for
956 __canonicalize_funcptr_for_compare and cast argument.
957 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
958 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
959 * sysdeps/hppa/sotruss-lib.c: New file.
960 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
961 (atomic_compare_and_exchange_val_acq): Use __typeof__.
962 (atomic_compare_and_exchange_bool_acq): Likewise.
963 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
964 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
965
966 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
967 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
968 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
969
34c56048
CLT
9702015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
971
972 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
973 called function in non-PIC case.
974
d4abeca5
DM
9752015-01-31 David S. Miller <davem@davemloft.net>
976
edac0a60
DM
977 * sysdeps/sparc/sparc32/bits/atomic.h
978 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
979 unlock not after it.
980 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
981 volatile register usage warnings from the compiler.
982
d4abeca5
DM
983 * sysdeps/sparc/nptl/sem_init.c: Delete.
984 * sysdeps/sparc/nptl/sem_post.c: Delete.
985 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
986 * sysdeps/sparc/nptl/sem_wait.c: Delete.
987 * sysdeps/sparc/sparc32/sem_init.c: New file.
988 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
989 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
990 padding explicitly initialized.
991 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
992 padding for in-semaphore spinlock.
993 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
994 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
995 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
996 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
997 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
998 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
999 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1000 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1001 version.
1002 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1003 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1004
5f3d0b78
L
10052015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 [BZ #17801]
1008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1009 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1010 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1011 New.
1012 (index_AVX_Fast_Unaligned_Load): Likewise.
1013 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1014 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1015 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1016 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1017 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1018 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1019 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1020 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1021 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1022
b658fdd8
AS
10232015-01-29 Andreas Schwab <schwab@suse.de>
1024
1025 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1026
3cb26316
SP
10272015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1028
1029 [BZ #17892]
1030 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1031
527de9e4
MS
10322015-01-28 Martin Sebor <msebor@redhat.com>
1033
1034 * math/README.libm-test: Clarify. Add "How to read the test output."
1035
06991eb8
CM
10362015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1037
1038 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1039 Define to 0.
1040
df341342
JM
10412015-01-28 Joseph Myers <joseph@codesourcery.com>
1042
1043 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1044 (__HAVE_64B_ATOMICS): Define to 0.
1045
08cee2a4
AZ
10462015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1047
d4d0ecb2
AZ
1048 [BZ #17885]
1049 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1050 value to set as new flag.
1051
08cee2a4
AZ
1052 [BZ #16576]
1053 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1054 and use _ARCH_PPCSQ instead.
1055 (__ieee754_sqrt): Likewise.
1056 (__ieee754_sqrtf): Likewise.
1057 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1058 _ARCH_PPCSQ is defined.
1059 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1060 fsqrt instruction.
1061 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1062 _ARCH_PPCSQ is defined.
1063 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1064 fsqrts instruction.
1065 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1066
5fe8e359
AK
10672015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1068
1069 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1070 bug (GCC BZ #64739).
1071
24bb7432
AS
10722015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1073
fa20da31
AS
1074 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1075 Mark _retval as used.
1076 (lll_futex_wake_unlock): Likewise.
1077 (lll_futex_timed_wait_requeue_pi): Likewise.
1078
45819cbc
AS
1079 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1080 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1081 register variables.
1082
403cc231
AS
1083 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1084 libm_hidden_def.
1085
24bb7432
AS
1086 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1087 (__bswap_64): Mark as __always_inline.
1088
9317ea65
B
10892015-01-25 Bram <bug_rh@spam.wizbit.be>
1090
1091 [BZ #15378]
1092 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1093 when none of the search directories exist.
1094
0e87343e
AZ
10952015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1096
bea58013
AZ
1097 [BZ #17869]
1098 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1099 power8 in .machine directive.
1100
0e87343e
AZ
1101 [BZ #17868]
1102 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1103 set dependency from opd value.
1104
ede0236c
L
11052015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1108 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1109 architecture.
ede0236c 1110
22971c35
L
11112015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 [BZ #17870]
1114 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1115 with uint64_t.
1116 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1117 (uint64_t) 1.
e0da28a1 1118 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1119 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1120 Replace 1UL with (uint64_t) 1.
1121 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1122 int with uint64_t.
1123
da5bf245
RM
11242015-01-23 Roland McGrath <roland@hack.frob.com>
1125
2ec2d703
RM
1126 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1127 (if_freenameindex): Likewise.
1128
da5bf245
RM
1129 * resource/getrlimit64.c: Add missing libc_hidden_def.
1130
d7423856
JM
11312015-01-22 Joseph Myers <joseph@codesourcery.com>
1132
1133 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1134 __label__.
1135 (_FP_FMA): Likewise.
1136 (_FP_TO_INT_ROUND): Likewise.
1137 (_FP_FROM_INT): Likewise.
1138
6b2ba95b
AZ
11392015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1140
1141 [BZ #16418]
1142 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1143 Make code racy and cancel safe.
1144
ccdb048d
CD
11452015-01-21 Carlos O'Donell <carlos@redhat.com>
1146
191220b3
CD
1147 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1148 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1149 attribution.
1150
0897c551
CD
1151 * pwd/tst-getpw.c: Rewrite.
1152
ccdb048d
CD
1153 [BZ #17702]
1154 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1155 (modules-names): Add moddummy1 and moddummy2.
1156 ($(objpfx)tst-rec-dlopen): Define.
1157 * dlfcn/moddummy1.c: New file.
1158 * dlfcn/moddummy2.c: New file.
1159 * dlfcn/tst-rec-dlopen.c: New file.
1160 * elf/dl-cache.c (_dl_load_cache_lookup):
1161 Return char*. Copy result with alloca/strcpy/strdup.
1162 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1163 returns char*. Free cached. If not saving realname
1164 free cached.
1165 * elf/dl-open.c (dl_open_worker): Do not assert that
1166 _r_debug->r_state is RT_CONSISTENT.
1167 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1168 returns char*.
1169
042e1521
CD
11702015-01-21 Torvald Riegel <triegel@redhat.com>
1171 Carlos O'Donell <carlos@redhat.com>
1172
1173 [BZ #12674]
1174 * nptl/sem_waitcommon.c: New file.
1175 * nptl/sem_wait.c: Include sem_waitcommon.c.
1176 (__sem_wait_cleanup, do_futex_wait): Remove.
1177 (__new_sem_wait): Adapt.
1178 (__new_sem_trywait): New function.
1179 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1180 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1181 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1182 (sem_timedwait): Adapt.
1183 * nptl/sem_post.c (__new_sem_post): Adapt.
1184 (futex_wake): New function.
1185 (__old_sem_post): Add release MO fence.
1186 * nptl/sem_open.c (sem_open): Adapt.
1187 * nptl/sem_init.c (__new_sem_init): Adapt.
1188 (futex_private_if_supported): New function.
1189 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1190 (__old_sem_getvalue): Add using previous code.
1191 * sysdeps/nptl/internaltypes.h: Adapt.
1192 * nptl/tst-sem13.c (do_test): Adapt.
1193 * nptl/tst-sem11.c (main): Adapt.
1194 * nptl/sem_trywait.c: Remove.
1195 * nptl/DESIGN-sem.txt: Remove.
1196 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1197 (gen-as-const-headers): Remove structsem.sym.
1198 * nptl/structsem.sym: Remove.
1199 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1200 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1201 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1202 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1203 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1204 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1205 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1206 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1207 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1208 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1209 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1210 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1211 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1212 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1213 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1214 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1215 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1216 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1217 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1218 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1219 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1220 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1221
fe0e85af
CD
12222015-01-20 Carlos O'Donell <carlos@redhat.com>
1223
a8db092e
CD
1224 * INSTALL: Regenerated.
1225
fe0e85af
CD
1226 * po/libc.pot: Regenerated.
1227
522e6ee3
CLT
12282015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1229 Sandra Loosemore <sandra@codesourcery.com>
1230 Andrew Jenner <andrew@codesourcery.com>
1231 Joseph Myers <joseph@codesourcery.com>
1232 Nathan Sidwell <nathan@codesourcery.com>
1233
1234 * NEWS: Mention new Nios II port.
1235 * sysdeps/nios2/Implies: New file.
1236 * sysdeps/nios2/Makefile: New file.
1237 * sysdeps/nios2/Subdirs: New file.
1238 * sysdeps/nios2/Versions: New file.
1239 * sysdeps/nios2/__longjmp.S: New file.
1240 * sysdeps/nios2/abort-instr.h: New file.
1241 * sysdeps/nios2/backtrace.c: New file.
1242 * sysdeps/nios2/bits/endian.h: New file.
1243 * sysdeps/nios2/bits/fenv.h: New file.
1244 * sysdeps/nios2/bits/link.h: New file.
1245 * sysdeps/nios2/bits/setjmp.h: New file.
1246 * sysdeps/nios2/bsd-_setjmp.S: New file.
1247 * sysdeps/nios2/bsd-setjmp.S: New file.
1248 * sysdeps/nios2/configure: New generated file.
1249 * sysdeps/nios2/configure.ac: New file.
1250 * sysdeps/nios2/crti.S: New file.
1251 * sysdeps/nios2/crtn.S: New file.
1252 * sysdeps/nios2/dl-init.c: New file.
1253 * sysdeps/nios2/dl-machine.h: New file.
1254 * sysdeps/nios2/dl-sysdep.h: New file.
1255 * sysdeps/nios2/dl-tls.h: New file.
1256 * sysdeps/nios2/dl-trampoline.S: New file.
1257 * sysdeps/nios2/gccframe.h: New file.
1258 * sysdeps/nios2/gmp-mparam.h: New file.
1259 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1260 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1261 * sysdeps/nios2/ldsodefs.h: New file.
1262 * sysdeps/nios2/libc-tls.c: New file.
1263 * sysdeps/nios2/libm-test-ulps: New file.
1264 * sysdeps/nios2/machine-gmon.h: New file.
1265 * sysdeps/nios2/math-tests.h: New file.
1266 * sysdeps/nios2/math_private.h: New file.
1267 * sysdeps/nios2/memusage.h: New file.
1268 * sysdeps/nios2/nptl/Makefile: New file.
1269 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1270 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1271 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1272 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1273 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1274 * sysdeps/nios2/nptl/tls.h: New file.
1275 * sysdeps/nios2/preconfigure: New file.
1276 * sysdeps/nios2/s_fma.c: New file.
1277 * sysdeps/nios2/s_fmaf.c: New file.
1278 * sysdeps/nios2/setjmp.S: New file.
1279 * sysdeps/nios2/sfp-machine.h: New file.
1280 * sysdeps/nios2/sotruss-lib.c: New file.
1281 * sysdeps/nios2/stackguard-macros.h: New file.
1282 * sysdeps/nios2/stackinfo.h: New file.
1283 * sysdeps/nios2/start.S: New file.
1284 * sysdeps/nios2/sysdep.h: New file.
1285 * sysdeps/nios2/tls-macros.h: New file.
1286 * sysdeps/nios2/tst-audit.h: New file.
1287 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1288 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1289 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1290 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1291 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1292 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1293 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1294 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1295 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1296 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1297 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1298 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1299 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1300 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1301 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1302 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1303 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1304 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1305 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1306 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1307 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1308 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1309 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1310 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1311 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1312 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1313 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1314 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1315 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1316 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1317 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1318 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1319 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1320 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1321 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1322 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1323 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1324 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1325 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1326 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1327 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1328 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1329 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1330 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1331
026eb207
SL
13322015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1333
1334 [BZ #17844]
1335 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1336 (getutent): Use weak_alias in non SHARED case
1337 and default_symbol_version in SHARED case.
1338 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1339 (getutent_r, pututline): Likewise.
1340 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1341 (getutid): Likewise.
1342 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1343 (getutid_r): Likewise.
1344 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1345 (getutline): Likewise.
1346 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1347 (getutline_r): Likewise.
1348 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1349 (updwtmp): Likewise.
1350
1d532483
SL
13512015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1352
1353 [BZ #17848]
1354 * sysdeps/s390/s390-32/memcmp.S
1355 (memcmp_g5): Rename to __memcmp_g5.
1356 * sysdeps/s390/s390-32/memcpy.S
1357 (memcpy_g5): Rename to __memcpy_g5.
1358 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1359 (memcpy_mvcle) Rename to __memcpy_mvcle.
1360 * sysdeps/s390/s390-32/memset.S
1361 (memset_g5): Rename to __memset_g5.
1362 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1363 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1364 and use prefixed functions.
1365 * sysdeps/s390/s390-32/multiarch/memcmp.S
1366 (memcmp_z196): Rename to __memcmp_z196.
1367 (memcmp_z10): Rename to __memcmp_z10.
1368 (memcmp): Set alias to __memcmp_g5.
1369 (bcmp): Set alias to __memcmp_g5.
1370 * sysdeps/s390/s390-32/multiarch/memcpy.S
1371 (memcpy_z196): Rename to __memcpy_z196.
1372 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1373 (memcpy_z10): Rename to __memcpy_z10.
1374 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1375 (memcpy): Set alias to __memcpy_g5.
1376 * sysdeps/s390/s390-32/multiarch/memset.S
1377 (memset_z196): Rename to __memset_z196.
1378 Jump to __memset_mvcle instead of memset_mvcle.
1379 (memset_z10): Rename to __memset_z10.
1380 Jump to __memset_mvcle instead of memset_mvcle.
1381 (memset_mvcle) Rename to __memset_mvcle.
1382 (memset): Set alias to __memset_g5.
1383 * sysdeps/s390/s390-64/memcmp.S
1384 (memcmp_z900): Rename to __memcmp_z900.
1385 * sysdeps/s390/s390-64/memcpy.S
1386 (memcpy_z900): Rename to __memcpy_z900.
1387 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1388 (memcpy_mvcle) Rename to __memcpy_mvcle.
1389 * sysdeps/s390/s390-64/memset.S
1390 (memset_z900): Rename to __memset_z900.
1391 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1392 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1393 and use prefixed functions.
1394 * sysdeps/s390/s390-64/multiarch/memcmp.S
1395 (memcmp_z196): Rename to __memcmp_z196.
1396 (memcmp_z10): Rename to __memcmp_z10.
1397 (memcmp): Set alias to __memcmp_z900.
1398 (bcmp): Set alias to __memcmp_z900.
1399 * sysdeps/s390/s390-64/multiarch/memcpy.S
1400 (memcpy_z196): Rename to __memcpy_z196.
1401 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1402 (memcpy_z10): Rename to __memcpy_z10.
1403 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1404 (memcpy): Set alias to __memcpy_z900.
1405 * sysdeps/s390/s390-64/multiarch/memset.S
1406 (memset_z196): Rename to __memset_z196.
1407 Jump to __memset_mvcle instead of memset_mvcle.
1408 (memset_z10): Rename to __memset_z10.
1409 Jump to __memset_mvcle instead of memset_mvcle.
1410 (memset_mvcle) Rename to __memset_mvcle.
1411 (memset): Set alias to __memset_z900.
1412
53fbd169
JM
14132015-01-14 Joseph Myers <joseph@codesourcery.com>
1414
1415 [BZ #17748]
1416 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1417 __fesetenv instead of fesetenv.
1418
d639a363
SP
14192015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1420
1421 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1422 macro.
1423
d3b00f46
AZ
14242015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1425
ce6615c9
AZ
1426 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1427 regression on LE.
1428
d3b00f46
AZ
1429 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1430 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1431 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1432 strncmp-power8 object.
1433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1434 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1435 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1436 * NEWS: Update.
1437
72607db0
RS
14382015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1439 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1440
1441 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1442 trailing byte check.
1443
54dc5461
DM
14442015-01-13 David S. Miller <davem@davemloft.net>
1445
1446 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1447
1c6e6f23
RM
14482015-01-13 Roland McGrath <roland@hack.frob.com>
1449
1450 * login/logout.c (logout): Use memset rather than bzero.
1451 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1452 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1453 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1454 (_gethtbyaddr): Likewise.
1455 * locale/programs/simple-hash.c (bcopy): Macro removed.
1456
96d6fd6c
AZ
14572015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458
8bedcb5f
AZ
1459 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1460 Add strcmp-power8 object.
1461 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1462 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1464 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1465 __strcmp_power8 implementation.
1466 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1467 * NEWS: Update.
1468
f06a4faf
AZ
1469 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1470 Add strncpy-power8 and stpncpy-power8 objects.
1471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1472 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1473 implementations.
1474 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1475 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1476 __stpncpy_power8 implementation.
1477 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1478 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1479 __strncpy_power8 implementation.
1480 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1481 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1482 * NEWS: Update.
1483
9f2f36e5
AZ
1484 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1485 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1486 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1487
96d6fd6c 1488 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1489 strncat-power8 object.
1490 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1491 __strcat_power8 implementation.
1492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1493 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1494 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1495 optimized strcat for power8.
1496
1497 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1498 strcpy-power8 and stpcpy-power8 objects.
1499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1500 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1501 implementations.
1502 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1503 multiarch stpcpy implementation for POWER8.
1504 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1505 multiarch strcpy implementation for POWER8.
1506 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1507 __strcpy_power8 function.
1508 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1509 stpcpy for POWER8.
1510 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1511 strcpy for POWER8.
1512 * NEWS: Update.
1513
0f9e5854
LH
15142015-01-13 Leonhard Holz <leonhard.holz@web.de>
1515
1516 [BZ #16009]
1517 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1518 weights and rules. Use do_xfrm_cached if data fits in cache,
1519 do_xfrm otherwise. Moved former main loop to...
1520 * (do_xfrm_cached): New function.
1521 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1522 find_idx, find_position and stack_push.
1523 * (find_idx): New function.
1524 * (find_position): Likewise.
1525 * localedata/sort-test.sh: Added test run for do_xfrm.
1526 * localedata/xfrm-test.c (main): Added command line option
1527 -nocache to run the test with strings that are too large for
1528 the STRXFRM cache.
1529
c60ec0e0
TR
15302015-01-13 Torvald Riegel <triegel@redhat.com>
1531
1532 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1533 variable to lll_futex_wake call, not the value itself.
1534
34e93d6c
JM
15352015-01-12 Joseph Myers <joseph@codesourcery.com>
1536
5a9e4c09
JM
1537 [BZ #17803]
1538 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1539 twom64. Adjust value to 0x1p-64L.
1540 (__scalblnl): Only return standard underflowing result for K <=
1541 -64 not K <= -63; adjust exponent for underflowing result by 64
1542 not 63.
1543 * math/libm-test.inc (scalbn_test_data): Add more tests.
1544 (scalbln_test_data): Likewise.
1545
34e93d6c
JM
1546 [BZ #17834]
1547 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1548 0x1p63L.
1549 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1550 not HX.
1551 * math/libm-test.inc (scalbn_test_data): Add more tests.
1552 (scalbln_test_data): Likewise.
1553
ca677d3c
AZ
15542015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 Stefani Seibold <stefani@seibold.net>
1556
1557 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1558 (sysdep_routines): Add dl-vdso here, ...
1559 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1560 (sysdep_routines): ... not here.
1561 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1562 fallback when vDSO is not presented.
1563 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1564 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1565 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1566 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1567 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1568 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1569 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1571 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1573 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1574 fallback configurable symbol when vDSO is not available.
1575 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1576 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1577 be able to redefine fallback symbol when vDSO is not available.
1578 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1579 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1580
49a9f6ab 15812015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1582
56cf2763
AZ
1583 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1584 (TLS_INIT_TP): Add tm_capable initialization.
1585 (TLS_DEFINE_INIT_TP): Likewise.
1586 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1587 TCB.
1588 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1589 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1590 calculation.
1591 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1592 transactoion is lock elision is built and TCB tm_capable is set.
1593 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1595 (INTERNAL_SYSCALL_NCS): Likewise.
1596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1597 (INTERNAL_SYSCALL_NCS): Likewise.
1598 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1599
4b45943a
AZ
1600 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1601 for powerpc.
1602 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1603 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1604 and remove it for 32 bits case.
1605 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1606 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1607 initialization.
1608 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1609 Disable lock elision with rdlocks if elision is not available.
1610
8d2c0a59
AZ
1611 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1612 (sysdep_routines): Add lock elision objects.
1613 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1614 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1615 [pthread_mutex_t] (__elision): Add field.
1616 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1617 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1618 elision definitions for powerpc.
1619 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1620 implementation of lock elision for powerpc.
1621 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1622 implementation of timed lock elision for powerpc.
1623 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1624 implementation of trylock with lock elision for powerpc.
1625 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1626 implementaion of unlock for lock elision for powerpc.
1627 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1628 automatic enable lock elision for mutexes.
1629 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1630 transaction execution definitions for powerpc.
1631 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1632 definitions.
1633 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1634 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1635 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1636 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1637 * NEWS: Update.
1638
bc0ed9f7
RM
16392015-01-09 Roland McGrath <roland@hack.frob.com>
1640
1641 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1642 for #include of <shm-directory.h>.
1643
585d9c18
CLT
16442015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1645
1646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1647 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1648
aee6626c
MF
16492015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1650
1651 [BZ #17791]
1652 * NEWS: Mention bug fix.
1653 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1654 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1655 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1656
9e560f48
TR
16572015-01-09 Torvald Riegel <triegel@redhat.com>
1658
1659 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1660
e1cfbd0c
TR
16612015-01-09 Torvald Riegel <triegel@redhat.com>
1662
1663 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1664
cf71e44f
DH
16652015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1666
1667 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1668 pointer and cast to uintptr_t.
1669
b360ee62
DH
16702015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1671
1672 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1673 removed.
1674 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1675
caff764e
DH
16762015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1677
1678 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1679 of 0.
1680
59ff172f
RM
16812015-01-08 Roland McGrath <roland@hack.frob.com>
1682
c97d27f1
RM
1683 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1684 <nptl/pthreadP.h> instead.
1685 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1686
08734ccd
RM
1687 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1688 already defined.
1689 [__SIGRTMIN] (init): Function removed.
1690 [__SIGRTMIN] (initialized): Variable removed.
1691 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1692 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1693 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1694 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1695 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1696 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1697 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1698 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1699 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1700 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1701 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1702 * sysdeps/nptl/allocrtsig.c: New file.
1703 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1704 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1705 * sysdeps/generic/testrtsig.h: File removed.
1706
7b052e33
RM
1707 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1708 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1709
cc40d25e
RM
1710 * nptl/nptl-init.c (pthread_functions): Conditionalize
1711 .ptr__nptl_setxid initialization on [SIGSETXID].
1712
9287adf0
RM
1713 * sysdeps/nptl/sys/procfs.h: New file.
1714 * nptl_db/Makefile (headers): Add it.
1715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1716
59ff172f
RM
1717 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1718 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1719 * nptl/pthread_attr_setaffinity.c: Include it.
1720 * nptl/pthread_setattr_default_np.c: Likewise.
1721 * nptl/check-cpuset.h: New file.
1722
b9205857
RH
17232015-01-08 Richard Henderson <rth@redhat.com>
1724
1725 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1726 (CFLAGS-tst-execstack-prog.c): Likewise.
1727 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1728
1a0a8d15
CLT
17292015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1730 Sandra Loosemore <sandra@codesourcery.com>
1731 Andrew Jenner <andrew@codesourcery.com>
1732 Joseph Myers <joseph@codesourcery.com>
1733 Nathan Sidwell <nathan@codesourcery.com>
1734
1735 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1736 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1737 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1738 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1739 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1740 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1741 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1742 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1743 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1744 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1745 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1746 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1747 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1748 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1749 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1750 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1751 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1752
dd6e8af6
AZ
17532015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754
1755 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1756 timespec struct member in syscall macro.
1757 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1758 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1759 first timeval struct member in syscall macro.
1760 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1761
8116321f
JM
17622015-01-07 Joseph Myers <joseph@codesourcery.com>
1763
1764 [BZ #17748]
1765 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1766 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1767 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1768 __feupdateenv and define as weak alias of __feupdateenv. Use
1769 libm_hidden_weak.
1770 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1771 libm_hidden_def.
1772 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1773 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1774 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1775 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1776 libm_hidden_def.
1777 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1778 __feupdateenv and define as weak alias of __feupdateenv. Use
1779 libm_hidden_weak.
1780 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1781 libm_hidden_def.
1782 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1783 __feupdateenv and define as weak alias of __feupdateenv. Use
1784 libm_hidden_weak.
1785 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1786 libm_hidden_def.
1787 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1788 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1789 (__feupdateenv): Likewise.
1790 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1791 __feupdateenv and define as weak alias of __feupdateenv. Use
1792 libm_hidden_weak.
1793 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1794 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1795 libm_hidden_def.
1796 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1797 function.
1798 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1799 libm_hidden_def.
1800 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1801 __feupdateenv instead of feupdateenv.
1802 (default_libc_feupdateenv_test): Likewise.
1803 (libc_feresetround_ctx): Likewise.
1804
882dfe18
AZ
18052015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1806
1807 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1808 prototype.
1809
39a12f8d
CM
18102015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1811
1812 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1813 COLL_SYM in a couple of places to avoid uninitialized variable
1814 wanings on tilegx gcc 4.8.2.
1815
dc400d7b
RE
18162015-01-07 Richard Earnshaw <rearnsha@arm.com>
1817
1818 * sysdeps/aarch64/strcpy.S: New file.
1819 * sysdeps/aarch64/stpcpy.S: New file.
1820 * NEWS: Updated.
1821
ec582ca0
RE
18222015-01-07 Richard Earnshaw <rearnsha@arm.com>
1823
1824 * sysdeps/aarch64/strrchr.S: New file.
1825 * NEWS: Updated.
1826
d5b1c5ed
EB
18272015-01-07 Eric Biggers <ebiggers3@gmail.com>
1828
1829 [BZ #17658]
1830 * stdlib/setenv.c: Fix memory leak when setting large,
1831 duplicate string.
1832
fb87ee96
VN
18332015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1834
60f046a8 1835 [BZ #17273]
fb87ee96
VN
1836 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1837 and tabs from buffer before parsing fstab entry.
1838 * misc/tst-mntent.c (main): Add test for mount entry with
1839 trailing spaces and tabs.
1840
cd42798a
JM
18412015-01-06 Joseph Myers <joseph@codesourcery.com>
1842
01238691
JM
1843 [BZ #17748]
1844 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1845 * math/fesetround.c (fesetround): Rename to __fesetround and
1846 define as weak alias of __fesetround. Use libm_hidden_weak.
1847 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1848 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1849 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1850 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1851 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1852 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1853 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1854 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1855 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1856 __fesetround_inline.
1857 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1858 __fesetround_inline instead of __fesetround.
1859 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1860 __fesetround and define as weak alias of __fesetround. Use
1861 libm_hidden_weak. Call __fesetround_inline instead of
1862 __fesetround.
1863 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1864 __fesetround and define as weak alias of __fesetround. Use
1865 libm_hidden_weak.
1866 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1867 Likewise.
1868 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1869 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1870 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1871 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1872 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1873 __fesetround and define as weak alias of __fesetround. Use
1874 libm_hidden_weak.
1875 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1876 __fesetround instead of fesetround.
1877 (default_libc_feholdexcept_setround): Likewise.
1878 (libc_feholdsetround_ctx): Likewise.
1879 (libc_feholdsetround_noex_ctx): Likewise.
1880
cd42798a
JM
1881 [BZ #17748]
1882 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1883 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1884 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1885 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1886 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1887 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1888 define as weak alias of __fesetenv. Use libm_hidden_weak.
1889 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1890 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1891 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1892 define as weak alias of __fesetenv. Use libm_hidden_weak.
1893 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1894 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1895 define as weak alias of __fesetenv. Use libm_hidden_weak.
1896 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1897 libm_hidden_def.
1898 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1899 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1900 Likewise.
1901 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1902 define as weak alias of __fesetenv. Use libm_hidden_weak.
1903 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1904 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1905 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1906 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1907 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1908 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1909 __fesetenv instead of fesetenv.
1910 (libc_feresetround_noex_ctx): Likewise.
1911 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1912 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1913 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1914 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1915 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1916 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1917 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1918 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1919 (__feupdateenv): Likewise.
1920 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1921 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1922 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1923 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1924
38949026
AJ
19252015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1926
1cf98e27 1927 [BZ #17806]
38949026
AJ
1928 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1929 addresses have been freed.
1930
5fe55e9c
AJ
19312015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1932
1933 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1934 and nservall.
1935
dc8ab018
OB
19362015-01-06 Ondřej Bílka <neleai@seznam.cz>
1937
1938 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1939 Clean up check_pf allocation pattern. addresses
1940
14bb4e57
AZ
19412015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1942
1943 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1944 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1945 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1946 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1947 * nptl/pthread_join.c (pthread_join): Likewise.
1948 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1949 * sysdeps/posix/waitid.c (__waitid): Likewise.
1950 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1951 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1952 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1953 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1954 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1955 Likewise.
1956 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1957 (__libc_pread64): Likewise.
1958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1959 (__libc_pwrite): Likewise.
1960 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1961 (__libc_pwrite64): Likewsie.
1962 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1963 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1964 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1965 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1966 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1967 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1968 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1970 Likewise.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1972 (__libc_pread64): Likewise.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1974 Likewise.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1976 (__libc_pwrite64): Likewise.
1977 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1978 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1979 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1980 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1981 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1982 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1983 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1984 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1985 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1986 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1987 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1988 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1989 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1990 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1991 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1992 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1993 Likewise.
1994
10a5e112
AS
19952015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1996
1997 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1998 (CFLAGS-test-double.c): Likewise.
1999 (CFLAGS-test-ldouble.c): Likewise.
2000 (CPPFLAGS-test-ifloat.c): Likewise.
2001 (CPPFLAGS-test-idouble.c): Likewise.
2002 (CPPFLAGS-test-ildoubl.c): Likewise.
2003 (CFLAGS-test-test-fenv.c): Remove variable.
2004 (CFLAGS-test-misc.c): Likewise.
2005
57ada0e7
L
20062015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2007
2008 [BZ #17797]
2009 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2010 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2011 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2012 CLOCKS_PER_SEC == 1000000.
2013 * time/clocktest.c (main): Replace %ld with %jd and cast to
2014 intmax_t.
2015
46abb64d
RM
20162015-01-05 Roland McGrath <roland@hack.frob.com>
2017
2018 * sysdeps/generic/unwind-resume.h: New file.
2019 * sysdeps/gnu/unwind-resume.c: Include it.
2020 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2021 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2022 argument list.
2023 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2024 global rather than static.
2025 (_Unwind_Resume): Update user.
2026 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2027 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2028 rather than static. Add __attribute__ ((cold)).
2029 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2030 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2031 * sysdeps/arm/arm-unwind-resume.S: New file.
2032 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2033 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2034 * sysdeps/arm/Makefile [$(subdir) = csu]
2035 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2036 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2037 Add rt-arm-unwind-resume.
2038 [$(subdir) = nptl]
2039 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2040 Add pt-arm-unwind-resume.
2041 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2042 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2043
ef9faf13
JM
20442015-01-05 Joseph Myers <joseph@codesourcery.com>
2045
2046 [BZ #17748]
2047 * include/fenv.h (__feholdexcept): Declare. Use
2048 libm_hidden_proto.
2049 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2050 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2051 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2052 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2053 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2054 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2055 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2056 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2057 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2058 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2059 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2060 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2061 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2062 (feholdexcept): Likewise.
2063 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2064 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2065 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2066 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2067 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2068 __feholdexcept instead of feholdexcept.
2069 (default_libc_feholdexcept_setround): Likewise.
2070
295a453e
SE
20712015-01-05 Steve Ellcey <sellcey@imgtec.com>
2072
2073 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2074 to avoid using stl/str to align destination.
2075
882c4b9f
SE
20762015-01-05 Steve Ellcey <sellcey@imgtec.com>
2077
2078 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2079
ac4c11f5
JM
20802015-01-05 Joseph Myers <joseph@codesourcery.com>
2081
2082 [BZ #17796]
2083 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2084 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2085 Define as weak alias not strong alias.
2086
03403e30
SE
20872015-01-05 Steve Ellcey <sellcey@imgtec.com>
2088
2089 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2090 bltzal with addiupc.
2091 (RTLD_START): Ditto.
2092
1dca195e
CM
20932015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2094
00b8b9ba
SP
2095 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2096 for __vdso_* functions in declarations.
2097 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2098 definitions.
2099 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2100 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2101
1dca195e
CM
2102 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2103 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2104 function with cast from llround().
2105 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2106 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2107 Define.
2108
a287953a
JM
21092015-01-05 Joseph Myers <joseph@codesourcery.com>
2110
ab70da77
JM
2111 [BZ #17793]
2112 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2113 Define as weak alias not strong alias.
2114
b8986484
JM
2115 [BZ #17635]
2116 * ctype/ctype-c99.c: New file. isblank implementation moved from
2117 ...
2118 * ctype/ctype-extn.c: ... here.
2119 (__isblank_l): Move to ...
2120 * ctype/ctype-c99_l.c: ... here. New file.
2121 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2122 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2123 Remove variable.
2124 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2125 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2126 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2127 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2128 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2129
a287953a
JM
2130 [BZ #17777]
2131 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2132 (posix_fadvise64): Define as weak alias not strong alias.
2133 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2134 (posix_fallocate64): Likewise.
2135 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2136 Remove variable.
2137 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2138 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2139 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2140 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2141 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2142
b1efe3bb
MF
21432015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2144
2145 [BZ #16191]
2146 * NEWS: Mention bug fix.
2147 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2148 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2149 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2150 (HOST_STACK_END_ADDR): Likewise.
2151
9706dc5f
JM
21522015-01-02 Joseph Myers <joseph@codesourcery.com>
2153
b93c2205
JM
2154 [BZ #17748]
2155 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2156 * math/fegetround.c (fegetround): Rename to __fegetround and
2157 define as weak alias of __fegetround. Use libm_hidden_weak.
2158 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2159 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2160 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2161 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2162 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2163 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2164 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2165 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2166 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2167 Undefine after rather than before function definition; use
2168 parentheses around function name in definition.
2169 (__fegetround): Also undefine macro after function definition.
2170 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2171 __fegetround and define as weak alias of __fegetround. Use
2172 libm_hidden_weak. Do not undefine as macro.
2173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2174 Likewise.
2175 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2176 __fegetround and define as weak alias of __fegetround. Use
2177 libm_hidden_weak.
2178 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2179 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2180 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2181 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2182 __fegetround and define as weak alias of __fegetround. Use
2183 libm_hidden_weak.
2184 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2185 __fegetround instead of fegetround.
2186
253a59cc
JM
2187 [BZ #17782]
2188 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2189 Condition macro definition on [__USE_MISC].
2190
27dae011
JM
2191 [BZ #17781]
2192 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2193 (struct sigaction): Change type of sa_flags field to int.
2194
172019c0
JM
2195 [BZ #17780]
2196 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2197 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2198 __glibc_reserved0.
2199
522ad1d6
JM
2200 * nptl/version.c (banner): Use single year in copyright notice.
2201
9706dc5f
JM
2202 * NEWS: Update copyright dates.
2203 * catgets/gencat.c (print_version): Likewise.
2204 * csu/version.c (banner): Likewise.
2205 * debug/catchsegv.sh: Likewise.
2206 * debug/pcprofiledump.c (print_version): Likewise.
2207 * debug/xtrace.sh (do_version): Likewise.
2208 * elf/ldconfig.c (print_version): Likewise.
2209 * elf/ldd.bash.in: Likewise.
2210 * elf/pldd.c (print_version): Likewise.
2211 * elf/sotruss.sh: Likewise.
2212 * elf/sprof.c (print_version): Likewise.
2213 * iconv/iconv_prog.c (print_version): Likewise.
2214 * iconv/iconvconfig.c (print_version): Likewise.
2215 * locale/programs/locale.c (print_version): Likewise.
2216 * locale/programs/localedef.c (print_version): Likewise.
2217 * login/programs/pt_chown.c (print_version): Likewise.
2218 * malloc/memusage.sh (do_version): Likewise.
2219 * malloc/memusagestat.c (print_version): Likewise.
2220 * malloc/mtrace.pl: Likewise.
2221 * manual/libc.texinfo: Likewise.
2222 * nptl/version.c (banner): Likewise.
2223 * nscd/nscd.c (print_version): Likewise.
2224 * nss/getent.c (print_version): Likewise.
2225 * nss/makedb.c (print_version): Likewise.
2226 * posix/getconf.c (main): Likewise.
2227 * scripts/test-installation.pl: Likewise.
2228 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2229
b8607aac
WN
22302015-01-02 Will Newton <will.newton@linaro.org>
2231
2232 * sysdeps/arm/armv7/configure: Removed.
2233 * sysdeps/arm/armv7/configure.ac: Likewise.
2234
b168057a
JM
22352015-01-02 Joseph Myers <joseph@codesourcery.com>
2236
2237 * All files with FSF copyright notices: Update copyright dates
2238 using scripts/update-copyrights.
2239 * intl/plural.c: Regenerated.
2240 * locale/programs/charmap-kw.h: Likewise.
2241 * locale/programs/locfile-kw.h: Likewise.
2242
b217c15f
SP
22432015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2244
2245 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2246
73a268c7
JM
22472014-12-31 Joseph Myers <joseph@codesourcery.com>
2248
2249 [BZ #17748]
2250 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2251 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2252 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2253 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2254 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2255 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2256 define as weak alias of __fegetenv. Use libm_hidden_weak.
2257 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2258 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2259 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2260 define as weak alias of __fegetenv. Use libm_hidden_weak.
2261 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2262 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2263 define as weak alias of __fegetenv. Use libm_hidden_weak.
2264 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2265 libm_hidden_def.
2266 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2267 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2268 Likewise.
2269 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2270 define as weak alias of __fegetenv. Use libm_hidden_weak.
2271 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2272 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2273 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2274 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2275 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2276 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2277 __fegetenv instead of fegetenv.
2278 (libc_feholdsetround_noex_ctx): Likewise.
2279
0bd95672
MF
22802014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2281
2282 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2283 (Elf_MIPS_ABIFlags_v0): New structure.
2284 (EF_MIPS_FP64): Define.
2285 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2286 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2287 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2288 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2289 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2290 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2291 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2292 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2293 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2294 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2295 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2296 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2297 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2298 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2299 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2300 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2301 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2302 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2303 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2304 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2305 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2306 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2307 field.
2308 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2309 EF_MIPS_FP64.
2310 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2311 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2312 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2313 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2314 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2315 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2316 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2317 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2318 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2319 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2320 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2321 record the current FP ABI extension.
2322 (mips-mode-switch): Define to show if kernel headers support mode
2323 switching.
2324 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2325 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2326 supported SYSV ABI version to 3.
2327 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2328 feature.
2329
f59ad976
RS
23302014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2331 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2332
2333 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2334 path.
2335 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2336
4a3d3999
JM
23372014-12-31 Joseph Myers <joseph@codesourcery.com>
2338
2339 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2340 __fegetround and redefine to call __fegetround. Remove condition
2341 on [!__NO_MATH_INLINES].
2342 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2343 function.
2344 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2345 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2346 Remove macro.
2347 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2348 instead of <fenv_libc.h>.
2349 (__llrintl): Call fegetround instead of __fegetround.
2350 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2351 instead of <fenv_libc.h>.
2352 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2353 (__lrintl): Call fegetround instead of __fegetround.
2354 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2355 instead of <fenv_libc.h>.
2356 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2357 (__rintl): Call fegetround instead of __fegetround.
2358
195f3afc
SP
23592014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2360
2361 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2362 arrays.
2363
7062bd42
L
23642014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2365
2366 [BZ #17775]
2367 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2368 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2369 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2370
07256e18
AS
23712014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2372
2373 * sysdeps/i386/tls-macros.h: Include <features.h>.
2374 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2375 (TLS_IE): Likewise.
2376 (TLS_LD): Likewise.
2377 (TLS_GD): Likewise.
2378 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2379 define for GCC >= 5.0.
2380
1ff950ad
CM
23812014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2382
2383 * math/test-fenv.c (test_single_exception, set_single_exc,
2384 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2385 feexcp_mask_test, feenable_test, fe_single_test): Add
2386 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2387 case where they are not used.
2388 * math/libm-test.inc: Likewise.
2389 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2390 unused in the absence of FP rounding/exception support.
2391 * stdio-common/tst-printf-round.c: Likewise.
2392 * stdlib/tst-strtod-round.c: Likewise.
2393 * stdlib/tst-strtod-underflow.c: Likewise.
2394
0747f818
JM
23952014-12-30 Joseph Myers <joseph@codesourcery.com>
2396
2397 [BZ #17723]
2398 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2399 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2400 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2401 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2402 libm_hidden_weak.
2403 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2404 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2405 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2406 libm_hidden_def.
2407 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2408 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2409 libm_hidden_weak.
2410 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2411 Likewise.
2412 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2413 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2414 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2415 libm_hidden_weak.
2416 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2417 libm_hidden_def.
2418 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2419 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2420 (__feraiseexcept): Likewise.
2421 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2422 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2423 libm_hidden_weak.
2424 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2425 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2426 libm_hidden_def.
2427 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2428 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2429 Use libm_hidden_def.
2430 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2431 libm_hidden_def.
2432 (feraiseexcept): Define as weak not strong alias. Use
2433 libm_hidden_weak.
2434 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2435 New inline function. Factored out of ...
2436 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2437 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2438 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2439 feraiseexcept.
2440 * math/w_acos.c (__acos): Likewise.
2441 * math/w_asin.c (__asin): Likewise.
2442 * math/w_ilogb.c (__ilogb): Likewise.
2443 * math/w_j0.c (y0): Likewise.
2444 * math/w_j1.c (y1): Likewise.
2445 * math/w_jn.c (yn): Likewise.
2446 * math/w_log.c (__log): Likewise.
2447 * math/w_log10.c (__log10): Likewise.
2448 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2449 * sysdeps/aarch64/fpu/math_private.h
2450 (libc_feupdateenv_test_aarch64): Likewise.
2451 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2452 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2453 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2454 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2455 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2456 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2457 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2458 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2459 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2460 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2461
8d2b2763
L
24622014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2463
2464 [BZ #17732]
2465 * io/test-utime.c (main): Replace %ld with %jd and cast to
2466 intmax_t.
41fad830 2467 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2468 * nptl/tst-mutex5.c: Include <stdint.h>.
2469 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2470 * posix/tst-regex.c (run_test): Likewise.
2471 (run_test_backwards): Likewise.
5d619de4
L
2472 * rt/tst-clock.c: Include <stdint.h>.
2473 (clock_test): Replace %ld with %jd and cast to intmax_t.
2474 * rt/tst-cpuclock1.c: Include <stdint.h>.
2475 (do_test): Replace %lu with %ju and cast to uintmax_t.
2476 * rt/tst-cpuclock2.c: Include <stdint.h>.
2477 (do_test): Replace %lu with %ju and cast to uintmax_t.
2478 * rt/tst-mqueue1.c: Include <stdint.h>.
2479 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2480 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2481 intmax_t.
2482 * rt/tst-mqueue4.c (do_test): Likewise.
2483 * rt/tst-timer4.c: Include <stdint.h>.
2484 (check_ts): Replace %ld with %jd and cast to intmax_t.
2485 (do_test): Likewise.
ad86fbc3
L
2486 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2487 and cast to intmax_t.
37f46900 2488 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2489 * time/clocktest.c (main): Likewise.
2490 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2491 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2492
8b4416d8
AS
24932014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2494 H.J. Lu <hongjiu.lu@intel.com>
2495
2496 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2497 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2498 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2499 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2500 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2501 version if bit_Fast_Unaligned_Load is set.
2502 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2503 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2504 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2505 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2506 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2507 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2509 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2510 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2511 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2512 to 4.
2513 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2514 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2515 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2516 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2517
e47b8d3b
CM
25182014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2519
6d6d7fde
CM
2520 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2521 instead of #if to avoid a Wundef warning.
2522 * stdlib/tst-limits.c (do_test): Likewise.
2523
cd2c37c9
CM
2524 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2525 parallel other exception macros.
2526 (fegetenv): Convert from macro to extern inline so that it applies
2527 retroactively to inline functions already seen by the compiler.
2528 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2529
e47b8d3b
CM
2530 * posix/Makefile (before-compile): Use $(objpfx) for
2531 posix-conf-vars-def.h.
2532
4a6aca7b
SP
25332014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2534
7910c2ae
SP
2535 * posix/getconf.c (main): Use size_t for type of I.
2536 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2537 NSPEC.
2538
50cbbaa9
SP
2539 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2540 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2541 * posix/posix-envs.def: Likewise.
2542 * sysdeps/posix/sysconf.c: Likewise.
2543 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2544 (specs): Remove array.
2545 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2546 array.
2547
3b566046
SP
2548 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2549 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2550 (__sysconf): Use CONF_IS_* macros.
2551
4a6aca7b
SP
2552 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2553 ($(objpfx)posix-conf-vars-def.h): New target.
2554 * posix/posix-conf-vars.list: New file.
2555 * posix/posix-conf-vars.h: New file.
2556 * posix/confstr.c: Include posix-conf-vars.h.
2557 (confstr): Use CONF_IS_* macros.
2558 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2559 CONF_IS_* macros.
2560 * scripts/gen-posix-conf-vars.awk: New file.
2561
7c1395a7
CM
25622014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2563
0025b4cc
CM
2564 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2565 fegetround): Add no-op macros to avoid linknamespace issues.
2566
d8aaf74b
CM
2567 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2568 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2569
5d24aa60
CM
2570 * sysdeps/unix/sysv/linux/tile/sysdep.h
2571 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2572 assembly-specific section to avoid a redefinition warning.
2573
7c1395a7
CM
2574 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2575 long before casting to pointer to avoid a cast warning.
2576
3c87c616
CM
25772014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2578
2579 * sysdeps/tile/tilegx/Implies: New file.
2580
f559d8cf
RE
25812014-12-23 Richard Earnshaw <rearnsha@arm.com>
2582
2583 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2584
7d81e8d6
FW
25852014-12-23 Florian Weimer <fweimer@redhat.com>
2586
2587 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2588
90aa3d09
JM
25892014-12-22 Joseph Myers <joseph@codesourcery.com>
2590
2591 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2592 not define.
2593 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2594 <kernel-features.h>.
2595 (__utimes) [__NR_utimes]: Make code unconditional.
2596 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2597 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2598 (__ASSUME_UTIMES): Do not undefine.
2599 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2600 (__ASSUME_UTIMES): Likewise.
2601 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2602 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2603 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2604 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2605
4c0c0e2a
SE
26062014-12-22 Steve Ellcey <sellcey@imgtec.com>
2607
2608 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2609
0dacd7a3
CM
26102014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2611
b638f96a
CM
2612 [BZ #17747]
2613 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2614 alias to weak alias for j0l, y0l.
2615 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2616 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2617
0dacd7a3
CM
2618 [BZ #17746]
2619 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2620 conversion.
2621
528479c4
SE
26222014-12-22 Steve Ellcey <sellcey@imgtec.com>
2623
2624 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2625 to zero if not already defined.
2626
f56f9124
JM
26272014-12-22 Joseph Myers <joseph@codesourcery.com>
2628
2629 [BZ #17724]
2630 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2631 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2632 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2633 (char *) casts added.
2634 * sysdeps/ieee754/k_standardf.c: New file.
2635 * sysdeps/ieee754/k_standardl.c: Likewise.
2636 * math/Makefile (libm-support): Remove k_standard.
2637 (libm-calls): Add k_standard.
2638
8622d556
WD
26392014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2640
2641 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2642 Optimize to avoid an unnecessary FPCR read.
2643
f3806bdb
WD
26442014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2645
2646 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2647 Optimize to reduce FPCR/FPSR accesses.
2648
9b47df58
WD
26492014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2650
2651 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2652 Call libc_fetestexcept_aarch64.
2653
97be3cac
WD
26542014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2655
2656 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2657 Call libc_fesetround_aarch64.
2658
935ab817
JM
26592014-12-22 Joseph Myers <joseph@codesourcery.com>
2660
2661 [BZ #17733]
2662 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2663 (__bind): Do not define as weak alias.
2664 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2665 define.
2666 (__getsockname): Do not define as weak alias.
2667
cc8623f1
WN
26682014-12-22 Will Newton <will.newton@linaro.org>
2669
2670 * manual/install.texi: Document that we require bison 2.7
2671 or above.
2672 * INSTALL: Regenerate.
2673 * configure.ac: Use AC_CHECK_PROG_VER instead of
2674 AC_PATH_PROG when checking for bison and check for
2675 version 2.7 or above.
2676 * configure: Regenerate.
2677
a19ca65a
CM
26782014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2679
92901170 2680 [BZ #17745]
e969965a
CM
2681 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2682 * sysdeps/tile/ffsll.c (ffsll): To here.
2683
a19ca65a
CM
2684 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2685
050f7298
L
26862014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2687
2688 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2689 if not defined.
2690 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2691 definition.
2692 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2693 hidden ___tls_get_addr.
2694 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2695 hidden __tls_get_addr.
2696 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2697 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2698 Likewise.
2699
6df5547e
AS
27002014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2701
2702 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2703 _dl_init call.
2704
7432d613
L
27052014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2706
2707 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2708 from "call _dl_init@PLT".
2709 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2710
98fe149e
AK
27112014-12-21 Anders Kaseorg <andersk@mit.edu>
2712
2713 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2714 guarantees.
2715
d12455f5
CM
27162014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2717
2718 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2719
95dee05f
CM
27202014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2721
92901170 2722 [BZ #17744]
95dee05f
CM
2723 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2724 strnlen.
2725
2ef4b74a
SE
27262014-12-19 Steve Ellcey <sellcey@imgtec.com>
2727
2728 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2729 of multu on MIPSr6.
2730 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2731 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2732 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2733 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2734 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2735
27362014-12-19 Steve Ellcey <sellcey@imgtec.com>
2737
2738 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2739 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2740 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2741 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2742 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2743 mips32r6/mips64r6.
2744 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2745
3eb38795
OB
27462014-12-19 Ondřej Bílka <neleai@seznam.cz>
2747
2748 * string/strncat.c (STRNCAT): Simplify implementation.
2749
6d4188dd
DM
27502014-12-19 David S. Miller <davem@davemloft.net>
2751
0d4ba8be
DM
2752 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2753 access the quad as both a long double and as a series of 4 words.
2754
6d4188dd
DM
2755 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2756 link_map->l_info array access.
2757
4ef91cdc
CM
27582014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2759
804c54f7
CM
2760 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2761
4ef91cdc
CM
2762 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2763 * math/atest-exp2.c (TIMEOUT): Likewise.
2764 * math/atest-sincos.c (TIMEOUT): Likewise.
2765
afd176d6
L
27662014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2767
2768 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2769 -Wno-error with -fno-builtin-lround.
2770
a4a43a90
TR
27712014-12-19 Torvald Riegel <triegel@redhat.com>
2772
2773 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2774 Contains futex constants and functions moved over from ...
2775 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2776 <lowlevellock-futex.h>.
2777 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2778 (lll_timedwait_tid): Add comments and parentheses around macro
2779 arguments.
2780
76f71081
TR
27812014-12-19 Torvald Riegel <triegel@redhat.com>
2782
2783 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2784 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2785 (__lll_private_flag): Remove.
2786 (lll_futex_wait): Likewise.
2787 (lll_futex_timed_wait): Likewise.
2788 (lll_futex_wake): Likewise.
2789 (lll_futex_requeue): Likewise.
2790 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2791 (__lll_timedwait_tid): Spell out argument names.
2792 (lll_timedwait_tid): Add comments and parentheses around macro
2793 arguments.
2794 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2795 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2796
6b814909
TR
27972014-12-19 Torvald Riegel <triegel@redhat.com>
2798
2799 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2800 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2801 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2802 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2803 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2804 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2805 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2806 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2807 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2808 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2809 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2810 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2811 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2812 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2813 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2814 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2815 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2816 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2817 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2818
9cd4d4ab
L
28192014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2820
2821 * sysdeps/x86_64/x32/Makefile: New file.
2822
c9c1a2d0
L
28232014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2824
2825 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2826 1L with (mp_limb_t) 1.
2827
af102d95
RM
28282014-12-17 Roland McGrath <roland@hack.frob.com>
2829
dd690454
RM
2830 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2831 * nptl/libc_pthread_init.c: ... here.
2832 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2833 * nptl/register-atfork.c: ... here.
2834
74eb826c
RM
2835 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2836 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2837 Use assert_perror to check its return value.
2838 (__gai_create_helper_thread): Likewise.
2839
c9ce306b
RM
2840 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2841
af102d95
RM
2842 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2843
8ac5a76a
JM
28442014-12-17 Joseph Myers <joseph@codesourcery.com>
2845
ea41469b
JM
2846 [BZ #17725]
2847 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2848 __profil_counter.
2849 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2850 Likewise.
2851 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2852 Likewise.
2853 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2854 Likewise.
2855 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2856 (profil_counter): Likewise.
2857 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2858 (profil_counter): Likewise.
2859 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2860 Likewise.
2861 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2862 Likewise.
2863 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2864 (profil_counter): Likewise.
2865 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2866 Likewise.
2867 [!__profil_counter] (profil_counter): Define as weak alias of
2868 __profil_counter.
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2870 (profil_counter): Rename to __profil_counter.
2871 [!__profil_counter] (profil_counter): Define as weak alias of
2872 __profil_counter.
2873 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2874 (profil_counter): Rename to __profil_counter.
2875 [!__profil_counter] (profil_counter): Define as weak alias of
2876 __profil_counter.
2877 * sysdeps/posix/profil.c: Update comment referring to
2878 profil_counter.
2879 (__profil): Use __profil_counter instead of profil_counter.
2880 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2881 __profil_counter. Use __profil_counter_ushort and
2882 __profil_counter_uint in definitions.
2883 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2884 instead of profil_counter_uint and profil_counter_ushort.
2885
8ac5a76a
JM
2886 [BZ #17722]
2887 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2888 define as weak alias of __inet_makeaddr.
2889 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2890 as weak alias of __inet_addr.
2891 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2892 as weak alias of __inet_pton. Use libc_hidden_weak.
2893 * include/arpa/inet.h (__inet_pton): Declare. Use
2894 libc_hidden_proto.
2895 (inet_makeaddr): Don't use libc_hidden_proto.
2896 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2897 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2898 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2899 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2900 Remove variable.
2901 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2902 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2903
66ce3cb1
SE
29042014-12-17 Steve Ellcey <sellcey@imgtec.com>
2905
2906 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2907
d22ce01b
SL
29082014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2909
2910 * stdio-common/bug-vfprintf-nargs.c (do_test):
2911 Cast value to intptr_t to avoid format warning
2912 for usage with PRIdPTR printing macro.
2913
eca2772b
SL
29142014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2915
2916 * libio/tst-widetext.c (do_test):
2917 Use format type %td instead of %Zd for ptrdiff_t
2918 in order to avoid format warning.
2919
bdf079da
AS
29202014-12-17 Andreas Schwab <schwab@suse.de>
2921
2922 * nscd/mem.c (gc): Add size_t cast to match printf format.
2923
3eb5d2fc
RM
29242014-12-16 Roland McGrath <roland@hack.frob.com>
2925
2926 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2927 (init): Apply PTR_MANGLE to pointers before storing them.
2928 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2929 before using them.
2930
d003ada2
JM
29312014-12-16 Joseph Myers <joseph@codesourcery.com>
2932
380292ba
JM
2933 [BZ #17719]
2934 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2935 define as weak alias of __memrchr.
2936 (__memrchr): Do not define as strong alias of memrchr.
2937 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2938 Remove variable.
2939 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2940 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2941 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2942
9a44d530
JM
2943 [BZ #17717]
2944 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2945 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2946 (if_indextoname): Rename to __if_indextoname and define as weak
2947 alias of __if_indextoname. Use libc_hidden_weak.
2948 (if_freenameindex): Rename to __if_freenameindex and define as
2949 weak alias of __if_freenameindex.
2950 (if_nameindex): Rename to __if_nameindex and define as weak alias
2951 of __if_nameindex.
2952 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2953 __if_nametoindex and define as weak alias of __if_nametoindex.
2954 Use libc_hidden_weak.
2955 (if_freenameindex): Rename to __if_freenameindex and define as
2956 weak alias of __if_freenameindex.
2957 (if_nameindex): Rename to __if_nameindex and define as weak alias
2958 of __if_nameindex.
2959 (if_indextoname): Rename to __if_indextoname and define as weak
2960 alias of __if_indextoname. Use libc_hidden_weak.
2961 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2962 __if_nametoindex and define as weak alias of __if_nametoindex.
2963 Use libc_hidden_weak.
2964 (if_freenameindex): Rename to __if_freenameindex and define as
2965 weak alias of __if_freenameindex. Use libc_hidden_weak.
2966 (if_nameindex_netlink): Use __if_freenameindex instead of
2967 if_freenameindex.
2968 (if_nameindex): Rename to __if_nameindex and define as weak alias
2969 of __if_nameindex. Use libc_hidden_weak.
2970 (if_indextoname): Rename to __if_indextoname and define as weak
2971 alias of __if_indextoname. Use libc_hidden_weak.
2972 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2973 libc_hidden_proto.
2974 [!_ISOMAC] (__if_freenameindex): Likewise.
2975 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2976 if_nametoindex.
2977 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2978 variable.
2979 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2980 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2981 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2982 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2983 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2984 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2985 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2986
d003ada2
JM
2987 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2988 Remove variable.
2989 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2990 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2991
a0d424ef
SP
29922014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2993
0cd85520
SP
2994 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2995 subscript above bounds'
2996
a0d424ef
SP
2997 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2998 bounds.
2999
0e426475
AS
30002014-12-16 Arjun Shankar <arjun.is@lostca.se>
3001
8b460906
AS
3002 * libio/tst-fopenloc.c: Use test-skeleton.c.
3003
fa13e15b
AS
3004 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3005 (entry): Rename to ITEM.
3006 (do_test, comp): Adjust.
3007
0e426475
AS
3008 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3009
4f646bce
TR
30102014-12-16 Torvald Riegel <triegel@redhat.com>
3011
3012 * string/tester.c: Include <libc-internal.h>.
3013 (test_memset): Ignore -Wmemset-transposed-args.
3014
a07c4427
TR
30152014-12-16 Torvald Riegel <triegel@redhat.com>
3016
3017 * misc/tst-mntent2.c (do_test): Fix warning.
3018
1469f466
TR
30192014-12-16 Torvald Riegel <triegel@redhat.com>
3020
3021 * elf/tst-unique4lib.cc(a): Mark as used.
3022
11e3417a
FW
30232014-12-16 Florian Weimer <fweimer@redhat.com>
3024
3025 [BZ #17630]
3026 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3027 names.
3028
ae61fc7b
AM
30292014-12-16 Allan McRae <allan@archlinux.org>
3030
3031 * stdio-common/Makefile (tests): Re-add bug26.
3032
363a9899
OB
30332014-12-15 Ondřej Bílka <neleai@seznam.cz>
3034
3035 [BZ #17657]
3036 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3037 static array.
3038
d52c62df
TR
30392014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3040
3041 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3042 (__lll_lock_wait): Likewise.
3043 (__lll_timedlock_wait): Likewise.
3044 (__lll_timedwait_tid): Likewise.
3045 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3046 (__lll_robust_timedlock_wait): Likewise.
3047 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3048 (lll_cond_trylock): Likewise.
3049 (__lll_lock): Likewise.
3050 (__lll_robust_lock): Likewise.
3051 (__lll_cond_lock): Likewise.
3052 (lll_robust_cond_lock): Likewise.
3053 (__lll_timedlock): Likewise.
3054 (__lll_robust_timedlock): Likewise.
3055 (__lll_unlock): Likewise.
3056 (__lll_robust_unlock): Likewise.
3057 (lll_wait_tid): Likewise.
3058 (lll_timedwait_tid): Likewise.
3059
045a6bcd
TR
30602014-12-15 Torvald Riegel <triegel@redhat.com>
3061
3062 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3063
7f786dc1
TR
30642014-12-15 Torvald Riegel <triegel@redhat.com>
3065
3066 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3067
e7e21cba
AZ
30682014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3069
3070 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3071 * stdio-common/tst-sprintf.c: Likewise.
3072
bc89c0fc
TR
30732014-12-15 Torvald Riegel <triegel@redhat.com>
3074
3075 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3076
a5357b7c
JL
30772014-12-15 Jeff Law <law@redhat.com>
3078
3079 [BZ #16617]
3080 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3081 on the heap. (CVE-2012-3406)
3082 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3083 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3084 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3085
3a12c70f
WN
30862014-12-15 Will Newton <will.newton@linaro.org>
3087
3088 * manual/install.texi: Bump required version of texinfo
3089 to 4.7 from 4.5.
3090 * INSTALL: Regenerated.
3091 * configure.ac: Check for makeinfo version 4.7 and above.
3092 * configure: Regenerated.
3093
e4f639e4
RM
30942014-12-12 Roland McGrath <roland@hack.frob.com>
3095
3096 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3097 PREFIX, string constant to insert between directory and name.
3098 * sysdeps/posix/shm_open.c: Update caller.
3099 * sysdeps/posix/shm_unlink.c: Likewise.
3100 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3101 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3102 (SEM_SHM_PREFIX): New macro.
3103 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3104 [$(have-thread-library) = no].
3105 * nptl/Makefile (libpthread-routines): Add shm-directory.
3106 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3107 * sysdeps/nptl/shm-directory.h: New file.
3108 * sysdeps/posix/shm-directory.c
3109 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3110 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3111 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3112 INTERNAL_SYSCALL.
3113 (__where_is_shmfs): Function removed.
3114 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3115 Variables removed.
3116 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3117 Use SHM_GET_NAME.
3118 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3119
3120 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3121 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3122 unconditional for use inside libpthread.
3123 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3124
439c43f6
RM
31252014-12-12 Roland McGrath <roland@hack.frob.com>
3126
c76d1ff5
RM
3127 * nptl/pthread_getaffinity.c: New file.
3128 * nptl/pthread_setaffinity.c: New file.
3129 * nptl/pthread_getname.c: New file.
3130 * nptl/pthread_setname.c: New file.
3131
439c43f6
RM
3132 * nptl/pthread_create.c (START_THREAD_DEFN)
3133 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3134
48e435cd
SL
31352014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3136 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3137
3138 * resolv/res_send.c (send_vc): Disable warning resplen may
3139 be used uninitialized.
3140
9d9c0019
SL
31412014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3142
3143 * nptl/tst-mutex6.c
3144 (ATTR_NULL): New define checks ATTR against NULL.
3145 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3146 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3147
9173840b
JL
31482014-12-11 James Lemke <jwlemke@codesourcery.com>
3149
3150 [BZ #17581]
3151 * malloc/hooks.c
3152 (mem2mem_check): Revert my previous change.
3153 (malloc_check_get_size): Revert my previous change.
3154 (mem2chunk_check): Revert my previous change.
3155
78e21c5d
RM
31562014-12-11 Roland McGrath <roland@hack.frob.com>
3157
3158 * sysdeps/posix/shm-directory.c: New file.
3159 * sysdeps/posix/shm-directory.h: New file.
3160 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3161 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3162 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3163 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3164 Transmute EPERM to EACCES.
3165 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3166 from ...
3167 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3168 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3169
f82c43af
KK
31702014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3171
3172 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3173 pointer and cast to uintptr_t.
3174 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3175 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3176 Add cast to avoid warning.
3177 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3178
fc00cf7b
JM
31792014-12-11 Joseph Myers <joseph@codesourcery.com>
3180
3181 * nptl/semaphore.h: Move to ...
3182 * sysdeps/pthread/semaphore.h: ... here.
3183 * Makefile (installed-headers): Change nptl/semaphore.h to
3184 sysdeps/pthread/semaphore.h.
3185
1c4053db
RM
31862014-12-11 Roland McGrath <roland@hack.frob.com>
3187
73b0c1a1
RM
3188 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3189 generated error format strings.
3190
1c4053db
RM
3191 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3192 -Wformat-extra-args warnings for scanf formats.
3193 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3194 test of zero-length format (duh).
3195 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3196 corner-case scanf format test.
3197 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3198 generated fprintf format string.
3199 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3200 corner-case sprintf format tests.
3201 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3202 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3203 -Wformat-extra-args warnings throughout.
3204 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3205 (CFLAGS-scanf4.c): Likewise.
3206 (CFLAGS-scanf7.c): Likewise.
3207 (CFLAGS-tst-sprintf.c): Likewise.
3208 (CFLAGS-tst-printf.c): Likewise.
3209 (CFLAGS-tst-printfsz.c): Likewise.
3210
47d51f4f
JM
32112014-12-11 Joseph Myers <joseph@codesourcery.com>
3212
a1edbf3c
JM
3213 * include/cpio.h: New file.
3214 * include/fmtmsg.h: Likewise.
3215
47d51f4f
JM
3216 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3217 corresponding format argument to size_t.
3218 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3219 arguments.
3220 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3221 corresponding format argument to size_t.
3222 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3223 arguments.
3224 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3225 corresponding format argument to size_t.
3226 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3227 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3228 (CFLAGS-tst-mbswcs2.c): Likewise.
3229 (CFLAGS-tst-mbswcs3.c): Likewise.
3230 (CFLAGS-tst-mbswcs4.c): Likewise.
3231 (CFLAGS-tst-mbswcs5.c): Likewise.
3232 (CFLAGS-tst-trans.c): Likewise
3233
e9813cfb
RM
32342014-12-11 Roland McGrath <roland@hack.frob.com>
3235
3236 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3237 rather than assuming they won't contain any '%'s.
3238
f627ca82
CM
32392014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3240
3241 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3242 inhibit_loop_to_libcall to avoid recursive calls.
3243 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3244 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3245
7f296942
AZ
32462014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3247
3248 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3249 prototype.
3250
d0276e18
SE
32512014-12-11 Steve Ellcey <sellcey@imgtec.com>
3252
3253 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3254 integer value instead of boolean.
3255
fc56e970
SE
32562014-12-11 Steve Ellcey <sellcey@imgtec.com>
3257
3258 * malloc/malloc.c: Fix powerof2 check.
3259
40e53917
SL
32602014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3261
3262 * locale/programs/locfile.h (maybe_swap_uint32):
3263 Remove inline and add unused attribute.
3264
1ea166df
SL
32652014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3266
9d9c0019 3267 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3268 Truncating assembler expression to a .long expression.
3269
acf869f4
AS
32702014-12-11 Andreas Schwab <schwab@suse.de>
3271
3272 * elf/rtld.c (struct map_args): Constify str member.
3273 (do_preload): Constify fname argument.
3274
9d969099
AZ
32752014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3276
3277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3278 constants definition.
3279
da5bcaa4
AS
32802014-12-11 Andreas Schwab <schwab@suse.de>
3281
b0a3c164
AS
3282 [BZ #16657]
3283 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3284 FORCE_ELISION instead of DO_ELISION.
3285 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3286 Remove.
3287 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3288 Likewise.
3289
da5bcaa4
AS
3290 * iconvdata/gconv-modules: Remove duplicate entry.
3291
6d248857
WN
32922014-12-11 Will Newton <will.newton@linaro.org>
3293
3294 Merge gettext 0.19.3 into intl/.
3295
3296 This involves a number of cosmetic changes to comments
3297 and ANSI function definitions and prototypes throughout
3298 all the files. The gettext copyright header is used but
3299 with the date ranges taken from the glibc copy.
3300
3301 * NEWS: Add gettext merge to 2.21.
3302 * intl/bindtextdom.c: Switch to gettext copyright.
3303 Use ANSI definitions and prototypes.
3304 Use gl_* locking primitives rather than __libc_* ones.
3305 Use __builtin_expect rather than __glibc_likely/unlikely.
3306 * intl/dcgettext.c: Switch to gettext copyright.
3307 Use ANSI definitions and prototypes.
3308 * intl/dcigettext.c: Switch to gettext copyright.
3309 Use ANSI definitions and prototypes.
3310 (INTDIV0_RAISES_SIGFPE): New define.
3311 Use gl_* locking primitives rather than __libc_* ones.
3312 Include eval-plural.h instead of plural-eval.c.
3313 Use __builtin_expect rather than __glibc_likely/unlikely.
3314 * intl/dcngettext.c: Switch to gettext copyright.
3315 Use ANSI definitions and prototypes.
3316 * intl/dgettext.c: Likewise.
3317 * intl/dngettext.c: Likewise.
3318 * intl/plural-eval.c: Renamed to...
3319 * intl/eval-plural.h: ...this.
3320 * intl/explodename.c: Switch to gettext copyright.
3321 Use ANSI definitions and prototypes.
3322 (_nl_explode_name): Use strchr instead of __rawmemchr.
3323 * intl/finddomain.c: Switch to gettext copyright.
3324 Use ANSI definitions and prototypes.
3325 Use gl_* locking primitives rather than __libc_* ones.
3326 (_nl_find_domain): Use malloc rather than alloca for
3327 allocation of temporary locale name.
3328 * intl/gettext.c: Switch to gettext copyright.
3329 Use ANSI definitions and prototypes.
3330 * intl/gettextP.h: Switch to gettext copyright.
3331 Use ANSI definitions and prototypes.
3332 Use gl_* locking primitives rather than __libc_* ones.
3333 * intl/gmo.h: Switch to gettext copyright.
3334 (struct sysdep_string): Move struct segment_pair outside of
3335 struct definition.
3336 * intl/hash-string.c: Use ANSI definitions and prototypes.
3337 * intl/hash-string.h: Switch to gettext copyright.
3338 Use ANSI definitions and prototypes.
3339 * intl/l10nflist.c: Switch to gettext copyright.
3340 Use ANSI definitions and prototypes.
3341 (_nl_normalize_codeset): Avoid integer overflow.
3342 * intl/loadinfo.h: Switch to gettext copyright.
3343 Use ANSI definitions and prototypes.
3344 (LIBINTL_DLL_EXPORTED): New define.
3345 (PATH_SEPARATOR): New define.
3346 * intl/loadmsgcat.c: Switch to gettext copyright.
3347 * intl/localealias.c: Switch to gettext copyright.
3348 Use ANSI definitions and prototypes.
3349 (_nl_expand_alias): Use PATH_SEPARATOR.
3350 * intl/ngettext.c: Switch to gettext copyright.
3351 Use ANSI definitions and prototypes.
3352 * intl/plural-exp.c: Likewise.
3353 * intl/plural-exp.h: Switch to gettext copyright.
3354 Use ANSI definitions and prototypes.
3355 (struct expression): Move definition of enum operator outside
3356 of struct definition.
3357 * intl/plural.c: Regenerate.
3358 * intl/plural.y: Switch to gettext copyright.
3359 Use ANSI definitions and prototypes.
3360 Port to bison 3.0.
3361 * intl/textdomain.c: Switch to gettext copyright.
3362 Use ANSI definitions and prototypes.
3363 Use gl_* locking primitives rather than __libc_* ones.
3364
48c43298
SE
33652014-12-10 Steve Ellcey <sellcey@imgtec.com>
3366
3367 * debug/warning-nop.c: Add used atrribute.
3368
2b89bce9
JM
33692014-12-10 Joseph Myers <joseph@codesourcery.com>
3370
c153ac9f
JM
3371 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3372
2b89bce9
JM
3373 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3374 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3375 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3376
2cfbdb9a
JM
33772014-12-10 Joseph Myers <joseph@codesourcery.com>
3378 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3379
3380 [BZ #17634]
3381 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3382 Undefine after defining function. Define as weak alias of
3383 __wcschr. Use libc_hidden_weak.
3384 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3385 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3386 (libc_hidden_def): Also define __GI___wcschr alias.
3387 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3388 __wcschr and define as weak alias of __wcschr.
3389 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3390 __wcschr.
3391 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3392 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3393 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3394 libc_hidden_weak. Do not use libc_hidden_def.
3395 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3396 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3397 __GI___wcschr alias.
3398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3399 [IS_IN (libc)] (wcschr): Define as macro expanding to
3400 __redirect_wcschr.
3401 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3402 [IS_IN (libc)] (__wcschr_power6): Likewise.
3403 [IS_IN (libc)] (__wcschr_power7): Likewise.
3404 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3405 instead of wcschr.
3406 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3407 __libc_wcschr.
3408 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3409 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3410 __wcschr and define as weak alias of __wcschr. Use
3411 libc_hidden_builtin_def.
3412 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3413 as weak alias of __wcschr. Use libc_hidden_weak.
3414 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3415 wcschr.
3416 * time/era.c (_nl_init_era_entries): Likewise.
3417 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3418 variable.
3419 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3420 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3421
1b8bf351
JM
34222014-12-10 Joseph Myers <joseph@codesourcery.com>
3423
3424 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3425 format for long int variable.
3426
f5f46d51
AK
34272014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3428
3429 [BZ #10672]
07008f7d 3430 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3431 qsort stable.
3432
217a74a8
AS
34332014-12-10 Andreas Schwab <schwab@suse.de>
3434
3435 [BZ #12847]
3436 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3437 user-controlled locks.
3438
aa76a5c7
RE
34392014-12-10 Richard Earnshaw <rearnsha@arm.com>
3440
3441 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3442 register.
3443
2084e7ca
JM
34442014-12-10 Joseph Myers <joseph@codesourcery.com>
3445
a4ecc9eb
JM
3446 * configure.ac (--disable-werror): New configure option.
3447 (enable_werror): New AC_SUBST.
3448 * configure: Regenerated.
3449 * config.make.in (enable-werror): New variable.
3450 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3451 -Wno-error=undef.
3452 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3453 * manual/install.texi (Configuring and compiling): Document
3454 --disable-werror.
3455 * INSTALL: Regenerated.
3456 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3457 (CFLAGS-tst-chk2.c): Likewise.
3458 (CFLAGS-tst-chk3.c): Likewise.
3459 (CFLAGS-tst-chk4.cc): Likewise.
3460 (CFLAGS-tst-chk5.cc): Likewise.
3461 (CFLAGS-tst-chk6.cc): Likewise.
3462 (CFLAGS-tst-lfschk1.c): Likewise.
3463 (CFLAGS-tst-lfschk2.c): Likewise.
3464 (CFLAGS-tst-lfschk3.c): Likewise.
3465 (CFLAGS-tst-lfschk4.cc): Likewise.
3466 (CFLAGS-tst-lfschk5.cc): Likewise.
3467 (CFLAGS-tst-lfschk6.cc): Likewise.
3468
0f88636c
JM
3469 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3470 (main): Disable -Wdeprecated-declarations around calls to
3471 register_printf_function.
3472
c81e9deb
JM
3473 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3474 (do_test): Disable -Wdiv-by-zero around some calls to
3475 fwrite_unlocked and fread_unlocked.
3476
2084e7ca
JM
3477 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3478 (DIAG_POP_NEEDS_COMMENT): Likewise.
3479 (_DIAG_STR1): Likewise.
3480 (_DIAG_STR): Likewise.
3481 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3482 * stdio-common/bug21.c: Include <libc-internal.h>.
3483 (do_test): Disable -Wformat around call to sscanf.
3484 * stdio-common/scanf14.c: Include <libc-internal.h>.
3485 (main): Disable -Wformat around some calls to scanf functions.
3486
df7ecc6b
TR
34872014-12-09 Torvald Riegel <triegel@redhat.com>
3488
3489 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3490
2aa3862e
AZ
34912014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3492
3493 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3494 stack variable alignment.
3495
c5c2b7c3
JM
34962014-12-06 Joseph Myers <joseph@codesourcery.com>
3497
3498 [BZ #17682]
3499 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3500 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3501 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3502 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3503 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3504 __getrlimit instead of getrlimit.
3505 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3506 __gettimeofday instead of gettimeofday.
3507 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3508 Likewise.
3509 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3510 Likewise.
3511 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3512 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3513 Remove variable.
3514 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3515 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3516
9752c3cd
AZ
35172014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3518
3519 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3520 for wide-character tests.
3521
4bee4cd9
RM
35222014-12-04 Roland McGrath <roland@hack.frob.com>
3523
3524 * io/openat64.c: #include <libc-internal.h>
3525 (__openat64): Prototypify. Use ignore_value on MODE.
3526 * io/openat.c: Likewise.
3527 * misc/reboot.c: #include <libc-internal.h>
3528 (reboot): Prototypify. Use ignore_value on HOWTO.
3529 * misc/ptrace.c: #include <libc-internal.h>
3530 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3531
84dbedb6
JM
35322014-12-04 Joseph Myers <joseph@codesourcery.com>
3533
3534 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3535 XPG4, UNIX98 and XOPEN2K.
3536 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3537 Remove variable.
3538 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3539
b7a3e1c4 35402014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3541
af50dfc1 3542 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3543 * libio/iofopen.c: Likewise.
3544 * libio/wfileops.c: Likewise.
3545
fe8b4d98
SP
3546 [BZ #17653]
3547 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3548 offset on EOF.
3549 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3550 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3551 (fgets_func): Function pointer to fgets and fgetws.
3552 (do_ftell_test): Add test to verify ftell value after read
3553 EOF.
3554 (do_test): Set fgets_func.
3555
61b4f792
SP
3556 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3557 O_TRUNC flag for w and w+ modes.
3558 (do_rewind_test): Likewise.
3559 (do_ftell_test): Likewise.
3560 (do_write_test): Likewise.
3561
be349d70
SP
3562 [BZ #17647]
3563 * libio/fileops.c (do_ftell): Seek only when there are
3564 unflushed writes.
3565 * libio/wfileops.c (do_ftell_wide): Likewise.
3566 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3567 test case.
3568 (do_one_test): Call it.
3569
e3d6dba5
JM
35702014-12-03 Joseph Myers <joseph@codesourcery.com>
3571
3572 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3573 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3574 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3575 Remove variable.
3576 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3577 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3578 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3579
7f994279
JM
35802014-12-02 Joseph Myers <joseph@codesourcery.com>
3581
28a91e8f
JM
3582 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3583 Remove variable.
3584 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3585
7f994279
JM
3586 [BZ #17668]
3587 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3588 as weak alias of __getifaddrs. Use libc_hidden_weak.
3589 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3590 __freeifaddrs. Use libc_hidden_weak.
3591 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3592 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3593 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3594 __freeifaddrs. Use libc_hidden_weak.
3595 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3596 __getifaddrs and define as weak alias of __getifaddrs. Use
3597 libc_hidden_weak.
3598 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3599 __freeifaddrs. Use libc_hidden_weak.
3600 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3601 Remove variable.
3602 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3603 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3604
bbe4c142
PJ
36052014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3606
3607 [BZ #17601]
3608 * sysdeps/mips/start.S (__start): Use indirect jump to call
3609 __libc_start_main.
3610
66cadc05
JM
36112014-12-02 Joseph Myers <joseph@codesourcery.com>
3612
909e16d9
JM
3613 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3614
4e0b9016
JM
3615 * nptl/tst-mutex1.c: Include <stdbool.h>.
3616 [!ATTR] (ATTR_NULL): New macro.
3617 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3618 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3619 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3620
b1aff6a4
JM
3621 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3622 to char *.
3623
266865c0
JM
3624 [BZ #17665]
3625 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3626 Change conditional to [__USE_MISC].
3627
84e5e756
JM
3628 [BZ #17664]
3629 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3630 fgets_unlocked.
3631 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3632 __fgets_unlocked.
3633 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3634 fgets_unlocked.
3635 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3636 Remove variable.
3637 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3638 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3639 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3640 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3641 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3642 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3643 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3644 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3645 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3646
66cadc05
JM
3647 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3648
2e8a2de2 36492014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3650
3651 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3652 Remove strpbrk objects.
3653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3654 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3655 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3656 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3657 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3658 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3659
bb2542e0
AZ
3660 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3661 Remove strcspn objects.
3662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3663 (__libc_ifunc_impl_list): Remove strcspn implementation.
3664 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3665 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3666 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3667 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3668
3669 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3670 Remove strspn objetcs.
3671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3672 (__libc_ifunc_impl_list): Remove strspn implementation.
3673 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3674 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3675 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3676 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3677
08f1e1d2
JL
36782014-12-01 James Lemke <jwlemke@codesourcery.com>
3679
3680 [BZ #17581]
3681 * malloc/hooks.c
3682 (mem2mem_check): Add a terminator to the chain of checking blocks.
3683 (malloc_check_get_size): Use it here.
3684 (mem2chunk_check): Ditto.
3685
a8a7d7d2
RS
36862014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3687
3688 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3689 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3690
97114a38
CD
36912014-11-29 Carlos O'Donell <carlos@redhat.com>
3692
c8dc1727
CD
3693 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3694
6d03458e
CD
3695 * nptl/nptl-init.c: Include libc-internal.h.
3696 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3697
97114a38
CD
3698 * elf/ldconfig.c (search_dir): Expand comment.
3699
0e7e69ba
JM
37002014-11-29 Joseph Myers <joseph@codesourcery.com>
3701
3702 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3703 variable.
3704 (linknamespace-symlist-stdlibs-tests): Likewise.
3705 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3706 instead of $(objpfx)symlist-stdlibs.
3707 (linknamespace-libs-isoc): New variable.
3708 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3709 (linknamespace-libs-ISO): New variable.
3710 (linknamespace-libs-ISO99): Likewise.
3711 (linknamespace-libs-ISO11): Likewise.
3712 (linknamespace-libs-XPG3): Likewise.
3713 (linknamespace-libs-XPG4): Likewise.
3714 (linknamespace-libs-POSIX): Likewise.
3715 (linknamespace-libs-UNIX98): Likewise.
3716 (linknamespace-libs-XOPEN2K): Likewise.
3717 (linknamespace-libs-POSIX2008): Likewise.
3718 (linknamespace-libs-XOPEN2K8): Likewise.
3719 ($(objpfx)symlist-stdlibs): Replace by
3720 $(linknamespace-symlist-stdlibs-tests). Use
3721 $(linknamespace-libs-$*) as set of libraries.
3722 ($(linknamespace-header-tests)): Update dependencies. Use
3723 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3724 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3725 * conform/linknamespace.pl: Remove comment about considering
3726 definitions of symbols from irrelevant libraries.
3727
d8dd0080
L
37282014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3729
3730 [BZ #13862]
3731 * elf/dl-tls.c: Include <atomic.h>.
3732 (oom): Remove #ifdef SHARED/#endif.
3733 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3734 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3735 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3736 big enough.
3737 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3738 * nptl/Makefile (tests): Add tst-stack4.
3739 (modules-names): Add tst-stack4mod.
3740 ($(objpfx)tst-stack4): New.
3741 (tst-stack4mod.sos): Likewise.
3742 ($(objpfx)tst-stack4.out): Likewise.
3743 ($(tst-stack4mod.sos)): Likewise.
3744 (clean): Likewise.
3745 * nptl/tst-stack4.c: New file.
3746 * nptl/tst-stack4mod.c: Likewise.
3747
167da422
B
37482014-11-27 J. Brown <jb999@gmx.de>
3749
3750 * sysdeps/x86/bits/string.h: Add recent CPUs.
3751
9114625b
JM
37522014-11-27 Joseph Myers <joseph@codesourcery.com>
3753
6b5189eb
JM
3754 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3755 sigblock.
3756
49051f8e
JM
3757 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3758 feof.
3759
9114625b
JM
3760 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3761 variable.
3762
e7300fef
SL
37632014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3764
3765 * nscd/connections.c: Include libc-internal.h because of macro
3766 usage ignore_value.
3767
1721f0a4
SP
37682014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3769
3770 * string/bits/string3.h (__warn_memset_zero_len): Don't
3771 declare for gcc newer than 5.0.
3772 (memset): Don't test for zero-length __LEN for gcc newer than
3773 5.0.
3774
be970916
JM
37752014-11-27 Joseph Myers <joseph@codesourcery.com>
3776
d88548f4
JM
3777 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3778 size_t for %zu format.
3779
be970916
JM
3780 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3781 difference, not %ju.
3782
3b20fd5c
JM
37832014-11-26 Joseph Myers <joseph@codesourcery.com>
3784
8915eace
JM
3785 * include/libc-internal.h (ignore_value): New macro.
3786 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3787 with ignore_value.
3788
f1a5a0e3
JM
3789 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3790 definition.
3791
59ef1715
JM
3792 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3793 pthread_cleanup_push to void *.
3794
a6f3079b
JM
3795 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3796 Undefine.
3797
706688aa
JM
3798 [BZ #16619]
3799 [BZ #16740]
3800 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3801 instead of 1L << 52.
3802
12da14a5
JM
3803 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3804 * libio/bug-rewind2.c (do_test): Likewise.
3805
bd5dadac
JM
3806 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3807 * debug/test-strcpy_chk-ifunc.c: Likewise.
3808 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3809 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3810 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3811 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3812 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3813 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3814 * Rules [$(multi-arch) = no] (tests): Do not filter out
3815 $(tests-ifunc).
3816 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3817 * debug/Makefile (tests-ifunc): Remove variable.
3818 (tests): Do not add $(tests-ifunc).
3819 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3820 (tests): Do not add $(tests-ifunc).
3821 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3822 [TEST_IFUNC]: Remove conditionals.
3823 * string/test-string.h (TEST_IFUNC): Remove macro.
3824 [TEST_IFUNC]: Remove conditionals.
3825
3b20fd5c
JM
3826 * string/test-strchr.c [!WIDE] (L): New macro.
3827 [WIDE] (L): Likewise.
3828 (check1): Use CHAR instead of char. Use L on string and character
3829 constants.
3830
704f7947
AZ
38312014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3832
3833 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3834 tests.
3835 * sysdeps/powerpc/bits/atomic.h
3836 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3837 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3838 (atomic_exchange_and_add_acq): Likewise.
3839 (atomic_exchange_and_add_rel): Likewise.
3840 * sysdeps/powerpc/powerpc32/bits/atomic.h
3841 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3842 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3843 * sysdeps/powerpc/powerpc64/bits/atomic.h
3844 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3845 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3846
cdcb42d7
TR
38472014-11-26 Torvald Riegel <triegel@redhat.com>
3848
3849 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3850 Change synchronization of __sched_fifo_min_prio and
3851 __sched_fifo_max_prio.
3852 * nptl/pthread_mutexattr_getprioceiling.c
3853 (pthread_mutexattr_getprioceiling): Likewise.
3854 * nptl/pthread_mutexattr_setprioceiling.c
3855 (pthread_mutexattr_setprioceiling): Likewise.
3856 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3857 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3858 Likewise.
3859
c82f5c0c
JM
38602014-11-26 Joseph Myers <joseph@codesourcery.com>
3861
3862 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3863 void.
3864
439e1ad6
JM
38652014-11-25 Joseph Myers <joseph@codesourcery.com>
3866
3867 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3868 third argument const.
3869
b1eda10e
PE
38702014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3871
3872 fnmatch: work around GCC compiler warning bug with uninit var
3873 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3874 This works around a bug with x86-64 GCC 4.9.2 and earlier
3875 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3876 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3877 used uninitialized in this function [-Wmaybe-uninitialized]".
3878
bde2667a
JM
38792014-11-25 Joseph Myers <joseph@codesourcery.com>
3880
3881 * posix/bug-regex31.c (main): Return RES not 0.
3882
5fbb5691
AB
38832014-11-25 Anton Blanchard <anton@samba.org>
3884
3885 * sysdeps/powerpc/bits/atomic.h
3886 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3887
467fec0b
BM
38882014-11-24 Sterling Augustine <saugustine@google.com>
3889
3890 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3891
e9ff8efb
RC
38922014-11-24 Ryan Cumming <etaoins@gmail.com>
3893
3894 [BZ #17608]
3895 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3896
9744496f
JM
38972014-11-24 Joseph Myers <joseph@codesourcery.com>
3898
3899 [BZ #17633]
3900 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3901 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3902 variable.
3903 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3904 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3905
6423d475
WD
39062014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3907
3908 * string/strncpy.c (strncpy): Improve performance by using memset.
3909
39102014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3911
3912 * string/strcpy.c (strcpy):
3913 Improve performance by using strlen and memcpy.
3914
5d178c37
LH
39152014-11-24 Leonhard Holz <leonhard.holz@web.de>
3916
3917 * string/strcoll_l.c (get_next_seq): __always_inline.
3918 * string/strcoll_l.c (do_compare): __always_inline.
3919
279bc5b3
SP
39202014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3921
7a9ebfa1
SP
3922 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3923 defined.
3924 * include/mqueue.h: Likewise.
3925 * include/stdlib.h: Likewise.
3926
4f41c682
SP
3927 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3928 (get_null_defines): Adjust.
3929 * sunrpc/Makefile: Adjust comment.
3930 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3931 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3932 (CFLAGS-interp.c): Likewise.
3933 (CFLAGS-ldconfig.c): Likewise.
3934 (CPPFLAGS-.os): Likewise.
3935 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3936 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3937 * extra-modules.mk (extra-modules.mk): Likewise.
3938 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3939 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3940 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3941 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3942 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3943 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3944 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3945 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3946 * iconvdata/Makefile (CPPFLAGS): Likewise.
3947 (cpp-srcs-left): Add libof for all iconvdata routines.
3948 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3949 * include/assert.h: Likewise.
3950 * include/ctype.h: Likewise.
3951 * include/errno.h: Likewise.
3952 * include/libc-symbols.h: Likewise.
3953 * include/math.h: Likewise.
3954 * include/netdb.h: Likewise.
3955 * include/resolv.h: Likewise.
3956 * include/stdio.h: Likewise.
3957 * include/stdlib.h: Likewise.
3958 * include/string.h: Likewise.
3959 * include/sys/stat.h: Likewise.
3960 * include/wctype.h: Likewise.
3961 * intl/l10nflist.c: Likewise.
3962 * libidn/idn-stub.c: Likewise.
3963 * libio/libioP.h: Likewise.
3964 * nptl/libc_multiple_threads.c: Likewise.
3965 * nptl/pthreadP.h: Likewise.
3966 * posix/regex_internal.h: Likewise.
3967 * resolv/res_hconf.c: Likewise.
3968 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3969 * sysdeps/arm/memmove.S: Likewise.
3970 * sysdeps/arm/sysdep.h: Likewise.
3971 * sysdeps/generic/_itoa.h: Likewise.
3972 * sysdeps/generic/symbol-hacks.h: Likewise.
3973 * sysdeps/gnu/errlist.awk: Likewise.
3974 * sysdeps/gnu/errlist.c: Likewise.
3975 * sysdeps/i386/i586/memcpy.S: Likewise.
3976 * sysdeps/i386/i586/memset.S: Likewise.
3977 * sysdeps/i386/i686/memcpy.S: Likewise.
3978 * sysdeps/i386/i686/memmove.S: Likewise.
3979 * sysdeps/i386/i686/mempcpy.S: Likewise.
3980 * sysdeps/i386/i686/memset.S: Likewise.
3981 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3982 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3983 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3984 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3985 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3986 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3988 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3991 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3992 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3994 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3995 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3996 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3997 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3998 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4000 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4001 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4005 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4009 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4010 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4011 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4014 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4015 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4016 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4017 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4018 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4019 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4020 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4021 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4022 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4023 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4024 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4025 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4026 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4027 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4028 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4029 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4030 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4031 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4032 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4033 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4034 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4035 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4036 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4037 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4038 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4039 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4040 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4041 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4042 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4043 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4044 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4045 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4046 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4047 * sysdeps/posix/closedir.c: Likewise.
4048 * sysdeps/posix/opendir.c: Likewise.
4049 * sysdeps/posix/readdir.c: Likewise.
4050 * sysdeps/posix/rewinddir.c: Likewise.
4051 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4052 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4053 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4054 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4055 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4056 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4057 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4058 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4060 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4062 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4063 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4064 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4065 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4066 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4067 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4068 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4069 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4070 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4071 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4072 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4073 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4074 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4075 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4076 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4077 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4078 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4079 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4080 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4086 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4087 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4088 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4089 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4090 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4091 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4092 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4093 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4094 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4095 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4096 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4097 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4098 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4099 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4100 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4101 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4102 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4103 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4104 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4105 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4106 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4108 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4109 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4110 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4111 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4112 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4113 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4114 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4115 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4116 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4117 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4118 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4119 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4120 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4121 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4122 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4123 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4124 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4125 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4126 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4127 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4128 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4129 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4130 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4131 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4132 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4133 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4134 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4135 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4136 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4137 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4138 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4139 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4140 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4141 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4142 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4143 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4145 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4146 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4147 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4149 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4150 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4151 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4152 * sysdeps/unix/alpha/sysdep.S: Likewise.
4153 * sysdeps/unix/alpha/sysdep.h: Likewise.
4154 * sysdeps/unix/make-syscalls.sh: Likewise.
4155 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4157 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4158 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4159 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4160 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4161 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4162 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4163 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4164 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4165 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4166 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4167 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4168 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4169 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4170 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4171 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4172 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4173 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4174 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4175 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4176 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4177 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4178 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4179 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4180 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4181 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4184 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4185 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4187 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4189 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4190 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4192 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4193 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4194 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4195 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4196 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4197 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4198 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4199 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4202 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4205 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4206 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4207 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4208 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4209 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4210 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4211 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4213 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4214 * sysdeps/x86_64/memcpy.S: Likewise.
4215 * sysdeps/x86_64/memmove.c: Likewise.
4216 * sysdeps/x86_64/memset.S: Likewise.
4217 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4218 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4219 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4220 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4221 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4224 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4225 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4226 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4227 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4229 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4230 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4231 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4232 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4233 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4234 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4235 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4236 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4237 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4238 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4239 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4240 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4241 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4242 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4243 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4244 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4245 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4246 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4247 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4248 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4249 * sysdeps/x86_64/strcmp.S: Likewise.
4250
76ca86a5
SP
4251 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4252
a3848485
SP
4253 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4254 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4255 * elf/rtld-Rules: Likewise.
4256 * elf/setup-vdso.h: Likewise.
4257 * include/assert.h: Likewise.
4258 * include/bits/stdlib-float.h: Likewise.
4259 * include/errno.h: Likewise.
4260 * include/sys/stat.h: Likewise.
4261 * include/unistd.h: Likewise.
4262 * sysdeps/aarch64/setjmp.S: Likewise.
4263 * sysdeps/alpha/setjmp.S: Likewise.
4264 * sysdeps/arm/__longjmp.S: Likewise.
4265 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4266 * sysdeps/arm/setjmp.S: Likewise.
4267 * sysdeps/arm/sysdep.h: Likewise.
4268 * sysdeps/generic/_itoa.h: Likewise.
4269 * sysdeps/generic/dl-sysdep.h: Likewise.
4270 * sysdeps/generic/ldsodefs.h: Likewise.
4271 * sysdeps/i386/dl-tls.h: Likewise.
4272 * sysdeps/i386/setjmp.S: Likewise.
4273 * sysdeps/m68k/setjmp.c: Likewise.
4274 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4275 * sysdeps/mach/hurd/opendir.c: Likewise.
4276 * sysdeps/posix/getcwd.c: Likewise.
4277 * sysdeps/posix/opendir.c: Likewise.
4278 * sysdeps/posix/profil.c: Likewise.
4279 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4280 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4281 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4283 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4284 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4285 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4286 * sysdeps/s390/dl-tls.h: Likewise.
4287 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4288 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4289 * sysdeps/sh/sh3/setjmp.S: Likewise.
4290 * sysdeps/sh/sh4/setjmp.S: Likewise.
4291 * sysdeps/unix/alpha/sysdep.h: Likewise.
4292 * sysdeps/unix/arm/sysdep.S: Likewise.
4293 * sysdeps/unix/i386/sysdep.S: Likewise.
4294 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4295 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4296 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4297 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4298 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4299 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4300 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4301 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4302 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4303 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4304 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4305 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4306 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4311 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4312 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4313 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4314 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4316 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4317 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4318 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4319 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4321 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4322 * sysdeps/x86_64/setjmp.S: Likewise.
4323
a109996e
SP
4324 * include/math.h: Use IS_IN instead of IS_IN_libm.
4325 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4337 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4345 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4346 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4347 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4348 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4349 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4350 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4352 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4353 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4354 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4355 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4356 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4357 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4359 Likewise.
4360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4361 Likewise.
4362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4363 Likewise.
4364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4365 Likewise.
4366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4367 Likewise.
4368 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4369 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4370 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4371 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4372 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4373 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4379 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4380 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4381 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4382 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4383 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4384 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4385 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4386 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4387 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4390 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4391 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4392 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4394 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4395
ce9f10f7
SP
4396 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4397 * nptl/pthreadP.h: Likewise.
4398 * nptl_db/structs.def: Likewise.
4399 * sysdeps/arm/sysdep.h: Likewise.
4400 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4401 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4402 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4403 * sysdeps/unix/alpha/sysdep.h: Likewise.
4404 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4405 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4406 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4407 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4408 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4409 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4410 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4411 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4412 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4413 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4414 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4415 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4416 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4417 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4420 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4421 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4422 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4423 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4424 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4425 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4426 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4427 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4428 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4429 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4430
016afc75
SP
4431 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4432 * nptl/pthreadP.h: Likewise.
4433 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4434 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4435 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4436 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4437 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4438 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4439 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4440 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4441 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4442 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4443 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4444 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4446 Likewise.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4448 Likewise.
4449 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4450 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4451 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4452 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4454 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4455 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4456 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4457
9b42a0b3
SP
4458 * dlfcn/dladdr.c: Use IS_IN.
4459 * dlfcn/dladdr1.c: Likewise.
4460 * dlfcn/dlclose.c: Likewise.
4461 * dlfcn/dlerror.c: Likewise.
4462 * dlfcn/dlinfo.c: Likewise.
4463 * dlfcn/dlmopen.c: Likewise.
4464 * dlfcn/dlopen.c: Likewise.
4465 * dlfcn/dlsym.c: Likewise.
4466 * dlfcn/dlvsym.c: Likewise.
4467
85f36372
SP
4468 * include/ifaddrs.h: Use IS_IN.
4469 * inet/check_pf.c: Likewise.
4470 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4471 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4472
fb6784e3
SP
4473 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4474 IS_IN_ldconfig.
4475 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4476 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4477
2886d2d1
SP
4478 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4479 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4480 IS_IN (libc).
4481
9a484857
SP
4482 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4483
a10178bd
SP
4484 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4485 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4486 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4487 * include/libc-symbols.h (IS_IN_LIB): New macro.
4488 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4489 * include/netdb.h: Likewise.
4490 * include/stap-probe.h: Remove all uses of IN_LIB.
4491
279bc5b3
SP
4492 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4493 instead of IN_MODULE.
4494 * include/libc-symbols.h (IN_MODULE): Define using
4495 MODULE_NAME.
4496 (PASTE_NAME, PASTE_NAME1): New macros.
4497 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4498 of IN_LIB.
4499 (STAP_PROBE_ASM): Likewise.
4500
e0cfa510
ST
45012014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4502
4503 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4504 __mach_init in dlopened libc.
4505
34d97d87
MF
45062014-11-22 Mike Frysinger <vapier@gentoo.org>
4507
4508 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4509 * sysdeps/arm/preconfigure: Regenerate.
4510
33cd1f74
RM
45112014-11-21 Roland McGrath <roland@hack.frob.com>
4512
4513 * nptl/pthread_create.c (__pthread_create_2_1): Set
4514 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4515 when copying values from IATTR into PD.
4516
8c230039
WN
45172014-11-21 Will Newton <will.newton@linaro.org>
4518 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4519
6d3db89b
AP
4520 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4521 Refactor inline-asm. Also add comment.
4522
01194ba1
WN
4523 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4524 ElfW macro instead of hardcoded Elf64 types.
4525 (la_aarch64_gnu_pltenter): Likewise.
4526 * sysdeps/aarch64/dl-machine.h
4527 (elf_machine_runtime_setup): Use ElfW(Addr).
4528
8c230039
WN
4529 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4530 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4531 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4532 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4533 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4534 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4535 (R_AARCH64_TLS_DTPMOD): This.
4536 (R_AARCH64_TLS_DTPREL64): Rename to ...
4537 (R_AARCH64_TLS_DTPREL): This.
4538 (R_AARCH64_TLS_TPREL64): Rename to ...
4539 (R_AARCH64_TLS_TPREL): This.
4540 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4541 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4542 R_AARCH64_TLS_TPREL64.
4543 (elf_machine_rela): Likewise.
4544
0d79fa53
TR
45452014-11-21 Torvald Riegel <triegel@redhat.com>
4546
4547 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4548 by setting it to 0. 64b atomics are not supported currently.
4549
b59d114b
AO
45502014-11-21 Alexandre Oliva <aoliva@redhat.com>
4551
4552 [BZ #16469]
4553 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4554 search domain names.
4555
f3d945d5
AO
45562014-11-21 Alexandre Oliva <aoliva@redhat.com>
4557
4558 [BZ #16469]
4559 * NEWS: Update.
4560 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4561 trailing dot.
4562 * posix/tst-getaddrinfo5.c: New.
4563 * posix/Makefile (tests): Add it.
4564
49698902
AO
45652014-11-21 Alexandre Oliva <aoliva@redhat.com>
4566
4567 [BZ #14498]
4568 * NEWS: Fixed.
4569 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4570 after parsing line but before break_if_match.
4571 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4572 if there is a protocol mismatch.
4573
81959214
MS
45742014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4575
4576 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4577 because the potential race is on the user-supplied stream.
4578
7729e0e9
AO
45792014-11-21 Alexandre Oliva <aoliva@redhat.com>
4580
4581 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4582 string literal if not passed a buffer.
4583 * manual/job.texi (ctermid): Update reasoning, note deviation
4584 from posix, suggest mtasurace when not passed a buffer, for
4585 future non-preliminary safety notes.
4586
a4ea5e28
AO
45872014-11-21 Alexandre Oliva <aoliva@redhat.com>
4588
4589 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4590 of not passing it a buffer.
4591 Reported by Peng Haitao.
4592
a2b581cb
AO
45932014-11-21 Alexandre Oliva <aoliva@redhat.com>
4594
4595 * manual/Makefile ($(objpfx)stamp-summary): Require
4596 check-safety.sh to pass.
4597 * manual/check-safety.sh: Wish for verification that every
4598 @deftypefn and @deftypefun is followed by a @safety remark.
4599
f214ff74
RM
46002014-11-20 Roland McGrath <roland@hack.frob.com>
4601
7f0dfae0
RM
4602 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4603
2f531bbb
RM
4604 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4605 PTHREAD_CANCEL_ASYNCHRONOUS.
4606 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4607 send SIGCANCEL.
4608
f214ff74
RM
4609 * nptl/default-sched.h: New file.
4610 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4611 * nptl/pthread_create.c: Include it.
4612 (__pthread_create_2_1): Use collect_default_sched instead of making
4613 Linux syscalls here directly.
4614
e37c91d4
TR
46152014-11-20 Torvald Riegel <triegel@redhat.com>
4616
4617 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4618 __pthread_once): Use C11 atomics.
4619
1eccfecd
TR
46202014-11-20 Torvald Riegel <triegel@redhat.com>
4621
4622 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4623
ff871426
TR
46242014-11-20 Torvald Riegel <triegel@redhat.com>
4625
4626 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4627 atomic_thread_fence_acquire, atomic_thread_fence_release,
4628 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4629 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4630 atomic_compare_exchange_weak_relaxed,
4631 atomic_compare_exchange_weak_acquire,
4632 atomic_compare_exchange_weak_release,
4633 atomic_exchange_acquire, atomic_exchange_release,
4634 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4635 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4636 atomic_fetch_and_acquire,
4637 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4638
1ea339b6
TR
46392014-11-20 Torvald Riegel <triegel@redhat.com>
4640
4641 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4642 USE_ATOMIC_COMPILER_BUILTINS): Define.
4643 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4645 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4646 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4647 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4648 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4649 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4650 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4651 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4653 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4655 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4656 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4657 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4658 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4659 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4660 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4661 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4663 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4664 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4665 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4666 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4667 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4668 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4669 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4670 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4671 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4672 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4673 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4674 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4675 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4676 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4677 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4678 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4679 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4680 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4681 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4682 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4683
cbd463e2
RM
46842014-11-19 Roland McGrath <roland@hack.frob.com>
4685
d960211f
RM
4686 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4687 the sched_priority value here. It was already checked when the user
4688 called pthread_attr_setschedparam.
4689
cbd463e2
RM
4690 * nptl/tst-bad-schedattr.c: New file.
4691 * nptl/Makefile (tests): Add it.
4692
a39208bd
CD
46932014-11-19 Carlos O'Donell <carlos@redhat.com>
4694 Florian Weimer <fweimer@redhat.com>
4695 Joseph Myers <joseph@codesourcery.com>
4696 Adam Conrad <adconrad@0c3.net>
4697 Andreas Schwab <schwab@suse.de>
4698 Brooks <bmoses@google.com>
4699
4700 [BZ #17625]
4701 * wordexp-test.c (__dso_handle): Add prototype.
4702 (__register_atfork): Likewise.
4703 (__app_register_atfork): New function.
4704 (registered_forks): New global.
4705 (register_fork): New function.
4706 (test_case): Add 3 new tests for WRDE_CMDSUB.
4707 (main): Call __app_register_atfork.
4708 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4709 fork count is non-zero fail the test.
4710 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4711 is set.
4712 (parse_dollars): Remove check for WRDE_NOCMD.
4713 (parse_dquote): Likewise.
4714
9cd47470
SP
47152014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4716
130ac68c
SP
4717 * Makeconfig (built-modules): List non-library modules to be
4718 built.
4719 (module-cppflags): Include libc-modules.h for
4720 everything except shlib-versions.v.i.
4721 (CPPFLAGS): Use it.
4722 (before-compile): Add libc-modules.h.
4723 ($(common-objpfx)libc-modules.h,
4724 $(common-objpfx)libc-modules.stmp): New targets.
4725 (common-generated): Add libc-modules.h and libc-modules.stmp.
4726 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4727 * include/libc-symbols.h: Don't include libc-modules.h.
4728 * include/libc-modules.h: Remove file.
4729 * scripts/gen-libc-modules.awk: New script to generate
4730 libc-modules.h.
4731 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4732 Depend on libc-modules.stmp.
4733
286663c3
SP
4734 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4735
9cd47470
SP
4736 * Makeconfig (in-module): Get value of libof set for the
4737 translation unit.
4738 (CPPFLAGS): Use $(in-module).
4739 * Makerules: Don't suffix routine names for nonlib.
4740 * include/libc-modules.h: New file.
4741 * include/libc-symbols.h: Include libc-modules.h
4742 (IS_IN): New macro to replace IS_IN_* macros.
4743 * elf/Makefile: Set libof-* for each routine.
4744 * elf/rtld-Rules: Likewise.
4745 * extra-modules.mk: Likewise.
4746 * iconv/Makefile: Likewise.
4747 * iconvdata/Makefile: Likewise.
4748 * locale/Makefile: Likewise.
4749 * malloc/Makefile: Likewise.
4750 * nss/Makefile: Likewise.
4751 * sysdeps/gnu/Makefile: Likewise.
4752 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4753 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4754 * sysdeps/s390/s390-64/Makefile: Likewise.
4755 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4756 CPPFLAGS for nscd instead of nonlib.
4757
32fed10f
RM
47582014-11-18 Roland McGrath <roland@hack.frob.com>
4759
d71035bd
RM
4760 * nptl/createthread.c: New file.
4761
6540b991
RM
4762 * nptl/createthread.c: Moved ...
4763 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4764
32fed10f
RM
4765 * nptl/createthread.c: Add proper top-line comment.
4766 (do_clone): Folded into ...
4767 (create_thread): ... here. Take new arguments STOPPED_START and
4768 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4769 increment __nptl_threads, do event-reporting logic, do
4770 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4771 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4772 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4773 just send SIGCANCEL.
4774 * nptl/pthread_create.c: Forward-declare create_thread before
4775 including createthread.c.
4776 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4777 declaration, and new macro START_THREAD_SELF to replace argument.
4778 Remove return statement.
4779 (report_thread_creation): New function.
4780 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4781 synchronization logic, and __nptl_nthreads increment here, around
4782 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4783 PD->parent_cancelhandling here, before create_thread. When
4784 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4785 __deallocate_stack, and ENOMEM translation here.
4786
107a5bf0
JM
47872014-11-18 Joseph Myers <joseph@codesourcery.com>
4788
4789 [BZ #17616]
4790 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4791 (mptwo): Rename to __mptwo.
4792 (__inv): Use __mptwo instead of mptwo.
4793 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4794 (mptwo): Rename to __mptwo.
4795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4796 of mpone and __mptwo instead of mptwo.
4797 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4798 instead of mpone.
4799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4800 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4801 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4802 of mpone and __mptwo instead of mptwo.
4803 (__mpranred): Use __mpone instead of mpone.
4804 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4805 variable.
4806 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4807 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4808 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4809 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4810 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4811 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4812 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4813 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4814 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4815 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4816 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4817 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4818 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4819 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4820 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4821 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4822 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4823 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4824 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4825
3b679ab3
TV
48262014-11-18 Tom de Vries <tom@codesoucery.com>
4827
4828 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4829 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4830
48312014-11-17 Richard Henderson <rth@redhat.com>
4832
4833 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4834 (_FP_PACK_RAW_2): Remove.
4835 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4836 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4837 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4838 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4839 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4840 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4841 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4842 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4843 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4844 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4845 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4846 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4847 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4848 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4849 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4850 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4851
0781a777
RM
48522014-11-14 Roland McGrath <roland@hack.frob.com>
4853
4854 * signal/signal.h [__USE_MISC]
4855 (struct sigvec): Remove type.
4856 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4857 (sigvec): Remove declaration.
4858 * sysdeps/posix/sigvec.c: Moved ...
4859 * signal/sigvec.c: ... here, replacing old file.
4860 (struct sigvec): New type, copied from old signal.h definition.
4861 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4862 (__sigvec): Convert definition to prototype.
4863 (sigvec): Replace weak_alias with compat_symbol.
4864 * signal/Versions (libc: GLIBC_2.21): New version set.
4865 * include/signal.h: Remove __sigvec declaration.
4866 * sysdeps/unix/bsd/sigvec.c: Remove file.
4867 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4868 * manual/signal.texi (BSD Handler): Remove subsection.
4869 Move siginterrupt up to ...
4870 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4871 (Blocking in BSD): Fold subsection into its parent.
4872 * NEWS: Mention sigvec removal.
4873
a4733812
JM
48742014-11-14 Joseph Myers <joseph@codesourcery.com>
4875
5ae4fe60
JM
4876 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4877 (DLA_FMS): Make definition conditional only on [__FMA4__].
4878 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4879 definition.
4880
6a0dd472
JM
4881 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4882 Make definition conditional only on [PROF].
4883 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4884 definition.
4885 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4886 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4887
a4733812
JM
4888 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4889 !__GNUC__].
4890 * include/signal.h (__sigpause): Move declaration above call to
4891 libc_hidden_proto.
4892 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4893 variable.
4894 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4895 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4896
cf7246dd
DM
48972014-11-14 David S. Miller <davem@davemloft.net>
4898
4899 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4900 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4901
c1b0aadc
JM
49022014-11-14 Joseph Myers <joseph@codesourcery.com>
4903
4863355a
JM
4904 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4905 * configure: Regenerated.
4906 * manual/install.texi (Tools for Compilation): Document a
4907 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4908 compiler verified to work.
4909 * INSTALL: Regenerated.
4910
c1b0aadc
JM
4911 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4912 redeclare with asm name.
4913 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4914 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4915 including <string.h>.
4916 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4917 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4918 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4919 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4920 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4921 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4922 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4923
2a1cfd94
JM
49242014-11-13 Joseph Myers <joseph@codesourcery.com>
4925
bf438382
JM
4926 * stdlib/strtol.c (__strtol): Use prototype definition.
4927
2a1cfd94
JM
4928 [BZ #17594]
4929 * stdlib/strtol.c (SYM__): New macro.
4930 (SYM__1): Likewise.
4931 (__strtol): Likewise.
4932 (strtol): Rename to __strtol and define as weak alias of
4933 __strtol. Use libc_hidden_weak.
4934
20ed0d26
SL
49352014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4936
4937 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4938 Use numbered labels in inline assembly.
4939
53244a4e
SL
49402014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4941
4942 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4943 Add setjmp LIBC_PROBE.
4944 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4945 Likewise.
4946 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4947 Add longjmp, longjmp_target LIBC_PROBE.
4948 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4949 Likewise.
4950
47df8251
SL
49512014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4952
4953 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4954 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4955 to get rid of unused variable warning.
4956
618cebef
SL
49572014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4958
4959 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4960 Check for unwind_backtrace == NULL only in SHARED case.
4961 (__backchain_backtrace): Compile only in SHARED case.
4962 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4963 Likewise.
4964 (__backchain_backtrace): Declare as static.
4965
c6aab2cb
RM
49662014-11-12 Roland McGrath <roland@hack.frob.com>
4967
4968 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4969 (__libc_multiple_threads_ptr): Variable moved ...
4970 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4971
5a6fa4d7
JM
49722014-11-12 Joseph Myers <joseph@codesourcery.com>
4973
24f4f825
JM
4974 * conform/GlibcConform.pm: New file.
4975 * conform/conformtest.pl: Use GlibcConform module.
4976 * conform/linknamespace.pl: New file.
4977 * conform/list-header-symbols.pl: Likewise.
4978 * conform/Makefile (linknamespace-symlists-base): New variable.
4979 (linknamespace-symlists-tests): Likewise.
4980 (linknamespace-header-base): Likewise.
4981 (linknamespace-header-tests): Likewise.
4982 (tests-special): Add new tests.
4983 ($(linknamespace-symlists-tests)): New rule.
4984 (linknamespace-libs): New variable.
4985 ($(objpfx)symlist-stdlibs): New rule.
4986 ($(linknamespace-header-tests)): Likewise.
4987 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4988 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4989 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4990 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4991 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4992 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4993 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4994 (test-xfail-ISO/math.h/linknamespace): Likewise.
4995 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4996 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4997 (test-xfail-ISO/time.h/linknamespace): Likewise.
4998 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4999 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5000 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5001 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5002 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5003 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5004 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5005 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5006 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5007 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5008 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5009 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5010 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5011 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5012 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5013 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5014 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5015 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5016 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5017 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5018 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5019 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5020 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5021 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5022 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5023 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5024 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5025 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5026 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5027 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5028 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5029 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5030 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5031 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5032 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5033 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5034 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5035 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5036 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5037 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5038 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5039 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5040 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5041 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5042 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5043 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5044 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5045 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5046 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5047 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5048 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5049 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5050 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5051 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5052 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5053 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5054 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5055 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5056 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5057 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5058 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5059 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5060 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5061 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5062 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5063 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5064 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5065 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5066 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5067 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5068 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5069 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5070 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5071 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5072 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5073 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5074 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5075 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5076 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5077 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5078 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5079 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5080 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5081 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5082 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5083 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5084 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5085 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5086 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5087 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5088 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5089 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5090 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5091 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5092 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5093 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5094 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5095 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5096 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5097 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5098 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5099 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5100 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5101 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5102 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5103 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5104 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5105 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5106 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5107 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5108 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5109 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5110 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5111 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5112 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5113 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5114 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5115 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5116 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5117 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5118 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5119 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5120 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5121 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5122 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5123 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5124 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5125 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5126 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5127 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5128 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5129 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5130 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5131 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5132 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5133 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5134 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5135 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5136 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5137 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5138 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5139 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5140 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5141 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5142 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5143 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5144 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5145 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5146 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5147 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5148
cc67478e
JM
5149 [BZ #17589]
5150 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5151 of fgets_unlocked.
5152
9975e3d3
JM
5153 [BZ #17585]
5154 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5155 (memmem): Rename to __memmem and define as weak alias of
5156 __memmem. Use libc_hidden_weak.
5157 (__memmem): Use libc_hidden_def.
5158 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5159 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5160 memmem.
5161
c4eae752
JM
5162 [BZ #17582]
5163 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5164 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5165 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5166 and define as weak alias of __fgets_unlocked. Use
5167 libc_hidden_weak.
5168 (__fgets_unlocked): Use libc_hidden_def.
5169 * include/stdio.h (__fgets_unlocked): Declare. Use
5170 libc_hidden_proto.
5171 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5172 __fgets_unlocked instead of fgets_unlocked.
5173 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5174 (GET_NPROCS_CONF_PARSER): Likewise.
5175 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5176 (GET_NPROCS_CONF_PARSER): Likewise.
5177
01cad84e
JM
5178 [BZ #17574]
5179 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5180 weak alias of __wmemset. Use libc_hidden_weak.
5181 (__wmemset): Use libc_hidden_def.
5182 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5183 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5184 of wmemset.
5185
939da411
JM
5186 [BZ #17573]
5187 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5188 with asm name __mempcpy.
5189 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5190
293d9a41
JM
5191 [BZ #17572]
5192 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5193 and define as weak alias of __rawmemchr.
5194 (__rawmemchr): Do not define as strong alias of rawmemchr.
5195
bef8fd60
JM
5196 [BZ #17571]
5197 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5198 alias of __qsort_r.
5199 (qsort): Call __qsort_r instead of qsort_r.
5200 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5201 (__qsort_r): Declare. Call libc_hidden_proto.
5202 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5203 instead of qsort_r.
5204 * nscd/gai.c (__qsort_r): Define to qsort_r.
5205 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5206 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5207 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5208
c52ff39e
JM
5209 [BZ #17570]
5210 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5211 define as weak alias of __malloc_info.
5212
2f5c1b00
JM
5213 [BZ #17584]
5214 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5215 as weak alias of __rewinddir. Don't use libc_hidden_def.
5216 (__rewinddir): Use libc_hidden_def.
5217 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5218 as weak alias of __rewinddir. Don't use libc_hidden_def.
5219 (__rewinddir): Use libc_hidden_def.
5220 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5221 weak alias of __rewinddir. Don't use libc_hidden_def.
5222 (__rewinddir): Use libc_hidden_def.
5223 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5224 (__rewinddir): Use libc_hidden_proto.
5225 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5226 rewinddir.
5227 (__getcwd): Use __rewinddir instead of rewinddir.
5228
5a6fa4d7
JM
5229 [BZ #17583]
5230 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5231 alias of __fileno. Use libc_hidden_weak.
5232 (__fileno): Use libc_hidden_def.
5233 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5234 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5235 alias of __ftello.
5236 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5237 __ftello.
5238 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5239 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5240 libc_hidden_def.
5241 (fread_unlocked): Don't use libc_hidden_ver.
5242 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5243 and define as weak alias of __fread_unlocked. Don't use
5244 libc_hidden_def.
5245 (__fread_unlocked): Use libc_hidden_def.
5246 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5247 (ftello): Don't use libc_hidden_proto.
5248 (__ftello): Declare. Use libc_hidden_proto.
5249 (fread_unlocked): Don't use libc_hidden_proto.
5250 (__fread_unlocked): Declare. Use libc_hidden_proto.
5251 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5252 and __ftello instead of fileno, fread_unlocked and ftello.
5253
2581b98e
SP
52542012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5255
5256 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5257 GOT12.
5258 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5259 Likewise.
5260 (_dl_start_user): Likewise.
5261 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5262
533bb7c2
SP
52632014-11-12 Carlos O'Donell <carlos@redhat.com>
5264 Siddhesh Poyarekar <siddhesh@redhat.com>
5265
5266 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5267 Move argv and envp down instead of moving argc up.
5268 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5269
fffa1cf8
LH
52702014-11-12 Leonhard Holz <leonhard.holz@web.de>
5271
5272 [BZ #17506]
5273 * test-skeleton.c (main): Return successful if one of
5274 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5275 * string/tst-strcoll-overflow.c: Define expected status.
5276
fb89b46d
TU
52772014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5278
5279 [BZ #17475]
5280 * locale/iso-639.def: Define Bhili and Tulu language codes.
5281
5c40c3ba
AH
52822014-11-11 Alan Hayward <alan.hayward@arm.com>
5283
5284 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5285
b17fe01b 52862014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5287
5288 [BZ #17555]
5289 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5290
bd805071
AS
52912014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5292
5293 * configure.ac: Updated check of minimal required version to
5294 2.22.
5295 * manual/install.texi (Tools for Compilation): Updated version
5296 number.
5297 * configure: Regenerated.
5298 * INSTALL: Likewise.
5299
1400983e
AS
53002014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5301
5302 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5303 __tls_get_addr.
5304
2c46a66a
JM
53052014-11-07 Joseph Myers <joseph@codesourcery.com>
5306
5307 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5308 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5309 (__waitpid): Don't define as alias. Use libc_hidden_def not
5310 libc_hidden_weak.
5311 (waitpid): Define as alias of __waitpid.
5312 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5313 __waitpid.
5314 (__waitpid): Don't define as alias. Use libc_hidden_def not
5315 libc_hidden_weak.
5316 (waitpid): Define as alias of __waitpid.
5317 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5318 __libc_waitpid alias.
5319 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5320 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5321 Likewise.
5322 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5324 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5325 alias.
5326 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5327 __waitpid.
5328 (__waitpid): Don't define as alias. Use libc_hidden_def not
5329 libc_hidden_weak.
5330 (waitpid): Define as alias of __waitpid.
5331
da53d6db
CD
53322014-11-06 Carlos O'Donell <carlos@redhat.com>
5333
a2887bdb
CD
5334 * manual/llio.texi: Add comment that write safety has been
5335 fixed in Linux.
5336
da53d6db
CD
5337 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5338 (localplt-build-dso): Add elf/ld.so.
5339 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5340 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5341 and free for ld.so.
5342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5343 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5345 Likewise.
5346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5347 Likewise.
5348 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5349 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5350 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5351 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5352 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5353 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5354 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5355 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5356 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5357 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5358 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5359
9cf27b8d
JM
53602014-11-05 Joseph Myers <joseph@codesourcery.com>
5361
5362 [BZ #14132]
5363 * include/libc-symbols.h (INTUSE): Remove macro.
5364 (INTDEF): Likewise.
5365 (INTVARDEF): Likewise.
5366 (_INTVARDEF): Likewise.
5367 (INTDEF2): Likewise.
5368 (INTVARDEF2): Likewise.
5369 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5370 rtld_hidden_def instead of INTVARDEF.
5371 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5372 (_dl_starting_up_internal): Remove declaration.
5373 (_dl_starting_up): Use rtld_hidden_proto.
5374 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5375 declaration.
5376 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5377 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5378 _dl_starting_up.
5379 * elf/dl-writev.h (_dl_writev): Likewise.
5380 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5381 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5382 _dl_starting_up_internal.
5383
af83568d
AZ
53842014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5385
5386 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5387 test-skeleton.c.
5388
b01ee67c
WN
53892014-11-05 Will Newton <will.newton@linaro.org>
5390
5391 * benchtests/Makefile: (bench-malloc): Add malloc thread
5392 scalability benchmark.
5393 * benchtests/bench-malloc-threads.c: New file.
5394
be9d4ccc
RE
53952014-11-05 Richard Earnshaw <rearnsha@arm.com>
5396
5397 * sysdeps/aarch64/strchrnul.S: New file.
5398
7110166d
AZ
53992014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5400
5401 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5402 definition.
5403 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5404 Likwise.
5405 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5406 Likewise.
5407 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5408 Likewise.
5409 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5410 Likewise.
5411 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5412 Likewise.
5413
54142014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5415
5416 * catgets/test-gencat.c: Use test-skeleton.c.
5417 * catgets/tst-catgets.c: Likewise.
5418 * csu/tst-empty.c: Likewise.
5419 * elf/tst-audit2.c: Likewise.
5420 * elf/tst-global1.c: Likewise.
5421 * elf/tst-pathopt.c: Likewise.
5422 * elf/tst-piemod1.c: Likewise.
5423 * elf/tst-tls10.c: Likewise.
5424 * elf/tst-tls11.c: Likewise.
5425 * elf/tst-tls12.c: Likewise.
5426 * gnulib/tst-gcc.c: Likewise.
5427 * iconvdata/tst-e2big.c: Likewise.
5428 * iconvdata/tst-loading.c: Likewise.
5429 * iconv/tst-iconv1.c: Likewise.
5430 * iconv/tst-iconv2.c: Likewise.
5431 * inet/test-inet6_opt.c: Likewise.
5432 * inet/tst-gethnm.c: Likewise.
5433 * inet/tst-network.c: Likewise.
5434 * inet/tst-ntoa.c: Likewise.
5435 * intl/tst-codeset.c: Likewise.
5436 * intl/tst-gettext2.c: Likewise.
5437 * intl/tst-gettext3.c: Likewise.
5438 * intl/tst-ngettext.c: Likewise.
5439 * intl/tst-translit.c: Likewise.
5440 * io/test-stat.c: Likewise.
5441 * libio/test-fmemopen.c: Likewise.
5442 * libio/tst-freopen.c: Likewise.
5443 * libio/tst-sscanf.c: Likewise.
5444 * libio/tst-ungetwc1.c: Likewise.
5445 * libio/tst-ungetwc2.c: Likewise.
5446 * libio/tst-widetext.c: Likewise.
5447 * localedata/tst-ctype.c: Likewise.
5448 * localedata/tst-digits.c: Likewise.
5449 * localedata/tst-leaks.c: Likewise.
5450 * localedata/tst-mbswcs1.c: Likewise.
5451 * localedata/tst-mbswcs2.c: Likewise.
5452 * localedata/tst-mbswcs3.c: Likewise.
5453 * localedata/tst-mbswcs4.c: Likewise.
5454 * localedata/tst-mbswcs5.c: Likewise.
5455 * localedata/tst-setlocale.c: Likewise.
5456 * localedata/tst-trans.c: Likewise.
5457 * localedata/tst-wctype.c: Likewise.
5458 * localedata/tst-xlocale1.c: Likewise.
5459 * login/tst-grantpt.c: Likewise.
5460 * malloc/tst-calloc.c: Likewise.
5461 * malloc/tst-malloc.c: Likewise.
5462 * malloc/tst-mallocstate.c: Likewise.
5463 * malloc/tst-mcheck.c: Likewise.
5464 * malloc/tst-mtrace.c: Likewise.
5465 * malloc/tst-obstack.c: Likewise.
5466 * math/atest-exp2.c: Likewise.
5467 * math/atest-exp.c: Likewise.
5468 * math/atest-sincos.c: Likewise.
5469 * math/test-matherr.c: Likewise.
5470 * math/test-misc.c: Likewise.
5471 * math/test-powl.c: Likewise.
5472 * math/tst-definitions.c: Likewise.
5473 * misc/tst-dirname.c: Likewise.
5474 * misc/tst-efgcvt.c: Likewise.
5475 * misc/tst-fdset.c: Likewise.
5476 * misc/tst-hsearch.c: Likewise.
5477 * misc/tst-mntent2.c: Likewise.
5478 * nptl/tst-sem7.c: Likewise.
5479 * nptl/tst-sem8.c: Likewise.
5480 * nptl/tst-sem9.c: Likewise.
5481 * nss/test-netdb.c: Likewise.
5482 * posix/tst-fnmatch.c: Likewise.
5483 * posix/tst-getlogin.c: Likewise.
5484 * posix/tst-gnuglob.c: Likewise.
5485 * posix/tst-mmap.c: Likewise.
5486 * pwd/tst-getpw.c: Likewise.
5487 * resolv/tst-inet_ntop.c: Likewise.
5488 * rt/tst-timer.c: Likewise.
5489 * stdio-common/test-fseek.c: Likewise.
5490 * stdio-common/test-popen.c: Likewise.
5491 * stdio-common/test-vfprintf.c: Likewise.
5492 * stdio-common/tst-cookie.c: Likewise.
5493 * stdio-common/tst-fileno.c: Likewise.
5494 * stdio-common/tst-gets.c: Likewise.
5495 * stdio-common/tst-obprintf.c: Likewise.
5496 * stdio-common/tst-perror.c: Likewise.
5497 * stdio-common/tst-sprintf2.c: Likewise.
5498 * stdio-common/tst-sprintf3.c: Likewise.
5499 * stdio-common/tst-sprintf.c: Likewise.
5500 * stdio-common/tst-swprintf.c: Likewise.
5501 * stdio-common/tst-tmpnam.c: Likewise.
5502 * stdio-common/tst-unbputc.c: Likewise.
5503 * stdio-common/tst-wc-printf.c: Likewise.
5504 * stdlib/tst-environ.c: Likewise.
5505 * stdlib/tst-fmtmsg.c: Likewise.
5506 * stdlib/tst-limits.c: Likewise.
5507 * stdlib/tst-rand48-2.c: Likewise.
5508 * stdlib/tst-rand48.c: Likewise.
5509 * stdlib/tst-random2.c: Likewise.
5510 * stdlib/tst-random.c: Likewise.
5511 * stdlib/tst-strtol.c: Likewise.
5512 * stdlib/tst-strtoll.c: Likewise.
5513 * stdlib/tst-tls-atexit.c: Likewise.
5514 * stdlib/tst-xpg-basename.c: Likewise.
5515 * string/test-ffs.c: Likewise.
5516 * string/tst-bswap.c: Likewise.
5517 * string/tst-inlcall.c: Likewise.
5518 * string/tst-strtok.c: Likewise.
5519 * string/tst-strxfrm.c: Likewise.
5520 * sysdeps/x86_64/tst-audit10.c: Likewise.
5521 * sysdeps/x86_64/tst-audit3.c: Likewise.
5522 * sysdeps/x86_64/tst-audit4.c: Likewise.
5523 * sysdeps/x86_64/tst-audit5.c: Likewise.
5524 * time/tst-ftime_l.c: Likewise.
5525 * time/tst-getdate.c: Likewise.
5526 * time/tst-mktime3.c: Likewise.
5527 * time/tst-mktime.c: Likewise.
5528 * time/tst-posixtz.c: Likewise.
5529 * time/tst-strptime2.c: Likewise.
5530 * time/tst-strptime3.c: Likewise.
5531 * wcsmbs/tst-btowc.c: Likewise.
5532 * wcsmbs/tst-mbrtowc.c: Likewise.
5533 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5534 * wcsmbs/tst-wchar-h.c: Likewise.
5535 * wcsmbs/tst-wcpncpy.c: Likewise.
5536 * wcsmbs/tst-wcrtomb.c: Likewise.
5537 * wcsmbs/tst-wcsnlen.c: Likewise.
5538 * wcsmbs/tst-wcstof.c: Likewise.
5539
2004e7fb
JM
55402014-11-04 Joseph Myers <joseph@codesourcery.com>
5541
ab97ee8f
JM
5542 [BZ #14132]
5543 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5544 INTDEF.
5545 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5546 declaration.
5547 (_dl_mcount): Use rtld_hidden_proto.
5548 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5549 _dl_mcount.
5550 * elf/rtld.c (_rtld_global_ro): Likewise.
5551
c5684fdb
JM
5552 [BZ #14132]
5553 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5554 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5555 of _dl_init_internal.
5556 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5557 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5558 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5559 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5560 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5561 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5562 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5563 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5564 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5565 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5566 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5567 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5568 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5569 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5570 * sysdeps/tile/dl-start.S (_start): Likewise.
5571 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5572 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5573
4243cbea
JM
5574 [BZ #14132]
5575 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5576 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5577 (rtld_progname): Make macro definition unconditional.
5578 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5579 INTDEF.
5580 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5581 (dl_main): Likewise.
5582 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5583 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5584 instead of _dl_argv_internal.
5585 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5586 __GI__dl_argv instead of INTUSE(_dl_argv).
5587 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5588 __GI__dl_argv instead of _dl_argv_internal.
5589
2004e7fb
JM
5590 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5591 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5592 macro.
5593 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5594 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5595 New macro.
5596 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5597 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5598 macro.
5599 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5600 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5601
97827bfc
AS
56022014-11-04 Andreas Schwab <schwab@suse.de>
5603
5604 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5605
5e4df284
AZ
56062014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5607
5608 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5609 mtvsrd instruction in binary form.
5610
04b76b5a
AS
56112014-11-03 Andreas Schwab <schwab@suse.de>
5612
5613 [BZ #17522]
5614 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5615 for less than MB_LEN_MAX use a local buffer of that size.
5616 * libio/tst-fputws.c: New file.
5617 * libio/Makefile (tests): Add tst-fputws.
5618
4c6da7da
JM
56192014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5620
5621 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5622 the size of the fpu_fr.fpu_dregs[] array.
5623
1679ba8e
JM
56242014-11-01 Joseph Myers <joseph@codesourcery.com>
5625
5626 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5627 (__nanosleep): Do not define as alias.
5628 (nanosleep): Define as alias of __nanosleep.
5629 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5630 __libc_nanosleep name.
5631
2626c183
JM
56322014-10-31 Joseph Myers <joseph@codesourcery.com>
5633
5634 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5635 install.texi in comment.
5636
7f981fc2
TR
56372014-10-31 Torvald Riegel <triegel@redhat.com>
5638
5639 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5640 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5641 ... add here and use lwsync or sync ...
5642 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5643 ... and add here using lwsync.
5644
d6f373d2
MF
56452014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5646
5647 * elf/dl-machine-reject-phdr.h: New file.
5648 * elf/dl-load.c: #include that.
5649 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5650 if that returned true.
5651
67c37987
RM
56522014-10-31 Roland McGrath <roland@hack.frob.com>
5653
5654 [BZ #17496]
5655 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5656 gen-as-const-headers chunk. Add a big scare comment after the last
5657 safe place to touch before-compile.
5658
94a42455 56592014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5660
f3f5d895
JM
5661 * manual/install.texi (Tools for Compilation): Update autoconf
5662 version requirements.
5663 * INSTALL: Regenerated.
5664
f62ff286
JM
5665 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5666 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5667 (__libc_pselect): Likewise.
94a42455
JM
5668
5669 [BZ #14138]
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5674
ff9dbdc0
TR
56752014-10-31 Torvald Riegel <triegel@redhat.com>
5676
5677 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5678 correct barrier instruction.
5679 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5680 Likewise.
5681 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5682 Likewise.
5683
b4f66884
RM
56842014-10-30 Roland McGrath <roland@hack.frob.com>
5685
5686 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5687 after defining inlines. Instead, just use parens to defeat macro
5688 expansion of __isctype in its declaration.
5689
e19c95fd
JM
56902014-10-30 Joseph Myers <joseph@codesourcery.com>
5691
5692 * include/sys/uio.h (__libc_readv): Remove declaration.
5693 (__libc_writev): Likewise.
5694 * misc/readv.c (__libc_readv): Rename to __readv.
5695 (__readv): Do not define as alias.
5696 (readv): Define as alias of __readv.
5697 * misc/writev.c (__libc_writev): Rename to __writev.
5698 (__writev): Do not define as alias.
5699 (writev): Define as alias of __writev.
5700 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5701 (__readv): Do not define as alias.
5702 (readv): Define unconditionally as alias of __readv.
5703 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5704 (__writev): Do not define as alias.
5705 (writev): Define unconditionally as alias of __writev.
5706 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5707 name.
5708 (writev): Do not define __libc_writev name.
5709
65b00b6c
RM
57102014-10-30 Roland McGrath <roland@hack.frob.com>
5711
5712 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5713 (convert_charseq): New function, broken out of ...
5714 (use_from_charmap): ... here. Call it.
5715 (use_to_charmap): Use convert_charseq and free instead of duplicating
5716 its code with a variable-length stack struct.
5717
d4e157aa
JM
57182014-10-30 Joseph Myers <joseph@codesourcery.com>
5719
5720 * include/fcntl.h (__libc_creat): Remove declaration.
5721 * io/creat.c (__libc_creat): Rename to creat.
5722 (creat): Do not define as alias.
5723 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5724 of creat instead of __libc_creat.
5725 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5726 to creat.
5727 (creat): Do not define as alias.
5728 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5729 __libc_creat.
5730 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5731 __libc_creat name.
5732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5733 Likewise.
5734
0c6891a0
CD
57352014-10-29 Carlos O'Donell <carlos@redhat.com>
5736
5737 * manual/llio.texi: Add comments discussing why write() may be
5738 considered MT-unsafe on Linux.
5739
cc00cece
CD
57402014-10-28 Carlos O'Donell <carlos@redhat.com>
5741
5742 * dl-load.c (local_strdup): Remove.
5743 (expand_dynamic_string_token): Use __strdup.
5744 (decompose_rpath): Likewise.
5745 (_dl_map_object): Likewise.
5746
51e623f2
JM
57472014-10-28 Joseph Myers <joseph@codesourcery.com>
5748
5749 [BZ #14132]
5750 * sysdeps/generic/unwind-dw2-fde.c
5751 (__register_frame_info_bases_internal): Do not declare.
5752 (__register_frame_info_table_bases_internal): Likewise.
5753 (__deregister_frame_info_bases_internal): Likewise.
5754 (__register_frame_info_bases): Declare and use hidden_proto before
5755 definition. Use hidden_def instead of INTDEF.
5756 (__register_frame_info_table_bases): Likewise.
5757 (__deregister_frame_info_bases): Likewise.
5758 (__register_frame_info): Do not use INTUSE.
5759 (__register_frame): Likewise.
5760 (__register_frame_info_table): Likewise.
5761 (__register_frame_table): Likewise.
5762 (__deregister_frame_info): Likewise.
5763 (__deregister_frame): Likewise.
5764
03d41216
GC
57652014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5766
5767 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5768 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5769 not undefine.
5770 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5771 Likewise.
5772 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5773 Likewise.
5774
a4b3624d
JM
57752014-10-27 Joseph Myers <joseph@codesourcery.com>
5776
5777 [BZ #14138]
5778 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5779 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5780 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5781 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5782 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5783 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5784 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5785 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5786 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5787 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5788 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5789 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5790 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5791 syscall.
5792 (setfsuid): Likewise.
5793 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5794 (setfsuid): Likewise.
5795 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5796 (setfsuid): Likewise.
5797 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5798 Likewise.
5799 (setfsuid): Likewise.
5800 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5801 (setfsuid): Likewise.
5802 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5803 Likewise.
5804 (setfsuid): Likewise.
5805
3574f2fd
AS
58062014-10-27 Andreas Schwab <schwab@suse.de>
5807
5808 [BZ #17501]
5809 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5810 check for Slow_SSE4_2 feature bit.
5811 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5812 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5813 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5814 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5815
70996a37
RM
58162014-10-24 Roland McGrath <roland@hack.frob.com>
5817
461a7b1e
RM
5818 * configure.ac: Validate compiler version with a empirical test of
5819 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5820 $CC -v output.
5821 * configure: Regenerated.
5822
70996a37
RM
5823 * inet/htons.c (htons): Prototypify.
5824 * inet/htonl.c (htonl): Likewise.
5825
e80514b5
WD
58262014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5827
5828 * string/strncat.c (strncat): Improve performance by using strlen.
5829
6e46de42
WD
58302014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5831
5832 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5833
6a9ad2fa
WD
58342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5835
5836 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5837 Call libc_fetestexcept_aarch64.
5838
1c8810ed
WD
58392014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5840
5841 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5842 Call libc_feholdexcept_aarch64.
5843
8b1af712
WD
58442014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5845
5846 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5847 Call get_rounding_mode.
5848
a7b00c11
WD
58492014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5850
5851 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5852 Simplify logic.
5853
3a84f1a6
WD
58542014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5855
5856 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5857 Simplify logic.
5858
48eb7a94
JM
58592014-10-24 Joseph Myers <joseph@codesourcery.com>
5860
c8bc4038
JM
5861 [BZ #14138]
5862 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5863 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5864 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5865 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5866 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5867 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5868 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5869 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5870 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5871 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5872 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5873 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5874 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5875 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5876 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5877 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5878 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5879 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5880 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5881 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5882 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5883 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5884 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5885 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5886 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5887 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5888 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5889 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5890 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5891 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5892 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5893 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5894 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5895 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5896 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5897 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5898 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5899 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5900 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5901 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5902 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5903 syscall.
5904 (geteuid): Likewise.
5905 (getgid): Likewise.
5906 (getuid): Likewise.
5907 (getresgid): Likewise.
5908 (getresuid): Likewise.
5909 (getgroups): Likewise.
5910 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5911 (geteuid): Likewise.
5912 (getgid): Likewise.
5913 (getuid): Likewise.
5914 (getresgid): Likewise.
5915 (getresuid): Likewise.
5916 (getgroups): Likewise.
5917 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5918 (geteuid): Likewise.
5919 (getgid): Likewise.
5920 (getuid): Likewise.
5921 (getresgid): Likewise.
5922 (getresuid): Likewise.
5923 (getgroups): Likewise.
5924 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5925 Likewise.
5926 (geteuid): Likewise.
5927 (getgid): Likewise.
5928 (getuid): Likewise.
5929 (getresgid): Likewise.
5930 (getresuid): Likewise.
5931 (getgroups): Likewise.
5932 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5933 (geteuid): Likewise.
5934 (getgid): Likewise.
5935 (getuid): Likewise.
5936 (getresgid): Likewise.
5937 (getresuid): Likewise.
5938 (getgroups): Likewise.
5939 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5940 Likewise.
5941 (geteuid): Likewise.
5942 (getgid): Likewise.
5943 (getuid): Likewise.
5944 (getgroups): Likewise.
5945
48eb7a94
JM
5946 [BZ #14138]
5947 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5948 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5949 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5950 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5951 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5952 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5953 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5954 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5955 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5956 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5957 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5958 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5959 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5960 __chown.
5961 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5962 (lchown): Likewise.
5963 (fchown): Likewise.
5964 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5965 Likewise.
5966 (lchown): Likewise.
5967 (fchown): Likewise.
5968 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5969 (lchown): Likewise.
5970 (fchown): Likewise.
5971 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5972 Likewise.
5973 (lchown): Likewise.
5974 (fchown): Likewise.
5975
ea9a7c8b
WD
59762014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5977
5978 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5979 Simplify logic.
5980
e226de33
WD
59812014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5982
5983 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5984 Cleanup logic.
5985
6e3d8ed3
WD
59862014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5987
5988 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5989 Remove unused include.
5990
eb04247d
WD
59912014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5992
5993 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5994 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5995 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5996 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5997
13d84554
CD
59982014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5999 Helge Deller <deller@gmx.de>
6000
6001 [BZ #17508]
6002 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6003 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6004 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6005
15f9c5df
JM
60062014-10-23 Joseph Myers <joseph@codesourcery.com>
6007
6008 [BZ #14132]
6009 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6010 Remove macro definition.
6011 (__ashrdi3_v_glibc20): Likewise.
6012 (__lshrdi3_v_glibc20): Likewise.
6013 (__cmpdi2_v_glibc20): Likewise.
6014 (__ucmpdi2_v_glibc20): Likewise.
6015 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6016 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6017 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6018 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6019 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6020 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6021
c6dfed24
RM
60222014-10-22 Roland McGrath <roland@hack.frob.com>
6023
6024 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6025 old GNU extension [0] syntax.
6026 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6027 alloca rather than an array member with variable length.
6028 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6029 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6030 (parse_opt): ... here. Likewise use alloca there.
6031 Validate the -i argument before checking for rootness.
6032 (send_shutdown): New function, broken out of ...
6033 (parse_opt): ... here.
6034
8c2b1ed8
RM
60352014-10-22 Roland McGrath <roland@hack.frob.com>
6036
6037 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6038 macro to get at the _rt_local_ro field.
6039 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6040 ([PIC] case) or _dl_hwcap ([!PIC] case).
6041 * sysdeps/arm/setjmp.S: Likewise.
6042
6043 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6044 * sysdeps/arm/configure.ac: New check to define it.
6045 * sysdeps/arm/configure: Regenerated.
6046 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6047 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6048 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6049 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6050 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6051 Use move/movt pair instead of a load.
6052 (LDST_GLOBAL): Macro removed.
6053 (LDR_GLOBAL): New macro replaces it.
6054 (LDR_HIDDEN): New macro.
6055 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6056 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6057
6058 * setjmp/tst-setjmp-static.c: New file.
6059 * setjmp/Makefile (tests): Add it.
6060 (tests-static): New variable.
6061
b5af9297
MR
60622014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6063
6064 [BZ #17485]
6065 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6066
a13d0d74
JM
60672014-10-21 Joseph Myers <joseph@codesourcery.com>
6068
6069 [BZ #14132]
6070 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6071
f05e73f6
RM
60722014-10-21 Roland McGrath <roland@hack.frob.com>
6073
6074 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6075
6ab1d1ea
RM
60762014-10-20 Roland McGrath <roland@hack.frob.com>
6077
6078 * io/fts.c (dirent_not_directory): New function.
6079 (fts_build): Call it.
6080
ab49e763
RM
60812014-10-20 Roland McGrath <roland@hack.frob.com>
6082
e436eb79
RM
6083 * nptl/version.c (__nptl_main): Use normal __write rather than
6084 INTERNAL_SYSCALL.
6085 (banner): Update copyright years.
6086
6af246cf
RM
6087 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6088 gettimeofday.
6089 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6090 * nptl/pthread_cond_timedwait.c: Likewise.
6091 * nptl/pthread_mutex_timedlock.c: Likewise.
6092 * nptl/sem_timedwait.c: Likewise.
6093
ab49e763
RM
6094 * sysdeps/nptl/bits/libc-lock.h
6095 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6096 (__libc_lock_init_recursive): Return void, not 0.
6097 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6098 (__libc_rwlock_init): Likewise.
6099 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6100
f50277c1
TR
61012014-10-20 Torvald Riegel <triegel@redhat.com>
6102
6103 [BZ #15215]
6104 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6105 (__pthread_once_slow): ... here.
6106 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6107 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6108
63668b70
TR
61092014-10-20 Torvald Riegel <triegel@redhat.com>
6110
6111 [BZ #15215]
6112 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6113 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6114 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6115 * nptl/pthread_once.c (__pthread_once): Likewise.
6116 Update comments.
6117
42b7f5d4
JM
61182014-10-20 Joseph Myers <joseph@codesourcery.com>
6119
6120 [BZ #14138]
6121 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6122 name.
6123 (writev): Use __libc_writev as strong name.
6124 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6125 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6126
b0643088
RM
61272014-10-17 Roland McGrath <roland@hack.frob.com>
6128
114c4e09
RM
6129 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6130
674b8978
RM
6131 * sysdeps/i386/nptl/tls.h
6132 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6133 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6134 New macros.
6135 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6136 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6137 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6138 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6139 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6140 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6141
184ee940
RM
6142 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6143 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6144 on [__NR_futex].
6145 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6146 broken out of ...
6147 (__pthread_mutex_init): ... here. Call it.
6148 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6149 Conditionalize PI cases on [__NR_futex].
6150 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6151 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6152 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6153
327ae257
RM
6154 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6155 conditional on [SIGSETXID].
6156 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6157 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6158 is defined. Likewise for SIGSETXID.
6159 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6160 Conditionalize definitions on [SIGSETXID].
6161 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6162 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6163 unblocking on [SIGCANCEL].
6164
b0643088
RM
6165 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6166 [__NR_set_robust_list].
6167
33cc770b
SP
61682014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6169
6170 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6171 (do_compare): Likewise.
6172
0742aef6
LH
61732014-10-17 Leonhard Holz <leonhard.holz@web.de>
6174
6175 [BZ #15884]
6176 * string/strcoll_l.c: Don't include stdio.h.
6177 (coll_seq): Remove members idxarr and rulearr.
6178 (get_next_seq_cached): Remove function.
6179 (get_next_seq): Likewise.
6180 (get_next_seq_nocache): Rename to get_next_seq.
6181 (do_compare): Remove function.
6182 (do_compare_nocache): Rename to do_compare.
6183 (STRCOLL): Remove weight and rules cache.
6184
ee54ce44
RM
61852014-10-16 Roland McGrath <roland@hack.frob.com>
6186
6187 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6188 * sysdeps/arm/sfp-machine.h: ... to here.
6189 * sysdeps/arm/Implies: Remove arm/soft-fp.
6190
a75d3b02
JM
61912014-10-14 Joseph Myers <joseph@codesourcery.com>
6192
6193 * conform/data/sys/utsname.h-data (*_t): Allow.
6194 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6195 [POSIX] (WEXITED): Do not expect constant.
6196 [POSIX] (WSTOPPED): Likewise.
6197 [POSIX] (WNOHANG): Likewise.
6198 [POSIX] (WNOWAIT): Likewise.
6199 [POSIX] (siginfo_t): Do not expect type or elements.
6200 [POSIX] (pid_t): Do not expect type.
6201 [POSIX] (signal.h): Do not allow header.
6202 [POSIX] (sys/resource.h): Likewise.
6203 [POSIX] (si_*): Do not allow pattern.
6204 [POSIX] (W*): Likewise.
6205 [POSIX] (P_*): Likewise.
6206 [POSIX] (BUS_*): Likewise.
6207 [POSIX] (CLD_*): Likewise.
6208 [POSIX] (FPE_*): Likewise.
6209 [POSIX] (ILL_*): Likewise.
6210 [POSIX] (POLL_*): Likewise.
6211 [POSIX] (SEGV_*): Likewise.
6212 [POSIX] (SI_*): Likewise.
6213 [POSIX] (TRAP_*): Likewise.
6214 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6215 variable.
6216
fda389c8
SP
62172014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6218
6219 [BZ #12926]
6220 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6221 infinite loop when __recvmsg returns 0.
6222
6bc6bd3b
JM
62232014-10-10 Joseph Myers <joseph@codesourcery.com>
6224
fcb32af1
JM
6225 * CANCEL-FCT-WAIVE: Remove file.
6226 * CANCEL-FILE-WAIVE: Likewise.
6227
6bc6bd3b
JM
6228 [BZ #14132]
6229 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6230 instead of INTVARDEF.
6231 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6232 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6233 rtld_hidden_data_def instead of INTVARDEF.
6234 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6235 * elf/dl-deps.c (expand_dst): Likewise.
6236 * elf/dl-load.c (_dl_dst_count): Likewise.
6237 (_dl_dst_substitute): Likewise.
6238 (decompose_rpath): Likewise.
6239 (_dl_init_paths): Likewise.
6240 (open_path): Likewise.
6241 (_dl_map_object): Likewise.
6242 * elf/rtld.c (dl_main): Likewise.
6243 (process_dl_audit): Likewise.
6244 (process_envvars): Likewise.
6245 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6246 Remove declaration.
6247 (__libc_enable_secure): Use rtld_hidden_proto.
6248
b8c80a7e
KS
62492014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6250
6251 * elf/dl-load.c
6252 (add_path): New function broken out of _dl_rtld_di_serinfo.
6253 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6254
ff12c11f
JM
62552014-10-09 Joseph Myers <joseph@codesourcery.com>
6256
5c0508a3
JM
6257 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6258 parentheses around macro arguments.
6259 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6260 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6261 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6262 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6263 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6264 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6265 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6266 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6267 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6268 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6269 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6270 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6271 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6272 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6273 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6274 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6275 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6276 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6277 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6278 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6279 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6280 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6282 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6283 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6284 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6285 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6286 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6288 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6289 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6290 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6291 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6292 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6293 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6294 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6295 Likewise.
6296 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6297 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6298 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6299 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6300 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6301 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6302 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6303 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6304 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6305 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6306 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6307 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6308 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6309 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6310 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6311 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6312 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6313 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6314 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6315 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6316 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6317 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6318 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6319 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6320 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6321 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6322 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6323 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6324 (_FP_FRAC_SRS_1): Likewise.
6325 (_FP_FRAC_CLZ_1): Likewise.
6326 (_FP_MUL_MEAT_1_imm): Likewise.
6327 (_FP_MUL_MEAT_1_wide): Likewise.
6328 (_FP_MUL_MEAT_1_hard): Likewise.
6329 (_FP_SQRT_MEAT_1): Likewise.
6330 (_FP_FRAC_ASSEMBLE_1): Likewise.
6331 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6332 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6333 (__FP_CLZ_2): Likewise.
6334 (_FP_MUL_MEAT_2_wide): Likewise.
6335 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6336 (_FP_MUL_MEAT_2_gmp): Likewise.
6337 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6338 (_FP_SQRT_MEAT_2): Likewise.
6339 (_FP_FRAC_ASSEMBLE_2): Likewise.
6340 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6341 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6342 (_FP_FRAC_CLZ_4): Likewise.
6343 (_FP_MUL_MEAT_4_wide): Likewise.
6344 (_FP_MUL_MEAT_4_gmp): Likewise.
6345 (_FP_SQRT_MEAT_4): Likewise.
6346 (_FP_FRAC_ASSEMBLE_4): Likewise.
6347 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6348 * soft-fp/op-common.h (_FP_CMP): Likewise.
6349 (_FP_CMP_EQ): Likewise.
6350 (_FP_CMP_UNORD): Likewise.
6351 (_FP_TO_INT): Likewise.
6352 (_FP_FROM_INT): Likewise.
6353 [!__FP_CLZ] (__FP_CLZ): Likewise.
6354 (_FP_DIV_HELP_imm): Likewise.
6355 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6356 Likewise.
6357 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6358 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6359 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6360 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6361 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6362 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6363 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6364 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6365 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6366 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6367 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6368 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6369 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6370 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6371 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6372 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6373 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6374 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6375 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6376 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6377 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6378 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6379 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6380 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6381 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6382 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6383 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6384 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6385 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6386 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6387 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6388 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6389 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6390 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6391 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6392 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6393 (FP_UNPACK_RAW_SP): Likewise.
6394 (FP_PACK_RAW_S): Likewise.
6395 (FP_PACK_RAW_SP): Likewise.
6396 (FP_UNPACK_S): Likewise.
6397 (FP_UNPACK_SP): Likewise.
6398 (FP_UNPACK_SEMIRAW_S): Likewise.
6399 (FP_UNPACK_SEMIRAW_SP): Likewise.
6400 (FP_PACK_S): Likewise.
6401 (FP_PACK_SP): Likewise.
6402 (FP_PACK_SEMIRAW_S): Likewise.
6403 (FP_PACK_SEMIRAW_SP): Likewise.
6404 (_FP_SQRT_MEAT_S): Likewise.
6405 (FP_CMP_S): Likewise.
6406 (FP_CMP_EQ_S): Likewise.
6407 (FP_CMP_UNORD_S): Likewise.
6408 (FP_TO_INT_S): Likewise.
6409 (FP_FROM_INT_S): Likewise.
6410
a736ec37
JM
6411 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6412
ff12c11f
JM
6413 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6414 (FP_EX_INVALID_IMZ): Likewise.
6415 (FP_EX_INVALID_IMZ_FMA): Likewise.
6416 (FP_EX_INVALID_ISI): Likewise.
6417 (FP_EX_INVALID_ZDZ): Likewise.
6418 (FP_EX_INVALID_IDI): Likewise.
6419 (FP_EX_INVALID_SQRT): Likewise.
6420 (FP_EX_INVALID_CVI): Likewise.
6421 (FP_EX_INVALID_VC): Likewise.
6422 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6423 "invalid" exceptions.
6424 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6425 (_FP_ADD_INTERNAL): Likewise.
6426 (_FP_MUL): Likewise.
6427 (_FP_FMA): Likewise.
6428 (_FP_DIV): Likewise.
6429 (_FP_CMP_CHECK_NAN): Likewise.
6430 (_FP_SQRT): Likewise.
6431 (_FP_TO_INT): Likewise.
6432 (FP_EXTEND): Likewise.
6433
b6dcfe8c
AM
64342014-10-09 Allan McRae <allan@archlinux.org>
6435
6436 * po/fr.po: Update French translation from translation project.
6437
2d6a47ba
JM
64382014-10-09 Joseph Myers <joseph@codesourcery.com>
6439
cb831245
JM
6440 [BZ #14132]
6441 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6442 of INTDEF.
6443 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6444 (__cxa_atexit): Use libc_hidden_proto.
6445 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6446
5deeb190
JM
6447 [BZ #14132]
6448 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6449 declaration.
6450 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6451 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6452 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6453 [!_ISOMAC] (__iswctype_internal): Likewise.
6454 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6455 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6456 alias.
6457 (fcntl): Remove __fcntl_internal alias.
6458 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6459 __connect_internal alias.
6460 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6461 Likewise.
6462
454ac701
JM
6463 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6464 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6465 FP_DENORM_ZERO.
6466 (_FP_CHECK_FLUSH_ZERO): New macro.
6467 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6468 (_FP_CMP): Likewise.
6469 (_FP_CMP_EQ): Likewise.
6470 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6471 FP_DENORM_ZERO.
6472 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6473 (FP_TRUNC): Likewise.
6474
0022e688
JM
6475 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6476 treated as invalid conversion, not as normal exponent.
6477
73e28d9c
JM
6478 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6479 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6480 (_FP_CMP_EQ): Likewise.
6481 (_FP_CMP_UNORD): Likewise.
6482 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6483 (FP_CMP_EQ_D): Likewise.
6484 (FP_CMP_UNORD_D): Likewise.
6485 * soft-fp/extended.h (FP_CMP_E): Likewise.
6486 (FP_CMP_EQ_E): Likewise.
6487 (FP_CMP_UNORD_E): Likewise.
6488 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6489 (FP_CMP_EQ_Q): Likewise.
6490 (FP_CMP_UNORD_Q): Likewise.
6491 * soft-fp/single.h (FP_CMP_S): Likewise.
6492 (FP_CMP_EQ_S): Likewise.
6493 (FP_CMP_UNORD_S): Likewise.
6494 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6495 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6496 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6497 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6498 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6499 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6500 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6501 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6502 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6503 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6504 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6505 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6506 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6507 to FP_CMP_Q.
6508 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6509 FP_CMP_Q.
6510 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6511 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6512 FP_CMP_EQ_Q.
6513 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6514 FP_CMP_Q.
6515 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6516 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6517 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6518 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6519 FP_CMP_EQ_Q.
6520 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6521 FP_CMP_Q.
6522 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6523 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6524 FP_CMP_EQ_Q.
6525 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6526 FP_CMP_Q.
6527 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6528 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6529 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6530 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6531 FP_CMP_EQ_Q.
6532
43059f42
JM
6533 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6534 a subnormal result, set the underflow exception if trapping on
6535 underflow is enabled.
6536 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6537 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6538 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6539 redefine to 0.
6540 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6541 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6542 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6543 * soft-fp/extendxftf2.c (__extendxftf2): Use
6544 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6545
2d6a47ba
JM
6546 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6547 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6548 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6549 FP_HANDLE_EXCEPTIONS.
6550 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6551 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6552 FP_HANDLE_EXCEPTIONS.
6553 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6554 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6555 FP_HANDLE_EXCEPTIONS.
6556 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6557 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6558 FP_HANDLE_EXCEPTIONS.
6559
620f462e
JM
65602014-10-08 Joseph Myers <joseph@codesourcery.com>
6561
6562 [BZ #14132]
6563 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6564 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6565 use INTUSE.
6566 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6567 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6568 Remove alias.
6569 (__adjtimex): Define using libc_hidden_ver.
6570 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6571 Remove declaration.
6572 (ntp_gettime): Call __adjtimex directly.
6573 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6574 Remove declaration.
6575 (ntp_gettimex): Call __adjtimex directly.
6576 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6577 __adjtimex_internal alias.
6578
c763c5d2
RM
65792014-10-08 Roland McGrath <roland@hack.frob.com>
6580
6581 [BZ #17460]
6582 * nscd/nscd.c (more_help): Rewrite list of tables collection
6583 using xstrdup and asprintf.
6584
6585 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6586
7b8fb2b8
RM
65872014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6588 Roland McGrath <roland@hack.frob.com>
6589
6590 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6591 (do_lookup_unique): ... local function 'enter' here; update callers.
6592
abb280f7
JM
65932014-10-06 Joseph Myers <joseph@codesourcery.com>
6594
f7b42517
JM
6595 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6596 compat_symbol calls on [SHARED].
6597 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6598 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6599 Remove.
6600 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6601 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6602 (oldsetrlimit): Remove.
6603 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6605 (lchown): New syscall entry.
6606 (oldsetrlimit): Remove.
6607 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6608 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6609 (oldsetrlimit): Remove.
6610 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6611
abb280f7
JM
6612 [BZ #14138]
6613 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6614 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6615 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6616 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6617 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6618 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6619 (fchown): Likewise.
6620 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6621 (fchown): Likewise.
6622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6623 Likewise.
6624
47d46237
AZ
66252014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6626
6627 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6628 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6629 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6630 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6631 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6632 Likewise.
6633 (__old_sem_post): Likewise.
6634
66352014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6636
845a7343
CM
6637 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6638 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6639 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6640 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6641 Use INLINE_VSYSCALL macro.
6642 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6643 __vdso_clock_gettime.
6644 * sysdeps/unix/sysv/linux/tile/init-first.c
6645 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6646 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6647 __vdso_clock_gettime.
6648
83d641ef
CM
6649 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6650 to set up frame more cleanly.
6651
d9cd52e6
CM
6652 * sysdeps/tile/memcmp.c: New file.
6653
4b68ea11
CM
6654 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6655
c86f7b80
CM
6656 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6657 * sysdeps/tile/tilegx/strcasestr.c: New file.
6658 * sysdeps/tile/tilegx/strnlen.c: New file.
6659 * sysdeps/tile/tilegx/strstr.c: New file.
6660
1c4c1a6f
CM
6661 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6662
99d86ea3
AS
66632014-10-06 Arjun Shankar <arjun.is@lostca.se>
6664
6665 * nptl/tst-setuid3.c: Write errors to stdout.
6666
06210a44
KS
66672014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6668
6669 * elf/dl-deps.c
6670 (preload): New functions broken out of _dl_map_object_deps.
6671 (_dl_map_object_deps): Remove a nested function. Update call sites.
6672
6268f532
JM
66732014-10-01 Joseph Myers <joseph@codesourcery.com>
6674
6675 [BZ #14138]
6676 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6677 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6678
b925285f
SE
66792014-10-01 Steve Ellcey <sellcey@mips.com>
6680
6681 * sysdeps/mips/strcmp.S: New.
6682
754a15c6
JM
66832014-09-30 Joseph Myers <joseph@codesourcery.com>
6684
6685 [BZ #14138]
6686 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6687 (linkat): Likewise.
6688 (mkdirat): Likewise.
6689 (readlinkat): Likewise.
6690 (renameat): Likewise.
6691 (symlinkat): Likewise.
6692 (unlinkat): Likewise.
6693 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6694 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6695 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6696 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6697 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6698 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6699 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6700
85bb81c9
WN
67012014-09-30 Will Newton <will.newton@linaro.org>
6702
dc6fe23b
WN
6703 * math/math.h: Define long double math functions if
6704 _LIBC_TEST is defined.
6705 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6706
85bb81c9
WN
6707 * localedata/Makefile: Move assignment to tests-special
6708 into an ifdef testing run-built-tests.
6709 * timezone/Makefile: Likewise.
6710
b7e02da4
JM
67112014-09-29 Joseph Myers <joseph@codesourcery.com>
6712
6713 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6714 with $(BASH) not $(SHELL).
6715
62058ce6
CD
67162014-09-29 Carlos O'Donell <carlos@redhat.com>
6717 Matthew LeGendre <legendre1@llnl.gov>
6718
6719 [BZ #17411]
6720 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6721 l_reloc_result.
6722
8e257a29
KS
67232014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6724
6725 * stdio-common/printf_fp.c
6726 (hack_digit): New function, broken out of ...
6727 (__printf_fp): ... local function here. Update call sites.
6728 hack_digit now takes an additional parameter that is a pointer
6729 to a struct of the referenced locals. Those locals moved inside
6730 the struct and references updated.
6731
f4a58f0d
L
67322014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6733
6734 * aclocal.m4: Require autoconf 2.69.
6735 * configure: Regenerated.
6736 * sysdeps/aarch64/configure: Likewise.
6737 * sysdeps/alpha/configure: Likewise.
6738 * sysdeps/arm/armv7/configure: Likewise.
6739 * sysdeps/arm/configure: Likewise.
6740 * sysdeps/ia64/configure: Likewise.
6741 * sysdeps/mach/configure: Likewise.
6742 * sysdeps/mips/configure: Likewise.
6743 * sysdeps/s390/configure: Likewise.
6744 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6746
6747 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6748 file.
6749 * sysdeps/ia64/configure.ac: Likewise.
6750
93ae1eba
JM
67512014-09-26 Joseph Myers <joseph@codesourcery.com>
6752
1810d3ab
JM
6753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6754 specify symbol version for ld.so. Do not include entry for
6755 libpthread.
6756 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6757 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6758 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6759
93ae1eba
JM
6760 [BZ #14171]
6761 * Makeconfig [$(build-shared) = yes]
6762 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6763 makefiles.
6764 [$(build-shared) = yes && $(soversions.mk-done) = t]
6765 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6766 [$(build-shared) = yes && $(soversions.mk-done) = t]
6767 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6768 to Makerules.
6769 [$(build-shared) = yes && $(soversions.mk-done) = t]
6770 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6771 here.
6772 [$(build-shared) = yes && $(soversions.mk-done) = t]
6773 (common-generated): Don't append gnu/lib-names.h and
6774 gnu/lib-names.stmp here.
6775 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6776 (lib-names-h-abi): New variable.
6777 [$(build-shared) = yes && $(soversions.mk-done) = t]
6778 (lib-names-stmp-abi): Likewise.
6779 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6780 abi-variants] (before-compile): Append
6781 $(common-objpfx)$(lib-names-h-abi).
6782 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6783 abi-variants] (common-generated): Append gnu/lib-names.h.
6784 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6785 abi-variants] (install-others-nosubdir): Depend on
6786 $(inst_includedir)/$(lib-names-h-abi).
6787 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6788 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6789 [$(build-shared) = yes && $(soversions.mk-done) = t]
6790 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6791 [$(build-shared) = yes && $(soversions.mk-done) = t]
6792 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6793 [$(build-shared) = yes && $(soversions.mk-done) = t]
6794 (common-generated): Append $(lib-names-h-abi) and
6795 $(lib-names-stmp-abi).
6796 * scripts/lib-names.awk: Do not handle multi being set.
6797 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6798 Remove variable.
6799 (abi-lp64_be-ld-soname): Likewise.
6800 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6801 Likewise.
6802 (abi-hard-ld-soname): Likewise.
6803 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6804 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6805 Remove variable.
6806 (abi-o32_hard-ld-soname): Likewise.
6807 (abi-o32_soft_2008-ld-soname): Likewise.
6808 (abi-o32_hard_2008-ld-soname): Likewise.
6809 (abi-n32_soft-ld-soname): Likewise.
6810 (abi-n32_hard-ld-soname): Likewise.
6811 (abi-n32_soft_2008-ld-soname): Likewise.
6812 (abi-n32_hard_2008-ld-soname): Likewise.
6813 (abi-n64_soft-ld-soname): Likewise.
6814 (abi-n64_hard-ld-soname): Likewise.
6815 (abi-n64_soft_2008-ld-soname): Likewise.
6816 (abi-n64_hard_2008-ld-soname): Likewise.
6817 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6818 Likewise.
6819 (abi-64-v2-ld-soname): Likewise.
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6821 ld.so entries.
6822 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6823 variable.
6824 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6825 entry.
6826 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6827 variable.
6828 (abi-64-ld-soname): Likewise.
6829 (abi-x32-ld-soname): Likewise.
6830 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6831 entry.
6832 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6833
68870f12
JM
68342014-09-23 Joseph Myers <joseph@codesourcery.com>
6835
6836 [BZ #14138]
6837 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6838 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6839 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6840 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6841 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6842 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6843 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6844 syscall entry for GLIBC_2.2 symbol version.
6845 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6846 Likewise.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6848 (setrlimit): Likewise.
6849 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6850 Likewise.
6851
ea58f202
WN
68522014-09-23 Will Newton <will.newton@linaro.org>
6853
6854 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6855 _LINUX_ARM_SYSDEP_H include guard too.
6856 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6857 define.
6858
69eb9a18
RV
68592014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6860
6861 * sysdeps/unix/sysv/linux/eventfd.c:
6862 Make first argument unsigned.
6863 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6864 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6865
20e5a5f7
OB
68662014-09-20 Ondřej Bílka <neleai@seznam.cz>
6867
6868 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6869 * socket/sys/socket.h: Likewise
6870 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6871
d3c827e7
AK
68722014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6873
6874 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6875
fe1cc35a
AS
68762014-09-17 Arjun Shankar <arjun.is@lostca.se>
6877
6878 * time/tst-ftime.c: New test.
6879 * time/Makefile (tests): Add tst-ftime.
6880
4e8afe69
JM
68812014-09-17 Joseph Myers <joseph@codesourcery.com>
6882
c4fe3ea7
JM
6883 * soft-fp/extended.h: Fix comment formatting.
6884 * soft-fp/op-1.h: Likewise.
6885 * soft-fp/op-2.h: Likewise.
6886 * soft-fp/op-4.h: Likewise.
6887 * soft-fp/op-8.h: Likewise.
6888 * soft-fp/op-common.h: Likewise.
6889 * soft-fp/soft-fp.h: Likewise.
6890
4e8afe69
JM
6891 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6892
af296fcd
JM
68932014-09-16 Joseph Myers <joseph@codesourcery.com>
6894
6895 [BZ #6652]
6896 * Makeconfig (soversions-default-setname): Remove variable.
6897 ($(common-objpfx)soversions.i): Don't pass default_setname to
6898 soversions.awk.
6899 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6900 oldest_abi to abi-versions.awk.
6901 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6902 * config.make.in (oldest-abi): Remove variable.
6903 * configure.ac (--enable-oldest-abi): Remove configure option.
6904 * configure: Regenerated.
6905 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6906 text.
6907 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6908 * scripts/soversions.awk: Do not handle default_setname variable.
6909 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6910 variable.
6911 * sysdeps/mach/hurd/configure: Regenerated.
6912 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6913 variable.
6914 * sysdeps/unix/sysv/linux/configure: Regenerated.
6915
545583d6
SP
69162014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6917
d330b980
SP
6918 * elf/Makefile (CFLAGS-interp.c): Remove.
6919 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6920 path string.
6921 * elf/interp.c: Include generated runtime-linker.h
6922
02657da2
SP
6923 * Makerules (lib%.so): Don't include $(+interp) in
6924 prerequisites.
6925 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6926 * dlfcn/eval.c: Remove file.
6927
653b1080
SP
6928 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6929 macros.
6930
602f80ec
SP
6931 [BZ #17266]
6932 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6933 4.2 and newer.
6934
545583d6
SP
6935 [BZ #17370]
6936 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6937
884ddc50
SP
69382014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6939 Jakub Jelinek <jakub@redhat.com>
6940
6941 [BZ #17266]
6942 * libio/stdio.h: Check definition of __fortify_function
6943 instead of __extern_always_inline to include bits/stdio2.h.
6944 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6945 check if __extern_always_inline is defined.
6946 [__USE_MISC || __USE_XOPEN]: Likewise.
6947 [__USE_ISOC99] Likewise.
6948 * misc/sys/cdefs.h (__fortify_function): Define only if
6949 __extern_always_inline is defined.
6950 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6951 __extern_always_inline and __extern_inline only for g++-4.3
6952 and newer or a compatible gcc.
6953
a7b87268
AS
69542014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6955
6956 [BZ #17371]
6957 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6958 last change to handle zero prefix length.
6959
3f41521d
SP
69602014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6961
61fe374a
SP
6962 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6963 _SC_REGEX_VERSION.
6964
3f41521d
SP
6965 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6966 _POSIX_RAW_SOCKETS.
6967
d8f879ee
AM
69682014-09-13 Allan McRae <allan@archlinux.org>
6969
6970 * po/ru.po: Update Russian translation from translation project.
6971
c079afb7
RM
69722014-09-12 Roland McGrath <roland@hack.frob.com>
6973
a62b3c15
RM
6974 * locale/programs/locale.c (show_locale_vars): Inline local function
6975 into its sole call site. Clean up some style nits.
6976 (print_item): New function, broken out of ...
6977 (show_info): ... local function here. Clean up style nits.
6978
d7e49b19
RM
6979 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6980 out of ...
6981 (set_class_defaults): ... local function set_default here.
6982 Define set_default as a macro locally to pass constant parameters.
6983 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6984 rather than a shared local.
6985
c079afb7
RM
6986 * stdlib/rpmatch.c (try): New function, broken out of ...
6987 (rpmatch): ... local function here. Also, prototypify definition.
6988
0bd72468
JM
69892014-09-12 Joseph Myers <joseph@codesourcery.com>
6990
ba90e050
JM
6991 * scripts/soversions.awk: Do not handle configuration names.
6992 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6993 vendor and os variables to soversions.awk.
6994 * configure.ac: Do not modify gnu-* host_os.
6995 * configure: Regenerated
6996 * shlib-versions: Remove first column with configuration names.
6997 * nptl/shlib-versions: Likewise.
6998 * nptl_db/shlib-versions: Likewise.
6999 * sysdeps/hppa/shlib-versions: Likewise.
7000 * sysdeps/m68k/shlib-versions: Likewise.
7001 * sysdeps/mach/hurd/shlib-versions: Likewise.
7002 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7003 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7004 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7005 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7006 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7007 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7008 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7009 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7011 Likewise.
7012 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7013 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7014 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7015 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7016 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7017 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7018 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7019 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7020
73a39112
JM
7021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7022 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7024 Regenerated.
7025 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7027 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7028
c729e7c1
JM
7029 * shlib-versions: Remove OS-specific entries. Moved to files in
7030 sysdeps.
7031 * sysdeps/mach/hurd/shlib-versions: New file.
7032 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7033
dc932a24
JM
7034 * nptl/shlib-versions: Remove architecture-specific entries.
7035 Moved to files in sysdeps.
7036 * shlib-versions: Likewise.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7038 file.
7039 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7040 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7041 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7043
0bd72468
JM
7044 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7045 (UDP_NO_CHECK6_RX): Likewise.
7046
920238e0
SP
70472014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7048
7049 * sysdeps/posix/sysconf.c (__sysconf): Spell
7050 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7051
ba7b4d29
FW
70522014-08-12 Florian Weimer <fweimer@redhat.com>
7053
7054 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7055 loading.
7056 * iconv/Versions (__gconv_transliterate): Export for use from
7057 gconv modules.
7058 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7059 (struct __gconv_trans_data, __gconv_trans_fct,
7060 __gconv_trans_context_fct, __gconv_trans_query_fct,
7061 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7062 definitions.
7063 (struct __gconv_step_data): Remove __trans member.
7064 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7065 longer hidden. Remove unused trans_data argument.
7066 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7067 (__gconv_translit_find): Remove declaration.
7068 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7069 prototype.
7070 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7071 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7072 trans_data argument. Add hidden definition.
7073 (__gconv_translit_find): Remove.
7074 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7075 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7076 * iconv/skeleton.c: Remove transliteration initialization.
7077 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7078 __gconv_step_data initialization.
7079 * libio/iofwide.c (__libio_translit_): Remove.
7080 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7081 * wcsmbs/btowc.c (__btowc): Likewise.
7082 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7083 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7084 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7085 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7086 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7087 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7088 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7089 * wcsmbs/wctob.c (wctob): Likewise.
7090
5379aebd
SP
70912014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
7093 [BZ #16194]
7094 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7095 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7096 register usage.
7097 * sysdeps/x86/Makefile: Adjust.
7098
8c0ab919
RM
70992014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7100 Roland McGrath <roland@hack.frob.com>
7101
7102 * locale/weight.h: Add include guard.
7103 (findidx): Make static rather than auto; take new parameters
7104 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7105 * locale/weightwc.h: Likewise.
7106 * posix/fnmatch_loop.c
7107 (FCT): Change type of EXTRA from int32_t to wint_t.
7108 Don't include either header inside the function.
7109 Call FINDIDX rather than findidx, and pass new arguments.
7110 #undef FINDIDX at the end of the file.
7111 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7112 FINDIDX before including fnmatch_loop.c for the non-wide version.
7113 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7114 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7115 for the wide version.
7116 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7117 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7118 Pass new arguments to findidx.
7119 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7120 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7121 Don't #include it inside the function. Pass new arguments to findidx.
7122 * posix/regex_internal.h
7123 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7124 (re_string_elem_size_at): Don't #include it inside the function.
7125 Pass new arguments to findidx.
7126 * string/strcoll_l.c: #include WEIGHT_H at top level.
7127 (get_next_seq): Don't #include it inside the function.
7128 Pass new arguments to findidx.
7129 (get_next_seq_nocache): Likewise.
7130 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7131 (STRXFRM): Don't #include it inside the function.
7132 Pass new arguments to findidx.
7133
52ffbdf2
FW
71342014-09-11 Florian Weimer <fweimer@redhat.com>
7135
7136 [BZ #17344]
7137 * malloc/malloc.c (unlink): Turn asserts into a call to
7138 malloc_printerr.
7139
984c0ea9
TL
71402014-09-11 Tim Lammens <tim.lammens@gmail.com>
7141
7142 [BZ #17370]
7143 * libio/wfileops (do_ftell_wide): Free OUT.
7144
3daee107
CM
71452014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7146
7147 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7148
58b930ae
SP
71492014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7150
7151 [BZ #17363]
7152 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7153 group if the current group is empty.
7154
3b473fec
AZ
71552014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7156
71ae8647
AZ
7157 * benchtests/bench-memset.c (test_main): Add more test from size
7158 from 32 to 512 bytes.
7159 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7160 Add POWER8 memset object.
7161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7162 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7163 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7164 implementation.
7165 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7166 Likewise.
7167 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7168 multiarch POWER8 memset optimization.
7169 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7170 POWER8 memset optimization.
7171
3b473fec
AZ
7172 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7173 Remove bzero multiarch objects.
7174 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7175 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7176 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7177 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7178 Remove define.
7179 [__bzero]: Redefine to specific name.
7180 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7181 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7182 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7183 define.
7184 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7185 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7186
e6fb9587
FW
71872014-09-10 Florian Weimer <fweimer@redhat.com>
7188
7189 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7190 warnings into errors.
7191
7192 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7193 __cxa_thread_atexit_impl prototype.
7194
9d3a350b
SE
71952014-09-09 Steve Ellcey <sellcey@mips.com>
7196
7197 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7198 Fix capitalization of error message.
7199
0febba23
SE
72002014-09-09 Steve Ellcey <sellcey@mips.com>
7201
7202 * sysdeps/mips/preconfigure: Modify ABI tests.
7203
645a0e9c
CD
72042014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7205
7206 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7207
d83f0734
CD
72082014-09-07 Roland McGrath <roland@hack.frob.com>
7209 Carlos O'Donell <carlos@systemhalted.org>
7210
7211 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7212 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7213 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7214 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7215 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7216 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7217 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7218 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7219 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7220 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7221 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7222 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7223 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7224 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7225 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7226 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7227 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7228 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7229 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7230 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7231 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7232 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7233 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7234 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7235 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7236 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7237 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7238 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7239 Deconditionalize the code that was previously under [RESET_PID].
7240 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7241 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7242 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7243 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7244 include sysdep.h.
7245
21c83793
AM
72462014-09-08 Allan McRae <allan@archlinux.org>
7247
7248 * version.h (RELEASE): Set to "development".
7249 (VERSION): Set to "2.20.90"
7250
1cd9b65c
AM
72512014-09-07 Allan McRae <allan@archlinux.org
7252
b8079dd0
AM
7253 * version.h (RELEASE): Set to "stable".
7254 (VERSION): Set to "2.20"
7255 * include/features.h (__GLIBC_MINOR__): Set to 20.
7256
c46303ef
AM
7257 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7258 Liebler.
7259
1cd9b65c
AM
7260 * po/ko.po: Update Korean translation from translation project.
7261
8622092d
CM
72622014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7263
7264 [BZ #17354]
7265 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7266 macro for handling signed relocations.
7267
41488498
FW
72682014-09-03 Florian Weimer <fweimer@redhat.com>
7269
7270 [BZ #17325]
7271 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7272 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7273 assert.
7274 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7275 * iconvdata/ibm935.c (BODY): Likewise.
7276 * iconvdata/ibm937.c (BODY): Likewise.
7277 * iconvdata/ibm939.c (BODY): Likewise.
7278 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7279 assert.
7280 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7281 script.
7282 * iconvdata/run-iconv-test.sh: New test loop for checking for
7283 decoder crashers.
7284
a78b712d
KR
72852014-09-02 Khem Raj <raj.khem@gmail.com>
7286
7287 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7288 libm_hidden_ver.
7289
cb08abc6
AM
72902014-09-01 Allan McRae <allan@archlinux.org>
7291
2c31e102
AM
7292 * po/eo.po: Update Esperanto translation from translation project.
7293
cb08abc6
AM
7294 * po/ca.po: Update Catalan translation from translation project.
7295
17a62de1
ST
72962014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7297
7298 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7299 __proc_dostop call.
7300
9570bc53
MW
73012014-08-27 Mark Wielaard <mjw@redhat.com>
7302
7303 [BZ #17319]
7304 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7305 to call set_thread_area instead of hand written asm.
7306 (__NR_set_thread_area): Removed define.
7307 (TLS_FLAG_WRITABLE): Likewise.
7308 (__ASSUME_SET_THREAD_AREA): Remove check.
7309 (TLS_EBX_ARG): Remove define.
7310 (TLS_LOAD_EBX): Likewise.
7311
b0f955c9
ST
73122014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7313
7314 Simplify atomicity of socket creation in bind.
7315
7316 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7317 looking up the name after linking the file.
7318
529bf515
AM
73192014-08-27 Allan McRae <allan@archlinux.org>
7320
7321 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7322
a1a6a401
FW
73232014-08-26 Florian Weimer <fweimer@redhat.com>
7324
7325 [BZ #17187]
7326 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7327 trans_compare, open_translit, __gconv_translit_find):
7328 Remove module loading code.
7329
686ab290
AM
73302014-08-26 Allan McRae <allan@archlinux.org>
7331
e4e7cfd2
AM
7332 * po/vi.po: Update Vietnamese translation from translation project.
7333
6aa09f71
AM
7334 * po/uk.po: Update Ukrainian translation from translation project.
7335
edc0660e
AM
7336 * po/fr.po: Update French translation from translation project.
7337
7eea72ac
AM
7338 * po/ru.po: Update Russian translation from translation project.
7339
93c49eff
AM
7340 * po/pl.po: Update Polish translation from translation project.
7341
46acaf63
AM
7342 * po/cs.po: Update Czech translation from translation project.
7343
a9f5ce98
AM
7344 * po/de.po: Update German translation from translation project.
7345
373f2b78
AM
7346 * po/bg.po: Update Bulgarian translation from translation project.
7347
e7548bd8
AM
7348 * po/sv.po: Update Sweedish translation from translation project.
7349
c526bf4d
AM
7350 * po/nl.po: Update Dutch translation from translation project.
7351
686ab290
AM
7352 * po/es.po: Update Spanish translation from translation project.
7353
eb72478a
SP
73542014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7355
dd763fdb
SP
7356 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7357
318c7a58
SP
7358 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7359 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7360 (CPPFLAGS-iconvconfig): Likewise.
7361 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7362
eb72478a
SP
7363 * include/libc-symbols.h: Remove unnecessary check for
7364 NOT_IN_libc.
7365 * nptl/pthreadP.h: Likewise.
7366 * sysdeps/aarch64/setjmp.S: Likewise.
7367 * sysdeps/alpha/setjmp.S: Likewise.
7368 * sysdeps/arm/sysdep.h: Likewise.
7369 * sysdeps/i386/setjmp.S: Likewise.
7370 * sysdeps/m68k/setjmp.c: Likewise.
7371 * sysdeps/posix/getcwd.c: Likewise.
7372 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7373 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7374 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7375 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7376 * sysdeps/sh/sh3/setjmp.S: Likewise.
7377 * sysdeps/sh/sh4/setjmp.S: Likewise.
7378 * sysdeps/unix/alpha/sysdep.h: Likewise.
7379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7380 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7381 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7382 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7385 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7387 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7390 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7391 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7392 * sysdeps/x86_64/setjmp.S: Likewise.
7393
d44a052c
JM
73942014-08-13 Joseph Myers <joseph@codesourcery.com>
7395
7396 [BZ #17263]
7397 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7398 <stdint.h>.
7399 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7400 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7401
508ce3ac
SP
74022014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7403
e44c8b0e
SP
7404 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7405
508ce3ac
SP
7406 [BZ #17262]
7407 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7408 and __x86_64__ when disabling x87 inline functions.
7409
b4acef1f
L
74102014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7411
7412 [BZ #17259]
7413 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7414 asm statement with __cpuid_count.
7415
61b1ef6e
MF
74162014-08-12 Mike Frysinger <vapier@gentoo.org>
7417
7418 * configure.ac: Change __ehdr_start code to dereference the struct.
7419 Run readelf on the output to look for relocations.
7420 * configure: Regenerated.
7421
898c62f4
JM
74222014-08-12 Joseph Myers <joseph@codesourcery.com>
7423
7424 [BZ #17261]
7425 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7426 value to 0.
7427 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7428
9a8a5720
RM
74292014-08-12 Roland McGrath <roland@hack.frob.com>
7430
7431 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7432
4e75751c
BO
74332014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7434
7435 [BZ #16892]
7436 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7437 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7438
bb2ce416
SA
74392014-08-12 Sean Anderson <seanga2@gmail.com>
7440
7441 * malloc/malloc.c: Fix typo in comment.
7442
7950a4ee
AM
74432014-08-09 Allan McRae <allan@archlinux.org>
7444
7445 * Regenerate libc.po.
7446
f469c49f
MF
74472014-08-08 Mike Frysinger <vapier@gentoo.org>
7448
7449 * intl/tst-gettext2.sh: Check every lang file for creation.
7450
656b84c2
WD
74512014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7452
7453 * sysdeps/aarch64/fpu/math_private.h
7454 (libc_feholdsetround_noex_aarch64_ctx): New function.
7455
538e9e45
W
74562014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7457
7458 * sysdeps/arm/armv6/strcpy.S (strcpy):
7459 Fix performance issue in misaligned cases.
7460
d4795e4a
AZ
74612014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7462
7463 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7464 Move definition from termios.h.
7465 (struct termio): Likewise.
7466 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7467 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7468 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7469 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7470 Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7472 Move definition to ioctl-types.h
7473 (struct termio): Likewise.
7474 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7475 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7476 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7477 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7478 Likewise.
7479
64accb62
RH
74802014-08-05 Richard Henderson <rth@redhat.com>
7481
27bb6dc0
RH
7482 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7483 exceptions.
7484 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7485 Add fraiseexcpt.
7486 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7487 Use __feraiseexcept.
7488 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7489 Protect libm symbols with IS_IN_libm.
7490
64accb62
RH
7491 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7492
e5292691
BO
74932014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7494
7495 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7496
5b4bd2d4
WN
74972014-08-04 Will Newton <will.newton@linaro.org>
7498
7499 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7500 file.
7501
fcadaeef
MF
75022014-08-04 Mike Frysinger <vapier@gentoo.org>
7503
7504 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7505 variants for each function.
7506
43a94c64
RM
75072014-08-04 Roland McGrath <roland@hack.frob.com>
7508
7509 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7510 appended ...
7511 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7512 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7513 appended ...
7514 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7515 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7516 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7517 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7518 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7519 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7520 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7521 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7522 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7523 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7524 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7525 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7526 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7527 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7528 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7529 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7530 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7531 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7532 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7533 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7534 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7535 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7536 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7537 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7538 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7539 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7540 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7541 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7542 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7543 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7544 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7545 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7546 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7547 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7548 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7549 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7550 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7551 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7552 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7553 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7554 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7556 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7557 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7558 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7559 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7560 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7561 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7562 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7563 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7564 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7565 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7566 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7567 Update #include.
7568 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7569 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7570
8f3c1fa4
RM
75712014-08-04 Roland McGrath <roland@hack.frob.com>
7572
7573 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7574 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7575 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7576 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7577 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7578 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7579
ca08746f
RM
75802014-08-04 Roland McGrath <roland@hack.frob.com>
7581
7582 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7583 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7584 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7585 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7586
9c925ff9
RM
75872014-08-04 Roland McGrath <roland@hack.frob.com>
7588
7589 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7590 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7591 (__libc_vfork): Define function under this name.
7592 (__vfork): Define as an alias.
7593 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7594 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7595
e641054c
RM
75962014-08-04 Roland McGrath <roland@hack.frob.com>
7597
7598 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7599 that was previously under [RESET_PID].
7600 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7601
dacdc867
AS
76022014-08-04 Andreas Schwab <schwab@suse.de>
7603
7604 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7605
41f725ff
MF
76062014-08-03 Mike Frysinger <vapier@gentoo.org>
7607
7608 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7609 (main): Likewise.
7610
277cfb31
RM
76112014-08-01 Roland McGrath <roland@hack.frob.com>
7612
7613 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7614
4896f049
RH
76152014-08-01 Richard Henderon <rth@redhat.com>
7616
7617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7618 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7619 typo in exact zero test.
7620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7621 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7623
6f64e7d7
RM
76242014-08-01 Roland McGrath <roland@hack.frob.com>
7625
7626 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7627 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7628 * sysdeps/arm/sysdep.h: ... here.
7629 [!__ASSEMBLER__]: Include <stdint.h>.
7630
3f3dd810
SP
76312014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7632
a476ac4b
SP
7633 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7634 (HAVE_WCTYPE_H): Likewise.
7635 (HAVE_ISWCTYPE): Likewise.
7636 (ENABLE_NLS): Likewise.
7637 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7638 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7639
78dd658a
SP
7640 * posix/regex_internal.c: Check if DEBUG is defined and is
7641 set.
7642
3f3dd810
SP
7643 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7644 (HAVE_MBSRTOWCS): Likewise.
7645 * posix/fnmatch.c: Include string.h unconditionally.
7646
95ee7fb1
SL
76472014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7648
7649 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7650 reversal.
7651
23fe486b
RM
76522014-07-31 Roland McGrath <roland@hack.frob.com>
7653
f61a113f
RM
7654 * sysdeps/generic/safe-fatal.h: New file.
7655 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7656 * nptl/forward.c: Include it.
7657 (__pthread_unwind): Use __safe_fatal as default action, rather
7658 than a bogus use of INTERNAL_SYSCALL that could never work.
7659
9fe7e787
RM
7660 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7661 * configure.ac (libc_cv_builtin_trap): New test.
7662 * configure: Regenerated.
7663 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7664 (ABORT_INSTRUCTION): Define using __builtin_trap.
7665
23fe486b
RM
7666 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7667 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7668 * sysdeps/nptl/nptl-signals.h: New file.
7669 * nptl/pthreadP.h: Include <nptl-signals.h>.
7670
f349489e
SL
76712014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7672
7673 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7674 (ONE_DIRECTION): Define.
7675 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7676 (ONE_DIRECTION): Define.
7677 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7678 (ONE_DIRECTION): Define.
7679
2f438e20
SL
76802014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7681
7682 * sysdeps/s390/Makefile: Delete file.
7683 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7684 * sysdeps/s390/__longjmp.c: Delete file.
7685 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7686 Remove fields __flags and __reserved.
7687 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7688 and add versioning.
7689 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7690 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7691 * sysdeps/s390/rtld-setjmp.S: Likewise.
7692 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7693 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7694 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7695 * sysdeps/s390/s390-32/setjmp.S: ... here.
7696 Add versioning.
7697 (__sigsetjmp): Remove setting __flags field.
7698 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7699 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7700 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7701 * sysdeps/s390/s390-64/setjmp.S: ... here.
7702 Add versioning.
7703 (__sigsetjmp): Remove setting __flags field.
7704 * sysdeps/s390/setjmp.S: Delete file.
7705 * sysdeps/s390/sigjmp.c: Likewise.
7706 * sysdeps/s390/v1-longjmp.c: Likewise.
7707 * sysdeps/s390/v1-setjmp.h: Likewise.
7708 * sysdeps/s390/v1-sigjmp.c: Likewise.
7709 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7710 Remove v1-longjmp_chk.
7711 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7712 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7713 Include debug/longjmp_chk.c and add versioning.
7714 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7715 Include nptl/pt-longjmp.c and add versioning.
7716 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7717 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7718 Include __longjmp.c.
7719 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7720 Move to ...
7721 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7722 (__getcontext): Remove setting __flags field.
7723 Add versioning.
7724 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7725 Don't restore upper high grps.
7726 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7727 Likewise.
7728 (__swapcontext): Remove setting uc_flags field.
7729 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7730 Delete file.
7731 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7732 Include __longjmp.c.
7733 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7734 Move to ...
7735 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7736 (__getcontext): Remove setting __flags field.
7737 Add versioning.
7738 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7739 (__swapcontext): Remove setting uc_flags field.
7740 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7741 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7742 Remove fields uc_high_gprs and __reserved.
7743 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7744 New file with reverted content.
7745 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7746 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7747 Regenerated.
7748 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7749 Regenerated.
7750
6c9578a2
AS
77512014-07-31 Andreas Schwab <schwab@suse.de>
7752
7753 * config.h.in (HAVE_IFUNC): Define to 0.
7754 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7755 definedness.
7756
05f3633d
LM
77572014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7758
7759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7760 memmove-avx-unaligned, memcpy-avx-unaligned and
7761 mempcpy-avx-unaligned.
7762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7763 Add tests for AVX memcpy functions.
7764 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7765 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7766 memcpy_chk.
7767 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7768 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7769 memmove_chk.
7770 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7771 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7772 mempcpy_chk.
7773 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7774 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7775 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7776
a53fbd8e
AZ
77772013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7778
7779 [BZ #17213]
7780 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7781 powerpc64le.
7782
0961f7e1
JL
77832014-07-29 Jeff Layton <jlayton@poochiereds.net>
7784
7785 [BZ #16839]
7786 * manual/llio.texi: Add section about open file description locks.
7787 * manual/examples/ofdlocks.c: Example of open file description
7788 lock usage.
7789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7790 F_OFD_SETLK, and F_OFD_SETLKW.
7791
cc5fb300
AM
77922014-07-23 Allan McRae <allan@archlinux.org>
7793
7794 * po/es.po: Update Spanish translation from translation project.
7795
23329dca
AS
77962014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7797
7798 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7799
9c82da17
MR
78002014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7801
7802 [BZ #17078]
7803 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7804 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7805 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7806
29c4f53e
JM
78072014-07-17 Joseph Myers <joseph@codesourcery.com>
7808
831b9896
JM
7809 [BZ #17088]
7810 * math/fesetenv.c (__fesetenv)
7811 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7812 * math/feupdateenv.c (__feupdateenv)
7813 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7814
b21c2d50
JM
7815 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7816 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7817 (__ASSUME_SOCKETCALL): Do not define.
7818
067764ef
JM
7819 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7820 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7821 (__ASSUME_SOCKETCALL): Do not define.
7822 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7823 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7824 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7825 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7826 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7827 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7828 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7829 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7830
642530c1
JM
7831 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7832 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7833 (__ASSUME_SOCKETCALL): Do not define.
7834 (__ASSUME_IPC64): Define unconditionally.
7835 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7836 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7837 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7838 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7839 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7840 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7841 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7842 Likewise.
7843
03f77315
JM
7844 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7845 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7846 (__ASSUME_SOCKETCALL): Do not define.
7847 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7848 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7849 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7850 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7851 (__ASSUME_REQUEUE_PI): Define unconditionally.
7852 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7853 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7854 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7855 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7856 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7857 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7858
083b1f7c
JM
7859 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7860 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7861 (__ASSUME_SOCKETCALL): Do not define.
7862 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7863 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7864 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7865 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7866 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7867 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7868
5be44ea6
JM
7869 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7870 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7871 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7872 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7873 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7874 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7875 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7876 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7877 (__ASSUME_GETCPU_SYSCALL): Likewise.
7878
d95ffd4c
JM
7879 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7880 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7881 cases for individual architectures.
7882 * sysdeps/gnu/configure: Regenerated.
7883 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7884 LIBC_SLIBDIR_RTLDDIR.
7885 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7886 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7887 LIBC_SLIBDIR_RTLDDIR.
7888 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7890 LIBC_SLIBDIR_RTLDDIR.
7891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7892 Regenerated.
7893 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7894 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7895 file.
7896 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7897 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7898 file.
7899 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7900 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7901 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7902 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7903
29c4f53e
JM
7904 * sysdeps/aarch64/shlib-versions: Move to ...
7905 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7906 * sysdeps/alpha/shlib-versions: Move to ...
7907 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7908 * sysdeps/arm/shlib-versions: Move to ...
7909 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7910 * sysdeps/hppa/shlib-versions: Move all contents except for
7911 libgcc_s entry to ...
7912 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7913 entry from ...
7914 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7915 * sysdeps/ia64/shlib-versions: Move to ...
7916 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7917 entry from ...
7918 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7919 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7920 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7921 * sysdeps/microblaze/shlib-versions: Move to ...
7922 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7923 * sysdeps/mips/shlib-versions: Move to ...
7924 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7925 entry from ...
7926 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7927 * sysdeps/tile/shlib-versions: Move to ...
7928 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7929 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7930 from ...
7931 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7932 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7933 entry from ...
7934 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7935
32bead5b
WN
79362014-07-17 Will Newton <will.newton@linaro.org>
7937
57977c4b
WN
7938 * sysdeps/arm/bits/atomic.h
7939 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7940 (__arch_compare_and_exchange_bool_16_int): Likewise.
7941 (__arch_compare_and_exchange_bool_64_int): Likewise.
7942
32bead5b
WN
7943 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7944 into an #else block.
7945
37fccd41
RM
79462014-07-16 Roland McGrath <roland@hack.frob.com>
7947
7948 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7949 just Linux configurations. Test empirically that the compiler sets
7950 __ARM_EABI__, rather than using the tuple to decide.
7951 * sysdeps/arm/preconfigure: Regenerated.
7952 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7953 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7954 contents appended ...
7955 * sysdeps/arm/configure.ac: ... here.
7956 * sysdeps/arm/configure: Regenerated.
7957
b365f3ec
RM
79582014-07-15 Roland McGrath <roland@hack.frob.com>
7959
8badf496
RM
7960 * nptl/pthread_kill.c: New file.
7961 * nptl/pthread_sigmask.c: New file.
7962 * nptl/pthread_sigqueue.c: New file.
7963
3df6f22e
RM
7964 * sysdeps/nptl/lowlevellock.h: New file.
7965 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7966 * sysdeps/nptl/lowlevellock-futex.h: New file.
7967
b365f3ec
RM
7968 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7969 Remove dead declarations.
7970
f2fef657
L
79712014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7972
7973 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7974 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7975 config-cflags-avx2.
7976 * sysdeps/x86_64/configure.ac: Likewise.
7977 * sysdeps/i386/configure: Regenerated.
7978 * sysdeps/x86_64/configure: Likewise.
7979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7980 memset-avx2 only if config-cflags-avx2 is yes.
7981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7982 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7983 defined.
7984 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7985 only if HAVE_AVX2_SUPPORT is defined.
7986 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7987
f6c44d47
AM
79882014-07-14 Alan Modra <amodra@gmail.com>
7989
7990 [BZ #17153]
7991 * elf/elf.h (DT_PPC64_NUM): Correct value.
7992 * NEWS: Add to fixed bug list.
7993
7ee03f00
JM
79942014-07-13 Jim Meyering <meyering@fb.com>
7995
7996 [BZ 17150]
7997 regex: don't deref NULL upon heap allocation failure
7998 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7999 failure in one more place.
8000 To trigger the segfault, configure grep -with-included-regex,
8001 build it, and run these commands:
8002 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8003
9d39d517
AS
80042014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8005
8006 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8007
a75b89b7
RH
80082014-07-11 Richard Henderson <rth@redhat.com>
8009
8010 * sysdeps/aarch64/libm-test-ulps: Update.
8011
771eb141
FW
80122014-07-10 Florian Weimer <fweimer@redhat.com>
8013
8014 [BZ #17135]
8015 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8016 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8017 (__nptl_setxid): Initialize error member. Call
8018 __nptl_setxid_error.
8019 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8020 * nptl/descr.h (struct xid_command): Add error member.
8021 * nptl/tst-setuid3.c: New file.
8022 * nptl/Makefile (tests): Add it.
8023
bc1da176
AZ
80242014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8025
8026 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8027 New define.
8028 (__lll_trylock): Use __lll_base_trylock.
8029 (__lll_cond_trylock): Likewise.
8030
887865fc
RM
80312014-07-10 Roland McGrath <roland@hack.frob.com>
8032
c0c6bac9
RM
8033 * nptl/pthread_create.c (start_thread): Use atomic_or and
8034 lll_futex_wake directly rather than lll_robust_dead.
8035 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8036 (lll_robust_dead): Macro removed.
6a42be57 8037 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8038 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8039 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8040 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8041 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8042 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8043 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8044 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8045 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8046 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8047 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8048 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8049 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8050 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8051 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8052
887865fc
RM
8053 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8054 Use atomic_compare_and_exchange_val_acq directly rather than
8055 lll_robust_trylock.
8056 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8057 (__lll_robust_trylock, lll_robust_trylock): Removed.
8058 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8059 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8060 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8061 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8062 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8063 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8064 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8065 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8066 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8067 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8068 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8069 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8070 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8071 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8072
58536726
FW
80732014-07-02 Florian Weimer <fweimer@redhat.com>
8074
8075 * manual/locale.texi (Locale Names): New section documenting
8076 locale name syntax. Adjust menu and node chaining accordingly.
8077 (Choosing Locale): Reference Locale Names, Locale Categories.
8078 Mention setting LC_ALL=C. Reflect that name syntax is now
8079 documented.
8080 (Locale Categories): New section title. Reference Locale Names.
8081 LC_ALL is an environment variable, but not a category.
8082 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8083 description, now in Locale Name. Reference that section. Locale
8084 name syntax is now documented.
8085
4e8f95a0
FW
80862014-07-02 Florian Weimer <fweimer@redhat.com>
8087
8088 [BZ #17137]
8089 * locale/findlocale.c (name_present, valid_locale_name): New
8090 functions.
8091 (_nl_find_locale): Use the loc_name variable to store name
8092 candidates. Call name_present and valid_locale_name to check and
8093 validate locale names. Return an error if the locale is invalid.
8094
d1836456
FW
80952014-07-02 Florian Weimer <fweimer@redhat.com>
8096
8097 * locale/setlocale.c (setlocale): Use strdup for allocating
8098 composite name copy.
8099
d69b7f5a
SP
81002014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8101
888c679b
SP
8102 Sync up with gnulib.
8103 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8104 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8105 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8106 and _GL_ARG_NONNULL.
8107 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8108 [!_LIBC]: Include code for Windows and Cygwin.
8109 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8110 Include prototype for int strerror_r.
8111 [!_LIBC] (is_open): New function.
8112 (flush_stdout): New function.
8113 (print_errno_message): Use it.
8114 (error): Likewise.
8115 (error_at_line): Likewise.
8116 (error_tail) Add function attribute macros. Use
8117 __builtin_expect.
8118
180e0e4b
SP
8119 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8120
d22f1fe2
SP
8121 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8122
12f2254b
SP
8123 * io/ftw.c: Include sys/param.h unconditionally.
8124
c3c7c360
SP
8125 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8126
d62aa75a
SP
8127 [BZ #17125]
8128 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8129 libc_freeres_ptr.
8130 (freecache): New function to free CACHE on exit.
8131
d69b7f5a
SP
8132 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8133 initialization.
8134
5efe06a1
DM
81352014-07-09 David S. Miller <davem@davemloft.net>
8136
8137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8138
7000d82e
DM
8139 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8140 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8141 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8142 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8143 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8144 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8145 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8146 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8147 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8148 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8149 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8150 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8151 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8152
c213442d
AS
81532014-07-09 Andreas Schwab <schwab@suse.de>
8154
4a2552c3
AS
8155 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8156 output.
8157 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8158 (do_test): Likewise.
8159
c213442d
AS
8160 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8161
82374e65
WN
81622014-07-09 Will Newton <will.newton@linaro.org>
8163
8164 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8165 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8166 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8167 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8168 * sysdeps/hppa/start.S (_start): Likewise.
8169
6680738a
SP
81702014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8171
6ee3eab4
SP
8172 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8173
6680738a
SP
8174 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8175 defined.
8176
80b5c505
SP
81772014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8178
e35c53e3
SP
8179 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8180 after checking that it is non-NULL.
8181
80b5c505
SP
8182 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8183
91f4b564
AZ
81842014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8185
27b75f56
AZ
8186 * sysdeps/powerpc/memmove.c: Remove file.
8187 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8188 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8189 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8190 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8191 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8192 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8193 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8194 string memmove instead of removed powerpc one.
8195
e7f95bb5
AZ
8196 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8197 [weak_alias]: Fix compiler warning due trailing data.
8198 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8199 [weak_alias]: Likewise.
8200 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8201 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8202
91f4b564
AZ
8203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8204 (__libc_ifunc_impl_list): Add memmove functions.
8205
7c33f1e5
SP
82062014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8207
8208 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8209 Remove code.
8210 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8211 Likewise
8212 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8213 Likewise
8214 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8215 Likewise
8216 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8217 Likewise
8218 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8219 Likewise
8220 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8221 Likewise
8222 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8223 Likewise
8224 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8225 Likewise
8226 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8227 Likewise
8228 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8229 Likewise
8230 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8231 Likewise
8232 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8233 Likewise
8234 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8235 Likewise
8236 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8237 Likewise
8238 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8239 Likewise
8240 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8241 Likewise
8242
3f17b03b
AZ
82432014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8244
87868c24
AZ
8245 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8246 to avoid alignment traps in non-cacheable memory.
8247 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8248
07aedd78
AZ
8249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8250 multiarch objects.
8251 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8252 file: multiarch power7 memmove.
8253 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8254 multiarch default memmove.
8255 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8256 multiarch memove for powerpc32/power4.
8257
17762f66
AZ
8258 * string/bcopy.c: Use full path to include memmove.c.
8259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8260 multiarch objects.
8261 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8262 bcopy for powerpc64.
8263 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8264 bcopy for powerpc64.
8265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8266 and memmove implementations.
8267 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8268 optimized multiarch memmove for POWER7/powerpc64.
8269 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8270 default multiarch memmove for powerpc64.
8271 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8272 multiarch for powerpc64.
8273 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8274 for POWER7/powerpc64.
8275 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8276 memmove for POWER7/powerpc64.
8277
d6f68bbe
AZ
8278 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8279 glibc default one.
8280
3f17b03b
AZ
8281 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8282 __ELF_NATIVE_CLASS equal to 64.
8283
08192659
RM
82842014-07-07 Roland McGrath <roland@hack.frob.com>
8285
f4c4021b
RM
8286 * sysdeps/nptl/lowlevellock.h: File removed.
8287
f083450f
RM
8288 * NEWS: NPTL is no longer an add-on!
8289 * nptl/internaltypes.h: Moved ...
8290 * sysdeps/nptl/internaltypes.h: ... here.
8291 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8292 * sysdeps/nptl/fork.c: Likewise.
8293 * sysdeps/nptl/gai_misc.h: Likewise.
8294 * sysdeps/nptl/librt-cancellation.c: Likewise.
8295 * sysdeps/nptl/jmp-unwind.c: Likewise.
8296 * sysdeps/nptl/setxid.h: Likewise.
8297 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8298 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8299 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8300 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8301 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8302 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8303 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8304 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8305 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8306 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8307 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8308 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8309 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8310 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8311 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8312 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8313 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8314 * nptl/Makeconfig: Moved ...
8315 * sysdeps/nptl/Makeconfig: ... here.
8316 * nptl/configure: File removed.
8317 * nptl/ANNOUNCE: File removed.
8318 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8319 * sysdeps/unix/sysv/linux/configure: Regenerated.
8320
08192659
RM
8321 * nptl/Makefile (routines): Add libc_pthread_init,
8322 libc_multiple_threads, register-atfork and unregister-atfork.
8323 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8324 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8325 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8326 pthread-pi-defines.sym, structsem.sym.
8327 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8328 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8329 [$(subdir) = nptl] (tests): Add tst-setgetname.
8330 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8331 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8332 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8333 [!LIBC_SIGACTION]: Remove aliases.
8334 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8335 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8336 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8337 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8338 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8339 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8341 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8342 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8343 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8344 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8345 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8346 __libc_allocate_rtsig_private.
8347 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8348 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8349 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8350 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8351 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8352 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8353 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8354 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8355 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8356 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8357 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8358 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8359 * nptl/internaltypes.h: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8361 * sysdeps/nptl/jmp-unwind.c: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8363 * nptl/libc-lowlevellock.c: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8365 * nptl/libc_multiple_threads.c: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8367 * nptl/libc_pthread_init.c: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8369 * nptl/lowlevelbarrier.sym: ... here.
8370 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8371 * nptl/lowlevelcond.sym: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8373 * nptl/lowlevellock.c: ... here.
8374 * nptl/lowlevellock.h: Moved ...
8375 * sysdeps/nptl/lowlevellock.h: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8377 * nptl/lowlevelrobustlock.c: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8379 * nptl/lowlevelrobustlock.sym: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8381 * nptl/lowlevelrwlock.sym: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8383 * nptl/pt-fork.c: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8385 * nptl/pthread-pi-defines.sym: ... here.
8386 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8387 * nptl/pthread_attr_getaffinity.c: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8389 * nptl/pthread_attr_setaffinity.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8391 * nptl/pthread_mutex_cond_lock.c: ... here.
8392 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8393 Update #include.
8394 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8395 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8396 * nptl/pthread_once.c: ... here, replacing old file.
8397 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8398 * nptl/pthread_yield.c: ... here.
8399 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8400 * nptl/register-atfork.c: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8402 * nptl/sem_post.c: ... here.
8403 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8404 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8405 * nptl/sem_timedwait.c: ... here.
8406 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8407 * nptl/sem_trywait.c: ... here.
8408 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8409 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8410 * nptl/sem_wait.c: ... here.
8411 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8412 * nptl/structsem.sym: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8414 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8415 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8416 * nptl/unregister-atfork.c: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8418 * nptl/unwindbuf.sym: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8420 * sysdeps/nptl/fork.c: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8422 * sysdeps/nptl/fork.h: ... here.
8423 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8424 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8425 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8426 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8427 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8428 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8429 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8430 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8431 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8432 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8433 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8434 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8435 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8437 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8439 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8441 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8443 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8445 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8447 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8449 * sysdeps/unix/sysv/linux/raise.c: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8451 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8453 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8455 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8457 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8459 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8461 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8463 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8464 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8465
96baf6ff
SP
84662014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8467
8468 * sysdeps/generic/memcopy.h: Add comment for
8469 MEMCPY_OK_FOR_FWD_MEMMOVE.
8470
6b7b14b2
WN
84712014-07-04 Will Newton <will.newton@linaro.org>
8472
1570a72b
WN
8473 * string/memchr.c: Merge from gnulib.
8474 [_LIBC]: Remove conditionals.
8475 (__ptr_t): Remove define.
8476 (LONG_MAX_32_BITS): Likewise.
8477 (LONG_MAX): Likewise.
8478 (MEMCHR): Use ANSI prototype and optimize algorithm.
8479
6b7b14b2
WN
8480 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8481
38851324
SP
84822014-07-03 Roland McGrath <roland@hack.frob.com>
8483
3d9eb57c
RM
8484 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8485 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8486
78b984ae
RM
8487 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8488 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8489 in a bare environment with no <stdlib.h> installed.
8490 * sysdeps/nptl/configure: Regenerated.
8491
2d5976a5
RM
8492 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8493
c1f5acd4
RM
8494 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8495 AC_EGREP_CPP for kernel header checks, so they only succeed if
8496 including <linux/version.h> actually works right.
8497 * sysdeps/unix/sysv/linux/configure: Regenerated.
8498
4d614fe5
RM
8499 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8500 value so it's not diagnosed as unused.
8501
38851324
SP
8502 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8503 thing) with "ifeq ($(subdir),rt)".
8504
b3ec00e5
RH
85052014-07-03 Richard Henderson <rth@redhat.com>
8506
69862e25
RH
8507 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8508 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8509 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8510
d5e16ade
RH
8511 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8512 (math_force_eval): New.
8513
ca7b945c
RH
8514 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8515 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8516
cd1175a3
RH
8517 * sysdeps/alpha/fpu/s_round.c: Remove file.
8518 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8519
b3ec00e5
RH
8520 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8521 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8522 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8523 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8524 (_dl_start, print_statistics): Likewise.
8525 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8526 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8527
8528 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8529 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8530 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8531 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8532 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8533 (HP_SMALL_TIMING_AVAIL): Define.
8534 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8535 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8536 (HP_SMALL_TIMING_AVAIL): Define.
8537 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8538 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8539
8540 * sysdeps/aarch64/hp-timing.h: New file.
8541
8542 * sysdeps/generic/hp-timing.h: Remove dead comment.
8543 * sysdeps/generic/hp-timing-common.h: New file.
8544 * sysdeps/alpha/hp-timing.h: Include it.
8545 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8546 * sysdeps/i386/i686/hp-timing.h: Likewise.
8547 * sysdeps/ia64/hp-timing.h: Likewise.
8548 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8549 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8550 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8551 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8552 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8553 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8554 (hp_timing_t): New.
8555
8556 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8557 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8558 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8559 * elf/rtld.c (_dl_start_final): Likewise.
8560 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8561 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8562 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8563 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8564 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8566 (HP_TIMING_DIFF_INIT): Remove.
8567 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8568 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8569 (HP_TIMING_DIFF_INIT): Remove.
8570 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8571 * sysdeps/i386/i686/hp-timing.c: Remove file.
8572 * sysdeps/x86_64/hp-timing.c: Remove file.
8573 * sysdeps/ia64/hp-timing.c: Remove file.
8574 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8575 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8576 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8577 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8578
8579 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8580 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8581 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8582 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8584 (HP_TIMING_ACCUM): Remove.
8585 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8586 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8587 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8588
8589 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8590 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8591 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8592 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8593 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8594 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8595 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8596 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8597
8598 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8599
225f410f
MR
86002014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8601
8602 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8603
3247f285
SP
86042014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8605
8606 Sync up with gettext.
8607 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8608 [_MSC_VER]: Include malloc.h
8609 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8610 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8611 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8612 TEMP_FAILURE_RETRY. Cast return of alloca.
8613 [!_LIBC] Call gl_rwlock_init.
8614 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8615
d12704c7
SP
86162014-07-02 Roland McGrath <roland@hack.frob.com>
8617
8618 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8619 before checking its value.
8620
99f8dc92
SP
86212014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8622
05fdac77
SP
8623 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8624
99f8dc92
SP
8625 * debug/memcpy_chk.c: Don't include pagecopy.h.
8626 * debug/mempcpy_chk.c: Likewise.
8627 * string/memcpy.c: Likewise.
8628 * string/memmove.c: Likewise.
8629 * sysdeps/powerpc/memmove.c: Likewise.
8630 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8631 definition of PAGE_COPY_FWD_MAYBE here...
8632 * sysdeps/generic/pagecopy.h: ... from here.
8633 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8634
bc8ea385
VR
86352014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8636 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8637
8638 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8640 optimizations.
8641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8642 (__libc_ifunc_impl_list): Likewise.
8643 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8644 multiarch strcat for PPC64.
8645 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8646 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8647
fe5f34e4
RM
86482014-07-02 Roland McGrath <roland@hack.frob.com>
8649
8650 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8651
256aa665
SP
86522014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
d4eb8195
SP
8654 * intl/loadmsgcat.c: Remove declaration of
8655 get_sysdep_segment_value.
8656 (get_sysdep_segment_value): Use ISO C style.
8657 (_nl_load_domain): Use ISO C style. Get rid of redundant
8658 semicolon. Fix typo and formatting in comment.
8659 (_nl_unload_domain): Use ISO C style.
8660
256aa665
SP
8661 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8662
b100f9aa
WN
86632014-07-02 Will Newton <will.newton@linaro.org>
8664
8665 * malloc/obstack.c: Merge from gnulib master.
8666 [HAVE_CONFIG_H]: Remove conditional code.
8667 [!_LIBC]: Include config.h.
8668 [!ELIDE_CODE]: Don't include inttypes.h, include
8669 stdint.h unconditionally.
8670 (print_and_abort): Mark as _Noreturn.
8671 (_obstack_allocated_p): Mark as __attribute_pure__.
8672 (obstack_free): Rename to __obstack_free.
8673 [!__attribute__]: Remove conditional code.
8674 * malloc/obstack.h: Merge from gnulib master.
8675 [__cplusplus]: Move conditional down.
8676 [!__attribute_pure__]: Define __attribute_pure__ here
8677 if it is not already defined.
8678 (_obstack_memory_used): Mark as __attribute_pure__.
8679 [!__obstack_free]: Define as obstack_free.
8680 [__GNUC__]: Remove check for ancient NeXT gcc.
8681
c4c41244
PE
86822014-07-02 Will Newton <will.newton@linaro.org>
8683 Paul Eggert <eggert@cs.ucla.edu>
8684
8685 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8686
e1e041c4
SP
86872014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8688
8689 * resolv/gethnamaddr.c: Add comment warning that the file is
8690 not maintained.
8691
ccf431ff
CD
86922014-07-01 Carlos O'Donell <carlos@redhat.com>
8693
d34570a6
CD
8694 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8695 entries.
8696
ccf431ff
CD
8697 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8698 entry for aio_cancel and aio_cancel64.
8699 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8700 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8701 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8702 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8703 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8704 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8705 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8706 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8707 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8708 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8709 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8710 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8711 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8712
ca06321d
RM
87132014-07-01 Roland McGrath <roland@hack.frob.com>
8714
8715 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8716 * nptl/pthread_mutex_lock.c: Likewise.
8717 * nptl/pthread_mutex_timedlock.c: Likewise.
8718 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8719
a1ac3184
RH
87202014-07-01 Richard henderson <rth@redhat.com>
8721
631021e0
RH
8722 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8723 (__isnan, __isnanl): Remove.
8724 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8725
a1ac3184
RH
8726 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8727
0c1d731f
SL
87282014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8729
8730 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8731
76985d3e
SP
87322014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8733
8734 * resolv/nss_dns/dns-host.c (getanswer_r)
8735 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8736
b0cb3096
JM
87372014-07-01 Joseph Myers <joseph@codesourcery.com>
8738
8739 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8740 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8741 undefine.
8742 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8743 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8744
4d76cb39
RM
87452014-07-01 Roland McGrath <roland@hack.frob.com>
8746
8747 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8748 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8749
8750 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8751 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8752
8753 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8754 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8755 ... here.
8756 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8757 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8758
8759 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8760 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8761 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8762 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8763
8764 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8765 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8766 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8767 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8768 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8769 Moved ...
8770 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8771 ... here.
8772 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8773 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8774 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8775 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8776 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8777 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8778 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8779 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8780 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8781 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8782 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8785 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8786 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8792 ... here.
8793 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8794 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8795 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8796 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8797 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8798 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8799 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8800 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8801
0cdcad17
DH
88022014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8803
8804 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8805 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8806 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8807 Add sysdep.
8808
9b71d0e3
AZ
88092014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8810
8811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8812
665390c2
JM
88132014-06-30 Joseph Myers <joseph@codesourcery.com>
8814
ae05a9d7
JM
8815 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8816 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8817
a7672a2f
JM
8818 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8819
665390c2
JM
8820 * sysdeps/arm/libm-test-ulps: Regenerated.
8821
d7a05d07
MR
88222014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8823 Roland McGrath <roland@hack.frob.com>
8824
8825 * test-skeleton.c (signal_handler): Kill the whole process group
8826 before killing the child individually.
8827 (main): Report any failure on `setpgid'.
8828
46f1d8a6
RM
88292014-06-30 Roland McGrath <roland@hack.frob.com>
8830
8831 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8832 from _TLS_H to _ARM_NPTL_TLS_H.
8833 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8834 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8835
9c37ec0b
JM
88362014-06-30 Joseph Myers <joseph@codesourcery.com>
8837
ce9c5b3e
JM
8838 [BZ #16539]
8839 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8840 (__expm1l): Return argument unchanged when small but not
8841 subnormal.
8842
3a6e9887
JM
8843 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8844 include macro name.
8845 (_FP_UNPACK_RAW_1_P): Likewise.
8846 (_FP_PACK_RAW_1): Likewise.
8847 (_FP_PACK_RAW_1_P): Likewise.
8848 (_FP_MUL_MEAT_1_wide): Likewise.
8849 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8850 (_FP_MUL_MEAT_1_hard): Likewise.
8851 (_FP_DIV_MEAT_1_imm): Likewise.
8852 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8853 (_FP_DIV_MEAT_1_udiv): Likewise.
8854 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8855 (_FP_UNPACK_RAW_2): Likewise.
8856 (_FP_UNPACK_RAW_2_P): Likewise.
8857 (_FP_PACK_RAW_2): Likewise.
8858 (_FP_PACK_RAW_2_P): Likewise.
8859 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8860 (_FP_MUL_MEAT_2_wide): Likewise.
8861 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8862 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8863 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8864 (_FP_MUL_MEAT_2_gmp): Likewise.
8865 (_FP_DIV_MEAT_2_udiv): Likewise.
8866 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8867 (_FP_FRAC_SRL_4): Likewise.
8868 (_FP_FRAC_SRST_4): Likewise.
8869 (_FP_FRAC_SRS_4): Likewise.
8870 (_FP_UNPACK_RAW_4): Likewise.
8871 (_FP_UNPACK_RAW_4_P): Likewise.
8872 (_FP_PACK_RAW_4): Likewise.
8873 (_FP_PACK_RAW_4_P): Likewise.
8874 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8875 (_FP_MUL_MEAT_4_wide): Likewise.
8876 (_FP_MUL_MEAT_4_gmp): Likewise.
8877 (umul_ppppmnnn): Likewise.
8878 (_FP_DIV_MEAT_4_udiv): Likewise.
8879 (__FP_FRAC_ADD_4): Likewise.
8880 (__FP_FRAC_SUB_3): Likewise.
8881 (__FP_FRAC_SUB_4): Likewise.
8882 (__FP_FRAC_DEC_3): Likewise.
8883 (__FP_FRAC_DEC_4): Likewise.
8884 (__FP_FRAC_ADDI_4): Likewise.
8885 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8886 (_FP_FRAC_SRL_8): Likewise.
8887 (_FP_FRAC_SRS_8): Likewise.
8888
9c37ec0b
JM
8889 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8890 include macro name.
8891 (FP_UNPACK_RAW_EP): Likewise.
8892 (FP_PACK_RAW_E): Likewise.
8893 (FP_PACK_RAW_EP): Likewise.
8894 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8895 (_FP_ISSIGNAN): Likewise.
8896 (_FP_ADD_INTERNAL): Likewise.
8897 (_FP_FMA): Likewise.
8898 (_FP_CMP): Likewise.
8899 (_FP_SQRT): Likewise.
8900 (_FP_TO_INT): Likewise.
8901 (_FP_FROM_INT): Likewise.
8902 (FP_EXTEND): Likewise.
8903 (_FP_DIV_MEAT_N_loop): Likewise.
8904
2125f674
MR
89052014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8906
8907 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8908 throughout.
8909
edea4028
JM
89102014-06-29 Joseph Myers <joseph@codesourcery.com>
8911
8912 [BZ #17097]
8913 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8914 result with correct sign in case of exponents that produce
8915 overflow except for X very close to 1.
8916
dd0ba018
PE
89172014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8918
8919 mktime: merge #if/#ifdef usage from glibc
8920 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8921 as that works with both Glibc's and Gnulib's style.
8922 See thread starting at Siddhesh Poyarekar's bug report at:
8923 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8924
64df73c2
SP
89252014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8926
8927 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8928 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8929 * sysdeps/tile/tilegx/memmove.c: Remove file.
8930
f1eafb41
JM
89312014-06-27 Joseph Myers <joseph@codesourcery.com>
8932
8933 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8934 abi-name definition.
8935 * scripts/soversions.awk: Do not handle or generate ABI lines.
8936 * shlib-versions: Remove ABI entries.
8937 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8938 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8939
58eb0862
RM
89402014-06-27 Roland McGrath <roland@hack.frob.com>
8941
37caf178
RM
8942 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8943 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8944 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8945 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8947 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8948 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8949 Moved ...
8950 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8951 ... here.
8952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8953 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8955 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8957 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8959 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8961 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8963 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8965 Moved ...
8966 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8967 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8968 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8969 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8970 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8971 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8972 Moved ...
8973 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8975 Moved ...
8976 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8978 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8980 Moved ...
8981 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8982 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8983 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8985 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8986 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8987 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8988 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8989 Moved ...
8990 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8991 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8992 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8993 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8994 Moved ...
8995 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8996 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8997 Moved ...
8998 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8999 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9000 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9002 Moved ...
9003 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9004 ... here.
9005 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9006 Identical file removed.
9007 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9008 Moved ...
9009 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9010 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9011 Identical file removed.
9012 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9013 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9014 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9015 Moved ...
9016 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9018 Identical file removed.
9019 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9020 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9021 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9022 Identical file removed.
9023 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9024 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9025 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9026 Identical file removed.
9027 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9028 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9029 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9030 Identical file removed.
9031 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9032 Moved ...
9033 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9034 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9035 Identical file removed.
9036 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9037 Moved ...
9038 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9039 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9040 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9041 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9042 Identical file removed.
9043 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9044 Moved ...
9045 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9046 ... here.
9047 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9048 Identical file removed.
9049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9050 Moved ...
9051 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9052 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9053 Identical file removed.
9054 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9055 Moved ...
9056 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9057 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9058 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9059 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9060 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9061 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9062 Moved ...
9063 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9064 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9065 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9066
58eb0862
RM
9067 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9068 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9069 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9070 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9071 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9072
6f12d062
AS
90732014-06-27 Arjun Shankar <arjun.is@lostca.se>
9074
9075 [BZ #17092]
9076 * nscd/nscd.c (monitor_child): Return exit status of child
9077 instead of return value from wait syscall.
9078
be254932
JM
90792014-06-27 Joseph Myers <joseph@codesourcery.com>
9080
cb403c34
JM
9081 * configure.ac (libc_commonpagesize): Remove variable.
9082 (libc_relro_required): Likewise.
9083 (libc_cv_z_relro): Remove configure test.
9084 * configure: Regenerated.
9085 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9086 variable.
9087 (libc_relro_required): Likewise.
9088 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9089 (libc_relro_required): Likewise.
9090 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9091 (libc_relro_required): Likewise.
9092 * sysdeps/arm/preconfigure: Regenerated.
9093 * sysdeps/ia64/preconfigure: Remove file.
9094 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9095 variable.
9096 (libc_relro_required): Likewise.
9097
be254932
JM
9098 [BZ #16561]
9099 [BZ #16562]
9100 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9101 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9102 recompute overflowing results in original rounding mode.
9103 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9104 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9105 recompute overflowing results in original rounding mode.
9106 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9107 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9108 recompute overflowing results in original rounding mode.
9109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9110 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9111 recompute overflowing results in original rounding mode.
9112 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9113 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9114 recompute overflowing results in original rounding mode.
9115 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9116 (libc_feholdsetround_ctx): New macro.
9117 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9118 * sysdeps/i386/fpu/libm-test-ulps: Update.
9119 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9120
b351d85a
JM
91212014-06-26 Joseph Myers <joseph@codesourcery.com>
9122
9123 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9124 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9125 corresponding .cpsetup call.
9126
3cb4de47
RM
91272014-06-26 Roland McGrath <roland@hack.frob.com>
9128
9129 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9130 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9131 * sysdeps/arm/Makefile [$(subdir) = csu]
9132 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9133 (static-only-routines): Add aeabi_read_tp here.
9134 (shared-only-routines): Add libc-aeabi_read_tp here.
9135 (CFLAGS-libc-start.c): Add -fexceptions here.
9136 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9137 (sysdep_routines, static-only-routines, shared-only-routines):
9138 Don't add to these here.
9139 (CFLAGS-libc-start.c): Likewise.
9140
9141 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9142 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9143 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9144 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9145 * sysdeps/arm/Makefile [$(subdir) = rt]
9146 (librt-sysdep_routines, librt-shared-only-routines):
9147 Append rt-aeabi_unwind_cpp_pr1 here.
9148 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9149 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9150 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9151 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9152 Append nptl-aeabi_unwind_cpp_pr1 here.
9153 (tests): Filter out tst-cleanupx4 here.
9154 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9155 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9156 Don't do those here.
9157
354426bb
JM
91582014-06-26 Joseph Myers <joseph@codesourcery.com>
9159
9160 * scripts/list-sources.sh: Do not handle ports specially.
9161
28b0a8c9
RM
91622014-06-26 Roland McGrath <roland@hack.frob.com>
9163
a3dd035d
RM
9164 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9165 * sysdeps/arm/feupdateenv.c: Likewise.
9166
28b0a8c9
RM
9167 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9168
e66a8203
JM
91692014-06-26 Joseph Myers <joseph@codesourcery.com>
9170
9171 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9172 trailing whitespace removed.
9173 * scripts/config.guess: Update to version 2014-03-23.
9174 * scripts/config.sub: Update to version 2014-05-01
9175 * scripts/install-sh: Update to version 2013-12-25.23.
9176 * scripts/move-if-change: Update from gnulib.
9177
74171115
SP
91782014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9179
b97c9ce5
SP
9180 * debug/memmove_chk.c: Remove pagecopy.h include.
9181
4000f892
SP
91822014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9183
74171115
SP
9184 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9185 identical to gnulib mktime.
9186
a8779c28
JM
91872014-06-26 Joseph Myers <joseph@codesourcery.com>
9188
e64708de
JM
9189 * configure.ac: Do not test for machine being rs6000. Do not test
9190 for powerpc*-*soft.
9191 * configure: Regenerated.
9192
a8779c28
JM
9193 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9194 test.
9195 * configure: Regenerated.
9196 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9197 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9198 Remove configure test.
9199 * sysdeps/arm/configure: Regenerated.
9200 * sysdeps/nptl/configure.ac: Do not check
9201 libc_cv_asm_cfi_directives.
9202 * sysdeps/nptl/configure: Regenerated.
9203 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9204 * sysdeps/x86_64/nptl/configure: Remove generated file.
9205 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9206 unconditional.
9207 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9208
2aac0a86
SP
92092014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9210
059bf913
SP
9211 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9212 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9213 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9214 it is defined.
9215
4cf5b6d0
SP
9216 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9217 instead of whether it is defined.
9218 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9219 * sysdeps/hppa/dl-machine.h: Likewise.
9220 * sysdeps/ia64/dl-machine.h: Likewise.
9221 * sysdeps/m68k/dl-machine.h: Likewise.
9222 * sysdeps/microblaze/dl-machine.h: Likewise.
9223 * sysdeps/mips/dl-machine.: Likewise.
9224 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9225 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9226 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9227 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9228 * sysdeps/sh/dl-machine.h: Likewise.
9229 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9230 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9231 * sysdeps/tile/dl-machine.h: Likewise.
9232 * sysdeps/x86_64/dl-machine.h: Likewise.
9233
2aac0a86
SP
9234 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9235 code.
9236 (verify_persistent_db): Likewise.
9237
6ad2df0b
RM
92382014-06-26 Roland McGrath <roland@hack.frob.com>
9239
d8a483f3
RM
9240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9241 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9243 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9245 Moved ...
9246 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9247 ... here.
9248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9249 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9251 Identical file removed.
9252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9253 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9255 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9257 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9259 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9261 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9263 Moved ...
9264 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9266 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9268 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9270 Moved ...
9271 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9273 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9275 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9277 Identical file removed.
9278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9279 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9281 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9283 Moved ...
9284 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9285 ... here.
9286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9287 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9289 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9291 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9295 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9297 Moved ...
9298 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9300 Moved ...
9301 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9305 Moved ...
9306 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9308 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9309
52ae23b4
RM
9310 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9311 folded into ...
9312 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9313 * sysdeps/unix/sysv/linux/s390/Versions
9314 (libpthread: GLIBC_2.19): New version set.
9315 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9316 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9317 (librt: GLIBC_2.3.3): New version set.
9318 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9319 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9320 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9322 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9324 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9326 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9328 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9329 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9330 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9331 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9332 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9333 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9334 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9335 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9336 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9337 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9338 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9340 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9341 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9342 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9343 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9344 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9346 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9348 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9350 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9352 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9354 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9355 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9356 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9357 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9358 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9359 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9360 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9361 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9362 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9363
39507e4a
RM
9364 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9365 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9366 (__libc_vfork): Define the function under this name.
9367 [!NOT_IN_libc] (__vfork): Make this an alias.
9368 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9369 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9370 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9371 (__libc_vfork): Define the function under this name.
9372 [!NOT_IN_libc] (__vfork): Make this an alias.
9373 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9374 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9375 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9376 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9377 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9378 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9379
e549ee56
RM
9380 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9381 code that was previously under [RESET_PID].
9382 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9383 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9384 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9385
6ad2df0b
RM
9386 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9387 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9388 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9389 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9390 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9391 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9392 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9393 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9394 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9395 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9396 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9397 Moved ...
9398 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9399 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9400 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9401 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9402 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9403 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9404 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9405 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9406 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9407 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9408 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9409 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9410 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9411 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9412 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9413 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9414 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9415 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9416 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9417 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9418 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9419 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9420 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9421 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9422 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9423 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9424 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9425 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9426 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9427
7c1c1d8e
RM
94282014-06-25 Roland McGrath <roland@hack.frob.com>
9429
9430 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9431 that was previously under [RESET_PID].
9432 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9433
3e239be6
JM
94342014-06-25 Joseph Myers <joseph@codesourcery.com>
9435
74385da5
JM
9436 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9437 not undefine and redefine.
9438 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9439 [O_CLOEXEC]: Make code unconditional.
9440 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9441 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9442 <kernel-features.h>.
9443 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9444 conditional variable definition.
9445 (shm_open) [O_CLOEXEC]: Make code unconditional.
9446 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9447 code.
9448
c2570a0b
JM
9449 * configure.ac (USE_REGPARMS): Don't define here.
9450 * configure: Regenerated.
9451 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9452 * sysdeps/i386/configure: Regenerated.
9453
11b076bb
JM
9454 * nptl/createthread.c: Don't include kernel-features.h.
9455 * nptl/pthread_cancel.c: Likewise.
9456 * nptl/pthread_condattr_setclock.c: Likewise.
9457 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9458 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9459 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9460 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9461 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9462 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9463 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9464 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9466 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9467 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9468 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9469 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9470 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9471 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9472 * nscd/gai.c: Likewise.
9473 * nss/nss_db/db-open.c: Likewise.
9474 * sysdeps/generic/ldsodefs.h: Likewise.
9475 * sysdeps/sh/nptl/tls.h: Likewise.
9476 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9477 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9478 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9479 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9480 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9481 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9482 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9483 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9484 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9485 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9486 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9487 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9488 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9489 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9490 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9491 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9492 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9493 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9494 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9495 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9496 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9497 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9498 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9499 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9500 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9501 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9502 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9503 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9504 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9505 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9506 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9507 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9508 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9509 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9510 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9511 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9512 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9513 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9514 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9515 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9516 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9517 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9518 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9519 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9520 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9521 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9522 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9523 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9524 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9525 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9526 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9527 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9528 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9529 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9530 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9531 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9532 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9533 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9556 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9557 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9558 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9559 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9560 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9561 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9562 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9563 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9564 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9565 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9566 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9567 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9568 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9569 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9570 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9571 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9572 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9573 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9574 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9575 * sysdeps/unix/sysv/linux/system.c: Likewise.
9576 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9577 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9578 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9579 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9580 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9581 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9582 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9583
92072d57
JM
9584 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9585 * configure: Regenerated.
9586 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9587
3e239be6
JM
9588 * configure.ac (base_machine): Do not set specially for particular
9589 machines here.
9590 * configure: Regenerated.
9591 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9592 settings from configure.ac.
9593 * sysdeps/i386/preconfigure: New file.
9594 * sysdeps/s390/preconfigure: Likewise.
9595 * sysdeps/sh/preconfigure: Likewise.
9596 * sysdeps/sparc/preconfigure: Likewise.
9597
06d50baa
RM
95982014-06-25 Roland McGrath <roland@hack.frob.com>
9599
74836003
RM
9600 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9601 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9602 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9603 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9604 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9605 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9606 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9607 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9608 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9609 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9610 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9611 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9612 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9613 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9614 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9615 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9616 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9617 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9618 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9619
9620 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9621 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9622 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9623 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9624 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9625 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9626 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9627 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9628 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9629 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9630 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9631 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9632 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9633 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9634 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9635 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9636 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9637 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9638 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9639 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9641 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9642 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9643 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9644 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9645 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9646 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9647 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9648 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9649 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9650 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9651 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9652 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9653 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9654 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9655 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9656 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9657 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9658
06d50baa
RM
9659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9660 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9661 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9662 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9664 Moved ...
9665 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9666 ... here.
9667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9668 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9670 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9672 Moved ...
9673 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9675 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9677 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9679 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9681 Moved ...
9682 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9684 Moved ...
9685 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9687 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9689 Moved ...
9690 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9692 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9694 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9696 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9697 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9698 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9700 Moved ...
9701 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9702 ... here.
9703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9704 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9706 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9708 Moved ...
9709 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9711 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9712 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9713 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9715 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9717 Moved ...
9718 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9720 Moved ...
9721 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9723 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9725 Moved ...
9726 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9728 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9730 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9731
a4ccbc9b
JM
97322014-06-25 Joseph Myers <joseph@codesourcery.com>
9733
0828edbf
JM
9734 * timezone/checktab.awk: Update from tzcode 2014e.
9735 * timezone/private.h: Likewise.
9736 * timezone/tzfile.h: Likewise.
9737 * timezone/zdump.c: Likewise.
9738 * timezone/zic.c: Likewise.
9739
a4ccbc9b
JM
9740 * sysdeps/unix/sysv/linux/kernel-features.h
9741 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9742 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9743 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9744 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9745 Remove conditional code.
9746
9aea0cb8
WN
97472014-06-25 Will Newton <will.newton@linaro.org>
9748
9749 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9750 (_dl_arm_cap_flags): Add HWCAP2 values.
9751 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9752 (_DL_HWCAP_COUNT): Increase to 37.
9753 (_DL_HWCAP_LAST): New define.
9754 (_DL_HWCAP2_LAST): New define.
9755 (_dl_procinfo): Add support for printing
9756 AT_HWCAP2 entries.
9757 (_dl_string_hwcap): Use _dl_hwcap_string.
9758
6eaa65ce
AZ
97592014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9760
9761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9762
0f5b7185
JM
97632014-06-25 Joseph Myers <joseph@codesourcery.com>
9764
cfd2ea50
JM
9765 * README: Do not mention ports directory.
9766
cecf2ed4
JM
9767 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9768 Remove macro.
9769 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9770 <kernel-features.h>.
9771 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9772 conditional variable definition.
9773 (__futimes): Update comment.
9774 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9775 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9776
a638de82
JM
9777 [BZ #16560]
9778 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9779 arguments close to 0.
9780 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9781 Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9783 Likewise.
9784 * math/auto-libm-test-in: Add more tests of exp10.
9785 * math/auto-libm-test-out: Regenerated.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9787
0f5b7185
JM
9788 * sysdeps/unix/sysv/linux/kernel-features.h
9789 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9790 * sysdeps/unix/sysv/linux/readv.c: Do not include
9791 <kernel-features.h>.
9792 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9793 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9794 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9795 unconditional.
9796 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9797 conditional code.
9798 * sysdeps/unix/sysv/linux/writev.c: Do not include
9799 <kernel-features.h>.
9800 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9801 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9802 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9803 unconditional.
9804 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9805 conditional code.
9806
c7aec4be
WN
98072014-06-25 Will Newton <will.newton@linaro.org>
9808
9809 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9810 comment changes throughout the file. Remove checks
9811 for HAVE_*_H definitions that are not required.
9812 (__gen_tempname): Call abort if an unknown kind value is
9813 passed.
9814
c5241f95
AS
98152014-06-25 Andreas Schwab <schwab@suse.de>
9816
9817 [BZ #17086]
9818 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9819 scalbln, scalblnf, scalblnl in libc.
9820
911422da
SP
98212014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9822
9823 [BZ #17086]
9824 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9825 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9826 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9827
0d749bbe
RM
98282014-06-24 Roland McGrath <roland@hack.frob.com>
9829
9830 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9831 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9832 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9833 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9834 Update #include.
9835 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9836 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9837 Update #include.
9838 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9839 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9840 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9841 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9842 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9843 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9844 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9845 * sysdeps/x86/bits/semaphore.h: ... here.
9846 * sysdeps/x86/nptl/elide.h: Moved ...
9847 * sysdeps/x86/elide.h: ... here.
9848 * sysdeps/x86_64/nptl/Implies: File removed.
9849 * sysdeps/i386/nptl/Implies: File removed.
9850
0ea5d373
JM
98512014-06-24 Joseph Myers <joseph@codesourcery.com>
9852
4060283d
JM
9853 [BZ #16539]
9854 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9855 return the argument for normal arguments with exponent below -64.
9856 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9857 Likewise.
9858 * math/auto-libm-test-in: Add another test of expm1.
9859 * math/auto-libm-test-out: Regenerated.
9860
e7dd3c8c
JM
9861 [BZ #16287]
9862 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9863 calling __erfcl for arguments at least 16.
9864 * math/auto-libm-test-in: Add more tests of erf.
9865 * math/auto-libm-test-out: Regenerated.
9866
0ea5d373
JM
9867 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9868 individual architectures.
9869 * sysdeps/unix/sysv/linux/configure: Regenerated.
9870 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9871 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9872 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9873 (ldd_rewrite_script): Define variable.
9874 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9876 file.
9877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9878 generated file.
9879 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9880 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9881 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9882 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9883 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9884 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9885 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9886 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9887
2307e126
SP
98882014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9889
9890 [BZ #17084]
9891 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9892 Rename member __data.d to __data.__elision_data.
9893
c0a4ed77
W
98942014-06-24 Wilco <wdijkstr@arm.com>
9895
9896 * NEWS: Add 16918 to fixed bug list.
9897
b8c00573
W
98982014-06-24 Wilco <wdijkstr@arm.com>
9899
9900 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9901
b5570d92
W
99022014-06-24 Wilco <wdijkstr@arm.com>
9903
9904 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9905 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9906 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9907 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9908 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9909 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9910 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9911 Use _FPU_MASK_RM.
9912
947bdca2
W
99132014-06-24 Wilco <wdijkstr@arm.com>
9914
9915 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9916
00f669ed
W
99172014-06-24 Wilco <wdijkstr@arm.com>
9918
9919 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9920 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9921 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9922 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9923
db59bad3
W
99242014-06-24 Wilco <wdijkstr@arm.com>
9925
9926 [BZ #16918]
9927 * sysdeps/arm/feupdateenv.c (feupdateenv):
9928 Rewrite to reduce FPSCR accesses and fix return value.
9929
001f7b77
W
99302014-06-24 Wilco <wdijkstr@arm.com>
9931
9932 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9933 Optimize to avoid unnecessary FPSCR writes.
9934 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9935 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9936 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9937 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9938
4841e6a6
W
99392014-06-24 Wilco <wdijkstr@arm.com>
9940
9941 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9942 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9943 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9944 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9945 Call libc_fetestexcept_vfp.
9946 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9947 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9948 __SOFTFP__ ifdef so that they can be built for softfp.
9949
0813022c
SP
99502014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9951
08e5862f
SP
9952 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9953 argument type signed char.
9954
0813022c
SP
9955 * Makerules (check-abi): Dump diff of symlist if the test
9956 fails.
9957
3fc7236a
RM
99582014-06-23 Roland McGrath <roland@hack.frob.com>
9959
aba8ef95
RM
9960 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9961 using abort.
9962
3fc7236a
RM
9963 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9964 Remove unused variable ST.
9965
4da6db51
JM
99662014-06-23 Joseph Myers <joseph@codesourcery.com>
9967
4648909d
JM
9968 [BZ #16354]
9969 [BZ #17061]
9970 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9971 small arguments before calling __expm1.
9972 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9973 small arguments before calling __expm1f.
9974 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9975 small arguments before calling __expm1l.
9976 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9977 Likewise.
9978 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9979 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9980 spurious underflow for some cosh tests.
9981 * math/auto-libm-test-out: Regenerated.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983
46a3d3c7
JM
9984 [BZ #17050]
9985 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9986 (__ieee754_y1): Set errno if return value overflows.
9987 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9988 (__ieee754_y1f): Set errno if return value overflows.
9989 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9990 (__ieee754_y1l): Set errno if return value overflows.
9991 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9992 (__ieee754_y1l): Set errno if return value overflows.
9993 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9994 * math/auto-libm-test-out: Regenerated.
9995
863893ec
JM
9996 * math/gen-auto-libm-tests.c: Document use of
9997 ignore-zero-inf-sign.
9998 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9999 (input_flags): Add ignore-zero-inf-sign.
10000 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10001 * math/gen-libm-test.pl (generate_testfile): Handle
10002 ignore-zero-inf-sign.
10003 * math/auto-libm-test-in: Mark some cpow tests with
10004 ignore-zero-inf-sign and some with xfail-rounding.
10005 * math/auto-libm-test-out: Regenerated.
10006 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10007 * sysdeps/i386/fpu/libm-test-ulps: Update.
10008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10009
4da6db51
JM
10010 [BZ #16315]
10011 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10012 overflowing or underflowing operations take place with sign of
10013 result.
10014 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10015 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10016 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10017 (__ieee754_pow): Recompute overflowing and underflowing results in
10018 original rounding mode.
10019 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10020 (__powl_helper): Allow negative argument X and scale negated value
10021 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10022 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10023 overflowing or underflowing operations take place with sign of
10024 result.
10025 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10026 Include <math.h>.
10027 * math/auto-libm-test-in: Add more tests of pow.
10028 * math/auto-libm-test-out: Regenerated.
10029 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10030 (pow_tonearest_test_data): Remove.
10031 (pow_test_tonearest): Likewise.
10032 (pow_towardzero_test_data): Likewise.
10033 (pow_test_towardzero): Likewise.
10034 (pow_downward_test_data): Likewise.
10035 (pow_test_downward): Likewise.
10036 (pow_upward_test_data): Likewise.
10037 (pow_test_upward): Likewise.
10038 (main): Don't call removed functions.
10039 * sysdeps/i386/fpu/libm-test-ulps: Update.
10040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10041
5686b236
RM
100422014-06-23 Roland McGrath <roland@hack.frob.com>
10043
10044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10045 Moved ...
10046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10048 Moved ...
10049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10051 Moved ...
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10054 Moved ...
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10057 File removed.
10058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10059 File removed.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10061 File removed.
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10063 File removed.
10064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10065 File removed.
10066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10067 File removed.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10069 File removed.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10071 File removed.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10073 File removed.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10075 File removed.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10077 File removed.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10079 File removed.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10081 Moved ...
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10084 Moved ...
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10086 ... here.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10088 Moved ...
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10091 Moved ...
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10094 Moved ...
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10097 Moved ...
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10100 Moved ...
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10103 Moved ...
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10106 Moved ...
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10110 ... here.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10112 Moved ...
10113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10115 Moved ...
10116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10117 ... here.
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10119 Moved ...
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10121 ... here.
10122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10123 Moved ...
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10125 ... here.
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10127 Moved ...
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10130 Moved ...
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10135 Moved ...
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10137 ... here.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10139 Moved ...
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10141 ... here.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10143 Moved ...
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10146 Moved ...
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10149 Moved ...
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10152 Moved ...
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10155 Moved ...
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10157 ... here.
10158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10159 Moved ...
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10162 Moved ...
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10165 Moved ...
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10168 Moved ...
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10173 Moved ...
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10176 Moved ...
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10179 Moved ...
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10181 ... here.
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10183 Moved ...
10184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10185 ... here.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10187 Moved ...
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10189 ... here.
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10191 Moved ...
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10194 Moved ...
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10197 Moved ...
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10200 Moved ...
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10202 ... here.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10204 Moved ...
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10206 ... here.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10208 Moved ...
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10210 ... here.
10211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10212 Moved ...
10213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10215 Moved ...
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10217
e6d90d67
WD
102182014-06-23 Will Newton <will.newton@linaro.org>
10219 Wilco <wdijkstr@arm.com>
10220
10221 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10222 implementation. Include get-rounding-mode.h.
10223 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10224 [!libc_feholdsetround_noex_ctx]: Define
10225 libc_feholdsetround_noex_ctx.
10226 [!libc_feholdsetround_noexf_ctx]: Define
10227 libc_feholdsetround_noexf_ctx.
10228 [!libc_feholdsetround_noexl_ctx]: Define
10229 libc_feholdsetround_noexl_ctx.
10230 (libc_feholdsetround_ctx): New function.
10231 (libc_feresetround_ctx): New function.
10232 (libc_feholdsetround_noex_ctx): New function.
10233 (libc_feresetround_noex_ctx): New function.
10234
d42df555
RM
102352014-06-23 Roland McGrath <roland@hack.frob.com>
10236
88a46474
RM
10237 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10238 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10239 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10240 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10241 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10242 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10243
15bed472
RM
10244 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10245 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10246 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10247 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10248 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10249 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10250 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10251 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10252 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10253 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10254 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10255 Moved ...
10256 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10257 ... here.
10258 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10259 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10260 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10261 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10262 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10263 Moved ...
10264 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10265 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10266 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10267 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10268 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10269 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10270 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10271 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10272 Moved ...
10273 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10274 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10275 Moved ...
10276 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10277 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10278 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10279 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10280 Moved ...
10281 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10283 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10285 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10286 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10287 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10288 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10289 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10290 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10291 Moved ...
10292 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10293 ... here.
10294 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10295 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10296 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10297 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10298 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10299 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10300 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10301 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10302 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10303 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10304 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10305 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10306 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10307 Moved ...
10308 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10314 Moved ...
10315 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10316 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10317 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10318 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10319 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10320
d42df555
RM
10321 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10322 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10323 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10324 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10326 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10328 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10330 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10331 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10332 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10336 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10337 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10344 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10346 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10347 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10348 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10349
76e5216e
JM
103502014-06-23 Joseph Myers <joseph@codesourcery.com>
10351
10352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10353 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10354 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10355 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10356 (IPV6_PMTUDISC_INTERFACE): Likewise.
10357 (IPV6_PMTUDISC_OMIT): Likewise.
10358
7a81cbcc
AS
103592014-06-23 Andreas Schwab <schwab@suse.de>
10360
10361 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10362 Remove unused errout label.
10363
db224009
AZ
103642014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10365
10366 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10367 macro: hardware supports Vector Crypto instructions.
10368
f393b4aa
WN
103692014-06-23 Will Newton <will.newton@linaro.org>
10370
cc7d0447
WN
10371 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10372 rather than __builtin_expect.
10373
d6d06225
WN
10374 * elf/dl-lookup.c (undefined_msg): Remove variable.
10375 (_dl_lookup_symbol_x): Replace undefined_msg with string
10376 literal.
10377
f393b4aa
WN
10378 * elf/dl-lookup.c (do_lookup_unique): New function.
10379 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10380 to a separate function.
10381
ac60763e
AS
103822014-06-23 Andreas Schwab <schwab@suse.de>
10383
10384 [BZ #17079]
10385 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10386 before reading the next line.
10387
c5c13355
WN
103882014-06-23 Will Newton <will.newton@linaro.org>
10389
10390 * test-skeleton.c (signal_handler): Use printf and %m
10391 rather than perror. Use printf rather than fprintf to
10392 stderr. Use puts rather than fputs to stderr.
10393 (main): Likewise.
10394
bd3675f9
LC
103952014-06-22 Ludovic Courtès <ludo@gnu.org>
10396
10397 * nscd/nscd.c (thread_info_t): Remove typedef.
10398 (thread_info): Remove variable.
10399
d03efb2f
AM
104002014-06-21 Allan McRae <allan@archlinux.org>
10401
10402 * NEWS: Mention CVE-2014-4043.
10403
bc4a86fa
RM
104042014-06-20 Roland McGrath <roland@hack.frob.com>
10405
dc9a54f8
RM
10406 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10407 * nptl/smp.h: ... here.
10408
bd7022c4
RM
10409 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10410
26ffd5e6
RM
10411 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10412 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10413 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10414 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10415
93a6d082
RM
10416 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10417 * nptl/stack-aliasing.h: New file.
10418 * sysdeps/i386/i686/stack-aliasing.h: New file.
10419 * sysdeps/i386/i686/nptl/Makefile: File removed.
10420 * sysdeps/x86_64/stack-aliasing.h: New file.
10421 * sysdeps/x86_64/nptl/Makefile
10422 (CFLAGS-pthread_create.c): Variable removed.
10423
bc4a86fa
RM
10424 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10425 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10426 old file.
10427 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10428 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10429 old file.
10430
2272ffc1
JM
104312014-06-21 Joseph Myers <joseph@codesourcery.com>
10432
10433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10434 (__ASSUME_SIGFRAME_V2): Remove macro.
10435 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10436 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10437 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10438 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10439 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10440 Declare as function. Remove conditional macro definitions.
10441 (__default_rt_sa_restorer): Likewise.
10442 (__default_sa_restorer_v1): Remove declaration.
10443 (__default_sa_restorer_v2): Likewise.
10444 (__default_rt_sa_restorer_v1): Likewise.
10445 (__default_rt_sa_restorer_v2): Likewise.
10446 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10447 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10448 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10449
4b88139b
RM
104502014-06-20 Roland McGrath <roland@hack.frob.com>
10451
10452 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10453 (libpthread-routines): Add sysdep.
10454 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10455 * sysdeps/unix/sysv/linux/sparc/Versions
10456 (libpthread: GLIBC_2.3.3): New version set.
10457 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10458 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10459 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10460 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10461 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10462 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10463 Moved ...
10464 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10465 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10466 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10467 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10468 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10469 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10470 * sysdeps/sparc/nptl/sem_init.c: ... here.
10471 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10472 * sysdeps/sparc/nptl/sem_post.c: ... here.
10473 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10474 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10475 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10476 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10478 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10479 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10480 (libpthread-routines): Add cpu_relax.
10481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10482 File removed.
10483 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10484 (librt: GLIBC_2.3.3): New version set.
10485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10486 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10487 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10488 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10491 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10493 Moved ...
10494 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10496 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10497 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10498 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10500 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10502 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10504 Moved ...
10505 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10506 Update #include.
10507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10508 Moved ...
10509 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10510 Update #include.
10511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10512 Moved ...
10513 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10514 Update #include.
10515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10516 Moved ...
10517 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10518 Update #include.
10519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10520 Moved ...
10521 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10522 Update #include.
10523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10524 Moved ...
10525 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10526 Update #include.
10527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10528 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10529 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10530 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10532 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10534 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10536 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10538 Moved ...
10539 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10541 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10543 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10544
d7109027
JM
105452014-06-20 Joseph Myers <joseph@codesourcery.com>
10546
9bc6103d
JM
10547 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10548 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10549 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10550 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10551 * nscd/nscd.c: Likewise.
10552 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10553 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10554 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10555 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10556
d7109027
JM
10557 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10558 <kernel-features.h>.
10559 (init_mq_netlink): Remove conditional have_sock_cloexec
10560 definitions. Remove code conditional on have_sock_cloexec < 0.
10561 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10562 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10563 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10564 <kernel-features.h>.
10565 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10566 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10567
d92d8f8a
L
105682014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10569
10570 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10571 Add tests for memset_chk and memset.
10572
10573 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10574 with AVX2_Usable.
10575
4e6d2347
MR
105762014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10577
257ce712
MR
10578 [BZ #16046]
10579 * elf/tst-dl-iter-static.c: New file.
10580 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10581
4e6d2347
MR
10582 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10583 error.
10584
a2a76afe
JM
105852014-06-20 Joseph Myers <joseph@codesourcery.com>
10586
7fd00f99
JM
10587 * sysdeps/unix/sysv/linux/kernel-features.h
10588 (__ASSUME_F_GETOWN_EX): Remove macro.
10589 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10590 <kernel-features.h>.
10591 (miss_F_GETOWN_EX): Remove variable or macro.
10592 (do_fcntl): Do not check miss_F_GETOWN_EX.
10593 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10594
4a103975
JM
10595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10596 Remove macro.
10597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10598 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10599 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10600
a2a76afe
JM
10601 * sysdeps/unix/sysv/linux/kernel-features.h
10602 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10603 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10604 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10605 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10606
90e5dd48
MR
106072014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10608
10609 [BZ #17075]
10610 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10611 Fix calculation of the symbol's value.
10612 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10613 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10614 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10615 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10616 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10617 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10618 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10619 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10620 (modules-names): Add `tst-armtlsdescmod',
10621 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10622 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10623 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10624 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10625 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10626 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10627 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10628 ($(objpfx)tst-armtlsdescloc): New dependency.
10629 ($(objpfx)tst-armtlsdescextnow): Likewise.
10630 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10631 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10632 TLS scheme support.
10633 * sysdeps/arm/configure: Regenerate.
10634
809fdf0d
JM
106352014-06-20 Joseph Myers <joseph@codesourcery.com>
10636
10637 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10638 (__atfct_seterrno_2): Likewise.
10639 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10640 <kernel-features.h>.
10641 (__ASSUME_ATFCTS): Do not undefine and redefine.
10642 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10643 (__have_atfcts): Remove conditional definition.
10644 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10645 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10646 unreachable if [__ASSUME_ATFCTS].
10647 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10648 not undefine and redefine.
10649 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10650 <kernel-features.h>.
10651 (faccessat) [__NR_faccessat]: Make code unconditional.
10652 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10653 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10654 <kernel-features.h>.
10655 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10656 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10657 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10658 <kernel-features.h>.
10659 (fchownat) [__NR_fchownat]: Make code unconditional.
10660 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10661 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10662 <kernel-features.h>.
10663 (futimesat) [__NR_futimesat]: Make code unconditional.
10664 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10665 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10666 <kernel-features.h>.
10667 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10668 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10670 <kernel-features.h>.
10671 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10672 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10673 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10674 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10675 <kernel-features.h>.
10676 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10677 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10678 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10679 <kernel-features.h>.
10680 (linkat) [__NR_linkat]: Make code unconditional.
10681 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10682 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10683 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10684 <kernel-features.h>.
10685 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10686 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10687 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10688 <kernel-features.h>.
10689 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10690 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10691 * sysdeps/unix/sysv/linux/openat.c: Do not include
10692 <kernel-features.h>.
10693 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10694 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10695 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10696 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10697 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10698 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10699 <kernel-features.h>.
10700 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10701 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10702 result of INLINE_SYSCALL directly, not via int variable.
10703 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10704 <kernel-features.h>.
10705 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10706 (renameat) [__NR_renameat]: Make code unconditional.
10707 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10708 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10709 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10710 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10711 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10712 (__ASSUME_ATFCTS): Do not undefine and redefine.
10713 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10714 <kernel-features.h>.
10715 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10716 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10717 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10718 <kernel-features.h>.
10719 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10720 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10721 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10722 (__ASSUME_ATFCTS): Do not undefine and redefine.
10723 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10724 <kernel-features.h>.
10725 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10726 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10727 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10728 <kernel-features.h>.
10729 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10730 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10731
224c6c51
L
107322014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10735
aa6ec754
AS
107362014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10737
10738 [BZ #17069]
10739 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10740 constructed tree before returning error.
10741 * posix/bug-regexp36.c: Expand test case.
10742
d8c2869d
SL
107432014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10744
3ef6b850
SL
10745 [BZ #6803]
10746 * math/libm-test.inc (scalbln_test_date):
10747 Add errno expectations.
10748 * math/w_scalblnf.c: New File.
10749 Add wrapper which checks for setting errno to ERANGE.
10750 Add weak_alias for corresponding scalbln function.
10751 * math/w_scalbln.c: Likewise.
10752 * math/w_scalblnl.c: Likewise.
10753 * math/Makefile (libm-calls): Add w_scalbln.
10754 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10755 Remove weak_alias for corresponding scalbln function.
10756 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10758 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10760 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10761 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10762 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10763 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10764 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10765 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10766 Remove long_double_symbol for scalblnl function in libm, libc.
10767 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10768 Add wrapper which checks for setting errno to ERANGE.
10769 Add long_double_symbol for scalblnl function in libm, libc.
10770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10771 Remove long_double_symbol for scalblnl in libm.
10772 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10773 Add wrapper which checks for setting errno to ERANGE.
10774 Add long_double_symbol for scalblnl function in libm.
10775 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10776 Do not use wrapper because of own implementation.
10777
c8daec5c
L
107782014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10779
10780 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10781 3 bytes for __pad1 for x32.
10782 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10783
5c74e47c
LM
107842014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10785 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10788 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10789 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10790 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10791 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10792
4d43ef1e
AS
107932014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10794
10795 [BZ #17069]
10796 * posix/regcomp.c (parse_expression): Deallocate partially
10797 constructed tree before returning error.
10798 * posix/Makefile.c (tests): Add bug-regex36.
10799 (generated): Add bug-regex36.mtrace.
10800 (tests-special): Add $(objpfx)bug-regex36-mem.out
10801 (bug-regex36-ENV): New variable.
10802 ($(objpfx)bug-regex36-mem.out): New rule.
10803 * posix/bug-regex36.c: New file.
10804
51a7380b
WN
108052014-06-19 Will Newton <will.newton@linaro.org>
10806
10807 * malloc/malloc.c (systrim): If extra is zero then return
10808 early.
10809
91b84fe5
SP
108102014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10811
10812 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10813
f940b965
RE
108142014-06-19 Richard Earnshaw <rearnsha@arm.com>
10815
10816 * sysdeps/aarch64/strchr.S: New file.
10817
4ba7a00f
JM
108182014-06-18 Joseph Myers <joseph@codesourcery.com>
10819
10820 [BZ #17022]
10821 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10822 from arguments -2 or below.
10823 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10824 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10825
b3a9f56b
AS
108262014-06-18 Andreas Schwab <schwab@suse.de>
10827
10828 [BZ #17062]
10829 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10830 of a bracket expr not to run off the end of the string.
10831 * posix/Makefile (tests): Add tst-fnmatch3.
10832 * posix/tst-fnmatch3.c: New file.
10833
85d89278
JM
108342014-06-18 Joseph Myers <joseph@codesourcery.com>
10835
10836 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10837 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10838 [$(cross-compiling) = no]: Likewise.
10839 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10840 [$(cross-compiling) = no]: Likewise.
10841
754c5a08
RS
108422014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10843
10844 [BZ #17031]
10845 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10846 double, adjusted for any remainder from the high double.
10847 * math/libm-test.inc (nearbyint): Add tests.
10848 (rint): Likewise.
10849
556f529d
AZ
108502014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10851
10852 * nptl/sysdeps/powerpc/Makefile: Moved ...
10853 * sysdeps/powerpc/nptl/Makefile: ... here.
10854 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10855 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10856 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10857 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10858 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10859 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10860 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10861 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10862 * nptl/sysdeps/powerpc/tls.h: Moved ...
10863 * sysdeps/powerpc/nptl/tls.h: ... here.
10864
91c03c53
JM
108652014-06-16 Joseph Myers <joseph@codesourcery.com>
10866
10867 [BZ #16681]
10868 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10869 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10870 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10871 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10872 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10873 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10874 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10875 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10876 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10877
a76e63c5
AS
108782014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10879
10880 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10881
f2f6d82f
AS
108822014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10883
ea8a15f6
AS
10884 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10885 defined operator.
10886
f2f6d82f
AS
10887 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10888 $TIMEOUTFACTOR.
10889
a7291117
FW
108902014-06-16 Florian Weimer <fweimer@redhat.com>
10891
10892 [BZ #17058]
10893 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10894 non-executed part of the test.
10895
3d7c00e3
AS
108962014-06-16 Andreas Schwab <schwab@suse.de>
10897
10898 * string/bits/string2.h (strdup, strndup): Update feature guard.
10899
6957fb31
DM
109002014-06-14 David S. Miller <davem@davemloft.net>
10901
10902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10903
11b9e55b
AS
109042014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10905
1d2a0492
AS
10906 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10907 that was previously under [RESET_PID].
10908 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10909
11b9e55b
AS
10910 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10911 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10912 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10913 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10914 (__libc_vfork): New strong alias.
10915 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10916
0f6901d0
AK
109172014-06-14 Andi Kleen <ak@linux.intel.com>
10918
10919 * sysdeps/generic/elide.h: New file.
10920
38bbbb9f
SL
109212014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10922
10923 * Makefile (installed-headers): Adjust path of pthread.h header.
10924
45193bb8
RM
109252014-06-13 Roland McGrath <roland@hack.frob.com>
10926
9a25fd1e
RM
10927 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10928 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10929 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10930 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10931
4004f7e4
RM
10932 * nptl/sysdeps/s390/Makefile: Moved ...
10933 * sysdeps/s390/nptl/Makefile: ... here.
10934 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10935 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10936 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10937 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10938 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10939 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10940 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10941 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10942 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10943 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10944 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10945 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10946 * nptl/sysdeps/s390/tls.h: Moved ...
10947 * sysdeps/s390/nptl/tls.h: ... here.
10948
45193bb8
RM
10949 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10950 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10951
f6fdf533
DM
109522014-06-13 David S. Miller <davem@davemloft.net>
10953
10954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10957 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10960 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10961 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10962 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10963 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10964 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10965 Remove RESET_PID cpp guards.
10966 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10967 Remove RESET_PID cpp guards.
10968 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10969
f5d71e14
AS
109702014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10971
10972 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10973 __sp to uintptr_t.
10974
b7aa8caa
AK
109752014-06-13 Andi Kleen <ak@linux.intel.com>
10976
4b266200
AZ
10977 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10978 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10979 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10980 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10981 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10982 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10983 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10984 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10985 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10986 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10987 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10988 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10989 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10991 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10992 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10993 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10994 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10995 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10996 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10997
10998 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10999 (pthread_rwlock_rdlock): Add elision.
11000 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11001 (pthread_rwlock_wrlock): Add elision.
11002 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11003 (pthread_rwlock_trywrlock): Add elision.
11004 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11005 (pthread_rwlock_tryrdlock): Add elision.
11006 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11007 (pthread_rwlock_tryrdlock): Add elision unlock.
11008 * nptl/sysdeps/pthread/pthread.h:
11009 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11010 (PTHREAD_RWLOCK_INITIALIZER,
11011 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11012 Handle new elision field.
11013 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11014 * sysdeps/arm/nptl/bits/pthreadtypes.h
11015 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11016 * sysdeps/sh/nptl/bits/pthreadtypes.h
11017 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11018 * sysdeps/tile/nptl/bits/pthreadtypes.h
11019 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11020 * sysdeps/a/nptl/bits/pthreadtypes.h
11021 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11022 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11023 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11024 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11025 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11026 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11027 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11028 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11029 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11030 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11031 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11032 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11033 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11034 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11035 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11036 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11037 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11038 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11039 (elision_init): Set try_xbegin to zero when no RTM.
11040 * sysdeps/x86/nptl/bits/pthreadtypes.h
11041 (pthread_rwlock_t): Change __pad1 to __rwelision.
11042 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11043
a832bdd3
AK
110442014-06-13 Andi Kleen <ak@linux.intel.com>
11045
11046 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11047 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11048 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11049 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11050
995a46bb
MI
110512014-06-13 Meador Inge <meadori@codesourcery.com>
11052
11053 [BZ #16996]
03ed7738 11054 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11055 that the cached result has been set before returning it.
11056
45262aee
RM
110572014-06-12 Roland McGrath <roland@hack.frob.com>
11058
febf6cc5
RM
11059 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11060 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11061 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11062 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11063 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11064 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11065
e2682246
RM
11066 * nptl/sysdeps/sparc/Makefile: Moved ...
11067 * sysdeps/sparc/nptl/Makefile: ... here.
11068 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11069 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11070 * nptl/sysdeps/sparc/tls.h: Moved ...
11071 * sysdeps/sparc/nptl/tls.h: ... here.
11072 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11073 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11074 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11075 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11076 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11077 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11078 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11079 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11080 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11081 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11082 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11083 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11084 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11085 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11086 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11087 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11088 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11089 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11090 Update #include.
11091 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11092 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11093 Update #include.
11094 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11095 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11096 Update #include.
11097 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11098 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11099 Update #include.
11100
b0725f43
RM
11101 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11102
b14368b8
RM
11103 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11104 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11105
c5620eb3
RM
11106 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11107 (struct list_links): Type removed.
11108 (struct thread_node, struct timer_node): Replace struct list_links
11109 with struct list_head.
11110 (list_unlink_ip): Likewise.
11111 * sysdeps/pthread/timer_routines.c
11112 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11113 (list_append, list_insbefore): Likewise.
11114 (list_init): Function removed.
11115 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11116 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11117 * sysdeps/pthread/Makefile: ... here, new file.
11118
11119 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11120 * sysdeps/nptl/Implies: ... here.
11121 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11122 * nptl/sysdeps/pthread/list.h: Moved ...
11123 * include/list.h: ... here.
11124 * nptl/sysdeps/pthread/createthread.c: Moved ...
11125 * nptl/createthread.c: ... here.
11126 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11127 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11128 * nptl/pt-longjmp.c: ... here.
11129 * nptl/sysdeps/pthread/Makefile: Moved ...
11130 * sysdeps/nptl/Makefile: ... here.
11131 * nptl/sysdeps/pthread/Subdirs: Moved ...
11132 * sysdeps/nptl/Subdirs: ... here.
11133 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11134 * sysdeps/nptl/aio_misc.h: ... here.
11135 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11136 * sysdeps/nptl/bits/libc-lock.h: ... here.
11137 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11138 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11139 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11140 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11141 * nptl/sysdeps/pthread/configure: Moved ...
11142 * sysdeps/nptl/configure: ... here.
11143 * nptl/sysdeps/pthread/configure.ac: Moved ...
11144 * sysdeps/nptl/configure.ac: ... here.
11145 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11146 * sysdeps/nptl/gai_misc.h: ... here.
11147 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11148 * sysdeps/nptl/librt-cancellation.c: ... here.
11149 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11150 * sysdeps/nptl/malloc-machine.h: ... here.
11151 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11152 * sysdeps/nptl/pthread-functions.h: ... here.
11153 * nptl/sysdeps/pthread/pthread.h: Moved ...
11154 * sysdeps/nptl/pthread.h: ... here.
11155 * nptl/sysdeps/pthread/setxid.h: Moved ...
11156 * sysdeps/nptl/setxid.h: ... here.
11157 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11158 * sysdeps/nptl/sigfillset.c: ... here.
11159 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11160 * sysdeps/nptl/tcb-offsets.h: ... here.
11161 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11162 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11163 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11164 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11165 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11166 * sysdeps/pthread/allocalim.h: ... here.
11167 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11168 * sysdeps/pthread/bits/sigthread.h: ... here.
11169 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11170 * sysdeps/pthread/flockfile.c: ... here.
11171 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11172 * sysdeps/pthread/ftrylockfile.c: ... here.
11173 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11174 * sysdeps/pthread/funlockfile.c: ... here.
11175 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11176 * sysdeps/pthread/posix-timer.h: ... here.
11177 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11178 * sysdeps/pthread/timer_create.c: ... here.
11179 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11180 * sysdeps/pthread/timer_delete.c: ... here.
11181 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11182 * sysdeps/pthread/timer_getoverr.c: ... here.
11183 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11184 * sysdeps/pthread/timer_gettime.c: ... here.
11185 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11186 * sysdeps/pthread/timer_routines.c: ... here.
11187 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11188 * sysdeps/pthread/timer_settime.c: ... here.
11189 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11190 * sysdeps/pthread/tst-timer.c: ... here.
11191 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11192 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11193
e876b090
RM
11194 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11195 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11196
f6b07b3d
RM
11197 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11198 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11199 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11200 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11201 Update #include target.
11202 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11203 * sysdeps/i386/i686/nptl/Makefile: ... here.
11204 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11205 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11206 Update #include target.
11207 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11208 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11209 * nptl/sysdeps/i386/Makefile: Moved ...
11210 * sysdeps/i386/nptl/Makefile: ... here.
11211 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11212 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11213 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11214 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11215 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11216 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11217 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11218 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11219 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11220 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11221 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11222 * nptl/sysdeps/i386/tls.h: Moved ...
11223 * sysdeps/i386/nptl/tls.h: ... here.
11224
45262aee
RM
11225 * sysdeps/sh/Makefile [$(subdir) = csu]
11226 (gen-as-const-headers): Add tcb-offsets.sym.
11227 * nptl/sysdeps/sh/Makefile: File removed.
11228 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11229 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11230 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11231 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11232 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11233 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11234 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11235 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11236 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11237 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11238 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11239 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11240 * nptl/sysdeps/sh/tls.h: Moved ...
11241 * sysdeps/sh/nptl/tls.h: ... here.
11242 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11243 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11244 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11245 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11246 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11247 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11248 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11249 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11250 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11251 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11253 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11255 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11257 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11259 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11260 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11261 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11263 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11265 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11267 Moved ...
11268 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11270 Moved ...
11271 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11272 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11273 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11275 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11277 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11278 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11279 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11280 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11281 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11283 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11285 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11286 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11287 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11288 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11289 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11290
35a5e3e3
SL
112912014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11292
11293 * posix/spawn_faction_addopen.c: Include string.h.
11294
14642b85
RM
112952014-06-11 Roland McGrath <roland@hack.frob.com>
11296
11297 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11298 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11299 * nptl/sysdeps/x86_64/Makefile: Moved ...
11300 * sysdeps/x86_64/nptl/Makefile: ... here.
11301 * nptl/sysdeps/x86_64/configure: Moved ...
11302 * sysdeps/x86_64/nptl/configure: ... here.
11303 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11304 * sysdeps/x86_64/nptl/configure.ac: ... here.
11305 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11306 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11307 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11308 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11309 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11310 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11311 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11312 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11313 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11314 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11315 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11316 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11317 * nptl/sysdeps/x86_64/tls.h: Moved ...
11318 * sysdeps/x86_64/nptl/tls.h: ... here.
11319 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11320 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11321 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11322 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11323
11324 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11325
31c44fea
AZ
113262014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11327
11328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11329
e81a4f9a
JM
113302014-06-11 Joseph Myers <joseph@codesourcery.com>
11331
11332 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11333 type.
11334 [POSIX] (off_t): Likewise.
11335 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11336 [POSIX] (S_ISBLK): Require macro.
11337 [POSIX] (S_ISCHR): Likewise.
11338 [POSIX] (S_ISDIR): Likewise.
11339 [POSIX] (S_ISFIFO): Likewise.
11340 [POSIX] (S_ISREG): Likewise.
11341 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11342 optional-macro.
11343 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11344 type.
11345 [POSIX] (time_t): Likewise.
11346 [POSIX] (timer_t): Likewise.
11347
89e435f3
FW
113482014-06-11 Florian Weimer <fweimer@redhat.com>
11349
11350 [BZ #17048]
11351 * posix/spawn_int.h (struct __spawn_action): Make the path string
11352 non-const to support deallocation.
11353 * posix/spawn_faction_addopen.c
11354 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11355 * posix/spawn_faction_destroy.c
11356 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11357 path in all spawn_do_open actions.
11358 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11359 posix_spawn_file_actions_addopen.
11360
c3a2ebe1
CM
113612014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11362
11363 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11364 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11365 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11366 conditional code always true.
11367 (__libc_vfork): New alias.
11368
9503784a
RM
113692014-06-11 Roland McGrath <roland@hack.frob.com>
11370
c9cab3d2
RM
11371 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11372 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11373
d3996c79
RM
11374 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11375
ba5ec611
RM
11376 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11377 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11378
f12b4814
RM
11379 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11380 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11381
9503784a
RM
11382 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11383 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11384
e23d3d26
VR
113852014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11386
11387 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11388 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11389 multiarch strcmp for PPC64.
11390 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11391 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11393 multiarch optimizations.
11394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11395 (__libc_ifunc_impl_list): Likewise.
11396
42b1161e
SP
113972014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11398
11399 * benchtests/scripts/validate_benchout.py: New script.
11400 * benchtests/Makefile (bench-func): Call it.
11401 * benchtests/scripts/benchout.schema.json: New file.
11402
2d0fc4dc
CM
114032014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11404
4a594c34
AZ
11405 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11406 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11407 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11408 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11409 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11410 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11411 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11412 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11413 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11414 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11415 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11416 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11417 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11418 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11419 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11420 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11422 Moved ...
4a594c34 11423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11424 ... here.
4a594c34 11425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11426 Moved ...
4a594c34
AZ
11427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11429 Moved ...
4a594c34 11430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11431 ... here.
4a594c34 11432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11433 Moved ...
4a594c34 11434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11435 ... here.
4a594c34 11436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11437 Moved ...
4a594c34
AZ
11438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11440 Moved ...
4a594c34 11441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11442 ... here.
4a594c34 11443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11444 Moved ...
4a594c34 11445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11446 ... here.
4a594c34 11447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11448 Moved ...
4a594c34
AZ
11449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11451 Moved ...
4a594c34 11452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11453 ... here.
4a594c34 11454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11455 Moved ...
4a594c34 11456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11457 ... here.
4a594c34 11458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11459 Moved ...
4a594c34 11460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11461 ... here.
4a594c34 11462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11463 Moved ...
4a594c34
AZ
11464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11466 Moved ...
4a594c34 11467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11468 ... here.
4a594c34 11469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11470 Moved ...
4a594c34 11471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11472 ... here.
4a594c34 11473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11474 Moved ...
4a594c34 11475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11476 ... here.
4a594c34 11477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11478 Moved ...
4a594c34
AZ
11479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11481 Moved ...
4a594c34 11482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11483 ... here.
4a594c34 11484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11485 Moved ...
4a594c34 11486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11487 ... here.
4a594c34 11488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11489 Moved ...
4a594c34
AZ
11490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11492 Moved ...
4a594c34 11493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11494 ... here.
4a594c34 11495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11496 Moved ...
4a594c34
AZ
11497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11499 Moved ...
4a594c34
AZ
11500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11502 Moved ...
4a594c34 11503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11504 ... here.
4a594c34 11505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11506 Moved ...
4a594c34 11507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11508 ... here.
4a594c34 11509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11510 Moved ...
4a594c34 11511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11512 ... here.
4a594c34 11513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11514 Moved ...
4a594c34
AZ
11515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11517 Moved ...
4a594c34 11518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11519 ... here.
4a594c34 11520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11521 Moved ...
4a594c34 11522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11523 ... here.
4a594c34
AZ
11524 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11525 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11526 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11527 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11528 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11529 Moved ...
4a594c34 11530 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11531 ... here.
4a594c34
AZ
11532 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11533 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11534 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11535 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11536 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11537 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11538 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11539 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11540 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11541 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11542 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11543 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11544 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11545 Moved ...
4a594c34
AZ
11546 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11547 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11548 Moved ...
4a594c34
AZ
11549 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11550 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11551 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11552 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11553 Moved ...
4a594c34
AZ
11554 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11556 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11557 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11558 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11559 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11560 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11561
0570cfed
W
115622014-06-10 Wilco <wdijkstr@arm.com>
11563
11564 * math/test-fenv-return.c: New file.
11565 * math/Makefile: Add new test test-fenv-return.
11566
f8ba1b56
JM
115672014-06-10 Joseph Myers <joseph@codesourcery.com>
11568
11569 [BZ #17042]
11570 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11571 when x - 1 is zero.
11572 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11573 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11574 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11575 0.0L for an argument of 1.0L.
11576 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11577 Likewise.
11578 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11579 value when x - 1 is zero.
11580 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11581 * sysdeps/i386/fpu/libm-test-ulps: Update.
11582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11583
2c3520d9
BO
115842014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11585
11586 [BZ #15119]
11587 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11588
acaa4d24
RM
115892014-06-09 Roland McGrath <roland@hack.frob.com>
11590
11591 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11592 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11593
962b744d
RM
115942014-06-09 Roland McGrath <roland@hack.frob.com>
11595
d752f0cc
RM
11596 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11597 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11598
34eda6d1
RM
11599 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11600 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11601
50f0a637
RM
11602 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11603 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11604
08f41f04
RM
11605 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11606 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11607
962b744d
RM
11608 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11609 if not already defined.
11610 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11611 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11612 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11613 (TLS_INIT_TP): Use it.
11614 (TLS_DEFINE_INIT_TP): New macro.
11615 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11616
09f19b05
JM
116172014-06-09 Joseph Myers <joseph@codesourcery.com>
11618
11619 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11620 constant.
11621 [POSIX] (IXANY): Likewise.
11622 [POSIX] (OLCUC): Likewise.
11623 [POSIX || POSIX2008] (CBAUD): Do not allow.
11624 [POSIX || POSIX2008] (DEFECHO): Likewise.
11625 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11626 [POSIX || POSIX2008] (ECHOKE): Likewise.
11627 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11628 [POSIX || POSIX2008] (EXTA): Likewise.
11629 [POSIX || POSIX2008] (EXTB): Likewise.
11630 [POSIX || POSIX2008] (FLUSHO): Likewise.
11631 [POSIX || POSIX2008] (LOBLK): Likewise.
11632 [POSIX || POSIX2008] (PENDIN): Likewise.
11633 [POSIX || POSIX2008] (SWTCH): Likewise.
11634 [POSIX || POSIX2008] (VDISCARD): Likewise.
11635 [POSIX || POSIX2008] (VDSUSP): Likewise.
11636 [POSIX || POSIX2008] (VLNEXT): Likewise.
11637 [POSIX || POSIX2008] (VREPRINT): Likewise.
11638 [POSIX || POSIX2008] (VSTATUS): Likewise.
11639 [POSIX || POSIX2008] (VWERASE): Likewise.
11640 (B*): Change to B[0123456789]*.
11641 * conform/data/time.h-data [POSIX || UNIX98]
11642 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11643 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11644 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11645 [POSIX] (tm_*): Do not allow.
11646
686554bf
JM
116472014-06-07 Joseph Myers <joseph@codesourcery.com>
11648
11649 * Makefile (install): Don't set LANGUAGE.
11650 * Makefile.in (install): Likewise.
11651 * assert/Makefile (test-assert-ENV): Remove variable.
11652 (test-assert-perr-ENV): Likewise.
11653 * elf/Makefile (neededtest4-ENV): Likewise.
11654 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11655 [$(cross-compiling) = no]: Don't set LANGUAGE.
11656 * io/ftwtest-sh (LANG): Remove variable.
11657 * libio/Makefile (tst-widetext-ENV): Likewise.
11658 * manual/install.texi (Running make install): Don't refer to
11659 environment settings for make install.
11660 * INSTALL: Regenerated.
11661 * nptl/tst-tls6.sh: Don't set LANG.
11662 * posix/globtest.sh (LANG): Remove variable.
11663 * string/Makefile (tester-ENV): Likewise.
11664 (inl-tester-ENV): Likewise.
11665 (noinl-tester-ENV): Likewise.
11666 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11667 [$(cross-compiling) = no]: Don't set LANGUAGE.
11668 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11669 without explicit environment settings.
11670
68e6b6b1
RM
116712014-06-06 Roland McGrath <roland@hack.frob.com>
11672
11673 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11674 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11675 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11676 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11677
4d3ae034
CM
116782014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11679
11680 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11681 other files in the crypt directory.
11682 * crypt/crypt.c: Remove duplicate includes.
11683 * crypt/crypt-entry.c: Likewise.
11684 * crypt/crypt_util.c: Likewise.
11685
8540f6d2
JM
116862014-06-06 Joseph Myers <joseph@codesourcery.com>
11687
11688 * Makeconfig (run-program-env): New variable.
11689 (run-program-prefix-before-env): Likewise.
11690 (run-program-prefix-after-env): Likewise.
11691 (run-program-prefix): Define in terms of new variables.
11692 (built-program-cmd-before-env): New variable.
11693 (built-program-cmd-after-env): Likewise.
11694 (built-program-cmd): Define in terms of new variables.
11695 (test-program-prefix-before-env): New variable.
11696 (test-program-prefix-after-env): Likewise.
11697 (test-program-prefix): Define in terms of new variables.
11698 (test-program-cmd-before-env): New variable.
11699 (test-program-cmd-after-env): Likewise.
11700 (test-program-cmd): Define in terms of new variables.
11701 * Rules (make-test-out): Use $(run-program-env).
11702 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11703 (help): Do not mention environment variables. Mention
11704 --timeoutfactor option.
11705 (timeoutfactor): New variable.
11706 (blacklist_exports): Remove function.
11707 (exports): Remove variable.
11708 (command): Do not include ${exports}.
11709 * manual/install.texi (Configuring and compiling): Do not mention
11710 test wrappers preserving environment variables. Mention that last
11711 assignment to a variable must take precedence.
11712 * INSTALL: Regenerated.
11713 * benchtests/Makefile (run-bench): Use $(run-program-env).
11714 * catgets/Makefile ($(objpfx)test1.cat): Use
11715 $(built-program-cmd-before-env), $(run-program-env) and
11716 $(built-program-cmd-after-env).
11717 ($(objpfx)test2.cat): Do not specify environment variables
11718 explicitly.
11719 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11720 $(run-program-env) and $(built-program-cmd-after-env).
11721 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11722 $(run-program-env) and $(test-program-cmd-after-env).
11723 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11724 explicitly.
11725 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11726 run_program_env and test_program_cmd_after_env arguments.
11727 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11728 * elf/tst-pathopt.sh: Use run_program_env argument.
11729 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11730 $(test-wrapper-env) and $(run-program-env).
11731 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11732 run_program_env arguments.
11733 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11734 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11735 $(test-program-prefix-before-env), $(run-program-env) and
11736 $(test-program-prefix-after-env).
11737 ($(objpfx)tst-gettext2.out): Likewise.
11738 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11739 run_program_env and test_program_prefix_after_env arguments.
11740 * intl/tst-gettext2.sh: Likewise.
11741 * intl/tst-gettext4.sh: Do not set environment variables
11742 explicitly.
11743 * intl/tst-gettext6.sh: Likewise.
11744 * intl/tst-translit.sh: Likewise.
11745 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11746 $(test-program-prefix-before-env), $(run-program-env) and
11747 $(test-program-prefix-after-env).
11748 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11749 run_program_env and test_program_prefix_after_env arguments.
11750 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11751 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11752 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11753 explicitly with each use of ${test_wrapper_env}.
11754 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11755 $(test-program-prefix-before-env), $(run-program-env) and
11756 $(test-program-prefix-after-env).
11757 * posix/tst-getconf.sh: Do not set environment variables
11758 explicitly.
11759 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11760 run_program_env and test_program_prefix_after_env arguments.
11761 * stdio-common/tst-printf.sh: Do not set environment variables
11762 explicitly.
11763 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11764 $(test-program-prefix-before-env), $(run-program-env) and
11765 $(test-program-prefix-after-env).
11766 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11767 run_program_env and test_program_prefix_after_env arguments.
11768 Split $test calls into $test_pre and $test.
11769 * timezone/Makefile (build-testdata): Use
11770 $(built-program-cmd-before-env), $(run-program-env) and
11771 $(built-program-cmd-after-env).
11772
ed36bfa1
AZ
117732014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11774
11775 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11776 strlen for non SHARED builds.
11777
fc75bf46
SP
117782014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11779
11780 * nptl/allocatestack.c (check_list): Inlined function...
11781 (__reclaim_stacks): ... here.
11782
d89b3d80
OB
117832014-06-05 Ondřej Bílka <neleai@seznam.cz>
11784
11785 [BZ #15698]
11786 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11787 memory overrun.
11788
2bf18041
JM
117892014-06-05 Joseph Myers <joseph@codesourcery.com>
11790
11791 * Rules (make-test-out): Include
11792 LOCPATH=$(common-objpfx)localedata in default environment.
11793 * debug/Makefile (tst-chk1-ENV): Remove variable.
11794 (tst-chk2-ENV): Likewise.
11795 (tst-chk3-ENV): Likewise.
11796 (tst-chk4-ENV): Likewise.
11797 (tst-chk5-ENV): Likewise.
11798 (tst-chk6-ENV): Likewise.
11799 (tst-lfschk1-ENV): Likewise.
11800 (tst-lfschk2-ENV): Likewise.
11801 (tst-lfschk3-ENV): Likewise.
11802 (tst-lfschk4-ENV): Likewise.
11803 (tst-lfschk5-ENV): Likewise.
11804 (tst-lfschk6-ENV): Likewise.
11805 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11806 (tst-iconv7-ENV): Likewise.
11807 * intl/Makefile (LOCPATH-ENV): Likewise.
11808 (tst-codeset-ENV): Likewise.
11809 (tst-gettext3-ENV): Likewise.
11810 (tst-gettext5-ENV): Likewise.
11811 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11812 (tst-fopenloc-ENV): Likewise.
11813 (tst-fgetws-ENV): Remove variable.
11814 (tst-ungetwc1-ENV): Likewise.
11815 (tst-ungetwc2-ENV): Likewise.
11816 (bug-ungetwc2-ENV): Likewise.
11817 (tst-swscanf-ENV): Likewise.
11818 (bug-ftell-ENV): Likewise.
11819 (tst-fgetwc-ENV): Likewise.
11820 (tst-fseek-ENV): Likewise.
11821 (tst-ftell-partial-wide-ENV): Likewise.
11822 (tst-ftell-active-handler-ENV): Likewise.
11823 (tst-ftell-append-ENV): Likewise.
11824 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11825 (tst-regexloc-ENV): Likewise.
11826 (bug-regex1-ENV): Likewise.
11827 (tst-regex-ENV): Likewise.
11828 (tst-regex2-ENV): Likewise.
11829 (bug-regex5-ENV): Likewise.
11830 (bug-regex6-ENV): Likewise.
11831 (bug-regex17-ENV): Likewise.
11832 (bug-regex18-ENV): Likewise.
11833 (bug-regex19-ENV): Likewise.
11834 (bug-regex20-ENV): Likewise.
11835 (bug-regex22-ENV): Likewise.
11836 (bug-regex23-ENV): Likewise.
11837 (bug-regex25-ENV): Likewise.
11838 (bug-regex26-ENV): Likewise.
11839 (bug-regex30-ENV): Likewise.
11840 (bug-regex32-ENV): Likewise.
11841 (bug-regex33-ENV): Likewise.
11842 (bug-regex34-ENV): Likewise.
11843 (bug-regex35-ENV): Likewise.
11844 (tst-rxspencer-ENV): Likewise.
11845 (tst-rxspencer-no-utf8-ENV): Likewise.
11846 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11847 (tst-sscanf-ENV): Likewise.
11848 (tst-swprintf-ENV): Likewise.
11849 (tst-swscanf-ENV): Likewise.
11850 (test-vfprintf-ENV): Likewise.
11851 (scanf13-ENV): Likewise.
11852 (bug14-ENV): Likewise.
11853 (tst-grouping-ENV): Likewise.
11854 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11855 (tst-strtod3-ENV): Likewise.
11856 (tst-strtod4-ENV): Likewise.
11857 (tst-strtod5-ENV): Likewise.
11858 (testmb2-ENV): Likewise./
11859 * string/Makefile (tst-strxfrm-ENV): Likewise.
11860 (tst-strxfrm2-ENV): Likewise.
11861 (bug-strcoll1-ENV): Likewise.
11862 (test-strcasecmp-ENV): Likewise.
11863 (test-strncasecmp-ENV): Likewise.
11864 * time/Makefile (tst-strptime-ENV): Likewise.
11865 (tst-ftime_l-ENV): Likewise.
11866 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11867 (tst-mbrtowc-ENV): Likewise.
11868 (tst-wcrtomb-ENV): Likewise.
11869 (tst-mbrtowc2-ENV): Likewise.
11870 (tst-c16c32-1-ENV): Likewise.
11871 (tst-mbsnrtowcs-ENV): Likewise.
11872
cd1fb604
OB
118732014-06-05 Ondřej Bílka <neleai@seznam.cz>
11874
11875 * manual/resource.texi (How to get information about the memory
11876 subsystem?): Fix typo.
11877 Reported by Peon de la Parra Ivan <peon@keba.com>
11878
b42eca7d
GY
118792014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11880
11881 [BZ #16882]
11882 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11883 (pthread_spin_lock): Branch out of spin loop to proper location.
11884 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11885 (pthread_spin_lock): Likewise.
11886
902b71f9
DM
11887 * nptl/tst-spin4.c: New test.
11888 * nptl/Makefile (tests): Add tst-spin4.
11889
f9d2d032
AS
118902014-06-03 Andreas Schwab <schwab@suse.de>
11891
11892 [BZ #15946]
11893 * resolv/res_send.c (send_dg): Reload file descriptor after
11894 calling reopen.
11895
cf7bfd28
SL
118962014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11897
11898 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11899
111cc714
RH
119002014-06-03 Richard Henderson <rth@redhat.com>
11901
89b4bd6b
RH
11902 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11903 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11904 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11905 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11906 in the SAVE_PID block.
11907 (__libc_vfork): New alias.
71840409 11908 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11909
111cc714
RH
11910 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11911 child in registers, not on the stack. Remove RESET_PID conditionals.
11912 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11913
ccc39911
MS
119142014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11915
11916 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11917
693096cc
W
119182014-06-03 Wilco <wdijkstr@arm.com>
11919
11920 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11921 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11922 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11923 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11924 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11925 Likewise.
11926
0b4366bc
W
119272014-06-03 Wilco <wdijkstr@arm.com>
11928
11929 * sysdeps/aarch64/fpu/math_private.h
11930 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11931 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11932 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11933 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11934 Fix declarations.
11935
8747cd03
KS
119362014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11937
11938 * crypt/crypt-private.h: Include ufc-crypt.h.
11939 (__b64_from_24bit): Declare extern.
11940 * crypt/crypt_util.c(__b64_from_24bit): New function.
11941 (b64t): New static const variable.
11942 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11943 (b64t): Remove variable.
11944 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11945 * crypt/sha256-crypt.c: Include crypt-private.h.
11946 (b64t): Remove variable.
11947 (__sha256_crypt_r): Remove b64_from_24bit and replace
11948 with __b64_from_24bit.
11949 * crypt/sha512-crypt.c: Likewise.
11950
d936d379
RM
119512014-06-02 Roland McGrath <roland@hack.frob.com>
11952
11953 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11954 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11955 Label the code __libc_vfork rather than __vfork.
11956 [!NOT_IN_libc] (vfork): Define as weak alias.
11957 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11958 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11959 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11960
9fa76613
SP
119612014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11962
11963 * malloc/malloc.c (malloc_info): Fix format specifier for
11964 n_mmaps.
11965
a88dadbe
W
119662014-06-02 Wilco <wdijkstr@arm.com>
11967
11968 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11969 FPCR write.
11970
c95b3011
W
119712014-06-02 Wilco <wdijkstr@arm.com>
11972
11973 [BZ #17009]
11974 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11975 Rewrite to reduce FPCR/FPSR accesses.
11976
6b4d7a90
DM
119772014-06-01 David S. Miller <davem@davemloft.net>
11978
11979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11980
30f3d07c
DM
119812014-05-31 David S. Miller <davem@davemloft.net>
11982
11983 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11984 to occur in round to nearest mode when |x| >= 2.0
11985
74f31c18
RH
119862014-05-30 Richard Henderson <rth@twiddle.net>
11987
f0712b54
RH
11988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11989 (PSEUDO_RET_NOERRNO): Remove.
11990 (ret): Don't redefine.
11991 (ret_NOERRNO): Define in terms of ret.
11992 (ret_ERRVAL): Likewise.
11993
74f31c18
RH
11994 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11995 use of PSEUDO_RET; perform the error check directly.
11996
30477995
MM
119972014-05-30 Marko Myllynen <myllynen@redhat.com>
11998
11999 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12000 with __int128_t.
12001
62a58816
SP
120022014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12003
12004 * malloc/malloc (malloc_info): Fix formatting.
12005
4d653a59
SP
120062014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12007 Roland McGrath <roland@hack.frob.com>
12008
12009 * malloc/malloc (malloc_info): Also print mmapped statistics.
12010
5190c17f
RM
120112014-05-30 Roland McGrath <roland@hack.frob.com>
12012
12013 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12014 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12015
987c0269
OB
120162014-05-30 Ondřej Bílka <neleai@seznam.cz>
12017
12018 * malloc/malloc.c (malloc_info): Inline mi_arena.
12019
af4e8ef9
RH
120202014-05-29 Richard Henderson <rth@twiddle.net>
12021
1670e207
RH
12022 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12023 Remove comma before expanding ASM_ARGS_##nr.
12024 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12025 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12026 of ASM_ARGS_##nr.
12027 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12028 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12029 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12030 (ASM_ARGS_1): Add leading comma.
12031
11a28aee
RH
12032 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12033 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12034 to __errno_location.
12035 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12036 Remove the expected plt for __errno_location.
12037
a17e5ffb 12038 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12039 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12040 call to __read_tp.
12041
b5be4597
RH
12042 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12043 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12044 it and break it down.
12045 (DOCARGS_0, DOCARGS_1): Do nothing.
12046 (DOCARGS_2): Update to store into the new stack frame.
12047 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12048 (UNDOCARGS_1): Update to restore from the new stack frame.
12049 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12050 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12051
645d44ab
RH
12052 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12053 (SINGLE_THREAD_P): New parameter for result regno.
12054 (PSEUDO): Update to match; use cbz instead of beq.
12055
a8b4f04a
RH
12056 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12057 Use ENTRY to define the _nocancel entry point. Share the syscall
12058 and syscall error check paths with the cancel path.
12059 (PSEUDO_END): New.
12060
af4e8ef9
RH
12061 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12062 whitespace; tabs before and after asm mnemonics.
12063
26b0d2e1
EW
120642014-05-29 Eric Wong <normalperson@yhbt.net>
12065
12066 [BZ #15132]
12067 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12068 Call fstat64 or stat64 internally, depending on arguments passed.
12069 Replace stat buffer argument with file descriptor argument.
12070 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12071 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12072 Pass fd to __internal_statvfs instead of calling fstat64.
12073 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12074 Pass fd to __internal_statvfs64 instead of calling fstat64.
12075 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12076 Pass -1 to __internal_statvfs instead of calling stat64.
12077 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12078 Pass -1 to __internal_statvfs64 instead of calling stat64.
12079
1efe2bd9
RM
120802014-05-28 Roland McGrath <roland@hack.frob.com>
12081
0d3b7a19
RM
12082 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12083 that was previously under [RESET_PID].
12084 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12085
1efe2bd9
RM
12086 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12087 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12088
a6bea3ca
RM
120892014-05-27 Roland McGrath <roland@hack.frob.com>
12090
30b6629e
RM
12091 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12092
a6bea3ca
RM
12093 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12094 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12095
3dfb9a5c
OB
120962014-05-27 Ondřej Bílka <neleai@seznam.cz>
12097
12098 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12099
774f9285
AS
121002014-05-27 Andreas Schwab <schwab@suse.de>
12101
12102 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12103 TLS_INIT_TP macro.
12104 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12105 * elf/rtld.c (init_tls, dl_main): Likewise.
12106 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12107 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12108 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12109 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12110 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12111 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12112 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12113 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12114 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12115 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12116 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12117 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12118 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12119 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12120 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12121 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12122 * sysdeps/generic/tls.h: Update description.
12123
36ffe739
WN
121242014-05-27 Will Newton <will.newton@linaro.org>
12125
12126 [BZ #16990]
12127 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12128 and restore r2 rather than just restoring.
12129
2482ae43
SP
121302014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12131
12132 [BZ #16724]
12133 * libio/tst-ftell-append.c: New test case.
12134 * libio/Makefile (tests): Add test case.
12135 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12136 append mode.
12137 * libio/wfileops.c (do_ftell_wide): Likewise.
12138
3d1024e8
AZ
121392014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12140
bab90016
AZ
12141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12142
c7a8d667
AZ
12143 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12144 ...
12145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12147 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12148 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12150 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12151 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12152 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12154 Moved ...
12155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12156 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12157 Moved ...
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12159 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12160 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12161 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12162 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12163 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12164 ...
12165 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12166 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12167 Moved ...
12168 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12169 here.
12170 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12171 ...
12172 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12173 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12174 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12175
daee7851
AZ
12176 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12177 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12178 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12179 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12180
50a40819
AZ
12181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12182 merge into ...
12183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12185 ...
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12188 ...
12189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12191 Moved ...
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12193 here.
12194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12195 Moved ...
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12198 Moved ...
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12200
8464c2a1
AZ
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12202 conditional [RESET_PID].
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12204 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12205 removed.
12206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12207 removed.
12208
3d1024e8
AZ
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12210 <tcb-offsets.h>.
12211 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12212 (__libc_vfork): New strong alias.
12213 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12214 removed.
12215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12216 Removed.
12217
12218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12219 <tcb-offsets.h>.
12220 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12221 (__libc_vfork): New strong alias.
12222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12223 removed.
12224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12225 removed.
12226
fdfd175d
CD
122272014-05-26 Carlos O'Donell <carlos@redhat.com>
12228
12229 * malloc/malloc.c (mi_arena): New function.
12230 (malloc_info): Remove nested function mi_arena. Call non-nosted
12231 function mi_arena.
12232
d298c416
AZ
122332014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12234
12235 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12236 by insrwi.
12237 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12238 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12239 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12240 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12241 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12242 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12243 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12244
b60ea6ff
AS
122452014-05-26 Andreas Schwab <schwab@suse.de>
12246
12247 [BZ #16984]
12248 * locale/programs/repertoire.c (repertoire_read): Add slash
12249 between I18NPATH element and file name.
12250 * locale/programs/locfile.c (locfile_read): Likewise.
12251
67365926
SL
122522014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12253
12254 * nptl/pthread_mutexattr_settype.c
12255 (__pthread_mutexattr_settype):
12256 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12257
f8bdf1f0
SL
122582014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12259
12260 * nptl/tst-mutex5 (do_test):
12261 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12262
15eaf6ff
SP
122632014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12264
12265 * benchtests/README: Document 'init' directive.
12266 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12267 BENCH_INIT.
12268 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12269 (parse_file): Recognize 'init' directive.
12270
75f11331
KM
122712014-05-26 Kyle McMartin <kyle@redhat.com>
12272
12273 [BZ #16796]
12274 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12275 alignment of struct pthread.
12276
c3ec475c
SP
122772014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
12279 [BZ #16878]
12280 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12281 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12282 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12283 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12284
82aab97c
RH
122852014-05-25 Richard Henderson <rth@twiddle.net>
12286
aa2f176d
RH
12287 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12288 (SINGLE_THREAD_P_PIC): Remove.
12289 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12290 (SINGLE_THREAD_P_PIC): Remove.
12291
ca3cfa40
RH
12292 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12293 branch to syscall error ...
12294 (PSEUDO): ... here.
12295 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12296 from __local_syscall_error to .Lsyscall_error.
12297 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12298 (SYSCALL_ERROR): Update label name.
12299
6e6c2d01
RH
12300 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12301 Do not use DOARGS/UNDOARGS.
12302 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12303 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12304 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12305 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12306 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12307
c69abcee
RH
12308 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12309 block comment.
12310
82aab97c
RH
12311 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12312 define if !NOT_IN_libc.
12313 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12314 define with non-default symbol versions.
12315
8820e3ac
RH
123162014-05-23 Richard Henderson <rth@twiddle.net>
12317
900e445f
RH
12318 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12319 (vfork, __vfork): Define via compat_symbol.
12320
8820e3ac
RH
12321 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12322 [!HAVE_IFUNC] (vfork_compat): Remove.
12323 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12324
e59252a5
JM
123252014-05-23 Joseph Myers <joseph@codesourcery.com>
12326
12327 [BZ #16978]
12328 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12329 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12330 variable.
12331
132c7f5f
RH
123322014-05-23 Richard Henderson <rth@twiddle.net>
12333
bc89e962
RH
12334 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12335 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12336 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12337 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12338
12339 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12340 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12341 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12342 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12343 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12344 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12345 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12346 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12347 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12348 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12349 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12350 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12351 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12352 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12353 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12354 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12355 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12356 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12357 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12358 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12359 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12360 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12361 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12362 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12363 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12364 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12365 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12366 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12367 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12368 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12369 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12370 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12371 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12372 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12373 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12374 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12375 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12376 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12377 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12378 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12379 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12380 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12381 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12382 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12383 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12384 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12385 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12386 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12387 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12388 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12389 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12390 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12391 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12392 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12393 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12394 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12395
e2fa4bc2
RH
12396 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12397 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12398 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12399 before exiting on error.
12400 (__libc_vfork): New strong alias.
12401 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12402 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12403
279b24e2
RH
12404 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12405 that was previously under [RESET_PID].
12406 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12407
132c7f5f
RH
12408 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12409
b72592e7
JM
124102014-05-23 Joseph Myers <joseph@codesourcery.com>
12411
12412 [BZ #16977]
12413 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12414 value when x - 1 is zero.
12415 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12416 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12417 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12418 0.0L for an argument of 1.0L.
12419 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12420 Likewise.
12421 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12422 value when x - 1 is zero.
12423 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12424 * sysdeps/i386/fpu/libm-test-ulps: Update.
12425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12426
2302d679
RV
124272014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12428
12429 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12430 alphasort and versionsort.
12431
32999d63
AZ
124322014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12433
12434 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12435 macro.
12436 [copysignf]: Likewise.
12437
019324d0
SP
124382014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12439
12440 * crypt/md5-crypt.c: Fix formatting.
12441
34fff5c2
KS
124422014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12443
12444 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12445 (b64_from_24bit): New function.
12446
3d2badac
AZ
124472014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12448
12449 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12450 libc_hidden_builtin_def to ifunc.
12451 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12452 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12453
f7bb179f 124542014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12455
12456 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12457 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12458
4134b50d
JM
124592014-05-21 Joseph Myers <joseph@codesourcery.com>
12460
bb7d0337
JM
12461 * nscd/Depend (linuxthreads): Remove.
12462 (nptl): Add.
12463 * resolv/Depend (linuxthreads): Remove.
12464 * rt/Depend (linuxthreads): Remove.
12465
4134b50d
JM
12466 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12467 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12468 $(common-objpfx)elf/.
12469 (link-libc-before-gnulib): Likewise.
12470 (elfobjdir): Remove variable.
12471 * Makefile (install): Use $(elf-objpfx) instead of
12472 $(common-objpfx)elf/.
12473 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12474 $(elfobjdir)/.
12475 (link-libc-deps): Likewise.
12476 ($(common-objpfx)libc.so): Likewise.
12477 ($(common-objpfx)linkobj/libc.so): Likewise.
12478 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12479 instead of $(common-objpfx)elf/.
12480 (symbolic-link-list): Likewise.
12481 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12482 [$(cross-compiling) = no]: Likewise.
12483 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12484 $(elfobjdir)/.
12485 (static-gnulib-arch): Likewise.
12486 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12487 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12488 $(common-objpfx)elf/.
12489
3612eb8f
RH
124902014-05-21 Richard Henderson <rth@redhat.com>
12491
a6b3657b
RH
12492 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12493 (SINGLE_THREAD_P): Use the correct width load. Fold
12494 into the ldr offset.
12495
3612eb8f
RH
12496 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12497 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12498
175cef41
JM
124992014-05-20 Joseph Myers <joseph@codesourcery.com>
12500
12501 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12502 (libgcc_s_resume): Use __attribute_used__.
12503 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12504 Likewise.
12505
e13bccd3
AZ
125062014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12507
12508 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12509 optimization when used with float constants.
12510
7c112a38
AZ
12511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12512
ae75a883
AJ
125132014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12514
12515 [BZ #16915]
12516 * locale/nl_langinfo_l.c: Make direct reference to every
12517 _nl_current_CATEGORY symbol.
12518 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12519 (tests-static): Add tst-langinfo-static.
12520 (tests-special): Add tst-langinfo-static.out.
12521 ($(objpfx)tst-langinfo.out): Redirect output.
12522 ($(objpfx)tst-langinfo-static.out): New.
12523 * localedata/tst-langinfo.sh: Send output to stdout.
12524 * localedata/tst-langinfo-static.c: New file.
12525
4406c41c
AJ
12526 [BZ #16965]
12527 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12528 when the shift amount is modulo the limb size.
12529
4c0a1e63
RH
125302014-05-20 Richard Henderson <rth@redhat.com>
12531
de9d8f20
RH
12532 [BZ #16967]
12533 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12534 Change type of sa_flags from unsigned int to int.
12535
4c0a1e63
RH
12536 [BZ #16966]
12537 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12538
12539 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12540
a60339aa
WN
125412014-05-20 Will Newton <will.newton@linaro.org>
12542
12543 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12544 Test the return value of the system call in the nocancel case.
12545
7d05a816
YR
125462014-05-20 Will Newton <will.newton@linaro.org>
12547 Yvan Roux <yvan.roux@linaro.org>
12548
12549 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12550 #include of asm/ptrace.h.
12551 (PTRACE_GET_THREAD_AREA): Remove #undef.
12552 (PTRACE_GETHBPREGS): Likewise.
12553 (PTRACE_SETHBPREGS): Likewise.
12554 (struct user_regs_struct): New structure.
12555 (struct user_fpsimd_struct): New structure.
12556 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12557 #include of asm/ptrace.h and second #include of sys/user.h.
12558 (PTRACE_GET_THREAD_AREA): Remove #undef.
12559 (PTRACE_GETHBPREGS): Likewise.
12560 (PTRACE_SETHBPREGS): Likewise.
12561 (ELF_NGREG): Use new struct user_regs_struct.
12562 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12563
af121e37
AZ
125642014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12565
12566 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12567 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12568
834caf06
JM
125692014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12570
12571 [BZ #16958]
12572 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12573 membar to avoid block loads/stores to overlap previous stores.
12574
e184a918
RH
125752014-05-17 Richard Henderson <rth@redhat.com>
12576
12577 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12578 Create the __##syscall_name##_nocancel entry point.
12579 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12580 Remove; let the sysdep-cancel.h code create it.
12581
f56c7a6a
DM
125822014-05-17 David S. Miller <davem@davemloft.net>
12583
12584 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12585 Protect with __USE_GNU.
12586 (TIOCSET_TEMPT): Likewise.
12587 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12588 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12589 these are already provided in bits/ioctl-types.h
12590
f75616b2
RM
125912014-05-16 Roland McGrath <roland@hack.frob.com>
12592
3edeca86
RM
12593 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12594 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12595
f75616b2
RM
12596 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12597 Use wait4 regardless of [__NR_waitpid].
12598
deb0f7f6
MR
125992014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12600
12601 PR libgcc/60166
12602 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12603 (_FP_NANSIGN_Q): Set the quiet bit.
12604
79520f4b
JM
126052014-05-16 Joseph Myers <joseph@codesourcery.com>
12606
12607 * benchtests/Makefile
12608 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12609 not $(common-objpfx)math/libm.so.
12610 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12611 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12612 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12613 $(common-objpfx)dlfcn/libdl.so.
12614 ($(objpfx)tst-audit8): Depend on $(libm), not
12615 $(common-objpfx)math/libm.so.
12616 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12617 not $(common-objpfx)dlfcn/libdl.so.
12618 * math/Makefile
12619 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12620 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12621 [$(build-shared) = yes].
12622 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12623 $(common-objpfx)nptl/libpthread.so.
12624 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12625 $(common-objpfx)math/libm.so$(libm.so-version) or
12626 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12627 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12628 $(common-objpfx)dlfcn/libdl.so.
12629 * setjmp/Makefile (link-libm): Remove variable.
12630 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12631 * stdio-common/Makefile (link-libm): Remove variable.
12632 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12633 * stdlib/Makefile (link-libm): Remove variable.
12634 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12635 ($(objpfx)tst-strtod-round): Likewise.
12636 ($(objpfx)tst-tininess): Likewise.
12637 ($(objpfx)tst-strtod-underflow): Likewise.
12638 ($(objpfx)tst-strtod6): Likewise.
12639 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12640 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12641 $(common-objpfx)dlfcn/libdl.so.
12642
026b0fe4
AZ
126432014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12644
12645 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12646 BSD terminal modes definitions.
12647
def4bcb2
RM
126482014-05-16 Roland McGrath <roland@hack.frob.com>
12649
fe39b021
RM
12650 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12651 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12652
1d1fc46e 12653 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12654 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12655 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12656 Don't do #include_next.
12657 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12658 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12659 Don't do #include_next.
12660 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12661 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12662 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12663 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12664
c72399fb
AM
126652014-05-16 Allan McRae <allan@archlinux.org>
12666
d51d659d
AM
12667 * po/sv.po: Update Swedish translation from translation project.
12668
c72399fb
AM
12669 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12670 in sed expression.
12671
d0583c40
AJ
126722014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12673
12674 [BZ #16917]
12675 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12676 errno if the TIOCGPTN ioctl fails with an error different than
12677 EINVAL.
12678 * login/tst-ptsname.c: New file.
12679 * login/Makefile (tests): Add tst-ptsname.
12680
d16e6ec7
AJ
12681 [BZ #16943]
12682 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12683 and prlimit64.
12684
cf26a0cb
SP
126852014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12686
12687 [BZ #16849]
12688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12689 herrno to return EAI_AGAIN.
12690
5675da1e
RM
126912014-05-14 Roland McGrath <roland@hack.frob.com>
12692
a5d87b3d
RM
12693 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12694 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12695 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12696 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12697 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12698 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12699 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12700 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12701 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12702 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12703 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12704 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12705 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12706 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12707 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12708 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12709 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12710 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12711 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12712 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12713 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12714 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12715 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12716 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12717 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12718 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12719 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12720 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12721 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12722 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12724 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12726 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12728 Moved ...
12729 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12731 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12733 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12735 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12737 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12739 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12741 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12743 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12745 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12747 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12749 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12751 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12753 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12755 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12757 Moved ...
12758 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12760 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12762 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12764 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12766 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12768 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12770 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12772 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12774 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12776 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12778 Moved ...
12779 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12781 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12782
039890a6
RM
12783 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12784 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12785 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12786 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12787 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12788 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12789 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12790 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12791 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12792 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12793 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12794 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12795 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12796 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12797 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12798 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12799 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12800 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12801 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12802 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12803 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12804 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12805 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12806 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12807 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12808 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12809 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12810 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12811 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12812 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12813 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12814
65c89320
RM
12815 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12816 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12817
348f8e8c
RM
12818 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12819 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12820 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12821 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12822 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12823 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12824 Moved ...
12825 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12826 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12827 Moved ...
12828 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12829 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12830 Moved ...
12831 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12832 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12833 Moved ...
12834 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12835 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12836 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12837 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12838 Moved ...
12839 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12840 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12841 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12842 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12843 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12844 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12845 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12846 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12847 Moved ...
12848 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12849 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12850 Moved ...
12851 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12852 ... here.
12853 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12854 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12855 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12856 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12858 Moved ...
12859 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12860 ... here.
12861 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12862 Moved ...
12863 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12864 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12865 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12867 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12868 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12869 Moved ...
12870 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12871 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12872 Moved ...
12873 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12874 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12875 Moved ...
12876 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12877 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12878 Moved ...
12879 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12880 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12881 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12882 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12883 Moved ...
12884 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12885 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12886 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12887 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12888 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12889 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12890 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12891 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12892 Moved ...
12893 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12894 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12895 Moved ...
12896 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12897 ... here.
12898 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12899 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12900 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12901 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12903 Moved ...
12904 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12905 ... here.
12906 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12907 Moved ...
12908 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12909 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12910 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12911 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12912 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12913 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12914 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12915 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12916 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12917 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12918 Moved ...
12919 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12921 Moved ...
12922 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12923 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12924 Moved ...
12925 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12927 Moved ...
12928 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12929 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12930 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12931 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12932 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12933 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12934 Moved ...
12935 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12936 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12937 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12938 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12939 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12940 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12941 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12943 Moved ...
12944 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12945 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12946 Moved ...
12947 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12948 ... here.
12949 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12950 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12951 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12952 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12953 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12954 Moved ...
12955 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12956 ... here.
12957 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12958 Moved ...
12959 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12960 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12961 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12962 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12963 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12964 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12965 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12966 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12967 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12969 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12970
5085af05
RM
12971 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12972 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12973
708f0813
RM
12974 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12975 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12976
c96067bc
RM
12977 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12978 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12979 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12980 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12981 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12982 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12983 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12984 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12985 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12986 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12987 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12988 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12989 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12990 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12991 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12993 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12994 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12995 Moved ...
12996 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12997 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12998 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12999 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13000 Moved ...
13001 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13003 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13004 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13005 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13006 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13007 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13008 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13009 Moved ...
13010 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13011 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13012 Moved ...
13013 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13014 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13015 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13016 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13017 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13018 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13019 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13020 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13021 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13022 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13023 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13024 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13025 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13026 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13027 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13028 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13029 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13030
ec136444
RM
13031 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13032 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13033 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13034 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13035 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13036
2fbdf533
RM
13037 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13038 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13039 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13040 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13041 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13042 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13043 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13044 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13045 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13046 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13047
4c68138b
RM
13048 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13050
4eaae765
RM
13051 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13052 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13053 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13054 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13055 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13056 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13057 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13058 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13059 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13060 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13061 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13062 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13063 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13064 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13066 Update #include.
13067 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13068 Likewise.
13069 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13070 Likewise.
13071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13072 Likewise.
13073 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13074 Likewise.
13075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13076 Likewise.
13077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13078 Likewise.
13079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13080 Likewise.
13081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13082 Likewise.
13083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13084 Likewise.
4ef6befa
RM
13085 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13086 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13087 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13088 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13089 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13090 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13091 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13092 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13093 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13094 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13095 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13096 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13097 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13098 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13099 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13100
941d7dfd
RM
13101 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13102 that was previously under [RESET_PID].
13103 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13104 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13105 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13106
1b731c35
RM
13107 * sysdeps/i386/nptl/Implies: New file.
13108 * sysdeps/x86_64/nptl/Implies: New file.
13109 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13110 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13111 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13112 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13113
e2787137
RM
13114 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13115 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13116 (__libc_vfork): New strong alias.
13117 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13118 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13119
13120 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13121 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13122 (__libc_vfork): New strong alias.
13123 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13124 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13125
5675da1e
RM
13126 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13127 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13128 (__libc_vfork): New strong alias.
13129 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13130 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13131 * nptl/pt-vfork.c: New file.
13132 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13133 (libpthread: GLIBC_2.20): New version set (empty).
13134
4f02e2b8
WN
131352014-05-14 Will Newton <will.newton@linaro.org>
13136
13137 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13138 rather than #if.
13139
0bf061d3
JM
131402014-05-14 Joseph Myers <joseph@codesourcery.com>
13141
1a84c3d6
JM
13142 [BZ #16564]
13143 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13144 arguments with exponent 65 or above.
13145 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13146 arguments 0x1p113L or above.
13147 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13148 to arguments 0x1p107L or above.
13149 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13150 positive arguments with exponent 65 or above.
13151 * math/auto-libm-test-in: Add more tests of log1p.
13152 * math/auto-libm-test-out: Regenerated.
13153
01dbacd2
JM
13154 [BZ #16928]
13155 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13156 non-finite arguments is +0.
13157 * math/s_cacosf.c (__cacosf): Likewise.
13158 * math/s_cacosl.c (__cacosl): Likewise.
13159 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13160 * sysdeps/i386/fpu/libm-test-ulps: Update.
13161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13162
913d03c8
JM
13163 [BZ #16927]
13164 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13165 value.
13166 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13167 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13168 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13169 for explicit high bit of mantissa when testing for argument equal
13170 to 1.
13171 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13172 * sysdeps/i386/fpu/libm-test-ulps: Update.
13173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13174
0bf061d3
JM
13175 [BZ #16516]
13176 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13177 (__erf): Scale by 16 instead of 8 in potentially underflowing
13178 case. Ensure exception if result actually underflows.
13179 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13180 (__erff): Scale by 16 instead of 8 in potentially underflowing
13181 case. Ensure exception if result actually underflows.
13182 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13183 (efx8): Remove variable.
13184 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13185 case. Ensure exception if result actually underflows.
13186 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13187 (efx8): Remove variable.
13188 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13189 case. Ensure exception if result actually underflows.
13190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13191 (efx8): Remove variable.
13192 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13193 case. Ensure exception if result actually underflows.
13194 * math/auto-libm-test-in: Add more tests of erf.
13195 * math/auto-libm-test-out: Regenerated.
13196
73ba67cb
AS
131972014-05-14 Andreas Schwab <schwab@suse.de>
13198
3d8c8bff
AS
13199 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13200 Remove code conditionalized on USE___THREAD.
13201
73ba67cb
AS
13202 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13203 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13204 not definedness.
13205
5c521ecd
JM
132062014-05-14 Joseph Myers <joseph@codesourcery.com>
13207
5e7698c6
JM
13208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13209 Define unconditionally.
13210 (__ASSUME_O_CLOEXEC): Likewise.
13211 (__ASSUME_SOCK_CLOEXEC): Likewise.
13212 (__ASSUME_IN_NONBLOCK): Likewise.
13213 (__ASSUME_PIPE2): Likewise.
13214 (__ASSUME_EVENTFD2): Likewise.
13215 (__ASSUME_SIGNALFD4): Likewise.
13216 (__ASSUME_DUP3): Likewise.
13217 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13218 (__ASSUME_DUP3): Do not define.
13219 (__ASSUME_EVENTFD2): Likewise.
13220 (__ASSUME_IN_NONBLOCK): Likewise.
13221 (__ASSUME_O_CLOEXEC): Likewise.
13222 (__ASSUME_PIPE2): Likewise.
13223 (__ASSUME_SIGNALFD4): Likewise.
13224 (__ASSUME_SOCK_CLOEXEC): Likewise.
13225 (__ASSUME_UTIMES): Undefine.
13226 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13227 (__ASSUME_UTIMES): Do not define.
13228 (__ASSUME_O_CLOEXEC): Likewise.
13229 (__ASSUME_SOCK_CLOEXEC): Likewise.
13230 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13231 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13232 0x020621].
13233 (__ASSUME_PIPE2): Likewise.
13234 (__ASSUME_EVENTFD2): Likewise.
13235 (__ASSUME_SIGNALFD4): Likewise.
13236 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13237 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13238 Do not define.
13239 (__ASSUME_EVENTFD2): Likewise.
13240 (__ASSUME_SIGNALFD4): Likewise.
13241 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13242 (__ASSUME_32BITUIDS): Likewise.
13243 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13244 (__ASSUME_IPC64): Likewise.
13245 (__ASSUME_ST_INO_64_BIT): Likewise.
13246 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13247 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13248 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13249 (__ASSUME_UTIMES): Do not define.
13250 (__ASSUME_PSELECT): Likewise.
13251 (__ASSUME_PPOLL): Likewise.
13252 (__ASSUME_O_CLOEXEC): Likewise.
13253 (__ASSUME_SOCK_CLOEXEC): Likewise.
13254 (__ASSUME_IN_NONBLOCK): Likewise.
13255 (__ASSUME_PIPE2): Likewise.
13256 (__ASSUME_EVENTFD2): Likewise.
13257 (__ASSUME_SIGNALFD4): Likewise.
13258 (__ASSUME_DUP3): Likewise.
13259 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13260 (__ASSUME_UTIMES): Likewise.
13261 (__ASSUME_O_CLOEXEC): Likewise.
13262 (__ASSUME_SOCK_CLOEXEC): Likewise.
13263 (__ASSUME_IN_NONBLOCK): Likewise.
13264 (__ASSUME_PIPE2): Likewise.
13265 (__ASSUME_EVENTFD2): Likewise.
13266 (__ASSUME_SIGNALFD4): Likewise.
13267 (__ASSUME_DUP3): Likewise.
13268 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13269 (__ASSUME_UTIMES): Likewise.
13270 (__ASSUME_O_CLOEXEC): Likewise.
13271 (__ASSUME_SOCK_CLOEXEC): Likewise.
13272 (__ASSUME_IN_NONBLOCK): Likewise.
13273 (__ASSUME_PIPE2): Likewise.
13274 (__ASSUME_EVENTFD2): Likewise.
13275 (__ASSUME_SIGNALFD4): Likewise.
13276 (__ASSUME_DUP3): Likewise.
13277 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13278 Likewise.
13279 (__ASSUME_UTIMES): Likewise.
13280 (__ASSUME_EVENTFD2): Likewise.
13281 (__ASSUME_SIGNALFD4): Likewise.
13282 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13283 (__ASSUME_O_CLOEXEC): Likewise.
13284 (__ASSUME_SOCK_CLOEXEC): Likewise.
13285 (__ASSUME_IN_NONBLOCK): Likewise.
13286 (__ASSUME_PIPE2): Likewise.
13287 (__ASSUME_EVENTFD2): Likewise.
13288 (__ASSUME_SIGNALFD4): Likewise.
13289 (__ASSUME_DUP3): Likewise.
13290 (__ASSUME_UTIMES): Undefine.
13291
5c521ecd
JM
13292 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13293 feclearexcept. Remove symbol versioning code.
13294 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13295 symbol versioning code.
13296 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13297 symbol versioning code.
13298 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13299 feupdateenv. Remove symbol versioning code.
13300 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13301 fegetexceptflag. Remove symbol versioning code.
13302 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13303 fesetexceptflag. Remove symbol versioning code.
13304 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13305 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13306 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13307 (__posix_fadvise64_l32): Remove prototype.
13308 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13309 code.
13310
5da9dfad
RM
133112014-05-13 Roland McGrath <roland@hack.frob.com>
13312
13313 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13314 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13315 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13316 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13317
893b4f37
SK
133182014-05-13 Sami Kerola <kerolasa@iki.fi>
13319
13320 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13321 current working directory
13322
e0db6517
RM
133232014-05-13 Roland McGrath <roland@hack.frob.com>
13324
58aa195d
RM
13325 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13326 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13327 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13328 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13329 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13330 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13331 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13332 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13333 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13334 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13335 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13336 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13337 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13338 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13339 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13340 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13341 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13342 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13343 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13344 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13345 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13346 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13347 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13348 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13349 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13350 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13351 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13352 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13353 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13354 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13355 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13356 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13357 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13358 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13359 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13360 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13361 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13362 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13363 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13364 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13365 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13366 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13367
8c6d01f0
RM
13368 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13369 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13370
13371 * sysdeps/unix/sysv/linux/arm/Makefile
13372 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13373 Add rt-aeabi_unwind_cpp_pr1.
13374 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13375 Add nptl-aeabi_unwind_cpp_pr1.
13376 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13377 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13378 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13379 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13380 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13381 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13382
13383 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13384 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13385 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13386 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13387
bba6da4e
RM
13388 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13389 Deconditionalize the code that was previously under [RESET_PID].
13390 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13391
e0db6517
RM
13392 * sysdeps/generic/exit-thread.h: New file.
13393 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13394 * include/unistd.h (__exit_thread): Remove declaration.
13395 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13396 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13397 * csu/libc-start.c: Include <exit-thread.h>.
13398 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13399 * nptl/pthread_create.c: Include <exit-thread.h>.
13400 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13401 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13402 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13403 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13404 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13405 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13406 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13407 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13408 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13409 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13410 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13411 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13412 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13413 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13414 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13415 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13416 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13417
01eb16fd
AS
134182014-05-13 Andreas Schwab <schwab@suse.de>
13419
13420 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13421
637461d9
JM
134222014-05-12 Joseph Myers <joseph@codesourcery.com>
13423
13424 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13425 (__ASSUME_UTIMES): Do not condition on kernel version.
13426 (__ASSUME_PSELECT): Define unconditionally.
13427 (__ASSUME_PPOLL): Likewise.
13428 (__ASSUME_ATFCTS): Likewise.
13429 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13430 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13431 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13432 (__ASSUME_UTIMENSAT): Define unconditionally.
13433 (__ASSUME_PRIVATE_FUTEX): Likewise.
13434 (__ASSUME_FALLOCATE): Likewise.
13435 (__ASSUME_O_CLOEXEC): Likewise.
13436 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13437 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13438 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13439 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13440 (__ASSUME_IN_NONBLOCK): Likewise.
13441 (__ASSUME_PIPE2): Likewise.
13442 (__ASSUME_EVENTFD2): Likewise.
13443 (__ASSUME_SIGNALFD4): Likewise.
13444 (__ASSUME_DUP3): Likewise.
13445 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13446 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13447 (__ASSUME_AT_RANDOM): Likewise.
13448 (__ASSUME_PREADV): Likewise.
13449 (__ASSUME_PWRITEV): Likewise.
13450 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13451 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13452 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13453 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13454 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13455 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13456 (__ASSUME_O_CLOEXEC): Define unconditionally.
13457 (__ASSUME_PSELECT): Do not undefine conditionally.
13458 (__ASSUME_PPOLL): Likewise.
13459 (__ASSUME_ATFCTS): Likewise.
13460 (__ASSUME_SET_ROBUST_LIST): Likewise.
13461 (__ASSUME_UTIMENSAT): Likewise.
13462 (__ASSUME_FDATASYNC): Define unconditionally.
13463 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13464 (__ASSUME_SIGFRAME_V2): Likewise.
13465 )__ASSUME_EVENTFD2): Likewise.
13466 (__ASSUME_SIGNALFD4): Likewise.
13467 (__ASSUME_PSELECT): Do not undefine conditionally.
13468 (__ASSUME_PPOLL): Likewise.
13469 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13470 (__ASSUME_PSELECT): Define unconditionally.
13471 (__ASSUME_PPOLL): Likewise.
13472 (__ASSUME_O_CLOEXEC): Likewise.
13473 (__ASSUME_SOCK_CLOEXEC): Likewise.
13474 (__ASSUME_IN_NONBLOCK): Likewise.
13475 (__ASSUME_PIPE2): Likewise.
13476 (__ASSUME_EVENTFD2): Likewise.
13477 (__ASSUME_SIGNALFD4): Likewise.
13478 (__ASSUME_DUP3): Likewise.
13479 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13480 (__ASSUME_O_CLOEXEC): Likewise.
13481 (__ASSUME_SOCK_CLOEXEC): Likewise.
13482 (__ASSUME_IN_NONBLOCK): Likewise.
13483 (__ASSUME_PIPE2): Likewise.
13484 (__ASSUME_EVENTFD2): Likewise.
13485 (__ASSUME_SIGNALFD4): Likewise.
13486 (__ASSUME_DUP3): Likewise.
13487 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13488 (__ASSUME_EVENTFD2): Likewise.
13489 (__ASSUME_SIGNALFD4): Likewise.
13490 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13491
315eb1d8
AS
134922014-05-12 Andreas Schwab <schwab@suse.de>
13493
13494 [BZ #16932]
13495 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13496 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13497 than maximum RPC packet size.
13498 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13499 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13500 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13501 (_nss_nis_getservbyport_r): Likewise.
13502
91df99f7
WN
135032014-05-12 Will Newton <will.newton@linaro.org>
13504
13505 * malloc/Makefile (tests): Add tst-mallopt.
13506 * malloc/tst-mallopt.c: New file.
13507
0a982a29
RM
135082014-05-09 Roland McGrath <roland@hack.frob.com>
13509
13510 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13511 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13512
0ded08a5
AZ
135132014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13514
13515 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13516 (tst-tlsmod6.so): Likewise.
13517
55d4d550
RM
135182014-05-09 Roland McGrath <roland@hack.frob.com>
13519
13520 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13521
77d08aca
JM
135222014-05-09 Joseph Myers <joseph@codesourcery.com>
13523
13524 [BZ #16064]
13525 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13526 and <dl-procinfo.h>.
13527 (__fegetenv): Save SSE state in envp->__eip if supported.
13528 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13529 envp->__eip if supported.
13530 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13531 and <dl-procinfo.h>.
13532 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13533 __data_offset and __data_selector in environment to 0. Set SSE
13534 state if supported.
13535 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13536 test-fenv-sse.
13537 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13538 -mfpmath=sse.
13539 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13540
28162f4d
WN
135412014-05-09 Will Newton <will.newton@linaro.org>
13542
13543 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13544 and libc_relro_required for ARM.
13545 * sysdeps/arm/preconfigure: Regenerate.
13546
5a414ff7
DV
135472014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13548 Stefan Liebler <stli@linux.vnet.ibm.com>
13549
13550 * config.make.in (enable-lock-elision): New Makefile variable.
13551 * configure.ac: Likewise.
13552 * configure: Regenerate.
13553 * sysdeps/s390/configure.ac:
13554 Add check for gcc transactions support.
13555 * sysdeps/s390/configure: Regenerate.
13556 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13557 Build elision files if enabled.
13558 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13559 Add lock elision support for s390.
13560 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13561 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13562 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13563 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13564 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13565 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13566 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13567 Likewise.
13568 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13569 Likewise.
13570 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13571 Likewise.
13572 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13573 Likewise.
13574 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13575 (__lll_timedlock_elision, __lll_lock_elision)
13576 (__lll_unlock_elision, __lll_trylock_elision)
13577 (lll_timedlock_elision, lll_lock_elision)
13578 (lll_unlock_elision, lll_trylock_elision): Add.
13579 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13580 (pthread_mutex_t): Add lock elision support for s390.
13581
1a2f40e5
W
135822014-05-14 Wilco <wdijkstr@arm.com>
13583
13584 * sysdeps/arm/fclrexcpt.c: Cleanup.
13585 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13586 * sysdeps/arm/feenablxcpt.c: Cleanup.
13587 * sysdeps/arm/fegetenv.c: Cleanup.
13588 * sysdeps/arm/fegetexcept.c: Cleanup.
13589 * sysdeps/arm/fegetround.c: Cleanup.
13590 * sysdeps/arm/feholdexcpt.c: Cleanup.
13591 * sysdeps/arm/fesetenv.c: Cleanup.
13592 * sysdeps/arm/fesetround.c: Cleanup.
13593 * sysdeps/arm/feupdateenv.c: Cleanup.
13594 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13595 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13596 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13597 * sysdeps/arm/ftestexcept.c: Cleanup.
13598 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13599 * sysdeps/arm/setfpucw.c: Cleanup.
13600
f63c86fe
WN
136012014-05-09 Will Newton <will.newton@linaro.org>
13602
13603 * sysdeps/arm/armv7/strcmp.S: New file.
13604 * NEWS: Mention addition of ARMv7 optimized strcmp.
13605
7a1a51b5
RM
136062014-05-08 Roland McGrath <roland@hack.frob.com>
13607
95afbbe5
RM
13608 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13609 look for %.ac rather than %.in.
13610
13611 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13612 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13613 * sysdeps/mach/hurd/configure: Regenerated.
13614 * sysdeps/unix/sysv/linux/configure: Regenerated.
13615
7a1a51b5
RM
13616 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13617
5057ad3b
SE
136182014-05-07 Steve Ellcey <sellcey@mips.com>
13619
13620 [BZ# 16922]
13621 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13622 (LONG_SUB): Ditto.
13623 (PTR_SUB): Ditto.
13624
8dc97517
AS
136252014-05-07 Andreas Schwab <schwab@suse.de>
13626
13627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13628 when skipping over non-matching result from nscd.
13629
ce0c5b8f
OB
136302014-05-07 Ondřej Bílka <neleai@seznam.cz>
13631
13632 [BZ #16876]
13633 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13634
a1189263
OB
13635 [BZ #16877]
13636 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13637 nscd security class.
ce0c5b8f 13638
0f58d252
RM
136392014-05-06 Roland McGrath <roland@hack.frob.com>
13640
13641 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13642 * sysdeps/arm/unwind.h: ... here.
13643
83df9ad0
AJ
136442014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13645
ce0c5b8f
OB
13646 [BZ# 16916]
13647 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13648 Define.
83df9ad0 13649
f360f94a
VR
136502014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13651
13652 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13653 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13654 multiarch strncpy for PPC64.
13655 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13656 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13658 multiarch optimizations.
13659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13660 (__libc_ifunc_impl_list): Likewise.
13661 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13662 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13663 multiarch stpncpy for PPC64.
13664 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13665 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13666
978a41c3
AS
136672014-05-06 Andreas Schwab <schwab@suse.de>
13668
13669 [BZ #16912]
13670 * gmon/mcount.c (_MCOUNT_DECL): Use
13671 atomic_compare_and_exchange_bool_acq instead of
13672 catomic_compare_and_exchange_bool_acq.
13673
eb1ed03d
RM
136742014-05-05 Roland McGrath <roland@hack.frob.com>
13675
fe658845
RM
13676 * elf/Makefile (others, install-bin): Remove pldd.
13677 (pldd-modules): Variable removed.
13678 ($(objpfx)pldd): Target removed.
13679 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13680 (others, install-bin): Append pldd here.
13681 ($(objpfx)pldd): New target.
13682
eb1ed03d
RM
13683 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13684 to 0, so the first #if test emitted later doesn't see it undefined.
13685 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13686 * sysdeps/gnu/errlist.c: Regenerated.
13687
19c4bec0
AZ
136882014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13689
13690 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13691 [libc_hidden_builtin_def]: Define to empty value.
13692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13693 [libc_hidden_builtin_def]: Likewise.
13694 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13695 [libc_hidden_builtin_def]: Likewise.
13696 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13697 [libc_hidden_builtin_def]: Likewise.
13698 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13699 __redirect_memcpy and define ifunc as default hidden symbol.
13700 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13701 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13702
7776e669
AC
137032014-05-04 Adam Conrad <adconrad@0c3.net>
13704
13705 * locale/iso-4217.def: Reintroduce XDR currency.
13706
d69aeb12
AM
137072014-05-04 Allan McRae <allan@archlinux.org>
13708
13709 * po/eo.po: Update Esperanto translation from translation project.
13710
8f1df5cf
CD
137112014-05-02 Carlos O'Donell <carlos@redhat.com>
13712
13713 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13714 and FEATURE_INDEX_MAX to 1.
13715 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13716
13e402e7
SE
137172014-05-01 Steve Ellcey <sellcey@mips.com>
13718
13719 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13720 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13721 * iconvdata/big5.c (ONE_DIRECTION): Define.
13722 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13723 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13724 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13725 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13726 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13727 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13728 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13729 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13730 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13731 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13732 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13733 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13734 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13735 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13736 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13737 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13738 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13739 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13740 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13741 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13742 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13743 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13744 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13745 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13746 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13747 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13748 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13749 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13750 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13751 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13752 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13753 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13754 * iconvdata/johab.c (ONE_DIRECTION): Define.
13755 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13756 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13757 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13758 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13759 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13760 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13761 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13762 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13763 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13764 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13765
c727f032
RM
137662014-05-01 Roland McGrath <roland@hack.frob.com>
13767
8f2f08d0
RM
13768 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13769 (_IO_JUMPS_OFFSET): Define to 0.
13770
c727f032
RM
13771 * nptl/sysdeps/pthread/bits/libc-lock.h
13772 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13773 (__libc_lock_define_initialized_recursive): Always define using
13774 initializer. Modern compilers treat uninitialized (implicit zero) and
13775 explicit zero initializers the same (i.e. put the datum in bss).
13776
a849e800
AS
137772014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13778
13779 * nscd/nscd-client.h: Include <string.h>.
13780
5331255b
DM
137812014-05-01 David S. Miller <davem@davemloft.net>
13782
13783 [BZ #16885]
13784 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13785 multiple zero bytes exist at the end of a string.
13786 Reported by Aurelien Jarno <aurelien@aurel32.net>
13787
13788 * string/test-strcmp.c (check): Add explicit test for situations where
13789 there are multiple zero bytes after the first.
13790
4fdfe821
AS
137912014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13792
13793 [BZ #16890]
13794 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13795 when compiling wprintf.
13796 * stdio-common/tstdiomisc.c (t3): New function.
13797 (main): Call it.
13798
0cdddc25
SE
137992014-05-01 Steve Ellcey <sellcey@mips.com>
13800
13801 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13802 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13803 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13804 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13805
6426d77e
SE
138062014-05-01 Steve Ellcey <sellcey@mips.com>
13807
13808 * stdlib/longlong.h: Updated from GCC.
13809
6d96f5e4
WN
138102014-05-01 Will Newton <will.newton@linaro.org>
13811 Bernard Ogden <bernie.ogden@linaro.org>
13812
7470db0c
WN
13813 * NEWS: Update fixed bug list.
13814
6d96f5e4
WN
13815 [BZ #15119]
13816 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13817
211d653c
DM
138182014-04-30 David S. Miller <davem@davemloft.net>
13819
4fa262fa
DM
13820 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13821 (libc_feholdexcept_setround_sparc_ctx): New function.
13822 (libc_fesetenv_sparc_ctx): Likewise.
13823 (libc_feupdateenv_sparc_ctx): Likewise.
13824 (libc_feholdsetround_sparc_ctx): Likewise.
13825 (libc_feholdexcept_setround_ctx): Define.
13826 (libc_feholdexcept_setroundf_ctx): Likewise.
13827 (libc_feholdexcept_setroundl_ctx): Likewise.
13828 (libc_fesetenv_ctx): Likewise.
13829 (libc_fesetenvf_ctx): Likewise.
13830 (libc_fesetenvl_ctx): Likewise.
13831 (libc_feupdateenv_ctx): Likewise.
13832 (libc_feupdateenvf_ctx): Likewise.
13833 (libc_feupdateenvl_ctx): Likewise.
13834 (libc_feresetround_ctx): Likewise.
13835 (libc_feresetroundf_ctx): Likewise.
13836 (libc_feresetroundl_ctx): Likewise.
13837 (libc_feholdsetround_ctx): Likewise.
13838 (libc_feholdsetroundf_ctx): Likewise.
13839 (libc_feholdsetroundl_ctx): Likewise.
13840
1d3d93ef
DM
13841 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13842 with __USE_GNU instead of XOPEN cpp guards.
13843
8aa583c3
DM
13844 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13845 0.
13846
211d653c
DM
13847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13848 with XOPEN cpp guards.
13849
60c8f1f6
JB
138502014-04-30 Julian Brown <julian@codesourcery.com>
13851
13852 [BZ #16888]
13853 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13854 handling.
13855
9a461d46
JM
138562014-04-30 Joseph Myers <joseph@codesourcery.com>
13857
d0f5b3f8
JM
13858 [BZ #9894]
13859 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13860 Change to 2.6.32.
13861 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13862 * sysdeps/unix/sysv/linux/configure: Regenerated.
13863 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13864 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13865 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13866 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13867 * README: Update reference to required Linux kernel version.
13868 * manual/install.texi (Linux): Update reference to required Linux
13869 kernel headers version.
13870 * INSTALL: Regenerated.
13871
9a461d46
JM
13872 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13873 header inclusion.
13874 [POSIX] (limits.h): Likewise.
13875 [POSIX] (math.h): Likewise.
13876 [POSIX] (sys/wait.h): Likewise.
13877 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13878 function.
13879 [POSIX] (stddef.h): Do not allow header inclusion.
13880
1775babf
AZ
138812014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13882
57f41c40 13883 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13884
8f630cca
YY
138852014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13886
13887 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13888 Return immediately after lll_futex_wake.
13889
1cdeb237
SP
138902014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13891
bc8f194c
SP
13892 [BZ #16791]
13893 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13894 structure.
13895 (datahead_init_pos): Call datahead_init_common early.
13896 (datahead_init_neg): Likewise.
13897
1cdeb237
SP
13898 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13899 datahead_init_neg): New functions.
13900 * nscd/aicache.c (addhstaiX): Use them.
13901 * nscd/grpcache.c (cache_addgr): Likewise.
13902 * nscd/hstcache.c (cache_addhst): Likewise.
13903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13904 * nscd/netgroupcache.c (do_notfound): Likewise.
13905 (addgetnetgrentX): Likewise.
13906 (addinnetgrX): Likewise.
13907 * nscd/pwdcache.c (cache_addpw): Likewise.
13908 * nscd/servicescache.c (cache_addserv): Likewise.
13909
16b293a7
SP
139102014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13911 Atsushi Onoe <atsushi@onoe.org>
13912
13913 [BZ #14308]
13914 [BZ #12994]
13915 [BZ #13651]
13916 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13917 one response is valid.
13918 * resolv/res_send.c (send_dg): Check for validity of other
13919 response if the current response is a referral.
13920
a28a9b94
SE
139212014-04-29 Steve Ellcey <sellcey@mips.com>
13922
13923 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13924
2ca180e9
SL
139252014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13926
13927 [BZ #16823]
13928 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13929 Always divide by positive zero when computing -Inf result.
13930 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13931 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13932
18f2945a
AZ
139332014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13934
13935 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13936 FPSCR if value do not change.
13937 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13938 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13939 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13940 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13941 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13942 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13943 function.
13944
5abebba4
CD
139452014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13946
13947 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13948 * sysdeps/unix/sysv/linux/hppa: Move directory from
13949 ports/systeps/unix/sysv/linux/hppa.
13950 * README: Update listing for hppa-*-linux-gnu.
13951
f7ed60c2
OB
139522014-04-28 Ondřej Bílka <neleai@seznam.cz>
13953
fff763a5
OB
13954 [BZ #16754]
13955 * manual/stdio.texi (Hook functions): Fix types of stream hook
13956 functions.
f7ed60c2
OB
13957 [BZ #16854]
13958 * socket/sys/socket.h: Fix typo in comment.
13959
df639d73
WD
139602014-04-28 Wilco <wdijkstr@arm.com>
13961
f7ed60c2 13962 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13963 * sysdeps/arm/math_private.h: New file.
13964 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13965
48332d82
L
139662014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13967
13968 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13969 with __int128_t.
13970 (La_x86_64_retval): Likewise.
13971
e5e0d9a4
IB
139722014-04-24 Ian Bolton <ian.bolton@arm.com>
13973
13974 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13975 fpsr if value didn't change.
13976 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13977 to fpcr if value didn't change.
13978 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13979 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13980 fpsr or fpcr if value didn't change.
13981 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13982 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13983 fpcr if value didn't change.
13984 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13985 to fpsr if value didn't change.
13986
bacc75f7
SP
139872014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13988
13989 * nptl/tst-sem3.c: Use test-skeleton.c
13990 (main): Rename to do_test. Use return instead of
13991 exit.
13992 * nptl/tst-sem4.c: Use test-skeleton.c
13993 (main): Rename to do_test.
13994
a059d359
DM
139952014-04-22 David S. Miller <davem@davemloft.net>
13996
13997 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13998 (struct sigaction): New struct member __glibc_reserved0, change
13999 type of sa_flags to int.
14000
ea6c92f3
YZ
140012014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14002
14003 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14004 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14005
766c4a36
SP
140062014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14007
14008 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14009 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14010
140cc7ab
VK
140112014-04-22 Will Newton <will.newton@linaro.org>
14012 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14013
14014 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14015 (__longjmp): Add longjmp and longjmp_target SystemTap
14016 probes.
14017 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14018 (__sigsetjmp): Add setjmp SystemTap probe.
14019
c54e5cf7
CD
140202014-04-17 Carlos O'Donell <carlos@redhat.com>
14021
14022 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14023 match manual order.
14024
75ffb047
AZ
140252014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14026
14027 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14028
2cd925f7
AZ
14029 * sysdeps/powerpc/fpu/fenv_private.h
14030 (libc_feholdexcept_setroundl_ctx): Define to
14031 libc_feholdexcept_setround_ppc_ctx.
14032 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14033 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14034 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14035 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14036
39e6cd8d
IB
140372014-04-17 Ian Bolton <ian.bolton@arm.com>
14038
14039 * sysdeps/aarch64/math-tests.h: New file.
14040
f9281df9
SY
140412014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14042
14043 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14044 New.
14045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14046 Check and set bit_AVX2_Usable.
14047 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14048 macro.
14049 (bit_AVX2): Likewise.
14050 (index_AVX2_Usable): Likewise.
14051 (CPUID_AVX2): Likewise.
14052 (HAS_AVX2): Likewise.
14053
37d35007
WN
140542014-04-17 Will Newton <will.newton@linaro.org>
14055
7c677662
WN
14056 * manual/setjmp.texi (System V contexts): Add note that
14057 calling setcontext on a context created by a call to a
14058 signal handler is undefined. Update text to note that
14059 setcontext from a signal handler is possible but not
14060 recommended.
14061
37d35007 14062 [BZ #16629]
e04a4e9d
WN
14063 * stdlib/tst-setcontext.c: Include signal.h.
14064 (main): Check that the signal stack before and
14065 after swapcontext is the same.
14066
37d35007
WN
14067 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14068 Re-implement to restore registers in user code and avoid
14069 rt_sigreturn system call.
14070
423a7160
W
140712014-04-17 Wilco <wdijkstr@arm.com>
14072
14073 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14074 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14075 * math/test-fenv.c: Skip exception trap tests on targets which only
14076 support non-stop mode.
14077
bc93ab29
IB
140782014-04-17 Ian Bolton <ian.bolton@arm.com>
14079 Wilco Dijkstra <wilco.dijkstra@arm.com>
14080
14081 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14082 (libc_feholdsetround_aarch64_ctx)
14083 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14084 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14085 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14086 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14087 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14088 (libc_feresetround_noexl_ctx): Define.
14089
95fc5fa3
RH
140902014-04-16 Richard Henderson <rth@redhat.com>
14091
ddb04724
RH
14092 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14093
d77c0899
RH
14094 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14095 unwind tables.
14096
a3df56fc
RH
14097 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14098 const from the non-libc, non-ldso copy.
14099
95fc5fa3
RH
14100 * sysdeps/alpha/libm-test-ulps: Regenerate.
14101
7e0b6763
IB
141022014-04-16 Ian Bolton <ian.bolton@arm.com>
14103 Wilco Dijkstra <wilco.dijkstra@arm.com>
14104
14105 * sysdeps/aarch64/fpu/math_private.h: New file.
14106
a9ea2e0c
MS
141072014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14108
14109 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14110
ea8ba7cd
IZ
141112014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14112
7e54fd04 14113 [BZ #16275]
ea8ba7cd
IZ
14114 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14115 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14117 Intel MPX bound registers before _dl_profile_fixup.
14118 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14119 registers after _dl_profile_fixup. Save and restore bound
14120 registers bnd0/bnd1 when calling _dl_call_pltexit.
14121 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14122 (LR_BND_OFFSET): Likewise.
14123 (LRV_BND0_OFFSET): Likewise.
14124 (LRV_BND1_OFFSET): Likewise.
14125
9f2a4fbc
ST
141262014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14127
14128 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14129 to...
14130 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14131 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14132 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14133 fields.
9f2a4fbc 14134
fd15a59b
ST
141352014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14136
14137 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14138
f19dfa0a
SL
141392014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14140
14141 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14142
4fa8bc3b
SL
141432014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14144
14145 [BZ #14770]
14146 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14147 * sysdeps/s390/configure: Regenerate.
14148
8ea587db
SL
14149 [BZ #16824]
14150 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14151 Set round-to-nearest internally to reduce error accumulation.
14152
aa5f0ff1
AM
141532014-04-16 Alan Modra <amodra@gmail.com>
14154
14155 [BZ #16740]
14156 [BZ #16619]
14157 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14158 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14159 * NEWS: Update fixed bug list.
aa5f0ff1 14160
bb9c256f
SP
141612014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14162
14163 * benchtests/Makefile: Depend on libraries in build directory.
14164 (bench-math): Separate out math tests.
14165 (bench-pthread): Separate out pthread tests.
14166 (bench): Include math and pthread tests.
14167
f737dfd0
CD
141682014-04-14 Carlos O'Donell <carlos@redhat.com>
14169
14170 [BZ #16831]
14171 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14172 _dl_debug_initialize.
14173
0699f766
CD
14174 * configure.ac: Remove SELinux header check.
14175 * configure: Regenerate.
14176 * nscd/selinux.c (perms): Array of const char* to permission names.
14177 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14178 default policy. Call string_to_security_class and string_to_av_perm to
14179 translate strings. Enforce default policy and call avs_has_perm with
14180 results of translated strings.
14181
809bd45f
DM
141822014-04-13 David S. Miller <davem@davemloft.net>
14183
14184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14185
89e691f2
AM
141862014-04-12 Allan McRae <allan@archlinux.org>
14187
14188 [BZ #16838]
14189 * manual/string.texi (Collation Functions): Fix qsort argument
14190 order in example.
14191 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14192
9c9daaeb
CM
141932014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14194
14195 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14196 Make the test a no-op if there are no exceptions defined.
14197
95561fb9
PP
141982014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14199
fe8d072c 14200 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14201 enable-hardcoded-path-in-tests
14202
970c602a
WN
142032014-04-11 Will Newton <will.newton@linaro.org>
14204
14205 * benchtests/Makefile (extra-objs): Add json-lib.o.
14206 (bench-func): Tidy up JSON output.
14207 * benchtests/bench-skeleton.c: Include json-lib.h.
14208 (main): Use JSON library functions to do output of
14209 benchmark results.
14210 * benchtests/bench-timing-type.c (main): Output the
14211 timing type simply, leaving formatting to the user.
14212 * benchtests/json-lib.c: New file.
14213 * benchtests/json-lib.h: Likewise.
14214
36875b06
TR
142152014-04-11 Torvald Riegel <triegel@redhat.com>
14216
14217 [BZ #15215]
14218 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14219 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14220 memory barriers. Add comments.
14221 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14222 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14223 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14224 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14225 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14226 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14227
579db35a
SL
142282014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14229
14230 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14231 * sysdeps/s390/s390-64/configure.ac: ... this ...
14232 * sysdeps/s390/configure.ac: ... to here.
14233 * sysdeps/s390/s390-32/configure: Delete file.
14234 * sysdeps/s390/s390-64/configure: Delete file.
14235 * sysdeps/s390/configure: Regenerate.
14236
c12e9f37
JAPH
142372014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14238
14239 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14240
439bda32
WN
142412014-04-11 Will Newton <will.newton@linaro.org>
14242
14243 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14244 to zero if it is not defined elsewhere. (mtrim): Test
14245 the value of MALLOC_DEBUG with #if rather than #ifdef.
14246
6a5d6ea1
TR
142472014-04-10 Torvald Riegel <triegel@redhat.com>
14248
14249 * benchtests/pthread_once-inputs: New file.
14250 * benchtests/pthread_once-source.c: New file.
14251 * benchtests/README: Update documentation.
14252
a4c75cfd
IZ
142532014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14254 H.J. Lu <hongjiu.lu@intel.com>
14255
7e54fd04 14256 [BZ #16275]
a4c75cfd
IZ
14257 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14258 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14259 * sysdeps/x86_64/configure: Regenerated.
14260 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14261 macro.
14262 (REGISTER_SAVE_RAX): Likewise.
14263 (REGISTER_SAVE_RCX): Likewise.
14264 (REGISTER_SAVE_RDX): Likewise.
14265 (REGISTER_SAVE_RSI): Likewise.
14266 (REGISTER_SAVE_RDI): Likewise.
14267 (REGISTER_SAVE_R8): Likewise.
14268 (REGISTER_SAVE_R9): Likewise.
14269 (REGISTER_SAVE_BND0): Likewise.
14270 (REGISTER_SAVE_BND1): Likewise.
14271 (REGISTER_SAVE_BND2): Likewise.
14272 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14273 bound registers when calling _dl_fixup.
14274
27822ce6
AZ
142752014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14276
14277 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14278 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14279 of its definition.
27822ce6
AZ
14280 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14281 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14282 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14283 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14284 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14285 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14286 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14287
a88ddc90
PTB
142882014-04-09 Peter Brett <peter@peter-b.co.uk>
14289
14290 [BZ #15514]
14291 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14292 pathconf(_PC_NAME_MAX).
14293
01f8eac2
AZ
142942014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14295
14296 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14297 Remove macro usage.
14298 (__PTHREAD_SPINS): Move definition to ...
14299 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14300 (__PTHREAD_SPINS): ... here.
14301 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14302 (__PTHREAD_SPIN): Likewise.
14303 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14304 (__PTHREAD_SPIN): Likewise.
14305 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14306 (__PTHREAD_SPIN): Likewise.
14307 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14308 (__PTHREAD_SPIN): Likewise.
14309 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14310 (__PTHREAD_SPIN): Likewise.
14311 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14312 (__PTHREAD_SPIN): Likewise.
14313 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14314 (__PTHREAD_SPIN): Likewise.
14315 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14316 (__PTHREAD_SPIN): Likewise.
14317 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14318 (__PTHREAD_SPIN): Likewise.
14319 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14320 (__PTHREAD_SPIN): Likewise.
14321 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14322 (__PTHREAD_SPIN): Likewise.
14323 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14324 (__PTHREAD_SPIN): Likewise.
14325
de21c33c
AZ
14326 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14327 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14328 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14329 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14330 imply folder.
14331 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14332 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14333 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14334 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14335 correct imply path.
14336 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14337 strlen symbol for non multi-arch builds.
14338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14339 missing hidden_def and weak_alias.
14340
862c472e
CD
143412014-04-08 Carlos O'Donell <carlos@redhat.com>
14342
14343 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14344
8667f90e
WN
143452014-04-07 Will Newton <will.newton@linaro.org>
14346
14347 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14348 and contents. [!_LIBC] Remove #ifndef and contents.
14349 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14350 * string/memccpy.c (__memccpy): Use ANSI prototype.
14351 * string/memfrob.c (memfrob): Likewise.
14352 * string/strcoll.c (STRCOLL): Likewise.
14353 * string/strlen.c (strlen): Likewise.
14354 * string/strtok.c (STRTOK): Likewise.
14355 * string/strcat.c: Remove unused #include of memcopy.h.
14356 (strcat): Use ANSI prototype.
14357 * string/strchr.c: Remove unused #include of memcopy.h.
14358 (strchr): Use ANSI prototype.
14359 * string/strcmp.c: Remove unused #include of memcopy.h.
14360 (strcmp): Use ANSI prototype.
14361 * string/strcpy.c: Remove unused #include of memcopy.h.
14362 (strcpy): Use ANSI prototype.
14363
7ffa9423
AZ
143642014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14365
14366 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14367 * config.make.in (config-extra-cppflags): Set it from
14368 libc_extra_cppflags.
14369 * configure.ac (libc_extra_cflags): Make it accumulate over
14370 configure fragments.
14371 (libc_extra_cppflags): New flag.
14372 * configure. Regenerate.
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14374 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14375 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14377
8bd70862
AZ
14378 [BZ #16815]
14379 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14380 result for FE_DOWNWARD rounding mode.
14381 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14382 Likewise.
14383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14384
d42f3448
CM
143852014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14386
14387 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14388 in function argument name.
14389
1c21d115
DS
143902014-04-03 David Svoboda <svoboda@cert.org>
14391
14392 [BZ #5666]
14393 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14394 explicitly.
14395
fcccd512
RM
143962014-04-03 Roland McGrath <roland@hack.frob.com>
14397
14398 * elf/dl-unmap-segments.h: New file.
14399 * sysdeps/generic/ldsodefs.h
14400 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14401 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14402 * elf/dl-fptr.c: Likewise.
14403 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14404 * sysdeps/aarch64/tlsdesc.c: Likewise.
14405 * sysdeps/arm/tlsdesc.c: Likewise.
14406 * sysdeps/i386/tlsdesc.c: Likewise.
14407 * sysdeps/tile/dl-runtime.c: Likewise.
14408 * sysdeps/x86_64/tlsdesc.c: Likewise.
14409 * elf/dl-load.h: New file.
14410 * elf/dl-load.c: Include it.
14411 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14412 Macros moved to dl-load.h.
14413 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14414 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14415 Use _dl_unmap_segments in place of __munmap.
14416 Break out segment-mapping loop into ...
14417 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14418
f6488e2b
WN
144192014-04-03 Will Newton <will.newton@linaro.org>
14420
14421 * elf/dl-lookup.c (do_lookup_x): Remove comment
14422 referring to nested function and move variable
14423 declarations down to before first use.
14424
6f05bafe
JM
144252014-04-02 Joseph Myers <joseph@codesourcery.com>
14426
a84e78c8
JM
14427 [BZ #16799]
14428 [BZ #16800]
14429 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14430 with 0 numerator.
14431 * math/s_catanf.c (__catanf): Likewise.
14432 * math/s_catanh.c (__catanh): Likewise.
14433 * math/s_catanhf.c (__catanhf): Likewise.
14434 * math/s_catanhl.c (__catanhl): Likewise.
14435 * math/s_catanl.c (__catanl): Likewise.
14436 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14437 by positive zero when computing -Inf result.
14438 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14439 (catanh_test): Likewise.
14440 * sysdeps/i386/fpu/libm-test-ulps: Update.
14441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14442
6f05bafe
JM
14443 [BZ #16789]
14444 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14445 instead of using underflowing value in computing result.
14446 * math/s_clog10.c (__clog10): Likewise.
14447 * math/s_clog10f.c (__clog10f): Likewise.
14448 * math/s_clog10l.c (__clog10l): Likewise.
14449 * math/s_clogf.c (__clogf): Likewise.
14450 * math/s_clogl.c (__clogl): Likewise.
14451 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14452 (clog10_test): Likewise.
14453 * sysdeps/i386/fpu/libm-test-ulps: Update.
14454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14455
b0abbc21
AM
144562014-04-02 Alan Modra <amodra@gmail.com>
14457
14458 [BZ #16739]
14459 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14460 output when value is near a power of two. Use int64_t for lx and
14461 remove casts. Use decimal rather than hex exponent constants.
14462 Don't use long double multiplication when double will suffice.
14463 * math/libm-test.inc (nextafter_test_data): Add tests.
14464 * NEWS: Add 16739 and 16786 to bug list.
14465
af6b1797
AM
14466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14467
483818d7
AM
14468 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14469
f6c55796
WN
144702014-04-01 Will Newton <will.newton@linaro.org>
14471
14472 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14473 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14474
13f7fe35
FW
144752014-04-01 Florian Weimer <fweimer@redhat.com>
14476
14477 [BZ #13347]
14478 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14479 * nptl/tst-setuid2.c: New file.
14480 * nptl/Makefile (xtests): Add tst-setuid2.
14481
c859b32e
AM
144822014-04-01 Alan Modra <amodra@gmail.com>
14483
14484 [BZ #16786]
14485 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14486
54fa2475
JM
144872014-03-31 Joseph Myers <joseph@codesourcery.com>
14488
8795b4a4
JM
14489 [BZ #6803]
14490 [BZ #6804]
14491 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14492 set errno as appropriate.
14493 * math/w_scalbf.c (__scalbf): Likewise.
14494 * math/w_scalbl.c (__scalbl): Likewise.
14495 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14496 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14497 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14498 Add more NaN tests.
14499
54fa2475
JM
14500 [BZ #16349]
14501 * math/w_atan2.c: Include <errno.h>.
14502 (__atan2): Set errno for result underflowing to zero.
14503 * math/w_atan2f.c: Include <errno.h>.
14504 (__atan2f): Set errno for result underflowing to zero.
14505 * math/w_atan2l.c: Include <errno.h>.
14506 (__atan2l): Set errno for result underflowing to zero.
14507 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14508 tests.
14509 * math/auto-libm-test-out: Regenerated.
14510
757d9dd5
AZ
145112014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14512
14513 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14514 Encode instruction correctly in little endian.
14515 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14516 Likewise.
14517 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14518 Likewise.
14519 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14520 Likewise.
14521 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14522 Likewise.
14523
d7a68734
JM
145242014-03-31 Joseph Myers <joseph@codesourcery.com>
14525
47c5adeb
JM
14526 [BZ #9894]
14527 * sysdeps/unix/sysv/linux/kernel-features.h
14528 [__sparc__ && !__arch64__ && !__sparc_v9__]
14529 (__ASSUME_SET_ROBUST_LIST): Do not define.
14530 [__sparc__ && !__arch64__ && !__sparc_v9__]
14531 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14532 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14533 Likewise.
14534 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14535 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14536 (__ASSUME_REQUEUE_PI): Likewise.
14537 (__ASSUME_SET_ROBUST_LIST): Likewise.
14538 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14539 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14540 Undefine.
14541 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14542 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14543 Likewise.
14544 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14545 Likewise.
14546 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14547 Likewise.
14548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14549 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14550 Undefine.
14551 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14552 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14553 Likewise.
14554
d7a68734
JM
14555 [BZ #16648]
14556 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14557 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14558 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14559
c760f5c2
WN
145602014-03-31 Will Newton <will.newton@linaro.org>
14561
14562 * benchtests/Makefile (bench): Add ffs and ffsll to list
14563 of tests.
14564 * benchtests/ffs-inputs: New file.
14565 * benchtests/ffsll-inputs: Likewise.
14566
ea6029b1
JM
145672014-03-29 Joseph Myers <joseph@codesourcery.com>
14568
14569 [BZ #16770]
14570 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14571 too large before casting to int.
14572 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14573 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14574 * math/libm-test.inc (scalb_test_data): Add more tests.
14575
cf806aff
SP
145762014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14577
56737508
SP
14578 * benchtests/Makefile (DETAILED_OPT): New make option.
14579 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14580 set.
14581 * benchtests/bench-skeleton.c: Include stdbool.h.
14582 (main): Store and print timings per input.
14583 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14584 member to each argument value.
14585 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14586 (_print_arg_data): Initialize per-input timing to 0.
14587
cb5e4aad
SP
14588 * benchtests/Makefile (timing-type): New binary.
14589 (bench-clean): Also remove bench-timing-type.
14590 (bench): New target for timing-type.
14591 (bench-func): Print output in JSON format.
14592 * benchtests/bench-skeleton.c (main): Print output in JSON
14593 format.
14594 * benchtests/bench-timing-type.c: New file.
14595 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14596 (TIMING_PRINT_STATS): Remove.
14597 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14598 name separately.
14599
cf806aff
SP
14600 * benchtests/bench-modf.c: Remove.
14601 * benchtests/modf-inputs: New inputs file.
14602
289e0779
JM
146032014-03-28 Joseph Myers <joseph@codesourcery.com>
14604
14605 [BZ #16362]
14606 * math/s_clog10.c (M_PI_LOG10E): New macro.
14607 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14608 imaginary parts are 0.
14609 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14610 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14611 imaginary parts are 0.
14612 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14613 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14614 imaginary parts are 0.
14615 * math/libm-test.inc (clog10_test_data): Update expected results
14616 for when real and imaginary parts are 0.
14617
277ae3f1
PP
146182014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14619
14620 * elf/dl-load.c: Finish conversion of __builtin_expect into
14621 __glibc_{un}likely.
14622
03a7091f
JM
146232014-03-27 Joseph Myers <joseph@codesourcery.com>
14624
14625 [BZ #16348]
14626 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14627 1+x for argument with exponent below -67.
14628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14629 Likewise.
14630 * math/auto-libm-test-in: Add more tests of exp.
14631 * math/auto-libm-test-out: Regenerated.
14632
ea7d8b95
SP
146332014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14634
dd3022d7
SP
14635 [BZ #16759]
14636 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14637 (nscd_getnetgrent): Use it.
14638
ea7d8b95
SP
14639 [BZ #16760]
14640 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14641 of stpcpy.
14642
df5b85da
AK
146432014-03-27 Andi Kleen <ak@linux.intel.com>
14644
57f41c40
AS
14645 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14646 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14647 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14648 (lll_robust_unlock): Remove out of line section. Use cfi
14649 intrinsics.
df5b85da 14650 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14651 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14652 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14653 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14654 (lll_robust_unlock): Remove out of line section. Use cfi
14655 intrinsics.
df5b85da
AK
14656 (LLL_STUB_UNWIND_INFO*): Remove.
14657
fbd6b5a4
SP
146582014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14659
14660 [BZ #16758]
14661 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14662 blank values.
14663
1b26b855
PP
146642014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14665
14666 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14667
9be36fb8
JM
146682014-03-26 Joseph Myers <joseph@codesourcery.com>
14669
14670 [BZ #16198]
14671 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14672 fnstenv.
14673 * math/test-fenv-preserve.c: New file.
14674 * math/Makefile (tests): Add test-fenv-preserve.
14675
60a2f3c1
WN
146762014-03-26 Will Newton <will.newton@linaro.org>
14677
14678 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14679
a5e5f1e2
RM
146802014-03-25 Roland McGrath <roland@hack.frob.com>
14681
14682 * scripts/versionlist.awk: Partition the version sets and emit all
14683 GLIBC_* (sorted) before all others (sorted).
14684
00f4012a
JM
146852014-03-25 Joseph Myers <joseph@codesourcery.com>
14686
14687 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14688 GLIBC_2.2.5 version.
14689
7bc5a741
AZ
146902014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14691
14692 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14693 calls.
14694
7578473b
AZ
14695 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14696 previous change.
14697
f3f1dab3
AZ
14698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14699
6da36183
AS
147002014-03-25 Andreas Schwab <schwab@suse.de>
14701
14702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14703 label to be used after in6ailist is initialized.
14704
f3f1dab3 147052014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14706
7578473b 14707 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14708 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14709
046651c1
JM
147102014-03-25 Joseph Myers <joseph@codesourcery.com>
14711
14712 [BZ #16357]
14713 [BZ #16599]
14714 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14715 min_plus_half.
14716 (fp_formats): Update initializers.
14717 (init_fp_formats): Initialize new field.
14718 (output_for_one_input_case): Allow underflow for results up to
14719 min_plus_half.
14720 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14721 * math/auto-libm-test-in: Don't mark some underflows from asin and
14722 atanh as spurious.
14723 * math/auto-libm-test-out: Regenerated.
14724 * sysdeps/i386/fpu/libm-test-ulps: Update.
14725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14726
003e49ed
AS
147272014-03-25 Andreas Schwab <schwab@suse.de>
14728
14729 * libio/Makefile (tst-ftell-partial-wide-ENV)
14730 (tst-ftell-active-handler-ENV): Define.
14731
de031874
SL
147322014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14733
14734 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14735
55a81e3b
PP
147362014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14737
14738 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14739
f3426898
JM
147402014-03-24 Joseph Myers <joseph@codesourcery.com>
14741
14742 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14743 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14744 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14745
a42faf59
PP
147462014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14747
14748 [BZ #16634]
a42faf59 14749 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14750 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14751 (open_path): Change from boolean 'secure' to complete flag 'mode'
14752 (_dl_map_object): Adjust.
a42faf59
PP
14753 * elf/Makefile (tests): Add tst-dlopen-aout.
14754 * elf/tst-dlopen-aout.c: New test.
14755
50936127
SL
147562014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14757
14758 [BZ #16714]
14759 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14760 (struct stat): Rename member pad0 to __glibc_reserved0.
14761
26011b5c
SL
14762 [BZ #16712]
14763 * sysdeps/s390/s390-32/bits/wordsize.h
14764 (__WORDSIZE32_SIZE_ULONG): New define.
14765 * sysdeps/s390/s390-64/bits/wordsize.h
14766 (__WORDSIZE32_SIZE_ULONG): Likewise.
14767 * sysdeps/generic/stdint.h (SIZE_MAX):
14768 Define as UL if __WORDSIZE32_SIZE_ULONG.
14769
a2d86bf1
SL
14770 [BZ #16713]
14771 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14772 (__glibc_reserved0): New variable.
14773 (sa_flags): Change type to int.
14774
78b6eebc
SL
14775 * posix/Makefile (before-compile): Use += before-compile instead
14776 of a :=.
14777
f1399b5a
SL
14778 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14779 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14780
a071766e
AS
147812014-03-20 Andreas Schwab <schwab@suse.de>
14782
14783 [BZ #16743]
14784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14785 non-matching result from nscd.
14786
27c673b8
SP
147872014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14788
14789 * scripts/bench.py: Moved to ...
14790 * benchtests/scripts/bench.py: ... here.
14791 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14792
44152e4b
AS
147932014-03-24 Andreas Schwab <schwab@suse.de>
14794
14795 [BZ #16002]
14796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14797 alloca_account and account alloca use for struct in6ailist.
14798
b376a11a
JM
147992014-03-24 Joseph Myers <joseph@codesourcery.com>
14800
14801 [BZ #16284]
14802 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14803 rounding mode to recompute results that overflow to infinity or
14804 underflow to zero.
14805 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14806 bug 16284.
14807 * math/auto-libm-test-out: Regenerated.
14808 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14809 (ccosh_test): Likewise.
14810 (csin_test_data): Use plus_oflow.
14811 (csin_test): Use ALL_RM_TEST.
14812 (csinh_test_data): Use plus_oflow.
14813 (csinh_test): Use ALL_RM_TEST.
14814 * sysdeps/i386/fpu/libm-test-ulps: Update.
14815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14816
f7be7376
JM
148172014-03-21 Joseph Myers <joseph@codesourcery.com>
14818
1ca2d03e
JM
14819 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14820 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14821 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14822
f7be7376
JM
14823 [BZ #16731]
14824 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14825 when x - 1 is zero.
14826 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14827 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14828 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14829 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14830 argument is 1.
14831 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14832 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14833 zero.
14834 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14835 * sysdeps/i386/fpu/libm-test-ulps: Update.
14836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14837
fdf4534d
SP
148382014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14839
df26ea53
SP
14840 * scripts/bench.pl: Remove file.
14841 * scripts/bench.py: New benchmark script.
14842 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14843 * benchtests/README: Mention python dependency.
14844 * scripts/pylintrc: New file.
14845 * scripts/pylint: New file.
14846
fdf4534d
SP
14847 * bits/mathdef.h: Use #ifdef instead of #if.
14848 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14849 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14850 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14851 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14852 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14853 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14854
6f23d093
AZ
148552014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14856 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14857
14858 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14859 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14860 and strpbrk-ppc64 objects.
14861 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14862 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14863 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14864 multiarch strpbrk for POWER7.
14865 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14866 multiarch strpbrk for PPC64.
14867 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14868 ifunc selector.
14869 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14870 strpbrk for POWER7.
14871
8c92dfff
JM
148722014-03-20 Joseph Myers <joseph@codesourcery.com>
14873
14874 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14875 (atan_test): Likewise.
14876 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14877 (atanh_test): Use ALL_RM_TEST.
14878 (atan2_test_data): Likewise.
14879 (cabs_test): Likewise.
14880 (cacosh_test): Likewise.
14881 (carg_test): Likewise.
14882 (casin_test): Likewise.
14883 (casinh_test): Likewise.
14884 (cbrt_test): Likewise.
14885 (csqrt_test): Likewise.
14886 (erf_test): Likewise.
14887 (erfc_test): Likewise.
14888 (pow10_test): Likewise.
14889 (exp2_test): Likewise.
14890 (hypot_test): Likewise.
14891 (j0_test): Likewise.
14892 (j1_test): Likewise.
14893 (lgamma_test): Likewise.
14894 (gamma_test): Likewise.
14895 (sincos_test): Likewise.
14896 (tanh_test): Likewise.
14897 (y0_test): Likewise.
14898 (y1_test): Likewise.
14899 * sysdeps/i386/fpu/libm-test-ulps: Update.
14900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14901
6eaf95cb
AZ
149022014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14903
a387428c
SP
14904 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14905 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14906 and strcspn-ppc64 objects.
14907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14908 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14909 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14910 multiarch strcspn for POWER7.
14911 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14912 multiarch strcspn for PPC64.
14913 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14914 ifunc selector.
14915 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14916 strcspn for POWER7.
14917
ae3a5dff
JM
149182014-03-20 Joseph Myers <joseph@codesourcery.com>
14919
14920 * math/gen-libm-test.pl (generate_testfile): Expect only function
14921 name as argument to AUTO_TESTS_* and pass results for all rounding
14922 modes to parse_args.
14923 (parse_auto_input): Separate inputs of automatic tests from
14924 outputs before storing in %auto_tests.
14925 * math/libm-test.inc (acos_test_data): Update call to
14926 AUTO_TESTS_f_f.
14927 (acos_test): Use ALL_RM_TEST.
14928 (acos_tonearest_test_data): Remove.
14929 (acos_test_tonearest): Likewise.
14930 (acos_towardzero_test_data): Likewise.
14931 (acos_test_towardzero): Likewise.
14932 (acos_downward_test_data): Likewise.
14933 (acos_test_downward): Likewise.
14934 (acos_upward_test_data): Likewise.
14935 (acos_test_upward): Likewise.
14936 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14937 (asin_test_data): Likewise.
14938 (asin_test): Use ALL_RM_TEST.
14939 (asin_tonearest_test_data): Remove.
14940 (asin_test_tonearest): Likewise.
14941 (asin_towardzero_test_data): Likewise.
14942 (asin_test_towardzero): Likewise.
14943 (asin_downward_test_data): Likewise.
14944 (asin_test_downward): Likewise.
14945 (asin_upward_test_data): Likewise.
14946 (asin_test_upward): Likewise.
14947 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14948 (atan_test_data): Likewise.
14949 (atanh_test_data): Likewise.
14950 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14951 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14952 (carg_test_data): Likewise.
14953 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14954 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14955 (ccosh_test_data): Likewise.
14956 (cexp_test_data): Likewise.
14957 (clog_test_data): Likewise.
14958 (clog10_test_data): Likewise.
14959 (cos_test_data): Update call to AUTO_TESTS_f_f.
14960 (cos_test): Use ALL_RM_TEST.
14961 (cos_tonearest_test_data): Remove.
14962 (cos_test_tonearest): Likewise.
14963 (cos_towardzero_test_data): Likewise.
14964 (cos_test_towardzero): Likewise.
14965 (cos_downward_test_data): Likewise.
14966 (cos_test_downward): Likewise.
14967 (cos_upward_test_data): Likewise.
14968 (cos_test_upward): Likewise.
14969 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14970 (cosh_test): Use ALL_RM_TEST.
14971 (cosh_tonearest_test_data): Remove.
14972 (cosh_test_tonearest): Likewise.
14973 (cosh_towardzero_test_data): Likewise.
14974 (cosh_test_towardzero): Likewise.
14975 (cosh_downward_test_data): Likewise.
14976 (cosh_test_downward): Likewise.
14977 (cosh_upward_test_data): Likewise.
14978 (cosh_test_upward): Likewise.
14979 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14980 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14981 (ctan_test_data): Likewise.
14982 (ctan_test): Use ALL_RM_TEST.
14983 (ctan_tonearest_test_data): Remove.
14984 (ctan_test_tonearest): Likewise.
14985 (ctan_towardzero_test_data): Likewise.
14986 (ctan_test_towardzero): Likewise.
14987 (ctan_downward_test_data): Likewise.
14988 (ctan_test_downward): Likewise.
14989 (ctan_upward_test_data): Likewise.
14990 (ctan_test_upward): Likewise.
14991 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14992 (ctanh_test): Use ALL_RM_TEST.
14993 (ctanh_tonearest_test_data): Remove.
14994 (ctanh_test_tonearest): Likewise.
14995 (ctanh_towardzero_test_data): Likewise.
14996 (ctanh_test_towardzero): Likewise.
14997 (ctanh_downward_test_data): Likewise.
14998 (ctanh_test_downward): Likewise.
14999 (ctanh_upward_test_data): Likewise.
15000 (ctanh_test_upward): Likewise.
15001 (erf_test_data): Update call to AUTO_TESTS_f_f.
15002 (erfc_test_data): Likewise.
15003 (exp_test_data): Likewise.
15004 (exp_test): Use ALL_RM_TEST.
15005 (exp_tonearest_test_data): Remove.
15006 (exp_test_tonearest): Likewise.
15007 (exp_towardzero_test_data): Likewise.
15008 (exp_test_towardzero): Likewise.
15009 (exp_downward_test_data): Likewise.
15010 (exp_test_downward): Likewise.
15011 (exp_upward_test_data): Likewise.
15012 (exp_test_upward): Likewise.
15013 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15014 (exp10_test): Use ALL_RM_TEST.
15015 (exp10_tonearest_test_data): Remove.
15016 (exp10_test_tonearest): Likewise.
15017 (exp10_towardzero_test_data): Likewise.
15018 (exp10_test_towardzero): Likewise.
15019 (exp10_downward_test_data): Likewise.
15020 (exp10_test_downward): Likewise.
15021 (exp10_upward_test_data): Likewise.
15022 (exp10_test_upward): Likewise.
15023 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15024 (expm1_test_data): Likewise.
15025 (expm1_test): Use ALL_RM_TEST.
15026 (expm1_tonearest_test_data): Remove.
15027 (expm1_test_tonearest): Likewise.
15028 (expm1_towardzero_test_data): Likewise.
15029 (expm1_test_towardzero): Likewise.
15030 (expm1_downward_test_data): Likewise.
15031 (expm1_test_downward): Likewise.
15032 (expm1_upward_test_data): Likewise.
15033 (expm1_test_upward): Likewise.
15034 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15035 (fma_test): Use ALL_RM_TEST.
15036 (fma_towardzero_test_data): Remove.
15037 (fma_test_towardzero): Likewise.
15038 (fma_downward_test_data): Likewise.
15039 (fma_test_downward): Likewise.
15040 (fma_upward_test_data): Likewise.
15041 (fma_test_upward): Likewise.
15042 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15043 (j0_test_data): Update call to AUTO_TESTS_f_f.
15044 (j1_test_data): Likewise.
15045 (jn_test_data): Update call to AUTO_TESTS_if_f.
15046 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15047 (log_test_data): Update call to AUTO_TESTS_f_f.
15048 (log10_test_data): Likewise.
15049 (log1p_test_data): Likewise.
15050 (log2_test_data): Likewise.
15051 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15052 (pow_tonearest_test_data): Likewise.
15053 (sin_test_data): Update call to AUTO_TESTS_f_f.
15054 (sin_test): Use ALL_RM_TEST.
15055 (sin_tonearest_test_data): Remove.
15056 (sin_test_tonearest): Likewise.
15057 (sin_towardzero_test_data): Likewise.
15058 (sin_test_towardzero): Likewise.
15059 (sin_downward_test_data): Likewise.
15060 (sin_test_downward): Likewise.
15061 (sin_upward_test_data): Likewise.
15062 (sin_test_upward): Likewise.
15063 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15064 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15065 (sinh_test): Use ALL_RM_TEST.
15066 (sinh_tonearest_test_data): Remove.
15067 (sinh_test_tonearest): Likewise.
15068 (sinh_towardzero_test_data): Likewise.
15069 (sinh_test_towardzero): Likewise.
15070 (sinh_downward_test_data): Likewise.
15071 (sinh_test_downward): Likewise.
15072 (sinh_upward_test_data): Likewise.
15073 (sinh_test_upward): Likewise.
15074 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15075 (sqrt_test): Use ALL_RM_TEST.
15076 (sqrt_tonearest_test_data): Remove.
15077 (sqrt_test_tonearest): Likewise.
15078 (sqrt_towardzero_test_data): Likewise.
15079 (sqrt_test_towardzero): Likewise.
15080 (sqrt_downward_test_data): Likewise.
15081 (sqrt_test_downward): Likewise.
15082 (sqrt_upward_test_data): Likewise.
15083 (sqrt_test_upward): Likewise.
15084 (tan_test_data): Update call to AUTO_TESTS_f_f.
15085 (tan_test): Use ALL_RM_TEST.
15086 (tan_tonearest_test_data): Remove.
15087 (tan_test_tonearest): Likewise.
15088 (tan_towardzero_test_data): Likewise.
15089 (tan_test_towardzero): Likewise.
15090 (tan_downward_test_data): Likewise.
15091 (tan_test_downward): Likewise.
15092 (tan_upward_test_data): Likewise.
15093 (tan_test_upward): Likewise.
15094 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15095 (tgamma_test_data): Likewise.
15096 (y0_test_data): Likewise.
15097 (y1_test_data): Likewise.
15098 (yn_test_data): Update call to AUTO_TESTS_if_f.
15099 (main): Do not call removed functions.
15100
d71aeee8
JM
151012014-03-19 Joseph Myers <joseph@codesourcery.com>
15102
15103 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15104 (ldexp_test_data): Remove.
15105 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15106 scalbn_test_data.
15107 (scalb_test): Use ALL_RM_TEST.
15108
baaf1ded
AS
151092014-03-19 Andreas Schwab <schwab@suse.de>
15110
15111 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15112
b1115e91
JM
151132014-03-19 Joseph Myers <joseph@codesourcery.com>
15114
15115 [BZ #16649]
15116 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15117 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15118 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15119 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15120 (__ASSUME_PREADV): Undefine.
15121 (__ASSUME_PWRITEV): Likewise.
15122
0283ecca
RM
151232014-03-18 Roland McGrath <roland@hack.frob.com>
15124
7d375303
RM
15125 * bits/mman-linux.h: Add comment about non-Linux use.
15126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15127 bits/mman-linux.h resting place.
15128
0283ecca
RM
15129 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15130 * bits/mman-linux.h: ... here.
15131
aebe1003
AZ
151322014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15133
15134 * conform/conformtest.pl: Add standard definition when calling C
15135 preprocessor on data files.
15136 (checknamespace): Remove unused variable.
15137
b29b6bb8
JM
151382014-03-18 Joseph Myers <joseph@codesourcery.com>
15139
15140 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15141 minus_oflow, plus_uflow and minus_uflow in expected results.
15142 * math/libm-test.inc (scalbn_test_data): Add more tests of
15143 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15144 minus_uflow.
15145 (scalbn_test): Use ALL_RM_TEST.
15146 (scalbln_test_data): Add more tests of negative arguments. Use
15147 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15148 (scalbln_test): Use ALL_RM_TEST.
15149
c8f8fa15
RM
151502014-03-18 Roland McGrath <roland@hack.frob.com>
15151
15152 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15153
fede7a5f
WN
151542014-03-18 Will Newton <will.newton@linaro.org>
15155
15156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15157 inaccurate comment.
15158
80cf0a58
JM
151592014-03-18 Joseph Myers <joseph@codesourcery.com>
15160
15161 * Makerules [!subdir] (check-abi): Exit with error status if a
15162 test failed.
15163
b3620862
JM
151642014-03-17 Joseph Myers <joseph@codesourcery.com>
15165
15166 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15167 for rint. Include results for all rounding modes.
15168 (nearbyint_test): Use ALL_RM_TEST.
15169 (rint_test_data): Include all tests used for nearbyint.
15170
788bba36
WN
151712014-03-17 Will Newton <will.newton@linaro.org>
15172
04ec140a
WN
15173 * nptl/sysdeps/pthread/pthread.h: Revert previous
15174 change.
15175
7579d8d5
WN
15176 * sysdeps/generic/ldsodefs.h: Revert previous
15177 change.
15178
c15cf13a
WN
15179 * libio/genops.c: Revert previous change.
15180 * libio/libioP.h: Likewise.
15181 * stdio-common/vfprintf.c: Likewise.
15182
d0ac1324
WN
15183 * sysdeps/generic/math_private.h: Revert previous
15184 change.
15185
9290130a
WN
15186 * sysdeps/generic/math_private.h: Check whether
15187 HAVE_RM_CTX is defined with #ifdef rather
15188 than #if.
15189
afb466fc
WN
15190 * argp/argp-fmtstream.h: Check whether
15191 __STRICT_ANSI__ is defined with #ifdef rather
15192 than #if.
15193 * argp/argp.h: Likewise.
15194
f7efd7c3
WN
15195 * libio/genops.c: Check whether
15196 _IO_JUMPS_OFFSET is defined with #ifdef rather
15197 than #if.
15198 * libio/libioP.h: Likewise.
15199 * stdio-common/vfprintf.c: Likewise.
15200
53f1bed3
WN
15201 * sysdeps/generic/ldsodefs.h: Check whether
15202 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15203 than #if.
15204
788bba36
WN
15205 * nptl/sysdeps/pthread/pthread.h: Check
15206 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15207 its value.
15208
fcd89ebe
SP
152092014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15210
ae42bbc5
SP
15211 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15212 setting O_APPEND.
15213 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15214 test case.
15215
ea33158c
SP
15216 [BZ #16680]
15217 * libio/fileops.c (_IO_file_open): Seek to end of file but
15218 don't cache the offset.
15219 (get_file_offset): Remove function.
15220 (do_ftell): Use cached offset when available.
15221 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15222 don't cache the offset.
15223 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15224 case.
15225 (do_one_test): Call it.
15226 (do_ftell_test): Fix up expected old offset for a+ mode.
15227 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15228 available.
15229
b1dbb426
SP
15230 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15231 up test status with function return status.
15232 (do_write_test): Likewise.
15233 (do_append_test): Likewise.
15234
fcd89ebe
SP
15235 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15236 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15237 Remove.
15238
9962a2d3
JM
152392014-03-17 Joseph Myers <joseph@codesourcery.com>
15240
15241 * math/gen-libm-test.pl (parse_args): Handle results specified for
15242 each rounding mode separately.
15243 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15244 tests and results from lrint_tonearest_test_data,
15245 lrint_towardzero_test_data, lrint_downward_test_data and
15246 lrint_upward_test_data.
15247 (lrint_test): Use ALL_RM_TEST.
15248 (lrint_tonearest_test_data): Remove.
15249 (lrint_test_tonearest): Likewise.
15250 (lrint_towardzero_test_data): Likewise.
15251 (lrint_test_towardzero): Likewise.
15252 (lrint_downward_test_data): Likewise.
15253 (lrint_test_downward): Likewise.
15254 (lrint_upward_test_data): Likewise.
15255 (lrint_test_upward): Likewise.
15256 (llrint_test_data): Merge in per-rounding-mode tests and results
15257 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15258 llrint_downward_test_data and llrint_upward_test_data.
15259 (llrint_test): Use ALL_RM_TEST.
15260 (llrint_tonearest_test_data): Remove.
15261 (llrint_test_tonearest): Likewise.
15262 (llrint_towardzero_test_data): Likewise.
15263 (llrint_test_towardzero): Likewise.
15264 (llrint_downward_test_data): Likewise.
15265 (llrint_test_downward): Likewise.
15266 (llrint_upward_test_data): Likewise.
15267 (llrint_test_upward): Likewise.
15268 (rint_test_data): Merge in per-rounding-mode tests and results
15269 from rint_tonearest_test_data, rint_towardzero_test_data,
15270 rint_downward_test_data and rint_upward_test_data. Add
15271 per-rounding-mode results for tests not in those arrays.
15272 (rint_test): Use ALL_RM_TEST.
15273 (rint_tonearest_test_data): Remove.
15274 (rint_test_tonearest): Likewise.
15275 (rint_towardzero_test_data): Likewise.
15276 (rint_test_towardzero): Likewise.
15277 (rint_downward_test_data): Likewise.
15278 (rint_test_downward): Likewise.
15279 (rint_upward_test_data): Likewise.
15280 (rint_test_upward): Likewise.
15281 (main): Don't call removed functions.
15282
5006148e
RM
152832014-03-14 Roland McGrath <roland@hack.frob.com>
15284
15285 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15286 "Compiled on ..." crapola. It is anti-useful.
15287
d6fe5e58
JM
152882014-03-14 Joseph Myers <joseph@codesourcery.com>
15289
15290 * scripts/evaluate-test.sh: Handle fourth argument to determine
15291 whether test run should stop on failure.
15292 * Makeconfig (stop-on-test-failure): New variable.
15293 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15294 $(stop-on-test-failure).
15295 * Makefile (tests): Give a summary of results from testing and
15296 exit with failure status if they include an ERROR or FAIL.
15297 (xtests): Likewise.
15298 * manual/install.texi (Configuring and compiling): Mention
15299 stop-on-test-failure=y.
15300 * INSTALL: Regenerated.
15301
498a2233
RM
153022014-03-14 Roland McGrath <roland@hack.frob.com>
15303
22dbc19d
RM
15304 * scripts/versionlist.awk: New file.
15305 * Makerules [$(build-shared) = yes]
15306 (postclean-generated): Add Versions.def, not Versions.def.v and
15307 Versions.def.v.i.
15308 ($(common-objpfx)Versions.def.v.i): Target removed.
15309 ($(common-objpfx)Versions.def): New target.
15310 ($(common-objpfx)Versions.all): Depend on that rather that
15311 $(common-objpfx)Versions.def.v.
15312 * Versions.def: File removed.
15313
498a2233
RM
15314 * Makeconfig (+gccwarn): Add -Wundef.
15315 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15316 a dl-sysdep.h breaking its contract.
15317 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15318 * include/stackinfo.h: New file.
15319 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15320 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15321 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15322 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15323 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15324 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15325 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15326 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15327 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15328 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15329 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15330 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15331 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15332 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15333 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15334
c7de5025
AZ
153352014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15336
15337 [BZ #16707]
15338 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15339 implementation.
15340 * math/libm-test.inc (round_test_data): Add more tests.
15341
98fb27a3
AZ
15342 [BZ #16706]
15343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15344 implementation.
15345 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15346
374f7f61
AZ
15347 [BZ #16701]
15348 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15349 implementation.
15350 * math/libm-test.inc (ceil_test_data): Add more tests.
15351
4655c291
AZ
15352 * math/libm-test.inc (trunc_test_data): Add more tests related to
15353 BZ#16414.
15354
d7329d4b
RM
153552014-03-14 Roland McGrath <roland@hack.frob.com>
15356
15357 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15358 with #if rather than #ifdef.
15359 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15360
aa4de9ce
L
153612014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15362
15363 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15364 first. Disable AVX-512 GCC support if assembler doesn't support
15365 it.
15366 * sysdeps/x86_64/configure: Regenerated.
15367
2e03fae7
CD
153682014-03-13 Carlos O'Donell <carlos@redhat.com>
15369
15370 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15371 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15372 (__old_pthread_attr_setstack): Likewise.
15373 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15374 [!_STACK_GROWS_DOWN]: Likewise.
15375
43ca83ec
MF
153762014-03-13 Mike Frysinger <vapier@gentoo.org>
15377
15378 * config.make.in (have-bash2): Delete.
15379 * configure.ac (libc_cv_have_bash2): Delete.
15380 * configure: Regenerate.
15381 * elf/Makefile (common-ldd-rewrite): Rename to ...
15382 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15383 (sh-ldd-rewrite): Delete.
15384 (bash-ldd-rewrite): Delete.
15385 (have-bash2): Delete checks.
57f41c40
AS
15386 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15387 ldd-rewrite.
c66e48b4
MF
15388
15389 * config.make.in (have-ksh): Delete.
15390 (KSH): Delete.
15391 * configure.ac (libc_cv_have_ksh): Delete.
15392 * configure: Regenerate.
15393
b93834ef
MF
15394 * elf/Makefile: Delete $(have-ksh) check.
15395 ($(objpfx)sotruss): Change KSH to BASH.
15396 * elf/sotruss.ksh: Rename to ...
15397 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15398 function style to match POSIX. Drop ksh vim mode setting.
15399
f3a4632a
MF
15400 * manual/time.texi (Specifying the Time Zone with TZ): Change
15401 Tuesday to Thursday.
15402
5896c8bd
MF
15403 * debug/tst-longjmp_chk2.c: Update header comment.
15404 (stackoverflow_handler): Add comment. Call assert on pass value.
15405
2d63a517
IZ
154062014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15407
7e54fd04 15408 [BZ #16194]
2d63a517
IZ
15409 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15410 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15411 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15412 (La_x86_64_vector): Add zmm.
15413 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15414 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15415 ($(objpfx)tst-audit10): New target.
15416 ($(objpfx)tst-audit10.out): Likewise.
15417 (tst-audit10-ENV): New.
15418 (AVX512-CFLAGS): Likewise.
15419 (CFLAGS-tst-audit10.c): Likewise.
15420 (CFLAGS-tst-auditmod10a.c): Likewise.
15421 (CFLAGS-tst-auditmod10b.c): Likewise.
15422 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15423 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15424 * sysdeps/x86_64/configure: Regenerated.
15425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15426 AVX-512 zmm register support.
15427 (_dl_x86_64_save_sse): Likewise.
15428 (_dl_x86_64_restore_sse): Likewise.
15429 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15430 size vector registers.
15431 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15432 (ZMM_SIZE): Likewise.
15433 * sysdeps/x86_64/tst-audit10.c: New file.
15434 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15435 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15436
44c4e5d5
RM
154372014-03-13 Roland McGrath <roland@hack.frob.com>
15438
15439 * configure.ac (HAVE_EHDR_START): New check.
15440 * configure: Regenerated.
15441 * config.h.in (HAVE_EHDR_START): New #undef.
15442 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15443 assuming the lowest-addressed segment maps the start of the file.
15444
acd6e389
JM
154452014-03-13 Joseph Myers <joseph@codesourcery.com>
15446
15447 * INSTALL: Regenerated.
15448
6f918f36
WN
154492014-03-13 Will Newton <will.newton@linaro.org>
15450
15451 * manual/setjmp.texi (System V contexts): Improve
15452 clarity and grammar of documentation.
15453
798212a0
PP
154542014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15455
15456 [BZ #16381]
798212a0 15457 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15458 (tests-pie): Add tst-pie2.
798212a0
PP
15459 * elf/tst-pie2.c: New file.
15460 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15461 for ET_EXEC.
15462 * elf/rtld.c (map_doit): Load executable as lt_executable.
15463 (dl_main): Likewise.
15464
abe6d90c
JM
154652014-03-12 Joseph Myers <joseph@codesourcery.com>
15466
15467 [BZ #16642]
15468 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15469 (__ASSUME_PSELECT): Undefine.
15470
dd3946c6
AZ
154712014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15472
15473 [BZ #16689]
15474 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15475 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15476 static build.
15477 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15478 selector for static builds.
15479
c44496df
SP
154802014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15481
15482 [BZ #16695]
15483 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15484 key in the buffer.
15485
27c7220a
AZ
154862014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15487
57f41c40
AS
15488 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15489 IFUNC selector for static builds.
27c7220a 15490
600fa361
JM
154912014-03-11 Joseph Myers <joseph@codesourcery.com>
15492
76c96cf7
JM
15493 * sysdeps/mips/math_private.h [__mips_hard_float]
15494 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15495 libc_feresetround_mips_ctx.
15496 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15497 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15498 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15499
600fa361
JM
15500 [BZ #16677]
15501 * math/s_nextafter.c (__nextafter): Do not return value from
15502 overflowing computation.
15503 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15504 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15505 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15506 Likewise.
15507 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15508 Likewise.
15509 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15510 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15511
d7706c32
RM
155122014-03-11 Roland McGrath <roland@hack.frob.com>
15513
15514 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15515 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15516 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15517 the new mov targetting sp.
15518
4facea47
AZ
155192014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15520
15521 [BZ #16683]
15522 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15523 Define it for static builds as well.
15524 (NO_BZERO_IMPL): Likewise.
15525
e65caf1f
VR
155262014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15527
15528 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15529 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15530 multiarch strspn for PPC64.
15531 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15532 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15534 (__libc_ifunc_impl_list): Likewise.
15535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15536 multiarch optimizations
15537 * string/strspn.c (strspn): Using macro to redefine symbol name.
15538
ba9cc071
AZ
155392014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15540 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15541
15542 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15543 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15544 multiarch strncat for PPC64.
15545 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15546 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15548 (__libc_ifunc_impl_list): Likewise.
15549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15550 multiarch optimizations
15551
8b4ff974
SP
155522014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15553
15554 [BZ #16639]
15555 * nscd/nscd.service: Make service type forking.
15556
54b46a4b
AZ
155572014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15558
15559 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15560 sign in non default rounding modes.
15561 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15562
e9996ef7
JM
155632014-03-08 Joseph Myers <joseph@codesourcery.com>
15564
15565 * math/libm-test.inc (ALL_RM_TEST): New macro.
15566 (ceil_test): Use ALL_RM_TEST.
15567 (cimag_test): Likewise.
15568 (conj_test): Likewise.
15569 (copysign_test): Likewise.
15570 (cproj_test): Likewise.
15571 (creal_test): Likewise.
15572 (fabs_test): Likewise.
15573 (floor_test): Likewise.
15574 (fmax_test): Likewise.
15575 (fmin_test): Likewise.
15576 (fmod_test): Likewise.
15577 (fpclassify_test): Likewise.
15578 (frexp_test): Likewise.
15579 (ilogb_test): Likewise.
15580 (isfinite_test): Likewise.
15581 (finite_test): Likewise.
15582 (isgreater_test): Likewise.
15583 (isgreaterequal_test): Likewise.
15584 (isinf_test): Likewise.
15585 (isless_test): Likewise.
15586 (islessequal_test): Likewise.
15587 (islessgreater_test): Likewise.
15588 (isnan_test): Likewise.
15589 (isnormal_test): Likewise.
15590 (issignaling_test): Likewise.
15591 (isunordered_test): Likewise.
15592 (logb_test): Likewise.
15593 (logb_downward_test_data): Remove.
15594 (logb_test_downward): Likewise.
15595 (lround_test): Use ALL_RM_TEST.
15596 (llround_test): Likewise.
15597 (modf_test): Likewise.
15598 (nexttoward_test): Likewise.
15599 (remainder_test): Likewise.
15600 (drem_test): Likewise.
15601 (remainder_tonearest_test_data): Likewise.
15602 (remainder_test_tonearest): Likewise.
15603 (drem_test_tonearest): Likewise.
15604 (remainder_towardzero_test_data): Likewise.
15605 (remainder_test_towardzero): Likewise.
15606 (drem_test_towardzero): Likewise.
15607 (remainder_downward_test_data): Likewise.
15608 (remainder_test_downward): Likewise.
15609 (drem_test_downward): Likewise.
15610 (remainder_upward_test_data): Likewise.
15611 (remainder_test_upward): Likewise.
15612 (drem_test_upward): Likewise.
15613 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15614 (round_test): Use ALL_RM_TEST.
15615 (signbit_test): Likewise.
15616 (trunc_test): Likewise.
15617 (significand_test): Likewise.
15618 (main): Don't call removed functions.
15619
bc61d27c
JM
156202014-03-07 Joseph Myers <joseph@codesourcery.com>
15621
5c780849
JM
15622 [BZ #16674]
15623 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15624 || __USE_XOPEN2K8].
15625 (ILL_ILLOPN): Likewise.
15626 (ILL_ILLADR): Likewise.
15627 (ILL_ILLTRP): Likewise.
15628 (ILL_PRVOPC): Likewise.
15629 (ILL_PRVREG): Likewise.
15630 (ILL_COPROC): Likewise.
15631 (ILL_BADSTK): Likewise.
15632 (FPE_INTDIV): Likewise.
15633 (FPE_INTOVF): Likewise.
15634 (FPE_FLTDIV): Likewise.
15635 (FPE_FLTOVF): Likewise.
15636 (FPE_FLTUND): Likewise.
15637 (FPE_FLTRES): Likewise.
15638 (FPE_FLTINV): Likewise.
15639 (FPE_FLTSUB): Likewise.
15640 (SEGV_MAPERR): Likewise.
15641 (SEGV_ACCERR): Likewise.
15642 (BUS_ADRALN): Likewise.
15643 (BUS_ADRERR): Likewise.
15644 (BUS_OBJERR): Likewise.
15645 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15646 (TRAP_TRACE): Likewise.
15647 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15648 __USE_XOPEN2K8].
15649 (CLD_KILLED): Likewise.
15650 (CLD_DUMPED): Likewise.
15651 (CLD_TRAPPED): Likewise.
15652 (CLD_STOPPED): Likewise.
15653 (CLD_CONTINUED): Likewise.
15654 (POLL_IN): Likewise.
15655 (POLL_OUT): Likewise.
15656 (POLL_MSG): Likewise.
15657 (POLL_ERR): Likewise.
15658 (POLL_PRI): Likewise.
15659 (POLL_HUP): Likewise.
15660 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15661 Likewise.
15662 (ILL_ILLOPN): Likewise.
15663 (ILL_ILLADR): Likewise.
15664 (ILL_ILLTRP): Likewise.
15665 (ILL_PRVOPC): Likewise.
15666 (ILL_PRVREG): Likewise.
15667 (ILL_COPROC): Likewise.
15668 (ILL_BADSTK): Likewise.
15669 (FPE_INTDIV): Likewise.
15670 (FPE_INTOVF): Likewise.
15671 (FPE_FLTDIV): Likewise.
15672 (FPE_FLTOVF): Likewise.
15673 (FPE_FLTUND): Likewise.
15674 (FPE_FLTRES): Likewise.
15675 (FPE_FLTINV): Likewise.
15676 (FPE_FLTSUB): Likewise.
15677 (SEGV_MAPERR): Likewise.
15678 (SEGV_ACCERR): Likewise.
15679 (BUS_ADRALN): Likewise.
15680 (BUS_ADRERR): Likewise.
15681 (BUS_OBJERR): Likewise.
15682 (BUS_MCEERR_AR): Likewise.
15683 (BUS_MCEERR_AO): Likewise.
15684 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15685 (TRAP_TRACE): Likewise.
15686 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15687 __USE_XOPEN2K8].
15688 (CLD_KILLED): Likewise.
15689 (CLD_DUMPED): Likewise.
15690 (CLD_TRAPPED): Likewise.
15691 (CLD_STOPPED): Likewise.
15692 (CLD_CONTINUED): Likewise.
15693 (POLL_IN): Likewise.
15694 (POLL_OUT): Likewise.
15695 (POLL_MSG): Likewise.
15696 (POLL_ERR): Likewise.
15697 (POLL_PRI): Likewise.
15698 (POLL_HUP): Likewise.
15699 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15700 (ILL_ILLOPN): Likewise.
15701 (ILL_ILLADR): Likewise.
15702 (ILL_ILLTRP): Likewise.
15703 (ILL_PRVOPC): Likewise.
15704 (ILL_PRVREG): Likewise.
15705 (ILL_COPROC): Likewise.
15706 (ILL_BADSTK): Likewise.
15707 (FPE_INTDIV): Likewise.
15708 (FPE_INTOVF): Likewise.
15709 (FPE_FLTDIV): Likewise.
15710 (FPE_FLTOVF): Likewise.
15711 (FPE_FLTUND): Likewise.
15712 (FPE_FLTRES): Likewise.
15713 (FPE_FLTINV): Likewise.
15714 (FPE_FLTSUB): Likewise.
15715 (SEGV_MAPERR): Likewise.
15716 (SEGV_ACCERR): Likewise.
15717 (BUS_ADRALN): Likewise.
15718 (BUS_ADRERR): Likewise.
15719 (BUS_OBJERR): Likewise.
15720 (BUS_MCEERR_AR): Likewise.
15721 (BUS_MCEERR_AO): Likewise.
15722 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15723 (TRAP_TRACE): Likewise.
15724 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15725 __USE_XOPEN2K8].
15726 (CLD_KILLED): Likewise.
15727 (CLD_DUMPED): Likewise.
15728 (CLD_TRAPPED): Likewise.
15729 (CLD_STOPPED): Likewise.
15730 (CLD_CONTINUED): Likewise.
15731 (POLL_IN): Likewise.
15732 (POLL_OUT): Likewise.
15733 (POLL_MSG): Likewise.
15734 (POLL_ERR): Likewise.
15735 (POLL_PRI): Likewise.
15736 (POLL_HUP): Likewise.
15737 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15738 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 (ILL_BADIADDR): Likewise.
15747 (ILL_BREAK): Likewise.
15748 (FPE_INTDIV): Likewise.
15749 (FPE_INTOVF): Likewise.
15750 (FPE_FLTDIV): Likewise.
15751 (FPE_FLTOVF): Likewise.
15752 (FPE_FLTUND): Likewise.
15753 (FPE_FLTRES): Likewise.
15754 (FPE_FLTINV): Likewise.
15755 (FPE_FLTSUB): Likewise.
15756 (FPE_DECOVF): Likewise.
15757 (FPE_DECDIV): Likewise.
15758 (FPE_DECERR): Likewise.
15759 (FPE_INVASC): Likewise.
15760 (FPE_INVDEC): Likewise.
15761 (SEGV_MAPERR): Likewise.
15762 (SEGV_ACCERR): Likewise.
15763 (SEGV_PSTKOVF): Likewise.
15764 (BUS_ADRALN): Likewise.
15765 (BUS_ADRERR): Likewise.
15766 (BUS_OBJERR): Likewise.
15767 (BUS_MCEERR_AR): Likewise.
15768 (BUS_MCEERR_AO): Likewise.
15769 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15770 (TRAP_TRACE): Likewise.
15771 (TRAP_BRANCH): Likewise.
15772 (TRAP_HWBKPT): Likewise.
15773 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15774 __USE_XOPEN2K8].
15775 (CLD_KILLED): Likewise.
15776 (CLD_DUMPED): Likewise.
15777 (CLD_TRAPPED): Likewise.
15778 (CLD_STOPPED): Likewise.
15779 (CLD_CONTINUED): Likewise.
15780 (POLL_IN): Likewise.
15781 (POLL_OUT): Likewise.
15782 (POLL_MSG): Likewise.
15783 (POLL_ERR): Likewise.
15784 (POLL_PRI): Likewise.
15785 (POLL_HUP): Likewise.
15786 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15787 (ILL_ILLOPN): Likewise.
15788 (ILL_ILLADR): Likewise.
15789 (ILL_ILLTRP): Likewise.
15790 (ILL_PRVOPC): Likewise.
15791 (ILL_PRVREG): Likewise.
15792 (ILL_COPROC): Likewise.
15793 (ILL_BADSTK): Likewise.
15794 (FPE_INTDIV): Likewise.
15795 (FPE_INTOVF): Likewise.
15796 (FPE_FLTDIV): Likewise.
15797 (FPE_FLTOVF): Likewise.
15798 (FPE_FLTUND): Likewise.
15799 (FPE_FLTRES): Likewise.
15800 (FPE_FLTINV): Likewise.
15801 (FPE_FLTSUB): Likewise.
15802 (SEGV_MAPERR): Likewise.
15803 (SEGV_ACCERR): Likewise.
15804 (BUS_ADRALN): Likewise.
15805 (BUS_ADRERR): Likewise.
15806 (BUS_OBJERR): Likewise.
15807 (BUS_MCEERR_AR): Likewise.
15808 (BUS_MCEERR_AO): Likewise.
15809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15810 (TRAP_TRACE): Likewise.
15811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15812 __USE_XOPEN2K8].
15813 (CLD_KILLED): Likewise.
15814 (CLD_DUMPED): Likewise.
15815 (CLD_TRAPPED): Likewise.
15816 (CLD_STOPPED): Likewise.
15817 (CLD_CONTINUED): Likewise.
15818 (POLL_IN): Likewise.
15819 (POLL_OUT): Likewise.
15820 (POLL_MSG): Likewise.
15821 (POLL_ERR): Likewise.
15822 (POLL_PRI): Likewise.
15823 (POLL_HUP): Likewise.
15824 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15825 (ILL_ILLOPN): Likewise.
15826 (ILL_ILLADR): Likewise.
15827 (ILL_ILLTRP): Likewise.
15828 (ILL_PRVOPC): Likewise.
15829 (ILL_PRVREG): Likewise.
15830 (ILL_COPROC): Likewise.
15831 (ILL_BADSTK): Likewise.
15832 (FPE_INTDIV): Likewise.
15833 (FPE_INTOVF): Likewise.
15834 (FPE_FLTDIV): Likewise.
15835 (FPE_FLTOVF): Likewise.
15836 (FPE_FLTUND): Likewise.
15837 (FPE_FLTRES): Likewise.
15838 (FPE_FLTINV): Likewise.
15839 (FPE_FLTSUB): Likewise.
15840 (SEGV_MAPERR): Likewise.
15841 (SEGV_ACCERR): Likewise.
15842 (BUS_ADRALN): Likewise.
15843 (BUS_ADRERR): Likewise.
15844 (BUS_OBJERR): Likewise.
15845 (BUS_MCEERR_AR): Likewise.
15846 (BUS_MCEERR_AO): Likewise.
15847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15848 (TRAP_TRACE): Likewise.
15849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15850 __USE_XOPEN2K8].
15851 (CLD_KILLED): Likewise.
15852 (CLD_DUMPED): Likewise.
15853 (CLD_TRAPPED): Likewise.
15854 (CLD_STOPPED): Likewise.
15855 (CLD_CONTINUED): Likewise.
15856 (POLL_IN): Likewise.
15857 (POLL_OUT): Likewise.
15858 (POLL_MSG): Likewise.
15859 (POLL_ERR): Likewise.
15860 (POLL_PRI): Likewise.
15861 (POLL_HUP): Likewise.
15862 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15863 (ILL_ILLOPN): Likewise.
15864 (ILL_ILLADR): Likewise.
15865 (ILL_ILLTRP): Likewise.
15866 (ILL_PRVOPC): Likewise.
15867 (ILL_PRVREG): Likewise.
15868 (ILL_COPROC): Likewise.
15869 (ILL_BADSTK): Likewise.
15870 (FPE_INTDIV): Likewise.
15871 (FPE_INTOVF): Likewise.
15872 (FPE_FLTDIV): Likewise.
15873 (FPE_FLTOVF): Likewise.
15874 (FPE_FLTUND): Likewise.
15875 (FPE_FLTRES): Likewise.
15876 (FPE_FLTINV): Likewise.
15877 (FPE_FLTSUB): Likewise.
15878 (SEGV_MAPERR): Likewise.
15879 (SEGV_ACCERR): Likewise.
15880 (BUS_ADRALN): Likewise.
15881 (BUS_ADRERR): Likewise.
15882 (BUS_OBJERR): Likewise.
15883 (BUS_MCEERR_AR): Likewise.
15884 (BUS_MCEERR_AO): Likewise.
15885 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15886 (TRAP_TRACE): Likewise.
15887 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15888 __USE_XOPEN2K8].
15889 (CLD_KILLED): Likewise.
15890 (CLD_DUMPED): Likewise.
15891 (CLD_TRAPPED): Likewise.
15892 (CLD_STOPPED): Likewise.
15893 (CLD_CONTINUED): Likewise.
15894 (POLL_IN): Likewise.
15895 (POLL_OUT): Likewise.
15896 (POLL_MSG): Likewise.
15897 (POLL_ERR): Likewise.
15898 (POLL_PRI): Likewise.
15899 (POLL_HUP): Likewise.
15900 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15901 (ILL_ILLOPN): Likewise.
15902 (ILL_ILLADR): Likewise.
15903 (ILL_ILLTRP): Likewise.
15904 (ILL_PRVOPC): Likewise.
15905 (ILL_PRVREG): Likewise.
15906 (ILL_COPROC): Likewise.
15907 (ILL_BADSTK): Likewise.
15908 (ILL_DBLFLT): Likewise.
15909 (ILL_HARDWALL): Likewise.
15910 (FPE_INTDIV): Likewise.
15911 (FPE_INTOVF): Likewise.
15912 (FPE_FLTDIV): Likewise.
15913 (FPE_FLTOVF): Likewise.
15914 (FPE_FLTUND): Likewise.
15915 (FPE_FLTRES): Likewise.
15916 (FPE_FLTINV): Likewise.
15917 (FPE_FLTSUB): Likewise.
15918 (SEGV_MAPERR): Likewise.
15919 (SEGV_ACCERR): Likewise.
15920 (BUS_ADRALN): Likewise.
15921 (BUS_ADRERR): Likewise.
15922 (BUS_OBJERR): Likewise.
15923 (BUS_MCEERR_AR): Likewise.
15924 (BUS_MCEERR_AO): Likewise.
15925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15926 (TRAP_TRACE): Likewise.
15927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15928 __USE_XOPEN2K8].
15929 (CLD_KILLED): Likewise.
15930 (CLD_DUMPED): Likewise.
15931 (CLD_TRAPPED): Likewise.
15932 (CLD_STOPPED): Likewise.
15933 (CLD_CONTINUED): Likewise.
15934 (POLL_IN): Likewise.
15935 (POLL_OUT): Likewise.
15936 (POLL_MSG): Likewise.
15937 (POLL_ERR): Likewise.
15938 (POLL_PRI): Likewise.
15939 (POLL_HUP): Likewise.
15940 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15941 (ILL_ILLOPN): Likewise.
15942 (ILL_ILLADR): Likewise.
15943 (ILL_ILLTRP): Likewise.
15944 (ILL_PRVOPC): Likewise.
15945 (ILL_PRVREG): Likewise.
15946 (ILL_COPROC): Likewise.
15947 (ILL_BADSTK): Likewise.
15948 (FPE_INTDIV): Likewise.
15949 (FPE_INTOVF): Likewise.
15950 (FPE_FLTDIV): Likewise.
15951 (FPE_FLTOVF): Likewise.
15952 (FPE_FLTUND): Likewise.
15953 (FPE_FLTRES): Likewise.
15954 (FPE_FLTINV): Likewise.
15955 (FPE_FLTSUB): Likewise.
15956 (SEGV_MAPERR): Likewise.
15957 (SEGV_ACCERR): Likewise.
15958 (BUS_ADRALN): Likewise.
15959 (BUS_ADRERR): Likewise.
15960 (BUS_OBJERR): Likewise.
15961 (BUS_MCEERR_AR): Likewise.
15962 (BUS_MCEERR_AO): Likewise.
15963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15964 (TRAP_TRACE): Likewise.
15965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15966 __USE_XOPEN2K8].
15967 (CLD_KILLED): Likewise.
15968 (CLD_DUMPED): Likewise.
15969 (CLD_TRAPPED): Likewise.
15970 (CLD_STOPPED): Likewise.
15971 (CLD_CONTINUED): Likewise.
15972 (POLL_IN): Likewise.
15973 (POLL_OUT): Likewise.
15974 (POLL_MSG): Likewise.
15975 (POLL_ERR): Likewise.
15976 (POLL_PRI): Likewise.
15977 (POLL_HUP): Likewise.
15978 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15979 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15980
bc61d27c
JM
15981 [BZ #16670]
15982 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15983 before #include of <time.h>.
15984 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15985 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15986 (test-xfail-UNIX98/sched.h/conform): Likewise.
15987
302949e2
MS
159882014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15989
15990 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15991 error absence of trapping exception support.
15992 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15993
a00f522a
JM
159942014-03-07 Joseph Myers <joseph@codesourcery.com>
15995
6f99f280
JM
15996 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15997 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15998 * timezone/Makefile (testdata): Move definition above include of
15999 Rules.
16000 (test-zones): New variable.
16001 (tests-special): Add zone files.
16002 (build-testdata): Use $(evaluate-test).
16003
0b20a9e8
JM
16004 * elf/Makefile (tests-special): Rename tests to end with .out.
16005 ($(objpfx)noload-mem): Likewise.
16006 ($(objpfx)tst-leaks1-mem): Likewise.
16007 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16008 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16009 $(objpfx)test-iconvconfig.out.
16010 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16011 set -e inside subshell and redirect output to file.
16012 * iconvdata/Makefile (generated): Rename tests to end with .out.
16013 Correct type.
16014 (tests-special): Rename tests to end with .out.
16015 ($(objpfx)mtrace-tst-loading): Likewise.
16016 * intl/Makefile (generated): Likewise.
16017 (tests-special): Likewise.
16018 ($(objpfx)mtrace-tst-gettext): Likewise.
16019 * misc/Makefile (generated): Likewise.
16020 (tests-special): Likewise.
16021 ($(objpfx)tst-error1-mem): Likewise.
16022 * nptl/Makefile (tests-special): Likewise.
16023 ($(objpfx)tst-stack3-mem): Likewise.
16024 (generated): Likewise.
16025 * posix/Makefile (generated): Likewise.
16026 (tests-special): Likewise.
16027 (xtests-special): Likewise.
16028 ($(objpfx)tst-fnmatch-mem): Likewise.
16029 ($(objpfx)bug-regex2-mem): Likewise.
16030 ($(objpfx)bug-regex14-mem): Likewise.
16031 ($(objpfx)bug-regex21-mem): Likewise.
16032 ($(objpfx)bug-regex31-mem): Likewise.
16033 ($(objpfx)tst-vfork3-mem): Likewise.
16034 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16035 ($(objpfx)tst-pcre-mem): Likewise.
16036 ($(objpfx)tst-boost-mem): Likewise.
16037 ($(objpfx)bug-ga2-mem): Likewise.
16038 ($(objpfx)bug-glob2-mem): Likewise.
16039 * resolv/Makefile (generate): Likewise.
16040 (tests-special): Likewise.
16041 (xtests-special): Likewise.
16042 (generated): Likewise.
16043 ($(objpfx)mtrace-tst-leaks): Likewise.
16044 ($(objpfx)mtrace-tst-leaks2): Likewise.
16045
265d52ab
JM
16046 * scripts/merge-test-results.sh: New file.
16047 * Makefile (tests-special-notdir): New variable.
16048 (tests): Run merge-test-results.sh.
16049 (xtests): Likewise.
16050 * Rules (tests-special-notdir): New variable.
16051 (xtests-special-notdir): Likewise.
16052 (tests): Run merge-test-results.sh
16053 (xtests): Likewise.
16054
54ee292d
JM
16055 * Makeconfig (test-xfail-name): New variable.
16056 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16057 compute variable name for expected failures.
16058 * conform/Makefile (conformtest-headers-data): New variable.
16059 (conformtest-standards): Likewise.
16060 (conformtest-headers-ISO): Likewise.
16061 (conformtest-headers-ISO99): Likewise.
16062 (conformtest-headers-ISO11): Likewise.
16063 (conformtest-headers-POSIX): Likewise.
16064 (conformtest-headers-XPG3): Likewise.
16065 (conformtest-headers-XPG4): Likewise.
16066 (conformtest-headers-UNIX98): Likewise.
16067 (conformtest-headers-XOPEN2K): Likewise.
16068 (conformtest-headers-POSIX2008): Likewise.
16069 (conformtest-headers-XOPEN2K8): Likewise.
16070 (conformtest-header-list-base): Likewise.
16071 (conformtest-header-list-tests): Likewise.
16072 (conformtest-header-base): Likewise.
16073 (conformtest-header-tests): Likewise.
16074 (tests-special): Add $(conformtest-header-list-tests). If
16075 [$(fast-check) && !$(cross-compiling)], add
16076 $(conformtest-header-tests) instead of
16077 $(objpfx)run-conformtest.out.
16078 (generated): Add $(conformtest-header-list-base). If
16079 [$(fast-check) && !$(cross-compiling)], add
16080 $(conformtest-header-base). Remove previous setting.
16081 ($(conformtest-header-list-tests)): New target.
16082 (test-xfail-run-conformtest): Remove variable.
16083 ($(objpfx)run-conformtest.out): Remove target.
16084 (test-xfail-ISO11/complex.h/conform): New variable.
16085 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16086 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16087 (test-xfail-XPG3/varargs.h/conform): Likewise.
16088 (test-xfail-XPG4/varargs.h/conform): Likewise.
16089 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16090 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16091 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16092 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16093 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16094 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16095 (test-xfail-XPG3/ftw.h/conform): Likewise.
16096 (test-xfail-XPG3/grp.h/conform): Likewise.
16097 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16098 (test-xfail-XPG3/limits.h/conform): Likewise.
16099 (test-xfail-XPG3/pwd.h/conform): Likewise.
16100 (test-xfail-XPG3/search.h/conform): Likewise.
16101 (test-xfail-XPG3/signal.h/conform): Likewise.
16102 (test-xfail-XPG3/stdio.h/conform): Likewise.
16103 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16104 (test-xfail-XPG3/string.h/conform): Likewise.
16105 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16106 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16107 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16108 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16109 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16110 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16111 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16112 (test-xfail-XPG3/termios.h/conform): Likewise.
16113 (test-xfail-XPG3/time.h/conform): Likewise.
16114 (test-xfail-XPG3/unistd.h/conform): Likewise.
16115 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16116 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16117 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16118 (test-xfail-XPG4/netdb.h/conform): Likewise.
16119 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16120 (test-xfail-XPG4/signal.h/conform): Likewise.
16121 (test-xfail-XPG4/stdio.h/conform): Likewise.
16122 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16123 (test-xfail-XPG4/stropts.h/conform): Likewise.
16124 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16125 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16126 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16127 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16128 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16129 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16130 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16131 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16132 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16133 (test-xfail-XPG4/termios.h/conform): Likewise.
16134 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16135 (test-xfail-XPG4/unistd.h/conform): Likewise.
16136 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16137 (test-xfail-POSIX/sched.h/conform): Likewise.
16138 (test-xfail-POSIX/signal.h/conform): Likewise.
16139 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16140 (test-xfail-POSIX/tar.h/conform): Likewise.
16141 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16142 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16143 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16144 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16145 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16146 (test-xfail-UNIX98/sched.h/conform): Likewise.
16147 (test-xfail-UNIX98/signal.h/conform): Likewise.
16148 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16149 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16150 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16151 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16152 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16153 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16154 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16155 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16156 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16157 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16158 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16159 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16160 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16161 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16162 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16163 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16164 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16165 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16166 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16167 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16168 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16169 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16170 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16171 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16172 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16173 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16174 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16175 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16176 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16177 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16178 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16179 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16180 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16181 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16182 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16183 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16184 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16185 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16186 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16187 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16188 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16189 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16190 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16191 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16192 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16193 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16194 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16195 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16196 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16197 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16198 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16199 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16200 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16201 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16202 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16203 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16204 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16205 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16206 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16207 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16208 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16209 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16210 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16211 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16212 (conformtest-cc-flags): Likewise.
16213 ($(conformtest-header-tests): New target.
16214 * conform/check-header-lists.sh: New file.
16215 * conform/run-conformtest.sh: Remove.
16216
a00f522a
JM
16217 * conform/conformtest.pl: Allow ' and \ in values given for
16218 constants.
16219 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16220 inclusion.
16221 [POSIX] (sys/types.h): Likewise.
16222 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16223 inclusion.
16224 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16225 inclusion.
16226 * conform/data/signal.h-data (SIGIO): Remove expectation.
16227 [XPG3] (SIGBUS): Do not expect.
16228 [POSIX || XPG3] (SIGPOLL): Likewise.
16229 [POSIX || XPG3] (SIGPROF): Likewise.
16230 [POSIX || XPG3] (SIGSYS): Likewise.
16231 [XPG3] (SIGTRAP): Likewise.
16232 [POSIX || XPG3] (SIGURG): Likewise.
16233 [POSIX || XPG3] (SIGVTALRM): Likewise.
16234 [POSIX || XPG3] (SIGXCPU): Likewise.
16235 [POSIX || XPG3] (SIGXFSZ): Likewise.
16236 [POSIX] (SA_SIGINFO): Expect.
16237 [XPG3] (siginfo_t): Do not expect type or contents.
16238 [POSIX] (si_pid): Do not expect element.
16239 [POSIX] (si_uid): Likewise.
16240 [POSIX] (si_addr): Likewise.
16241 [POSIX] (si_status): Likewise.
16242 [POSIX] (si_band): Likewise.
16243 [XPG4] (si_value): Likewise.
16244 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16245 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16246 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16247 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16248 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16249 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16250 [POSIX || XPG3] (ILL_COPROC): Likewise.
16251 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16252 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16253 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16254 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16255 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16256 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16257 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16258 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16259 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16260 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16261 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16262 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16263 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16264 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16265 [POSIX || XPG3] (CLD_EXITED): Likewise.
16266 [POSIX || XPG3] (CLD_KILLED): Likewise.
16267 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16268 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16269 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16270 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16271 [POSIX || XPG3] (POLL_IN): Likewise.
16272 [POSIX || XPG3] (POLL_OUT): Likewise.
16273 [POSIX || XPG3] (POLL_MSG): Likewise.
16274 [POSIX || XPG3] (POLL_ERR): Likewise.
16275 [POSIX || XPG3] (POLL_PRI): Likewise.
16276 [POSIX || XPG3] (POLL_HUP): Likewise.
16277 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16278 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16279 (SIG*): Do not allow.
16280 [XPG3] (si_*): Likewise.
16281 [XPG3] (SI_*): Likewise.
16282 [XPG3 || XPG4] (sigev_*): Likewise.
16283 [XPG3 || XPG4] (SIGEV_*): Likewise.
16284 [XPG3 || XPG4] (sival_*): Likewise.
16285 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16286 [POSIX || XPG3] (BUS_*): Likewise.
16287 [POSIX || XPG3] (CLD_*): Likewise.
16288 [POSIX || XPG3] (FPE_*): Likewise.
16289 [POSIX || XPG3] (ILL_*): Likewise.
16290 [POSIX || XPG3] (POLL_*): Likewise.
16291 [POSIX || XPG3] (SEGV_*): Likewise.
16292 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16293 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16294 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16295 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16296 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16297 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16298 Specify type and value.
16299 (TVERSLEN): Likewise.
16300 (REGTYPE): Likewise.
16301 (AREGTYPE): Likewise.
16302 (LNKTYPE): Likewise.
16303 (SYMTYPE): Likewise.
16304 (CHRTYPE): Likewise.
16305 (BLKTYPE): Likewise.
16306 (DIRTYPE): Likewise.
16307 (FIFOTYPE): Likewise.
16308 (CONTTYPE): Likewise.
16309 (TSUID): Likewise.
16310 (TSGID): Likewise.
16311 (TSVTX): Likewise.
16312 (TUREAD): Likewise.
16313 (TUWRITE): Likewise.
16314 (TUEXEC): Likewise.
16315 (TGREAD): Likewise.
16316 (TGWRITE): Likewise.
16317 (TGEXEC): Likewise.
16318 (TOREAD): Likewise.
16319 (TOWRITE): Likewise.
16320 (TOEXEC): Likewise.
16321 [POSIX] (TSVTX): Expect constant.
16322
aa97dee1
JM
163232014-03-06 Joseph Myers <joseph@codesourcery.com>
16324
f214606a
JM
16325 * Makefile (tests): Change dependencies to ....
16326 (tests-special): ... additions to this variable.
16327 (tests): Depend on $(tests-special).
16328 * Makerules (check-abi-list): New variable.
16329 (check-abi): Depend on $(check-abi-list).
16330 [$(subdir) = elf] (tests-special): Add
16331 $(objpfx)check-abi-libc.out.
16332 [$(build-shared) = yes && subdir] (tests-special): Add
16333 $(check-abi-list).
16334 [$(build-shared) = yes && subdir] (tests): Do not depend on
16335 check-abi.
16336 * Rules (tests): Depend on $(tests-special).
16337 (xtests): Depend on $(xtests-special).
16338 * catgets/Makefile (tests): Change dependencies to ....
16339 (tests-special): ... additions to this variable.
16340 * conform/Makefile (tests): Change dependencies to ....
16341 (tests-special): ... additions to this variable.
16342 * elf/Makefile (tests): Change dependencies to ....
16343 (tests-special): ... additions to this variable.
16344 * grp/Makefile (tests): Change dependencies to ....
16345 (tests-special): ... additions to this variable.
16346 * iconv/Makefile (xtests): Change dependencies to ....
16347 (xtests-special): ... additions to this variable.
16348 * iconvdata/Makefile (tests): Change dependencies to ....
16349 (tests-special): ... additions to this variable.
16350 * intl/Makefile (tests): Change dependencies to ....
16351 (tests-special): ... additions to this variable. Also add
16352 $(objpfx)tst-gettext.out.
16353 * io/Makefile (tests): Change dependencies to ....
16354 (tests-special): ... additions to this variable.
16355 * libio/Makefile (tests): Change dependencies to ....
16356 (tests-special): ... additions to this variable.
16357 * malloc/Makefile (tests): Change dependencies to ....
16358 (tests-special): ... additions to this variable.
16359 * misc/Makefile (tests): Change dependencies to ....
16360 (tests-special): ... additions to this variable.
16361 * nptl/Makefile (tests): Change dependencies to ....
16362 (tests-special): ... additions to this variable.
16363 * nptl_db/Makefile (tests): Change dependencies to ....
16364 (tests-special): ... additions to this variable.
16365 * posix/Makefile (tests): Change dependencies to ....
16366 (tests-special): ... additions to this variable.
16367 (xtests): Change dependencies to ....
16368 (xtests-special): ... additions to this variable.
16369 * resolv/Makefile (tests): Change dependencies to ....
16370 (tests-special): ... additions to this variable.
16371 (xtests): Change dependencies to ....
16372 (xtests-special): ... additions to this variable.
16373 * stdio-common/Makefile (tests): Change dependencies to ....
16374 (tests-special): ... additions to this variable.
16375 (do-tst-unbputc): Remove target.
16376 (do-tst-printf): Likewise.
16377 * stdlib/Makefile (tests): Change dependencies to ....
16378 (tests-special): ... additions to this variable.
16379 * string/Makefile (tests): Change dependencies to ....
16380 (tests-special): ... additions to this variable.
16381 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16382 (tests-special): ... additions to this variable.
16383
81700b53
JM
16384 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16385 whole file.
16386 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16387 whole file.
16388 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16389 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16390
2ea18461
JM
16391 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16392 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16393 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16394 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16395 * conform/data/libgen.h-data [XPG3]: Likewise.
16396 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16397 * conform/data/ndbm.h-data [XPG3]: Likewise.
16398 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16399 * conform/data/netdb.h-data [XPG3]: Likewise.
16400 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16401 * conform/data/poll.h-data [XPG3]: Likewise.
16402 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16403 * conform/data/strings.h-data [XPG3]: Likewise.
16404 * conform/data/stropts.h-data [XPG3]: Likewise.
16405 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16406 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16407 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16408 Likewise.
16409 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16410 * conform/data/sys/time.h-data [XPG3]: Likewise.
16411 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16412 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16413 * conform/data/sys/un.h-data [XPG3]: Likewise.
16414 * conform/data/syslog.h-data [XPG3]: Likewise.
16415 * conform/data/ucontext.h-data [XPG3]: Likewise.
16416 * conform/data/utmpx.h-data [XPG3]: Likewise.
16417 * conform/data/varargs.h-data [UNIX98]: Enable file.
16418
355bc986
JM
16419 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16420
215db402
JM
16421 * math/libm-test.inc (struct test_f_f_data): Move expected results
16422 into structure for each rounding mode.
16423 (struct test_ff_f_data): Likewise.
16424 (struct test_ff_f_data_nexttoward): Likewise.
16425 (struct test_fi_f_data): Likewise.
16426 (struct test_fl_f_data): Likewise.
16427 (struct test_if_f_data): Likewise.
16428 (struct test_fff_f_data): Likewise.
16429 (struct test_c_f_data): Likewise.
16430 (struct test_f_f1_data): Likewise.
16431 (struct test_fF_f1_data): Likewise.
16432 (struct test_ffI_f1_data): Likewise.
16433 (struct test_c_c_data): Likewise.
16434 (struct test_cc_c_data): Likewise.
16435 (struct test_f_i_data): Likewise.
16436 (struct test_ff_i_data): Likewise.
16437 (struct test_f_l_data): Likewise.
16438 (struct test_f_L_data): Likewise.
16439 (struct test_fFF_11_data): Likewise.
16440 (RM_): New macro.
16441 (RM_FE_DOWNWARD): Likewise.
16442 (RM_FE_TONEAREST): Likewise.
16443 (RM_FE_TOWARDZERO): Likewise.
16444 (RM_FE_UPWARD): Likewise.
16445 (RUN_TEST_LOOP_f_f): Update references to expected results.
16446 (RUN_TEST_LOOP_2_f): Likewise.
16447 (RUN_TEST_LOOP_fff_f): Likewise.
16448 (RUN_TEST_LOOP_c_f): Likewise.
16449 (RUN_TEST_LOOP_f_f1): Likewise.
16450 (RUN_TEST_LOOP_fF_f1): Likewise.
16451 (RUN_TEST_LOOP_fI_f1): Likewise.
16452 (RUN_TEST_LOOP_ffI_f1): Likewise.
16453 (RUN_TEST_LOOP_c_c): Likewise.
16454 (RUN_TEST_LOOP_cc_c): Likewise.
16455 (RUN_TEST_LOOP_f_i): Likewise.
16456 (RUN_TEST_LOOP_f_i_tg): Likewise.
16457 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16458 (RUN_TEST_LOOP_f_b): Likewise.
16459 (RUN_TEST_LOOP_f_b_tg): Likewise.
16460 (RUN_TEST_LOOP_f_l): Likewise.
16461 (RUN_TEST_LOOP_f_L): Likewise.
16462 (RUN_TEST_LOOP_fFF_11): Likewise.
16463 * math/gen-libm-test.pl (parse_args): Output four copies of
16464 expected results for each test.
16465
67737b8f
JM
16466 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16467 (__ASSUME_UTIMES): Remove.
16468 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16469 (__ASSUME_UTIMES): Likewise.
16470
aa97dee1
JM
16471 * math/gen-auto-libm-tests.c: Update comment on output format.
16472 (output_for_one_input_case): Generate before-rounding and
16473 after-rounding information as conditions on output flags not
16474 floating-point format.
16475 * math/auto-libm-test-out: Regenerated.
16476 * math/gen-libm-test.pl (cond_value): New function.
16477 (or_cond_value): Use cond_value.
16478 (generate_testfile): Handle conditional exceptions.
16479
e6b6a857
JM
164802014-03-05 Joseph Myers <joseph@codesourcery.com>
16481
2f0a0f44
JM
16482 * math/libm-test.inc (max_valid_error): New variable.
16483 (init_max_error): Take new argument specifying whether function
16484 results are exactly determined. Set max_valid_error and bound
16485 other variables for errors based on this argument.
16486 (set_max_error): Do not record results above max_valid_error.
16487 (check_float_internal): Only accept errors of up to 0.5ulps if
16488 also at most max_valid_error.
16489 (START): Take new argument EXACT and pass it to init_max_error.
16490 (acos_test): Update call to START.
16491 (acos_test_tonearest): Likewise.
16492 (acos_test_towardzero): Likewise.
16493 (acos_test_downward): Likewise.
16494 (acos_test_upward): Likewise.
16495 (acosh_test): Likewise.
16496 (asin_test): Likewise.
16497 (asin_test_tonearest): Likewise.
16498 (asin_test_towardzero): Likewise.
16499 (asin_test_downward): Likewise.
16500 (asin_test_upward): Likewise.
16501 (asinh_test): Likewise.
16502 (atan_test): Likewise.
16503 (atanh_test): Likewise.
16504 (atan2_test): Likewise.
16505 (cabs_test): Likewise.
16506 (cacos_test): Likewise.
16507 (cacosh_test): Likewise.
16508 (carg_test): Likewise.
16509 (casin_test): Likewise.
16510 (casinh_test): Likewise.
16511 (catan_test): Likewise.
16512 (catanh_test): Likewise.
16513 (cbrt_test): Likewise.
16514 (ccos_test): Likewise.
16515 (ccosh_test): Likewise.
16516 (ceil_test): Likewise.
16517 (cexp_test): Likewise.
16518 (cimag_test): Likewise.
16519 (clog_test): Likewise.
16520 (clog10_test): Likewise.
16521 (conj_test): Likewise.
16522 (copysign_test): Likewise.
16523 (cos_test): Likewise.
16524 (cos_test_tonearest): Likewise.
16525 (cos_test_towardzero): Likewise.
16526 (cos_test_downward): Likewise.
16527 (cos_test_upward): Likewise.
16528 (cosh_test): Likewise.
16529 (cosh_test_tonearest): Likewise.
16530 (cosh_test_towardzero): Likewise.
16531 (cosh_test_downward): Likewise.
16532 (cosh_test_upward): Likewise.
16533 (cpow_test): Likewise.
16534 (cproj_test): Likewise.
16535 (creal_test): Likewise.
16536 (csin_test): Likewise.
16537 (csinh_test): Likewise.
16538 (csqrt_test): Likewise.
16539 (ctan_test): Likewise.
16540 (ctan_test_tonearest): Likewise.
16541 (ctan_test_towardzero): Likewise.
16542 (ctan_test_downward): Likewise.
16543 (ctan_test_upward): Likewise.
16544 (ctanh_test): Likewise.
16545 (ctanh_test_tonearest): Likewise.
16546 (ctanh_test_towardzero): Likewise.
16547 (ctanh_test_downward): Likewise.
16548 (ctanh_test_upward): Likewise.
16549 (erf_test): Likewise.
16550 (erfc_test): Likewise.
16551 (exp_test): Likewise.
16552 (exp_test_tonearest): Likewise.
16553 (exp_test_towardzero): Likewise.
16554 (exp_test_downward): Likewise.
16555 (exp_test_upward): Likewise.
16556 (exp10_test): Likewise.
16557 (exp10_test_tonearest): Likewise.
16558 (exp10_test_towardzero): Likewise.
16559 (exp10_test_downward): Likewise.
16560 (exp10_test_upward): Likewise.
16561 (pow10_test): Likewise.
16562 (exp2_test): Likewise.
16563 (expm1_test): Likewise.
16564 (expm1_test_tonearest): Likewise.
16565 (expm1_test_towardzero): Likewise.
16566 (expm1_test_downward): Likewise.
16567 (expm1_test_upward): Likewise.
16568 (fabs_test): Likewise.
16569 (fdim_test): Likewise.
16570 (floor_test): Likewise.
16571 (fma_test): Likewise.
16572 (fma_test_towardzero): Likewise.
16573 (fma_test_downward): Likewise.
16574 (fma_test_upward): Likewise.
16575 (fmax_test): Likewise.
16576 (fmin_test): Likewise.
16577 (fmod_test): Likewise.
16578 (fpclassify_test): Likewise.
16579 (frexp_test): Likewise.
16580 (hypot_test): Likewise.
16581 (ilogb_test): Likewise.
16582 (isfinite_test): Likewise.
16583 (finite_test): Likewise.
16584 (isgreater_test): Likewise.
16585 (isgreaterequal_test): Likewise.
16586 (isinf_test): Likewise.
16587 (isless_test): Likewise.
16588 (islessequal_test): Likewise.
16589 (islessgreater_test): Likewise.
16590 (isnan_test): Likewise.
16591 (isnormal_test): Likewise.
16592 (issignaling_test): Likewise.
16593 (isunordered_test): Likewise.
16594 (j0_test): Likewise.
16595 (j1_test): Likewise.
16596 (jn_test): Likewise.
16597 (ldexp_test): Likewise.
16598 (lgamma_test): Likewise.
16599 (gamma_test): Likewise.
16600 (lrint_test): Likewise.
16601 (lrint_test_tonearest): Likewise.
16602 (lrint_test_towardzero): Likewise.
16603 (lrint_test_downward): Likewise.
16604 (lrint_test_upward): Likewise.
16605 (llrint_test): Likewise.
16606 (llrint_test_tonearest): Likewise.
16607 (llrint_test_towardzero): Likewise.
16608 (llrint_test_downward): Likewise.
16609 (llrint_test_upward): Likewise.
16610 (log_test): Likewise.
16611 (log10_test): Likewise.
16612 (log1p_test): Likewise.
16613 (log2_test): Likewise.
16614 (logb_test): Likewise.
16615 (logb_test_downward): Likewise.
16616 (lround_test): Likewise.
16617 (llround_test): Likewise.
16618 (modf_test): Likewise.
16619 (nearbyint_test): Likewise.
16620 (nextafter_test): Likewise.
16621 (nexttoward_test): Likewise.
16622 (pow_test): Likewise.
16623 (pow_test_tonearest): Likewise.
16624 (pow_test_towardzero): Likewise.
16625 (pow_test_downward): Likewise.
16626 (pow_test_upward): Likewise.
16627 (remainder_test): Likewise.
16628 (drem_test): Likewise.
16629 (remainder_test_tonearest): Likewise.
16630 (drem_test_tonearest): Likewise.
16631 (remainder_test_towardzero): Likewise.
16632 (drem_test_towardzero): Likewise.
16633 (remainder_test_downward): Likewise.
16634 (drem_test_downward): Likewise.
16635 (remainder_test_upward): Likewise.
16636 (drem_test_upward): Likewise.
16637 (remquo_test): Likewise.
16638 (rint_test): Likewise.
16639 (rint_test_tonearest): Likewise.
16640 (rint_test_towardzero): Likewise.
16641 (rint_test_downward): Likewise.
16642 (rint_test_upward): Likewise.
16643 (round_test): Likewise.
16644 (scalb_test): Likewise.
16645 (scalbn_test): Likewise.
16646 (scalbln_test): Likewise.
16647 (signbit_test): Likewise.
16648 (sin_test): Likewise.
16649 (sin_test_tonearest): Likewise.
16650 (sin_test_towardzero): Likewise.
16651 (sin_test_downward): Likewise.
16652 (sin_test_upward): Likewise.
16653 (sincos_test): Likewise.
16654 (sinh_test): Likewise.
16655 (sinh_test_tonearest): Likewise.
16656 (sinh_test_towardzero): Likewise.
16657 (sinh_test_downward): Likewise.
16658 (sinh_test_upward): Likewise.
16659 (sqrt_test): Likewise.
16660 (sqrt_test_tonearest): Likewise.
16661 (sqrt_test_towardzero): Likewise.
16662 (sqrt_test_downward): Likewise.
16663 (sqrt_test_upward): Likewise.
16664 (tan_test): Likewise.
16665 (tan_test_tonearest): Likewise.
16666 (tan_test_towardzero): Likewise.
16667 (tan_test_downward): Likewise.
16668 (tan_test_upward): Likewise.
16669 (tanh_test): Likewise.
16670 (tgamma_test): Likewise.
16671 (trunc_test): Likewise.
16672 (y0_test): Likewise.
16673 (y1_test): Likewise.
16674 (yn_test): Likewise.
16675 (significand_test): Likewise.
16676
e6b6a857
JM
16677 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16678 individual tests in comment.
16679 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16680 (prev_max_error): New variable.
16681 (prev_real_max_error): Likewise.
16682 (prev_imag_max_error): Likewise.
16683 (compare_ulp_data): Don't refer to test names in comment.
16684 (find_test_ulps): Remove function.
16685 (find_function_ulps): Likewise.
16686 (find_complex_function_ulps): Likewise.
16687 (init_max_error): Take function name as argument. Look up ulps
16688 for that function.
16689 (print_ulps): Remove function.
16690 (print_max_error): Use prev_max_error instead of calling
16691 find_function_ulps.
16692 (print_complex_max_error): Use prev_real_max_error and
16693 prev_imag_max_error instead of calling find_complex_function_ulps.
16694 (check_float_internal): Take max_ulp parameter instead of calling
16695 find_test_ulps. Don't call print_ulps.
16696 (check_float): Update call to check_float_internal.
16697 (check_complex): Update calls to check_float_internal.
16698 (START): Pass argument to init_max_error.
16699 * math/gen-libm-test.pl (%results): Don't include "kind"
16700 information.
16701 (parse_ulps): Don't handle ulps of individual tests.
16702 (print_ulps_file): Likewise.
16703 (output_ulps): Likewise.
16704 * math/README.libm-test: Update.
16705 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16706 individual tests.
16707 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16708 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16709 * sysdeps/arm/libm-test-ulps: Likewise.
16710 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16711 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16712 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16713 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16714 * sysdeps/microblaze/libm-test-ulps: Likewise.
16715 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16716 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16717 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16718 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16719 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16720 * sysdeps/sh/libm-test-ulps: Likewise.
16721 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16722 * sysdeps/tile/libm-test-ulps: Likewise.
16723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16724
45adef3c
JM
167252014-03-04 Joseph Myers <joseph@codesourcery.com>
16726
16727 * math/libm-test.inc (print_complex_max_error): Check separately
16728 whether real and imaginary errors are within allowed range and
16729 pass 0 to print_complex_function_ulps instead of value within
16730 allowed range.
16731
000232b9
SP
167322014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16733
d4b17258
SP
16734 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16735 formatting.
16736 (get_handles_fopen): Likewise.
16737 (do_write_test): Likewise.
16738
091eff71
SP
16739 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16740
fa3cd248
SP
16741 * libio/fileops.c (do_ftell): Use cached offset when
16742 available.
16743 * libio/iofwide.c (do_ftell_wide): Likewise.
16744 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16745 _IO_file_attach.
16746 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16747
000232b9
SP
16748 [BZ #16532]
16749 * libio/libioP.h (get_file_offset): New function.
16750 * libio/fileops.c (get_file_offset): Likewise.
16751 (do_ftell): Likewise.
16752 (_IO_new_file_seekoff): Split out ftell logic.
16753 * libio/wfileops.c (do_ftell_wide): Likewise.
16754 (_IO_wfile_seekoff): Split out ftell logic.
16755 * libio/tst-ftell-active-handler.c: New test case.
16756 * libio/Makefile (tests): Add it.
16757
116f4d1a
RM
167582014-03-03 Roland McGrath <roland@hack.frob.com>
16759
16760 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16761 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16762
532a6035
SP
167632014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16764
16765 [BZ #16639]
16766 * nscd/connections.c (nscd_init): Call do_exit.
16767 (start_threads): Call do_exit and notify_parent.
16768 (begin_drop_privileges): Call do_exit.
16769 (finish_drop_privileges): Likewise.
16770 * nscd/selinux.c (preserve_capabilities): Likewise.
16771 (install_real_capabilities): Likewise.
16772 (nscd_selinux_enabled): Likewise.
16773 (avc_create_thread): Likewise.
16774 (avc_alloc_lock): Likewise.
16775 (nscd_avc_init): Likewise.
16776 * nscd/nscd.c (parent_fd): New static variable.
16777 (main): Create a pipe between parent and child processes.
16778 Skip closing parent_fd.
16779 (monitor_child): New function.
16780 (do_exit): Likewise.
16781 (notify_parent): Likewise.
16782 * nscd/nscd.h (notify_parent): Likewise.
16783 (do_exit): Likewise.
16784
d6285c9f
CD
167852014-03-03 Carlos O'Donell <carlos@redhat.com>
16786
16787 * malloc/malloc.c (__libc_calloc): Revert last change.
16788
2b85d2a0
AZ
167892014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16790
16791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16792
c7debbdf
RS
167932014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16794
16795 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16797 implementation.
16798 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16799 (__libc_ifunc_impl_list): Likewise.
16800 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16801 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16802 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16803 * string/strrchr.c: Define STRRCHR.
16804
235eed86
OB
168052014-02-28 Ondřej Bílka <neleai@seznam.cz>
16806
16807 * benchtest/bench-strtok.c (simple_strtok): Delete.
16808 (strtok_string): Use as benchmark.
16809 * string/strtok (STRTOK): New macro.
16810
8e25d1e7
CD
168112014-02-28 Carlos O'Donell <carlos@redhat.com>
16812
ef563f92
CD
16813 * manual/threads.texi: Add header and standard comments to all
16814 functions.
16815
8e25d1e7
CD
16816 * elf/dl-lookup.c (check_match): New function.
16817 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16818 (do_lookup_x): Remove nested function check_match. Use non-nested
16819 function check_match.
16820
ff71cc37
RM
168212014-02-28 Roland McGrath <roland@hack.frob.com>
16822
f08e9a26
RM
16823 * csu/Makefile (generated, before-compile): Use += rather than =.
16824 * catgets/Makefile (generated, generated-dirs): Likewise.
16825 * debug/Makefile (generated): Likewise.
16826 * dlfcn/Makefile (generated): Likewise.
16827 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16828 * iconvdata/Makefile (before-compile, generated): Likewise.
16829 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16830 * libio/Makefile (generated): Likewise.
16831 * malloc/Makefile (generated): Likewise.
16832 * manual/Makefile (generated, generated-dirs): Likewise.
16833 * misc/Makefile (generated): Likewise.
16834 * posix/Makefile (generated): Likewise.
16835 * resolv/Makefile (generated): Likewise.
16836 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16837 * timezone/Makefile (generated, generated-dirs): Likewise.
16838
ff71cc37
RM
16839 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16840
fe13a20c
AZ
168412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16842
57f41c40
AS
16843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16844 power8 implementation.
16845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16846 file: POWER8 llround ifunc implementation.
16847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16848 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16849 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16850 POWER8 llround implementation.
16851
57f41c40
AS
16852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16853 power8 implementation.
16854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16855 file: POWER8 llrint ifunc implementation.
16856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16857 Add POWER8 implementation.
1ad8950a
AZ
16858 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16859 POWER8 llrint implementation.
16860
57f41c40
AS
16861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16862 power8 implementation.
16863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16864 file: POWER8 finite ifunc implementation.
16865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16866 Add POWER8 implementation.
cac626d6
AZ
16867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16868 Likewise.
16869 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16870 POWER8 finite implementation.
16871 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16872
57f41c40
AS
16873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16874 power8 implementation.
16875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16876 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16878 POWER8 implementation.
16879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16880 Likewise.
57f41c40
AS
16881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16882 isinf implementation.
4393fc11
AZ
16883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16884
57f41c40
AS
16885 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16886 (INIT_ARCH): Add hwcap2 initialization.
16887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16888 power8 implementation.
16889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16890 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16892 POWER8 implementation.
16893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16894 Likewise.
57f41c40
AS
16895 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16896 isnan implementation.
487972ae
AZ
16897 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16898
7d92b787
JY
168992014-02-27 Joey Ye <joey.ye@arm.com>
16900
16901 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16902 (_FP_NANFRAC_Q): Set to zero.
16903
1cadc858
SP
169042014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
16906 [BZ #16623]
16907 * math/auto-libm-test-in: New test inputs.
16908 * math/auto-libm-test-out: Regenerate.
16909 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16910 and DA.
16911 (__cos): Likewise.
16912 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16913
f8c17e79
JM
169142014-02-27 Joseph Myers <joseph@codesourcery.com>
16915
16916 * scripts/evaluate-test.sh: Take new argument indicating whether
16917 failure is expected.
16918 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16919 indicating whether failure is expected.
16920 * conform/Makefile (test-xfail-run-conformtest): New variable.
16921 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16922 level.
16923 * posix/Makefile (test-xfail-annexc): New variable.
16924 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16925
a5f891ac
JM
169262014-02-26 Joseph Myers <joseph@codesourcery.com>
16927
16928 * argp/Makefile: Include Makeconfig immediately after defining
16929 subdir.
16930 * assert/Makefile: Likewise.
16931 * benchtests/Makefile: Likewise.
16932 * catgets/Makefile: Likewise.
16933 * conform/Makefile: Likewise.
16934 * crypt/Makefile: Likewise.
16935 * csu/Makefile: Likewise.
16936 (all): Remove target.
16937 * ctype/Makefile: Include Makeconfig immediately after defining
16938 subdir.
16939 * debug/Makefile: Likewise.
16940 * dirent/Makefile: Likewise.
16941 * dlfcn/Makefile: Likewise.
16942 * gmon/Makefile: Likewise.
16943 * gnulib/Makefile: Likewise.
16944 * grp/Makefile: Likewise.
16945 * gshadow/Makefile: Likewise.
16946 * hesiod/Makefile: Likewise.
16947 * hurd/Makefile: Likewise.
16948 (all): Remove target.
16949 * iconvdata/Makefile: Include Makeconfig immediately after
16950 defining subdir.
16951 * inet/Makefile: Likewise.
16952 * intl/Makefile: Likewise.
16953 * io/Makefile: Likewise.
16954 * libio/Makefile: Likewise.
16955 (all): Remove target.
16956 * locale/Makefile: Include Makeconfig immediately after defining
16957 subdir.
16958 * login/Makefile: Likewise.
16959 * mach/Makefile: Likewise.
16960 (all): Remove target.
16961 * malloc/Makefile: Include Makeconfig immediately after defining
16962 subdir.
16963 (all): Remove target.
16964 * manual/Makefile: Include Makeconfig immediately after defining
16965 subdir.
16966 * math/Makefile: Likewise.
16967 * misc/Makefile: Likewise.
16968 * nis/Makefile: Likewise.
16969 * nss/Makefile: Likewise.
16970 * po/Makefile: Likewise.
16971 (all): Remove target.
16972 * posix/Makefile: Include Makeconfig immediately after defining
16973 subdir.
16974 * pwd/Makefile: Likewise.
16975 * resolv/Makefile: Likewise.
16976 * resource/Makefile: Likewise.
16977 * rt/Makefile: Likewise.
16978 * setjmp/Makefile: Likewise.
16979 * shadow/Makefile: Likewise.
16980 * signal/Makefile: Likewise.
16981 * socket/Makefile: Likewise.
16982 * soft-fp/Makefile: Likewise.
16983 * stdio-common/Makefile: Likewise.
16984 * stdlib/Makefile: Likewise.
16985 * streams/Makefile: Likewise.
16986 * string/Makefile: Likewise.
16987 * sunrpc/Makefile: Likewise.
16988 (all): Remove target.
16989 * sysvipc/Makefile: Include Makeconfig immediately after defining
16990 subdir.
16991 * termios/Makefile: Likewise.
16992 * time/Makefile: Likewise.
16993 * timezone/Makefile: Likewise.
16994 (all): Remove target.
16995 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16996 subdir.
16997 * wctype/Makefile: Likewise.
16998
5b456e9d
SE
169992014-02-26 Steve Ellcey <sellcey@mips.com>
17000
17001 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17002 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17003 (libc_feholdexcept_setround_mips): Ditto.
17004 (libc_feholdsetround): New.
17005 (libc_feholdsetroundf): New.
17006 (libc_feholdsetroundl): New.
17007 (libc_feupdateenv_test_mips): New.
17008 (libc_feupdateenv_test): New.
17009 (libc_feupdateenv_testf): New.
17010 (libc_feupdateenv_testl): New.
17011 (libc_feresetround): New.
17012 (libc_feresetroundf): New.
17013 (libc_feresetroundl): New.
17014 (libc_fetestexcept_mips): New.
17015 (libc_fetestexcept): New.
17016 (libc_fetestexceptf): New.
17017 (libc_fetestexceptl): New.
17018 (HAVE_RM_CTX): New.
17019 (libc_feholdexcept_setround_mips_ctx): New.
17020 (libc_feholdexcept_setround_ctx): New.
17021 (libc_feholdexcept_setroundf_ctx): New.
17022 (libc_feholdexcept_setroundl_ctx): New.
17023 (libc_fesetenv_mips_ctx): New.
17024 (libc_fesetenv_ctx): New.
17025 (libc_fesetenv_ctxf): New.
17026 (libc_fesetenv_ctxl): New.
17027 (libc_feupdateenv_mips_ctx): New.
17028 (libc_feupdateenv_ctx): New.
17029 (libc_feupdateenvf_ctx): New.
17030 (libc_feupdateenvl_ctx): New.
17031 (libc_feholdsetround_mips_ctx): New.
17032 (libc_feholdsetround_ctx): New.
17033 (libc_feholdsetroundf_ctx): New.
17034 (libc_feholdsetroundl_ctx): New.
17035 (libc_feresetround_mips_ctx): New.
17036 (libc_feresetround_ctx): New.
17037 (libc_feresetroundf_ctx): New.
17038 (libc_feresetroundl_ctx): New.
17039
085d0e35
CD
170402014-02-26 Carlos O'Donell <carlos@redhat.com>
17041
f067bf1f
CD
17042 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17043
085d0e35
CD
17044 * manual/ipc.texi: New file.
17045 * manual/Makefile (chapters): Add ipc.
17046 * manual/job.texi: Add "Inter-Process Communication" to next.
17047 * manual/process.texi: Add "Inter-Process Communication" to prev.
17048
86e58c08
AZ
170492014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17050
17051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17052
4248f0da
OB
170532014-02-26 Ondřej Bílka <neleai@seznam.cz>
17054
17055 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17056
cf822e3c
OB
17057 * manual/arith.texi: Fix spaces after sentences.
17058 * manual/charset.texi: Likewise.
17059 * manual/errno.texi: Likewise.
17060 * manual/install.texi: Likewise.
17061 * manual/llio.texi: Likewise.
17062 * manual/locale.texi: Likewise.
17063 * manual/maint.texi: Likewise.
17064 * manual/math.texi: Likewise.
17065 * manual/memory.texi: Likewise.
17066 * manual/message.texi: Likewise.
17067 * manual/probes.texi: Likewise.
17068 * manual/resource.texi: Likewise.
17069 * manual/signal.texi: Likewise.
17070 * manual/socket.texi: Likewise.
17071 * manual/stdio.texi: Likewise.
17072 * manual/string.texi: Likewise.
17073 * manual/time.texi: Likewise.
17074 * manual/users.texi: Likewise.
17075
ade40b10
CD
170762014-02-25 Carlos O'Donell <carlos@redhat.com>
17077
17078 [BZ #16632]
17079 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17080 _DEFAULT_SOURCE is defined.
17081
d0503676
CD
170822014-02-25 Ulrich Drepper <drepper@gmail.com>
17083 Carlos O'Donell <carlos@redhat.com>
17084
17085 [BZ #16613]
17086 * elf/dl-tls.c (_dl_count_modids): New function.
17087 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17088 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17089 audit library and increment generation counter.
17090 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17091 * elf/tst-audit9.c: New file.
17092 * elf/tst-auditmod9a.c: New file.
17093 * elf/tst-auditmod9b.c: New file.
17094 * elf/Makefile: Add rules to build and run tst-audit9.
17095
4cbf380c
FW
170962014-02-25 Florian Weimer <fweimer@redhat.com>
17097
17098 [BZ #15347]
17099 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17100
80a56cc3
WN
171012014-02-25 Will Newton <will.newton@linaro.org>
17102
17103 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17104 (__longjmp): Restore sp and lr before restoring callee
17105 saved registers. Add longjmp and longjmp_target
17106 SystemTap probe point.
17107 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17108 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17109 Define to zero to match jmpbuf layout.
17110 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17111 (__sigsetjmp): Save sp and lr before saving callee
17112 saved registers. Add setjmp SystemTap probe point.
17113
3ea0f74e
SL
171142014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17115
17116 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17117
b04acb26
AS
171182014-02-24 Andreas Schwab <schwab@suse.de>
17119
17120 [BZ #15804]
17121 * elf/pldd.c (wait_for_ptrace_stop): New function.
17122 (main): Call it after attaching.
17123
098ad55c
RM
171242014-02-22 Roland McGrath <roland@hack.frob.com>
17125
d4ec6ae1
RM
17126 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17127 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17128 Versions files is now verboten.
17129 * hurd/Versions (libc: GLIBC_2.0):
17130 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17131 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17132 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17133 * mach/Versions: Likewise.
17134
098ad55c
RM
17135 * csu/Versions: Remove unused %include.
17136 * resolv/Versions: Likewise.
17137
acd7f096
JM
171382014-02-21 Joseph Myers <joseph@codesourcery.com>
17139
f0881698
JM
17140 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17141 ($(objpfx)check-local-headers.out): Likewise.
17142 ($(objpfx)begin-end-check.out): Likewise.
17143 * Makerules (check-abi-%.out): Likewise.
17144 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17145 ($(objpfx)test2.cat): Likewise.
17146 ($(objpfx)de/libc.cat): Likewise.
17147 ($(objpfx)test-gencat.out): Likewise.
17148 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17149 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17150 ($(objpfx)noload-mem): Likewise.
17151 ($(objpfx)tst-pathopt.out): Likewise.
17152 ($(objpfx)tst-rtld-load-self.out): Likewise.
17153 ($(objpfx)tst-array1-cmp.out): Likewise.
17154 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17155 ($(objpfx)tst-array2-cmp.out): Likewise.
17156 ($(objpfx)tst-array3-cmp.out): Likewise.
17157 ($(objpfx)tst-array4-cmp.out): Likewise.
17158 ($(objpfx)tst-array5-cmp.out): Likewise.
17159 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17160 ($(objpfx)check-textrel.out): Likewise.
17161 ($(objpfx)check-execstack.out): Likewise.
17162 ($(objpfx)check-localplt.out): Likewise.
17163 ($(objpfx)order2-cmp.out): Likewise.
17164 ($(objpfx)tst-leaks1-mem): Likewise.
17165 ($(objpfx)tst-leaks1-static-mem): Likewise.
17166 ($(objpfx)tst-initorder-cmp.out): Likewise.
17167 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17168 ($(objpfx)tst-unused-dep.out): Likewise.
17169 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17170 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17171 * iconv/Makefile (test-iconvconfig): Likewise.
17172 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17173 ($(objpfx)iconv-test.out): Likewise.
17174 ($(objpfx)tst-tables.out): Likewise.
17175 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17176 ($(objpfx)tst-gettext.out): Likewise.
17177 ($(objpfx)tst-translit.out): Likewise.
17178 ($(objpfx)tst-gettext2.out): Likewise.
17179 ($(objpfx)tst-gettext4.out): Likewise.
17180 ($(objpfx)tst-gettext6.out): Likewise.
17181 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17182 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17183 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17184 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17185 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17186 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17187 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17188 ($(objpfx)wordexp-tst.out): Likewise.
17189 ($(objpfx)annexc.out): Likewise.
17190 ($(objpfx)tst-fnmatch-mem): Likewise.
17191 ($(objpfx)bug-regex2-mem): Likewise.
17192 ($(objpfx)bug-regex14-mem): Likewise.
17193 ($(objpfx)bug-regex21-mem): Likewise.
17194 ($(objpfx)bug-regex31-mem): Likewise.
17195 ($(objpfx)tst-vfork3-mem): Likewise.
17196 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17197 ($(objpfx)tst-pcre-mem): Likewise.
17198 ($(objpfx)tst-boost-mem): Likewise.
17199 ($(objpfx)tst-getconf.out): Likewise.
17200 ($(objpfx)bug-ga2-mem): Likewise.
17201 ($(objpfx)bug-glob2-mem): Likewise.
17202 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17203 ($(objpfx)mtrace-tst-leaks2): Likewise.
17204 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17205 ($(objpfx)tst-printf.out): Likewise.
17206 ($(objpfx)tst-setvbuf1.out): Likewise.
17207 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17208 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17209 ($(objpfx)tst-fmtmsg.out): Likewise.
17210 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17211 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17212
acd7f096
JM
17213 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17214 * bits/sigaction.h [__USE_MISC]: Likewise.
17215 * bits/waitstatus.h: Update #endif comments.
17216 * ctype/ctype.h: Likewise.
17217 * dirent/dirent.h: Likewise.
17218 [__USE_MISC]: Remove redundant conditionals.
17219 * grp/grp.h: Update #endif comments.
17220 [__USE_GNU]: Remove redundant conditionals.
17221 [__USE_MISC]: Likewise.
17222 * inet/netinet/in.h [__USE_GNU]: Likewise.
17223 * io/sys/stat.h [__USE_MISC]: Likewise.
17224 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17225 * libio/bits/stdio.h: Update #endif comments.
17226 [__USE_MISC]: Remove redundant conditionals.
17227 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17228 * libio/stdio.h: Update #endif comments.
17229 [__USE_MISC]: Remove redundant conditionals.
17230 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17231 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17232 * math/math.h: Update #else and #endif comments.
17233 [__USE_MISC]: Remove redundant conditionals.
17234 * misc/sys/uio.h: Update #endif comments.
17235 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17236 * posix/glob.h [__USE_MISC]: Likewise.
17237 * posix/sys/types.h: Update #endif comments.
17238 [__USE_MISC]: Remove redundant conditionals.
17239 * posix/sys/wait.h: Update #endif comments.
17240 [__USE_MISC]: Remove redundant conditionals.
17241 * posix/unistd.h: Update #endif comments.
17242 [__USE_MISC]: Remove redundant conditionals.
17243 * pwd/pwd.h [__USE_GNU]: Likewise.
17244 [__USE_MISC]: Likewise.
17245 * resolv/netdb.h [__USE_GNU]: Likewise.
17246 * signal/signal.h: Update #endif comments.
17247 [__USE_MISC]: Remove redundant conditionals.
17248 * stdlib/stdlib.h: Update #else and #endif comments.
17249 [__USE_MISC]: Remove redundant conditionals.
17250 [__USE_GNU]: Likewise.
17251 * string/bits/string2.h [__USE_MISC]: Likewise.
17252 * string/string.h: Update #endif comments.
17253 [__USE_MISC]: Remove redundant conditionals.
17254 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17255 Likewise.
17256 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17257 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17258 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17259 Likewise.
17260 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17261 Likewise.
17262 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17263 comments.
17264 [__USE_MISC]: Remove redundant conditionals.
17265 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17266 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17267 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17268 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17269 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17270 Likewise.
17271 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17272 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17273 Likewise.
17274 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17275 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17276 Likewise.
17277 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17278 Likewise.
17279 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17280 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17281 Likewise.
17282 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17283 Likewise.
17284 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17285 * sysdeps/x86/bits/string.h: Update #endif comments.
17286 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17287 conditionals.
17288 * time/sys/time.h: Update #endif comments.
17289 * time/time.h: Likewise.
17290 [__USE_MISC]: Remove redundant conditionals.
17291
a5d82e4e
YG
172922014-02-21 Yury Gribov <y.gribov@samsung.com>
17293
17294 [BZ #16600]
17295 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17296
9a80491d
AS
172972014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17298
17299 * Versions.def (librt): Add GLIBC_2.17.
17300
105fa381
AC
173012014-02-21 Adam Conrad <adconrad@0c3.net>
17302
17303 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17304 synonym for _SYS_AUXV_H to allow direct inclusion.
17305 * sysdeps/sparc/bits/hwcap.h: Likewise.
17306 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17307 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17308 * sysdeps/sparc/sysdep.h: Likewise.
17309
b8cd1c4e
SP
173102014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17311
17312 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17313
bd939d23
RS
173142014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17315
17316 * benchtests/bench-strrchr.c: Print length instead of position.
17317
5d7b57ca
JM
173182014-02-20 Joseph Myers <joseph@codesourcery.com>
17319
bc688c10
JM
17320 [BZ #16611]
17321 * sysdeps/unix/sysv/linux/kernel-features.h
17322 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17323 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17324 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17325 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17326 Likewise.
17327 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17328 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17329 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17330 (__ASSUME_SENDMMSG): Define instead of using previous
17331 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17332 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17333 (__ASSUME_SENDMMSG_SYSCALL): Define.
17334 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17335 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17336 Likewise.
17337 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17338 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17339 Likewise.
17340 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17341 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17342 Likewise.
17343 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17344 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17345 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17346 [__ASSUME_SENDMMSG]: Change conditionals to
17347 [__ASSUME_SENDMMSG_SOCKETCALL].
17348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17349 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17350 Define.
17351 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17352 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17353 Likewise.
17354 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17355 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17356 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17357 [!__ASSUME_SENDMMSG]: Change conditional to
17358 [!__ASSUME_SENDMMSG_SOCKETCALL].
17359 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17360 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17361 Define.
17362
0e31b18c
JM
17363 [BZ #16610]
17364 * sysdeps/unix/sysv/linux/kernel-features.h
17365 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17366 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17367 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17368 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17369 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17370 [__i386__ || __sparc__]
17371 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17372 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17373 (__ASSUME_RECVMMSG): Define instead of using previous
17374 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17376 (__ASSUME_RECVMMSG_SYSCALL): Define.
17377 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17378 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17379 Likewise.
17380 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17381 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17382 Likewise.
17383 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17384 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17385 Likewise.
17386 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17387 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17388 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17389 [__ASSUME_RECVMMSG]: Change condition to
17390 [__ASSUME_RECVMMSG_SOCKETCALL].
17391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17392 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17393 Define.
17394 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17395 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17397 Likewise.
17398 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17399 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17400 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17401 [!__ASSUME_RECVMMSG]: Change condition to
17402 [!__ASSUME_RECVMMSG_SOCKETCALL].
17403 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17404 (__ASSUME_RECVMMSG_SYSCALL): Define.
17405
dd481ccf
JM
17406 [BZ #16609]
17407 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17408 __powerpc__ || __s390__ || __sh__ || __sparc__]
17409 (__ASSUME_SOCKETCALL): Define.
17410 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17411 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17412 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17413 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17414 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17415 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17416 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17417 (__ASSUME_ACCEPT4): Define instead of using previous
17418 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17419 __powerpc__ || __sparc__ || __s390__)] condition.
17420 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17421 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17422 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17423 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17424 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17425 [!__ASSUME_ACCEPT4]: Change condition to
17426 [!__ASSUME_ACCEPT4_SOCKETCALL].
17427 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17428 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17429 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17430 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17431 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17432 __ASSUME_ACCEPT4_SYSCALL.
17433 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17434 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17435 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17436 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17437 __ASSUME_ACCEPT4_SYSCALL.
17438 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17439 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17440 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17441 [__ASSUME_ACCEPT4]: Change condition to
17442 [__ASSUME_ACCEPT4_SOCKETCALL].
17443 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17444 (__ASSUME_SOCKETCALL): Define.
17445 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17446 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17447 (__ASSUME_SOCKETCALL): Define.
17448 (__ASSUME_ACCEPT4): Remove.
17449 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17450 Define.
17451 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17452 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17453 Likewise.
17454 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17455 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17456
5d7b57ca
JM
17457 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17458 macro.
17459 (HWCAP_ARM_LPAE): Likewise.
17460 (HWCAP_ARM_EVTSTRM): Likewise.
17461 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17462 Add vpfd32, lpae and evtstrm.
17463 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17464 Increase to 22.
17465
63689d61
JM
174662014-02-19 Joseph Myers <joseph@codesourcery.com>
17467
17468 * math/auto-libm-test-in: Add tests of clog10.
17469 * math/auto-libm-test-out: Regenerated.
17470 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17471 * sysdeps/i386/fpu/libm-test-ulps: Update.
17472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17473
ab09bf61
AS
174742014-02-18 Andreas Schwab <schwab@suse.de>
17475
17476 [BZ #16574]
17477 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17478 Store non-zero if the second buffer was newly allocated.
17479 (send_dg): Likewise.
17480 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17481 to send_vc and send_dg.
17482 (res_nsend): Pass NULL for ansp2_malloced.
17483 * resolv/res_query.c (__libc_res_nquery): Add parameter
17484 answerp2_malloced and pass it down to __libc_res_nsend.
17485 (res_nquery): Pass additional NULL to __libc_res_nquery.
17486 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17487 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17488 second answer buffer if answerp2_malloced was set.
17489 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17490 (__libc_res_nquerydomain): Add parameter
17491 answerp2_malloced and pass it down to __libc_res_nquery.
17492 (res_nquerydomain): Pass additional NULL to
17493 __libc_res_nquerydomain.
17494 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17495 additional NULL to __libc_res_nsend and __libc_res_nquery.
17496 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17497 additional NULL to __libc_res_nsearch.
17498 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17499 parameter of __libc_res_nsearch to check for separately allocated
17500 second buffer.
17501 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17502 __libc_res_nquery.
17503 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17504 additional NULL to __libc_res_nquery.
17505 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17506 __libc_res_nsearch.
17507 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17508 * include/resolv.h: Update prototypes of __libc_res_nquery,
17509 __libc_res_nsearch, __libc_res_nsend.
17510
a4fb7861
JM
175112014-02-18 Joseph Myers <joseph@codesourcery.com>
17512
c6af2d89
JM
17513 * math/auto-libm-test-in: Add tests of fma.
17514 * math/auto-libm-test-out: Regenerated.
17515 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17516 (fma_towardzero_test_data): Likewise.
17517 (fma_downward_test_data): Likewise.
17518 (fma_upward_test_data): Likewise.
17519 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17520 mpc_mode.
17521 (rounding_modes): Add values for new field.
17522 (func_calc_method): Add value mpfr_fff_f.
17523 (func_calc_desc): Add mpfr_fff_f union field.
17524 (test_function): Add field exact_args.
17525 (FUNC): Add macro argument EXACT_ARGS.
17526 (FUNC_mpfr_f_f): Update call to FUNC.
17527 (FUNC_mpfr_f_f): Likewise.
17528 (FUNC_mpfr_ff_f): Likewise.
17529 (FUNC_mpfr_if_f): Likewise.
17530 (FUNC_mpc_c_f): Likewise.
17531 (FUNC_mpc_c_c): Likewise.
17532 (test_functions): Add fma. Update calls to FUNC.
17533 (handle_input_arg): Add argument exact_args.
17534 (add_test): Update call to handle_input_arg.
17535 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17536 (output_for_one_input_case): Update call to calc_generic_results.
17537 Recalculate exact zero results in each rounding mode.
17538
a4fb7861
JM
17539 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17540 non-negative before setting low bit.
17541 * math/auto-libm-test-in: Mark one asin test possibly having
17542 spurious underflow.
17543 * math/auto-libm-test-out: Regenerated.
17544 * sysdeps/i386/fpu/libm-test-ulps: Update.
17545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17546
ef114eaf
DH
175472014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17548
2b7f4f2c
SP
17549 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17550 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17551 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17552 * README: Add missing listing for microblaze*-*-linux-gnu.
17553
8125aedc
AM
175542014-02-16 Ondřej Bílka <neleai@seznam.cz>
17555
17556 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17557 duplicate code
17558
c70a4b1d
MF
175592014-02-16 Mike Frysinger <vapier@gentoo.org>
17560
17561 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17562 * sysdeps/unix/sysv/linux/ia64: Move directory from
17563 ports/sysdeps/unix/sysv/linux/ia64.
17564 * README: Update listing for ia64-*-linux-gnu.
17565
591aeaf7
TD
175662014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17567 Joseph Myers <joseph@codesourcery.com>
17568
17569 * Makeconfig (test-name): New variable.
17570 (evaluate-test): Likewise.
17571 * Makerules (do-test-clean): Remove .test-result files.
17572 (common-mostlyclean): Likewise.
17573 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17574 * scripts/evaluate-test.sh: New file.
17575
6e89caf1
JM
175762014-02-14 Joseph Myers <joseph@codesourcery.com>
17577
7f98f180
JM
17578 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17579 separate $(objpfx)tst-fopenloc-cmp.out and
17580 $(objpfx)tst-fopenloc-mem.out targets.
17581 (tests): Update dependencies.
17582 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17583 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17584 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17585 (tst-rxspencer-no-utf8-ARGS): New variable.
17586 (tst-rxspencer-no-utf8-ENV): Likewise.
17587 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17588 instead of $(objpfx)tst-rxspencer-mem.
17589 ($(objpfx)tst-rxspencer-mem): Change target to
17590 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17591 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17592 * posix/tst-rxspencer-no-utf8.c: New file.
17593
6e89caf1
JM
17594 * elf/Makefile ($(objpfx)order.out): Remove rule.
17595 [$(run-built-tests) = yes] (tests): Depend on
17596 $(objpfx)order-cmp.out.
17597 ($(objpfx)order-cmp.out): New rule.
17598 [$(run-built-tests) = yes] (tests): Depend on
17599 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17600 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17601 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17602 $(objpfx)tst-array5-static-cmp.out.
17603 ($(objpfx)tst-array1.out): Remove rule.
17604 ($(objpfx)tst-array1-cmp.out): New rule.
17605 ($(objpfx)tst-array1-static.out): Remove rule.
17606 ($(objpfx)tst-array1-static-cmp.out): New rule.
17607 ($(objpfx)tst-array2.out): Remove rule.
17608 ($(objpfx)tst-array2-cmp.out): New rule.
17609 ($(objpfx)tst-array3.out): Remove rule.
17610 ($(objpfx)tst-array3-cmp.out): New rule.
17611 ($(objpfx)tst-array4.out): Remove rule.
17612 ($(objpfx)tst-array4-cmp.out): New rule.
17613 ($(objpfx)tst-array5.out): Remove rule.
17614 ($(objpfx)tst-array5-cmp.out): New rule.
17615 ($(objpfx)tst-array5-static.out): Remove rule.
17616 ($(objpfx)tst-array5-static-cmp.out): New rule.
17617 [$(run-built-tests) = yes] (tests): Depend on
17618 $(objpfx)order2-cmp.out.
17619 ($(objpfx)order2.out): Remove rule.
17620 ($(objpfx)order2-cmp.out): New rule.
17621 ($(objpfx)tst-initorder.out): Remove rule.
17622 [$(run-built-tests) = yes] (tests): Depend on
17623 $(objpfx)tst-initorder-cmp.out.
17624 ($(objpfx)tst-initorder-cmp.out): New rule.
17625 ($(objpfx)tst-initorder2.out): Remove rule.
17626 [$(run-built-tests) = yes] (tests): Depend on
17627 $(objpfx)tst-initorder2-cmp.out.
17628 ($(objpfx)tst-initorder2-cmp.out): New rule.
17629 [$(run-built-tests) = yes] (tests): Depend on
17630 $(objpfx)tst-unused-dep-cmp.out.
17631 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17632 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17633 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17634 on $(objpfx)tst-setvbuf1-cmp.out.
17635 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17636 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17637 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17638 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17639 ($(objpfx)tst-svc.out): Remove rule.
17640 ($(objpfx)tst-svc-cmp.out): New rule.
17641
ed9a38e2
JM
176422014-02-13 Joseph Myers <joseph@codesourcery.com>
17643
17644 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17645 * ctype/ctype.h [__USE_MISC]: Likewise.
17646 * dirent/dirent.h [__USE_MISC]: Likewise.
17647 * grp/grp.h [__USE_MISC]: Likewise.
17648 * io/fcntl.h [__USE_MISC]: Likewise.
17649 * io/sys/stat.h [__USE_MISC]: Likewise.
17650 * libio/stdio.h [__USE_MISC]: Likewise.
17651 * posix/unistd.h [__USE_MISC]: Likewise.
17652 * pwd/pwd.h [__USE_MISC]: Likewise.
17653 * stdlib.h [__USE_MISC]: Likewise.
17654 * string/bits/string2.h [__USE_MISC]: Likewise.
17655 * string/string.h [__USE_MISC]: Likewise.
17656 * time/time.h [__USE_MISC]: Likewise.
17657
d6680619
AS
176582014-02-13 Andreas Schwab <schwab@suse.de>
17659
17660 [BZ #16574]
17661 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17662 second answer buffer if it was separately allocated.
17663
ace614b8
JM
176642014-02-12 Joseph Myers <joseph@codesourcery.com>
17665
743151ae
JM
17666 * sysdeps/mips/math-tests.h: Include <features.h>.
17667 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17668 (ROUNDING_TESTS_long_double): Do not define.
17669 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17670 (EXCEPTION_TESTS_long_double): Likewise.
17671 * sysdeps/mips/mips64/libm-test-ulps: Update.
17672
498afc54
JM
17673 * include/features.h (__USE_BSD): Remove macro definitions.
17674 (__USE_SVID): Likewise.
17675 (_BSD_SOURCE): Likewise.
17676 (_SVID_SOURCE): Likewise.
17677 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17678 from definition of _DEFAULT_SOURCE.
17679 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17680 [_DEFAULT_SOURCE].
17681 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17682 * bits/mman.h [__USE_BSD]: Likewise.
17683 * bits/termios.h [__USE_BSD]: Likewise.
17684 * bits/waitstatus.h [__USE_BSD]: Likewise.
17685 * ctype/ctype.h [__USE_SVID]: Likewise.
17686 * dirent/dirent.h [__USE_BSD]: Likewise.
17687 * grp/grp.h [__USE_SVID]: Likewise.
17688 [__USE_BSD]: Likewise.
17689 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17690 * io/fcntl.h [__USE_BSD]: Likewise.
17691 * io/ftw.h [__USE_BSD]: Likewise.
17692 * io/sys/stat.h [__USE_BSD]: Likewise.
17693 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17694 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17695 * libio/stdio.h [__USE_SVID]: Likewise.
17696 [__USE_BSD]: Likewise.
17697 * math/math.h [__USE_SVID]: Likewise.
17698 [__USE_BSD]: Likewise.
17699 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17700 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17701 * misc/search.h [__USE_SVID]: Likewise.
17702 * misc/sys/mman.h [__USE_BSD]: Likewise.
17703 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17704 * misc/sys/uio.h [__USE_BSD]: Likewise.
17705 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17706 * posix/glob.h [__USE_BSD]: Likewise.
17707 * posix/regex.h [__USE_BSD]: Likewise.
17708 * posix/sys/types.h [__USE_BSD]: Likewise.
17709 [__USE_SVID]: Likewise.
17710 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17711 * posix/sys/wait.h [__USE_BSD]: Likewise.
17712 [__USE_SVID]: Likewise.
17713 * posix/unistd.h [__USE_BSD]: Likewise.
17714 [__USE_SVID]: Likewise.
17715 * pwd/pwd.h [__USE_SVID]: Likewise.
17716 * resolv/netdb.h [__USE_BSD]: Likewise.
17717 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17718 * signal/signal.h [__USE_BSD]: Likewise.
17719 [__USE_SVID]: Likewise.
17720 * socket/sys/socket.h [__USE_BSD]: Likewise.
17721 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17722 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17723 [__USE_SVID]: Likewise.
17724 * string/bits/string2.h [__USE_BSD]: Likewise.
17725 [__USE_SVID]: Likewise.
17726 * string/bits/string3.h [__USE_BSD]: Likewise.
17727 * string/endian.h [__USE_BSD]: Likewise.
17728 * string/string.h [__USE_SVID]: Likewise.
17729 [__USE_BSD]: Likewise.
17730 * string/strings.h [__USE_BSD]: Likewise.
17731 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17732 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17733 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17734 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17735 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17736 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17737 Likewise.
17738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17739 Likewise.
17740 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17741 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17742 Likewise.
17743 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17744 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17745 Likewise.
17746 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17747 Likewise.
17748 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17749 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17750 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17751 Likewise.
17752 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17753 Likewise.
17754 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17755 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17756 * termios/termios.h [__USE_BSD]: Likewise.
17757 * time/sys/time.h [__USE_BSD]: Likewise.
17758 * time/time.h [__USE_BSD]: Likewise.
17759 [__USE_SVID]: Likewise.
17760
dd7b064c
JM
17761 * Makefile (subdir_targets): Remove subdir_lint.out.
17762
a2c4c199
JM
17763 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17764 (do-tst-printf): Likewise.
17765 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17766 $(objpfx)tst-printf.out.
17767
8756f740
JM
17768 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17769
1b6dd3f1
JM
17770 * Makerules (check-abi-%): Change target to
17771 $(objpfx)check-abi-%.out.
17772 (check-abi target): Update dependencies.
17773 (check-abi-pattern variable): Redirect output of diff to $@.
17774 (check-abi variable): Likewise.
17775 * elf/Makefile (check-abi): Update dependencies.
17776
ace614b8
JM
17777 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17778 unused.
17779 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17780 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17781 subnormal range.
17782 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17783 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17784 value has largest subnormal exponent.
17785 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17786 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17787 * sysdeps/aarch64/soft-fp/sfp-machine.h
17788 (_FP_TININESS_AFTER_ROUNDING): New macro.
17789 * sysdeps/alpha/soft-fp/sfp-machine.h
17790 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17791 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17792 Likewise.
17793 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17794 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17795 * sysdeps/mips/soft-fp/sfp-machine.h
17796 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17797 * sysdeps/powerpc/soft-fp/sfp-machine.h
17798 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17799 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17800 Likewise.
17801 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17802 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17803 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17804 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17805 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17806 Likewise.
17807
fbfdf9cb
DAS
178082014-02-12 Dylan Alex Simon <dylan@dylex.net>
17809
17810 [BZ #16545]
17811 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17812 model 1.
17813
68b7efaa
RH
178142014-02-12 Richard Henderson <rth@redhat.com>
17815
c70a4b1d 17816 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17817 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17818 * sysdeps/unix/sysv/linux/alpha: Move directory from
17819 ports/sysdeps/unix/sysv/linux/alpha.
17820 * README: Update listing for alpha-*-linux-gnu.
17821
cb4a2928
JM
178222014-02-11 Joseph Myers <joseph@codesourcery.com>
17823
c941736c
JM
17824 * include/features.h: Update comment documenting feature test
17825 macros.
17826 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17827 _DEFAULT_SOURCE.
17828 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17829 (_SVID_SOURCE): Likewise.
17830 (_DEFAULT_SOURCE): Update description of default features.
17831 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17832 with _GNU_SOURCE.
17833 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17834 (S_ISVTX): Likewise.
17835 * manual/math.texi (Mathematical Constants): Likewise.
17836 * manual/signal.texi (Interrupted Primitives): Likewise.
17837 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17838 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17839 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17840 Don't refer to _SVID_SOURCE in warning text.
17841
e8d8d7ec
JM
17842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17843
cb4a2928
JM
17844 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17845 already defined.
17846 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17847 * sysdeps/mips/dl-lookup.c: Remove.
17848 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17849
7e6424e3
AK
178502014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17851
17852 [BZ #16447]
17853 * math/auto-libm-test-in: Add testcase for expl.
17854 * math/auto-libm-test-out: Regenerate.
17855 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17856 calculation of unsafe.
17857 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17858
75eff3fe
MS
178592014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17860
17861 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17862 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17863 ports/sysdeps/unix/sysv/linux/aarch64.
17864 * README: Update listing for aarch64*-*-linux-gnu.
17865
d35f1e80
WN
178662014-02-11 Will Newton <will.newton@linaro.org>
17867
17868 * manual/probes.texi (Mathematical Function Probes): Use
17869 "triggered" instead of "hit".
17870
7b3436d4
WN
17871 * manual/probes.texi (Internal Probes): Add documentation
17872 of setjmp, longjmp and longjmp_target probes.
17873
b4f12ca3
WN
17874 * include/stap-probe.h: Add comment about probe argument
17875 format.
17876
c13a72b7
WN
17877 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17878 definition. (tr_where, tr_freehook, tr_mallochook,
17879 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17880
195b8165
DM
178812014-02-11 David S. Miller <davem@davemloft.net>
17882
17883 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17884 processing int_tests.
17885
2ad7600b
JM
178862014-02-10 Joseph Myers <joseph@codesourcery.com>
17887
17888 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17889 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17890 * sysdeps/unix/sysv/linux/mips: Move directory from
17891 ports/sysdeps/unix/sysv/linux/mips.
17892 * README: Update listing for mips-*-linux-gnu and
17893 mips64-*-linux-gnu.
17894
73588a72
AS
178952014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17896
17897 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17898 * sysdeps/unix/sysv/linux/m68k: Move directory from
17899 ports/sysdeps/unix/sysv/linux/m68k.
17900 * README: Update listing for m68k-*-linux-gnu.
17901
4372980f
CM
179022014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17903
17904 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17905 * sysdeps/unix/sysv/linux/generic: Move directory from
17906 ports/sysdeps/unix/sysv/linux/generic.
17907 * sysdeps/unix/sysv/linux/tile: Move directory from
17908 ports/sysdeps/unix/sysv/linux/tile.
17909 * README: Update listing for tile*-*-linux-gnu.
17910
a1ffb40e
OB
179112014-02-10 Ondřej Bílka <neleai@seznam.cz>
17912
57f41c40
AS
17913 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17914 __builtin_expect.
a1ffb40e
OB
17915 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17916 * catgets/open_catalog.c (__open_catalog): Likewise.
17917 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17918 * debug/confstr_chk.c: Likewise.
17919 * debug/fread_chk.c (__fread_chk): Likewise.
17920 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17921 * debug/getgroups_chk.c: Likewise.
17922 * debug/mbsnrtowcs_chk.c: Likewise.
17923 * debug/mbsrtowcs_chk.c: Likewise.
17924 * debug/mbstowcs_chk.c: Likewise.
17925 * debug/memcpy_chk.c: Likewise.
17926 * debug/memmove_chk.c: Likewise.
17927 * debug/mempcpy_chk.c: Likewise.
17928 * debug/memset_chk.c: Likewise.
17929 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17930 * debug/strcat_chk.c (__strcat_chk): Likewise.
17931 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17932 * debug/strncat_chk.c (__strncat_chk): Likewise.
17933 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17934 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17935 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17936 * debug/wcpncpy_chk.c: Likewise.
17937 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17938 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17939 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17940 * debug/wcsncpy_chk.c: Likewise.
17941 * debug/wcsnrtombs_chk.c: Likewise.
17942 * debug/wcsrtombs_chk.c: Likewise.
17943 * debug/wcstombs_chk.c: Likewise.
17944 * debug/wmemcpy_chk.c: Likewise.
17945 * debug/wmemmove_chk.c: Likewise.
17946 * debug/wmempcpy_chk.c: Likewise.
17947 * debug/wmemset_chk.c: Likewise.
17948 * dirent/scandirat.c (SCANDIRAT): Likewise.
17949 * dlfcn/dladdr1.c (dladdr1): Likewise.
17950 * dlfcn/dladdr.c (dladdr): Likewise.
17951 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17952 * dlfcn/dlerror.c (__dlerror): Likewise.
17953 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17954 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17955 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17956 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17957 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17958 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17959 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17960 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17961 Likewise.
17962 * elf/dl-conflict.c: Likewise.
17963 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17964 * elf/dl-dst.h: Likewise.
17965 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17966 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17967 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17968 * elf/dl-init.c (call_init, _dl_init): Likewise.
17969 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17970 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17971 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17972 Likewise.
a1ffb40e
OB
17973 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17974 Likewise.
17975 * elf/dl-minimal.c (__libc_memalign): Likewise.
17976 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17977 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17978 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17979 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17980 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17981 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17982 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17983 * elf/dl-writev.h (_dl_writev): Likewise.
17984 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17985 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17986 (dl_main): Likewise.
a1ffb40e
OB
17987 * elf/setup-vdso.h (setup_vdso): Likewise.
17988 * grp/compat-initgroups.c (compat_call): Likewise.
17989 * grp/fgetgrent.c (fgetgrent): Likewise.
17990 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17991 * grp/putgrent.c (putgrent): Likewise.
17992 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17993 Likewise.
17994 * hurd/hurdinit.c: Likewise.
17995 * iconvdata/8bit-gap.c (struct): Likewise.
17996 * iconvdata/ansi_x3.110.c : Likewise.
17997 * iconvdata/big5.c : Likewise.
17998 * iconvdata/big5hkscs.c : Likewise.
17999 * iconvdata/cp1255.c: Likewise.
18000 * iconvdata/cp1258.c : Likewise.
18001 * iconvdata/cp932.c : Likewise.
18002 * iconvdata/euc-cn.c: Likewise.
18003 * iconvdata/euc-jisx0213.c : Likewise.
18004 * iconvdata/euc-jp.c: Likewise.
18005 * iconvdata/euc-jp-ms.c : Likewise.
18006 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18007 * iconvdata/gb18030.c : Likewise.
18008 * iconvdata/gbbig5.c (const): Likewise.
18009 * iconvdata/gbgbk.c: Likewise.
18010 * iconvdata/gbk.c : Likewise.
18011 * iconvdata/ibm1364.c : Likewise.
18012 * iconvdata/ibm930.c : Likewise.
18013 * iconvdata/ibm932.c: Likewise.
18014 * iconvdata/ibm933.c : Likewise.
18015 * iconvdata/ibm935.c : Likewise.
18016 * iconvdata/ibm937.c : Likewise.
18017 * iconvdata/ibm939.c : Likewise.
18018 * iconvdata/ibm943.c: Likewise.
18019 * iconvdata/iso_11548-1.c: Likewise.
18020 * iconvdata/iso-2022-cn.c : Likewise.
18021 * iconvdata/iso-2022-cn-ext.c : Likewise.
18022 * iconvdata/iso-2022-jp-3.c: Likewise.
18023 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18024 * iconvdata/iso-2022-kr.c : Likewise.
18025 * iconvdata/iso646.c (gconv_end): Likewise.
18026 * iconvdata/iso_6937-2.c : Likewise.
18027 * iconvdata/iso_6937.c : Likewise.
18028 * iconvdata/iso8859-1.c: Likewise.
18029 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18030 * iconvdata/shift_jisx0213.c : Likewise.
18031 * iconvdata/sjis.c : Likewise.
18032 * iconvdata/t.61.c : Likewise.
18033 * iconvdata/tcvn5712-1.c : Likewise.
18034 * iconvdata/tscii.c: Likewise.
18035 * iconvdata/uhc.c : Likewise.
18036 * iconvdata/unicode.c (gconv_end): Likewise.
18037 * iconvdata/utf-16.c (gconv_end): Likewise.
18038 * iconvdata/utf-32.c (gconv_end): Likewise.
18039 * iconvdata/utf-7.c (base64): Likewise.
18040 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18041 * iconv/gconv_close.c (__gconv_close): Likewise.
18042 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18043 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18044 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18045 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18046 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18047 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18048 * iconv/iconv.c (iconv): Likewise.
18049 * iconv/iconv_close.c: Likewise.
18050 * iconv/loop.c (SINGLE): Likewise.
18051 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18052 * include/atomic.h: Likewise.
18053 * inet/inet6_option.c (option_alloc): Likewise.
18054 * intl/bindtextdom.c (set_binding_values): Likewise.
18055 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18056 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18057 * intl/localealias.c (read_alias_file): Likewise.
18058 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18059 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18060 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18061 * libio/fmemopen.c (fmemopen): Likewise.
18062 * libio/iofgets.c (_IO_fgets): Likewise.
18063 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18064 * libio/iofgetws.c (fgetws): Likewise.
18065 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18066 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18067 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18068 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18069 * locale/findlocale.c (_nl_find_locale): Likewise.
18070 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18071 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18072 Likewise.
18073 * locale/setlocale.c (setlocale): Likewise.
18074 * login/programs/pt_chown.c (main): Likewise.
18075 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18076 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18077 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18078 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18079 * math/e_exp2l.c: Likewise.
18080 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18081 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18082 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18083 * math/s_catan.c (__catan): Likewise.
18084 * math/s_catanf.c (__catanf): Likewise.
18085 * math/s_catanh.c (__catanh): Likewise.
18086 * math/s_catanhf.c (__catanhf): Likewise.
18087 * math/s_catanhl.c (__catanhl): Likewise.
18088 * math/s_catanl.c (__catanl): Likewise.
18089 * math/s_ccosh.c (__ccosh): Likewise.
18090 * math/s_ccoshf.c (__ccoshf): Likewise.
18091 * math/s_ccoshl.c (__ccoshl): Likewise.
18092 * math/s_cexp.c (__cexp): Likewise.
18093 * math/s_cexpf.c (__cexpf): Likewise.
18094 * math/s_cexpl.c (__cexpl): Likewise.
18095 * math/s_clog10.c (__clog10): Likewise.
18096 * math/s_clog10f.c (__clog10f): Likewise.
18097 * math/s_clog10l.c (__clog10l): Likewise.
18098 * math/s_clog.c (__clog): Likewise.
18099 * math/s_clogf.c (__clogf): Likewise.
18100 * math/s_clogl.c (__clogl): Likewise.
18101 * math/s_csin.c (__csin): Likewise.
18102 * math/s_csinf.c (__csinf): Likewise.
18103 * math/s_csinh.c (__csinh): Likewise.
18104 * math/s_csinhf.c (__csinhf): Likewise.
18105 * math/s_csinhl.c (__csinhl): Likewise.
18106 * math/s_csinl.c (__csinl): Likewise.
18107 * math/s_csqrt.c (__csqrt): Likewise.
18108 * math/s_csqrtf.c (__csqrtf): Likewise.
18109 * math/s_csqrtl.c (__csqrtl): Likewise.
18110 * math/s_ctan.c (__ctan): Likewise.
18111 * math/s_ctanf.c (__ctanf): Likewise.
18112 * math/s_ctanh.c (__ctanh): Likewise.
18113 * math/s_ctanhf.c (__ctanhf): Likewise.
18114 * math/s_ctanhl.c (__ctanhl): Likewise.
18115 * math/s_ctanl.c (__ctanl): Likewise.
18116 * math/w_pow.c: Likewise.
18117 * math/w_powf.c: Likewise.
18118 * math/w_powl.c: Likewise.
18119 * math/w_scalb.c (sysv_scalb): Likewise.
18120 * math/w_scalbf.c (sysv_scalbf): Likewise.
18121 * math/w_scalbl.c (sysv_scalbl): Likewise.
18122 * misc/error.c (error_tail): Likewise.
18123 * misc/pselect.c (__pselect): Likewise.
18124 * nis/nis_callback.c (__nis_create_callback): Likewise.
18125 * nis/nis_call.c (__nisfind_server): Likewise.
18126 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18127 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18128 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18129 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18130 * nis/nis_lookup.c (nis_lookup): Likewise.
18131 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18132 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18133 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18134 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18135 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18136 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18137 * nis/nss_compat/compat-initgroups.c (add_group)
18138 (internal_getgrent_r): Likewise.
18139 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18140 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18141 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18142 (internal_getspnam_r): Likewise.
18143 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18144 (_nss_nis_getaliasbyname_r): Likewise.
18145 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18146 (_nss_nis_getntohost_r): Likewise.
18147 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18148 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18149 (_nss_nis_getgrgid_r): Likewise.
18150 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18151 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18152 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18153 (_nss_nis_gethostbyname4_r): Likewise.
18154 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18155 (initgroups_netid): Likewise.
a1ffb40e 18156 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18157 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18158 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18159 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18160 (_nss_nis_getprotobynumber_r): Likewise.
18161 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18162 (_nss_nis_getsecretkey): Likewise.
18163 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18164 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18165 (_nss_nis_getpwuid_r): Likewise.
18166 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18167 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18168 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18169 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18170 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18171 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18172 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18173 Likewise.
57f41c40
AS
18174 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18175 (_nss_nisplus_getntohost_r): Likewise.
18176 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18177 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18178 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18179 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18180 Likewise.
57f41c40
AS
18181 * nis/nss_nisplus/nisplus-initgroups.c
18182 (_nss_nisplus_initgroups_dyn): Likewise.
18183 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18184 (_nss_nisplus_getnetbyaddr_r): Likewise.
18185 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18186 (_nss_nisplus_getprotobynumber_r): Likewise.
18187 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18188 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18189 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18190 Likewise.
57f41c40
AS
18191 * nis/nss_nisplus/nisplus-service.c
18192 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18193 (_nss_nisplus_getservbyport_r): Likewise.
18194 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18195 (_nss_nisplus_getspnam_r): Likewise.
18196 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18197 Likewise.
a1ffb40e
OB
18198 * nscd/aicache.c (addhstaiX): Likewise.
18199 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18200 * nscd/connections.c (register_traced_file, send_ro_fd)
18201 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18202 (main_loop_epoll): Likewise.
a1ffb40e
OB
18203 * nscd/grpcache.c (addgrbyX): Likewise.
18204 * nscd/hstcache.c (addhstbyX): Likewise.
18205 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18206 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18207 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18208 (addinnetgrX): Likewise.
18209 * nscd/nscd-client.h (__nscd_acquire_maplock)
18210 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18211 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18212 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18213 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18214 Likewise.
18215 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18216 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18217 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18218 (__nscd_get_map_ref): Likewise.
a1ffb40e 18219 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18220 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18221 Likewise.
a1ffb40e
OB
18222 * nscd/pwdcache.c (addpwbyX): Likewise.
18223 * nscd/selinux.c (preserve_capabilities): Likewise.
18224 * nscd/servicescache.c (addservbyX): Likewise.
18225 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18226 * posix/fnmatch.c (fnmatch): Likewise.
18227 * posix/getopt.c (_getopt_internal_r): Likewise.
18228 * posix/glob.c (glob, glob_in_dir): Likewise.
18229 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18230 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18231 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18232 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18233 * resolv/res_init.c: Likewise.
18234 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18235 * resolv/res_query.c (__libc_res_nquery): Likewise.
18236 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18237 Likewise.
18238 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18239 * stdio-common/perror.c (perror): Likewise.
18240 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18241 * stdio-common/tmpnam.c (tmpnam): Likewise.
18242 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18243 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18244 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18245 Likewise.
a1ffb40e
OB
18246 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18247 * stdlib/putenv.c (putenv): Likewise.
18248 * stdlib/setenv.c (__add_to_environ): Likewise.
18249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18250 * stdlib/strtol_l.c (INTERNAL): Likewise.
18251 * string/memmem.c (memmem): Likewise.
18252 * string/strerror.c (strerror): Likewise.
18253 * string/strnlen.c (__strnlen): Likewise.
18254 * string/test-memmem.c (simple_memmem): Likewise.
18255 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18256 * sunrpc/pm_getport.c (__get_socket): Likewise.
18257 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18258 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18259 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18260 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18261 Likewise.
18262 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18263 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18264 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18265 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18266 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18267 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18268 Likewise.
18269 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18270 Likewise.
a1ffb40e
OB
18271 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18272 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18273 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18274 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18275 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18277 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18278 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18279 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18280 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18281 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18282 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18283 Likewise.
18284 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18285 Likewise.
18286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18287 Likewise.
18288 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18289 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18290 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18291 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18292 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18293 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18294 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18295 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18297 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18298 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18299 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18300 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18301 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18303 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18304 Likewise.
a1ffb40e
OB
18305 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18306 Likewise.
18307 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18308 Likewise.
18309 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18310 Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18313 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18314 Likewise.
18315 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18316 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18317 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18318 * sysdeps/posix/sleep.c: Likewise.
18319 * sysdeps/posix/tempname.c: Likewise.
18320 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18321 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18322 Likewise.
57f41c40
AS
18323 * sysdeps/powerpc/powerpc32/dl-machine.h
18324 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18325 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18327 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18328 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18329 Likewise.
18330 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18331 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18332 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18333 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18334 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18335 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18336 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18337 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18338 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18339 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18341 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18342 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18344 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18345 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18346 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18347 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18348 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18349 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18350 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18351 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18353 Likewise.
18354 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18355 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18356 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18357 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18358 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18359 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18360 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18361 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18362 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18363 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18364 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18365 Likewise.
18366 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18367 (__posix_fallocate64_l64): Likewise.
18368 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18369 (posix_fallocate): Likewise.
57f41c40
AS
18370 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18371 Likewise.
a1ffb40e 18372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18373 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18374 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18375 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18376 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18377 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18378 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18379 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18380 (__posix_fallocate64_l64): Likewise.
18381 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18382 Likewise.
18383 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18384 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18385 (__get_clockfreq): Likewise.
a1ffb40e
OB
18386 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18387 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18388 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18390 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18391 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18392 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18393 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18394 Likewise.
18395 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18396 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18397 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18398 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18399 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18400 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18401 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18402 Likewise.
18403 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18404 (posix_fallocate): Likewise.
18405 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18406 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18407 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18408 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18409 (elf_machine_rela, elf_machine_rela_relative)
18410 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18411 * time/asctime.c (asctime_internal): Likewise.
18412 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18413 * time/tzset.c (__tzset_parse_tz): Likewise.
18414 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18415 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18416 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18417 * wcsmbs/wcsmbsload.h: Likewise.
18418
f3d338c9
OB
18419 [BZ #15894]
18420 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18421
57f41c40
AS
18422 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18423 (arena_get2): Remove THREAD_STATS conditionals.
18424 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18425 (__malloc_stats, int): Likewise.
bdfe308a 18426
d674667c
MF
184272014-02-08 Mike Frysinger <vapier@gentoo.org>
18428
18429 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18430 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18431
6349768c
MF
18432 * manual/setjmp.texi: Fix typos/grammar errors.
18433
0b7c7473
MF
18434 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18435 Only return early when n is <= 0. Delete unused return statement.
18436
ac8cc9e3
MF
18437 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18438 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18439 * debug/tst-longjmp_chk3.c: New file.
18440
c5bb8e23
MF
18441 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18442 (test_main): Replace code with set_fortify_handler call.
18443 * debug/test-strcpy_chk.c: Likewise.
18444 * debug/tst-chk1.c: Likewise.
18445 * debug/tst-longjmp_chk.c: Likewise.
18446 * test-skeleton.c: Include fcntl.h & paths.h
18447 (set_fortify_handler): Define.
18448
10444e42
MF
18449 * debug/tst-longjmp_chk.c: Add header comment and include
18450 ../test-skeleton.c.
18451 (do_test): Mark static.
18452 (TEST_FUNCTION): Define.
18453
1e805e8d
MF
18454 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18455 (IP_PMTUDISC_INTERFACE): Likewise.
18456 (IP_MULTICAST_IF): Likewise.
18457 (IP_MULTICAST_TTL): Likewise.
18458 (IP_MULTICAST_LOOP): Likewise.
18459 (IP_ADD_MEMBERSHIP): Likewise.
18460 (IP_DROP_MEMBERSHIP): Likewise.
18461 (IP_UNBLOCK_SOURCE): Likewise.
18462 (IP_BLOCK_SOURCE): Likewise.
18463 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18464 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18465 (IP_MSFILTER): Likewise.
18466 (MCAST_JOIN_GROUP): Likewise.
18467 (MCAST_BLOCK_SOURCE): Likewise.
18468 (MCAST_UNBLOCK_SOURCE): Likewise.
18469 (MCAST_LEAVE_GROUP): Likewise.
18470 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18471 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18472 (MCAST_MSFILTER): Likewise.
18473 (IP_MULTICAST_ALL): Likewise.
18474 (IP_UNICAST_IF): Likewise.
18475
73f79bb7
MF
18476 * timezone/Makefile: Delete $(have-ksh) check.
18477 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18478 * timezone/tzselect.ksh: Add +x mode bits.
18479
8da79b60
MF
18480 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18481 (ANON_INODE_FS_MAGIC): Likewise.
18482 (BDEVFS_MAGIC): Likewise.
18483 (BINFMTFS_MAGIC): Likewise.
18484 (BTRFS_TEST_MAGIC): Likewise.
18485 (CRAMFS_MAGIC_WEND): Likewise.
18486 (DEBUGFS_MAGIC): Likewise.
18487 (ECRYPTFS_SUPER_MAGIC): Likewise.
18488 (EXT3_SUPER_MAGIC): Likewise.
18489 (EXT4_SUPER_MAGIC): Likewise.
18490 (FUTEXFS_SUPER_MAGIC): Likewise.
18491 (HOSTFS_SUPER_MAGIC): Likewise.
18492 (HUGETLBFS_MAGIC): Likewise.
18493 (MINIX3_SUPER_MAGIC): Likewise.
18494 (MTD_INODE_FS_MAGIC): Likewise.
18495 (NILFS_SUPER_MAGIC): Likewise.
18496 (OPENPROM_SUPER_MAGIC): Likewise.
18497 (PIPEFS_MAGIC): Likewise.
18498 (PSTOREFS_MAGIC): Likewise.
18499 (QNX6_SUPER_MAGIC): Likewise.
18500 (RAMFS_MAGIC): Likewise.
18501 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18502 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18503 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18504 (SECURITYFS_MAGIC): Likewise.
18505 (SELINUX_MAGIC): Likewise.
18506 (SMACK_MAGIC): Likewise.
18507 (SOCKFS_MAGIC): Likewise.
18508 (SQUASHFS_MAGIC): Likewise.
18509 (STACK_END_MAGIC): Likewise.
18510 (TMPFS_MAGIC): Likewise.
18511 (USBDEVICE_SUPER_MAGIC): Likewise.
18512 (V9FS_MAGIC): Likewise.
18513 (XENFS_SUPER_MAGIC): Likewise.
18514 (CRAMFS_MAGIC): Fix typo in comment.
18515 (EXT2_SUPER_MAGIC): Update comment.
18516 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18517
464263cc
JM
185182014-02-08 Joseph Myers <joseph@codesourcery.com>
18519
c6bfe5c4
JM
18520 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18521 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18522 * sysdeps/unix/sysv/linux/arm: Move directory from
18523 ports/sysdeps/unix/sysv/linux/arm.
18524 * README: Update listing for arm-*-linux-gnueabi.
18525
464263cc
JM
18526 * README: Remove mention of am33.
18527
32749f6c
RM
185282014-02-07 Roland McGrath <roland@hack.frob.com>
18529
18530 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18531 than the comma operator, to avoid "rhs of comma has no effect"
18532 compiler warnings.
18533 (__sigfillset, __sigandset, __sigorset): Likewise.
18534 * include/signal.h (__sigemptyset): Likewise.
18535 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18536
d5b396c1
AM
185372014-02-07 Allan McRae <allan@archlinux.org>
18538
18539 * version.h (RELEASE): Set to "development".
18540 (VERSION): Set to "2.19.90"
18541 * NEWS: Add 2.20 section.
18542
3bfff2ed
CD
185432014-02-06 Carlos O'Donell <carlos@redhat.com>
18544
18545 [BZ #16529]
18546 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18547
ee7cc385
SP
185482014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18549
18550 * manual/contrib.texi: Update entry for Carlos O'Donell,
18551 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18552
f877c4f2
CD
185532014-02-05 Carlos O'Donell <carlos@rehdat.com>
18554
27e839f6
CD
18555 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18556
f877c4f2
CD
18557 * sysdeps/unix/sysv/linux/kernel-features.h
18558 [__LINUX_KERNEL_VERSION >= 0x020621]
18559 (__ASSUME_PROC_PID_TASK_COMM): Define.
18560
68159946
SP
185612014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18562
ba17cdbd
SP
18563 [BZ #16398]
18564 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18565 conversion when destination buffer does not have enough space.
18566 * libio/tst-ftell-partial-wide.c: New test case.
18567 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18568
68159946
SP
18569 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18570 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18571 Leonard and Allan McRae.
18572
2b528732
DM
185732014-02-04 David S. Miller <davem@davemloft.net>
18574
18575 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18576 32-bit.
18577
0ff82463
AZ
185782014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18579
57f41c40
AS
18580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18581 New file
c01603f7
AZ
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18583 New file
57f41c40
AS
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18585 New file.
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18587 New file.
c01603f7
AZ
18588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18589 New file.
57f41c40
AS
18590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18591 New file.
18592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18593 New file.
c01603f7
AZ
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18595 New file.
18596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18597 New file.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18599 New file.
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18601 New file.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18603 New file.
18604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18605 New file.
18606
186072014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18608
0ff82463
AZ
18609 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18610 * shlib-versions: Likewise.
18611
1695c773
AZ
186122014-02-04 Roland McGrath <roland@hack.frob.com>
18613 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18614
18615 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18616 (abilist-pattern): New variable, set to %-le.abilist.
18617
18618 * Makerules (abilist-pattern): New variable.
18619 (vpath): Use $(abilist-pattern) in place of %.abilist.
18620 (check-abi-% pattern rule): Likewise.
18621 (check-abi, update-abi): Likewise.
18622
6c0ce4b4
EW
186232014-02-04 Eric Wong <normalperson@yhbt.net>
18624
18625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18626
481e3524
CD
186272014-02-03 Carlos O'Donell <carlos@redhat.com>
18628
18629 * manual/startup.texi: Add next, previous, and top entries for
18630 the `Program Arguments' and `Environment Variables' nodes.
18631
375592d3
AO
186322014-02-03 Alexandre Oliva <aoliva@redhat.com>
18633
18634 * manual/macros.texi: Add comments before MTASC-safety macros.
18635
f54838ba
AO
18636 * manual/users.texi: Document MTASC-safety properties.
18637
57f41c40
AS
18638 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18639 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18640 @deftypefun, and add @safety note.
18641 * manual/signal.texi: Move comments that analyze the above
18642 functions to their home place.
18643
fd3daba4
AM
186442014-02-03 Allan McRae <allan@archlinux.org>
18645
18646 * po/sl.po: Update Slovenian translation from translation project.
18647
597636d7
AO
186482014-02-02 Alexandre Oliva <aoliva@redhat.com>
18649
18650 * manual/time.texi (timegm): Add missing blank after @c.
18651 Reported by Joseph Myers <joseph@codesourcery.com>.
18652
ee196e3c
AO
186532014-02-01 Alexandre Oliva <aoliva@redhat.com>
18654
18655 * manual/check-safety.sh: New.
18656 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18657
f8d529d5
AO
18658 * manual/terminal.texi: Document MTASC-safety properties.
18659
de55fdf4
AO
18660 * manual/filesys.texi: Document MTASC-safety properties.
18661
c3299c08
AO
18662 * manual/errno.texi: Document MTASC-safety properties.
18663
06e90b14
AO
18664 * manual/intro.texi: Document safety identifiers and
18665 conditionals.
18666
1acd4371
AO
18667 * manual/string.texi (wcstok): Fix prototype.
18668 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18669
23e5b8cb
AO
18670 * manual/time.texi: Document MTASC-safety properties.
18671
11087373
AO
18672 * manual/string.texi: Document MTASC-safety properties.
18673
5da2c93d
AO
18674 * manual/threads.texi: Document MTASC-safety properties.
18675
171e9210
AO
18676 * manual/stdio.texi: Document MTASC-safety properties.
18677
d9e02532
AO
18678 * manual/syslog.texi: Document MTASC-safety properties.
18679
6af8bab7
AO
18680 * manual/sysinfo.texi: Document MTASC-safety properties.
18681
663b02d7
AO
18682 * manual/startup.texi: Document MTASC-safety properties.
18683
973f180b
AO
18684 * manual/socket.texi: Document MTASC-safety properties.
18685
8f3c25c8
AO
18686 * manual/signal.texi: Document MTASC-safety properties.
18687
542210fb
AO
186882014-01-31 Alexandre Oliva <aoliva@redhat.com>
18689
18690 * manual/setjmp.texi: Document MTASC-safety properties.
18691
433c45a2
AO
18692 * manual/search.texi: Document MTASC-safety properties.
18693
c8ce789c
AO
18694 * manual/resource.texi: Document MTASC-safety properties.
18695
19f5d29c
AO
18696 * manual/process.texi: Document MTASC-safety properties.
18697
e2dfb7f4
AO
18698 * manual/platform.texi: Document MTASC-safety properties.
18699
8c1413f5
AO
18700 * manual/pipe.texi: Document MTASC-safety properties.
18701
03483ada
AO
18702 * manual/pattern.texi: Document MTASC-safety properties.
18703
29e7e2df
AO
18704 * manual/message.texi: Document MTASC-safety properties.
18705
9f529d7c
AO
18706 [BZ #12751]
18707 * manual/memory.texi: Document MTASC-safety properties.
18708
27aaa791
AO
18709 * manual/math.texi: Document MTASC-safety properties.
18710
f2d58726
AO
18711 * manual/locale.texi: Document MTASC-safety properties.
18712
2cc3615c
AO
18713 * manual/llio.texi: Document MTASC-safety properties.
18714
d9f0ec97
AO
18715 * manual/libdl.texi: New.
18716
e7c4409a
AO
18717 * manual/lang.texi: Document MTASC-safety properties.
18718
27bdc63c
AO
18719 * manual/job.texi: Document MTASC-safety properties.
18720
a7b90ea9
AO
18721 * manual/getopt.texi: Document MTASC-safety properties.
18722
c49130e3
AO
18723 * manual/ctype.texi: Document MTASC-safety properties.
18724
0d23a5c1
MR
187252014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18726
18727 [BZ #16046]
18728 * csu/libc-tls.c (static_map): Remove variable.
18729 (__libc_setup_tls): Use main executable's link map for TLS data.
18730 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18731 casing for LM_ID_BASE and GL(dl_nns).
18732 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18733 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18734 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18735 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18736 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18737 member.
18738 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18739 l_phnum members.
18740
0037bb60
AO
187412014-01-30 Alexandre Oliva <aoliva@redhat.com>
18742
18743 * manual/debug.texi: Document MTASC-safety properties.
18744
409e00bd
L
187452014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18746
18747 [BZ #16510]
18748 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18749 of __x86_64__ when disabling x87 inline functions.
18750
86e60666
AO
187512014-01-29 Alexandre Oliva <aoliva@redhat.com>
18752
18753 * manual/charset.texi: Document MTASC-safety properties.
18754
76167637
AO
18755 * manual/crypt.texi: Document MTASC-safety properties.
18756
e567f2a0
AO
18757 * manual/conf.texi: Document MTASC-safety properties.
18758
b719dafd
AO
18759 * manual/arith.texi: Document MTASC-safety properties.
18760
4a16c662
AO
18761 * manual/argp.texi: Document MTASC-safety properties.
18762
0a57b83e
AO
18763 * manual/macros.texi: Introduce macros to document multi
18764 thread, asynchronous signal and asynchronous cancellation
18765 safety properties.
18766 * manual/intro.texi: Introduce the properties themselves.
18767
feab2397
KK
187682014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18769
18770 * sysdeps/sh/sh4/Makefile: New file.
18771
1c0d11bc
AS
187722014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18773
18774 * math/gen-libm-test.pl ($srcdir): New variable.
18775 ($auto_input): Use it.
18776
af37a8a3
SP
187772014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18778
d7b00f98
SP
18779 [BZ #16506]
18780 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18781 access beyond array bounds when parsing netgroups file.
18782
af37a8a3
SP
18783 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18784 the old buffer before realloc.
18785
0c00f062
AM
187862014-01-27 Allan McRae <allan@archlinux.org>
18787
18788 * po/fr.po: Update French translation from translation project.
18789
7d69a1b0
KK
187902014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18791
18792 * sysdeps/sh/libm-test-ulps: Regenerate.
18793
6e697ff7
DM
187942014-01-24 David S. Miller <davem@davemloft.net>
18795
18796 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18797
9cadb35c
KK
187982014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18799
18800 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18801 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18802
5d41dadf
SP
188032013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18804
18805 [BZ #16474]
18806 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18807 string pointers after reallocation.
18808
0bad441c
KK
188092014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18810
18811 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18812 __SH4A__ instead of __SH_FPU_ANY__.
18813
7007c661
KK
188142014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18815
18816 * sysdeps/sh/fpu_control.h: New file.
18817 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18818 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18819 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18820 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18821 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18822 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18823 * sysdeps/sh/sys/ucontext.h: Remove.
18824 * sysdeps/sh/sys: Remove directory.
18825
0f0c35e4
AK
188262014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18827
18828 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18829 s390/sys/ucontext.h.
18830 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18831 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18832
4959e284
L
188332014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18834
18835 [BZ #15605]
18836 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18837
d98720e0
AZ
188382014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18839
18840 [BZ#16431]
18841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18842 Adjust the vDSO correctly for internal calls.
18843 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18844
91cbd0bc
AM
188452014-01-20 Allan McRae <allan@archlinux.org>
18846
18847 * po/ca.po: Update Catalan translation from translation project.
18848
7a02cfad
MF
188492014-01-16 Mike Frysinger <vapier@gentoo.org>
18850
18851 * sysdeps/s390/sotruss-lib.c: New file.
18852
736c304a
AZ
188532014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18854
18855 [BZ#16430]
6e077ee5 18856 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18857 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18858 local calls issues by not having a PLT stub required for IFUNC calls.
18859 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18860
94d0cea0
JM
188612014-01-16 Joseph Myers <joseph@codesourcery.com>
18862
18863 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18864 * math/test-fpucw-static.c: Likewise.
18865
980cb518
SP
188662013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18867
18868 [BZ #16453]
18869 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18870
2393fc01
AZ
188712014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18872
18873 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18874 implementation for powerpc.
18875
d359bcc2
OB
188762014-01-15 Ondřej Bílka <neleai@seznam.cz>
18877
18878 [BZ #14782]
18879 * sysdeps/posix/system.c (__libc_system): Do not enable
18880 asynchronous cancellation.
18881
7beb48cb
AK
188822014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18883
18884 [BZ #16427]
18885 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18886 handling only for numbers special also in the IEEE case.
18887
c20d5bf5
AK
188882014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18889
18890 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18891
e83bd4ee
AM
188922014-01-11 Allan McRae <allan@archlinux.org>
18893
76d0ea69
AM
18894 * po/bg.po: Update Bulgarian translation from translation project.
18895
e83bd4ee
AM
18896 * po/de.po: Update German translation from translation project.
18897
bc2ba20a
RM
188982014-01-10 Roland McGrath <roland@hack.frob.com>
18899
18900 * sysdeps/generic/gcc-compat.h: New file.
18901
649ecea2
SP
189022014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18903
18904 * benchtests/asin-inputs: Correct slow inputs.
18905 * benchtests/acos-inputs: Likewise.
18906
1b19c006
AM
189072014-01-10 Allan McRae <allan@archlinux.org>
18908
a46dab08
AM
18909 * po:sv.po: Update Swedish translation from translation project.
18910
421df74a
AM
18911 * po/vi.po: Update Vietnamese translation from translation project.
18912
d61c51a7
AM
18913 * po/eo.po: Update Esperanto translation from translation project.
18914
0339a319
AM
18915 * po/cs.po: Update Czech translation from translation project.
18916
94ad3e99
AM
18917 * po/nl.po: Update Dutch translation from translation project.
18918
e349ca71
AM
18919 * po/pl.po: Update Polish translation from translation project.
18920
ddf930c1
AM
18921 * po/ru.po: Update Russian translation from translation project.
18922
1b19c006
AM
18923 * po/uk.po: Update Ukrainian translation from translation project.
18924
9f236c49
BM
189252014-01-08 Brooks Moses <bmoses@google.com>
18926
18927 * elf/dl-load.c: Fix comment typo.
18928
cd6701cf
CD
189292014-01-08 Carlos O'Donell <carlos@redhat.com>
18930
18931 * po/header.pot: Rename to...
18932 * po/pot.header: ... this.
18933 * po/Makefile: Use pot.header.
18934
66671c84
YK
189352014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18936 Maxim Kuvyrkov <maxim@kugelworks.com>
18937
18938 [BZ #16394]
cd6701cf
CD
18939 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18940 SRC and DEST against LEN.
66671c84 18941
38f34581
AZ
189422014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18943
18944 [BZ #16414]
18945 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18946 implementation.
18947 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18948
189492014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18950
18951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18952
4c327f2a
JM
189532014-01-08 Joseph Myers <joseph@codesourcery.com>
18954
18955 [BZ #16408]
18956 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18957 for large positive arguments.
18958
b821f414
JM
189592014-01-07 Joseph Myers <joseph@codesourcery.com>
18960
1f0f2067
JM
18961 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18962
a5a326f6
JM
18963 * math/auto-libm-test-in: Mark various tests with
18964 xfail-rounding:ldbl-128ibm.
18965 * math/auto-libm-test-out: Regenerated.
18966
b821f414
JM
18967 [BZ #16407]
18968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18969 Increase overflow threshold.
18970
94c8a4bc
OB
189712014-01-07 Ondřej Bílka <neleai@seznam.cz>
18972
18973 [BZ #14286]
18974 * stdio-common/vfprintf.c: Check for integer overflow.
18975
87ded0c3
AK
189762014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18977
18978 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18979 the first argument and return value of __tls_get_addr_internal.
18980
c5eebdd0
AK
189812014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18982
18983 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18984 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18985
05d138ef
AK
189862014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18987
18988 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18989 * sysdeps/s390/rtld-global-offsets.sym: New file.
18990 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18991 GLIBC_2.19 symbol.
18992 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18993 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18994 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18995 ... this.
18996 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18997 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18998 ... this.
18999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19000 Regenerate.
19001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19002 Regenerate.
19003 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19004 halfs of GPRs for high_gprs contexts.
19005 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19006 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19007 field.
19008 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19009 uc_flags field.
19010 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19011 64 bit versions:
19012 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19013 for high GPRs (uc_high_gprs) and for future extensions
19014 (__reserved).
19015 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19016 for future extensions (__reserved).
19017 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19018 64 bit versions:
19019 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19020 SC_HIGHGPRS offset definition.
19021 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19022 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19023
93a45ff1
AK
19024 * Versions.def: Add GLIBC_2.19 for libpthread.
19025 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19026 siglongjmp for libpthread with GLIBC_2.19 symver.
19027 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19028 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19029 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19030 * sysdeps/s390/__longjmp.c: New file.
19031 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19032 * sysdeps/s390/longjmp.c: New file.
19033 * sysdeps/s390/setjmp.S: New file.
19034 * sysdeps/s390/sigjmp.S: New file.
19035 * sysdeps/s390/v1-longjmp.c: New file.
19036 * sysdeps/s390/v1-setjmp.h: New file.
19037 * sysdeps/s390/v1-sigjmp.c: New file.
19038 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19039 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19040 GLIBC_2.19 version.
19041 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19042 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19043 versioned symbols for ____longjmp_chk.
19044 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19045 Likewise.
19046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19047 Regenerate.
19048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19049 Regenerate.
19050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19051 Regenerate.
19052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19053 Regenerate.
19054 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19055 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19056 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19057 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19058 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19059 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19060 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19061 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19062 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19063 * sysdeps/s390/rtld-__longjmp.c: New file.
19064 * sysdeps/s390/rtld-setjmp.S: New file.
19065
eb3fc44b
JM
190662014-01-06 Joseph Myers <joseph@codesourcery.com>
19067
19068 [BZ #16400]
19069 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19070 Return -__logl (x) for small positive arguments without evaluating
19071 a polynomial.
19072
9341dde4
MF
190732014-01-06 Mike Frysinger <vapier@gentoo.org>
19074
19075 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19076 Rename to ...
19077 (__ptrace_peeksiginfo_args): ... this.
19078 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19079 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19080 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19081
4cff0293
AM
190822014-01-06 Allan McRae <allan@archlinux.org>
19083
19084 * inet/netinet/in.h: Fix typo in comment.
19085
75595dcf
AJ
190862014-01-05 Andreas Jaeger <aj@suse.de>
19087
19088 * sysdeps/i386/fpu/libm-test-ulps: Update.
19089
79c1e109
AM
190902014-01-05 Allan McRae <allan@archlinux.org>
19091
dd804818
AM
19092 * po/libc.pot: Regenerated.
19093
79c1e109
AM
19094 * malloc/memusagestat.c: Fix gettext call formatting.
19095
0c813d1f
SK
190962014-01-04 Sami Kerola <kerolasa@iki.fi>
19097
19098 * nscd/nscd.c: Improve usage() output.
19099
20f4a8d9
MF
191002014-01-04 Mike Frysinger <vapier@gentoo.org>
19101
19102 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19103 * sysdeps/unix/sysv/linux/configure: Regenerated.
19104 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19105 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19106
22562bb2
JM
191072014-01-03 Joseph Myers <joseph@codesourcery.com>
19108
19109 [BZ #16390]
19110 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19111 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19112
d7ad2d9b
AZ
191132014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19114
19115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19116 extra tokens at end of #undef directive.
19117 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19118 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19119 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19120
7dd009d8
JM
191212014-01-03 Joseph Myers <joseph@codesourcery.com>
19122
24db925a
JM
19123 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19124
7dd009d8
JM
19125 * math/auto-libm-test-in: Mark various tests with
19126 xfail-rounding:ldbl-128ibm.
19127 * math/auto-libm-test-out: Regenerated.
19128
396e3ecf
JM
191292014-01-02 Joseph Myers <joseph@codesourcery.com>
19130
819e5d50
JM
19131 [BZ #16386]
19132 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19133 numbers with subnormal high part when calculating exponent.
19134
90b6a1e5
JM
19135 [BZ #16385]
19136 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19137 fabs.
19138
396e3ecf
JM
19139 [BZ #16384]
19140 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19141 M_LN2l.
19142 (__ieee754_acoshl): Use __log1pl not __log1p.
19143
6c8dbf00
OB
191442013-01-02 Ondřej Bílka <neleai@seznam.cz>
19145
57f41c40
AS
19146 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19147 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19148 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19149 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19150 (reused_arena, arena_get2): Convert to GNU style.
19151 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19152 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19153 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19154 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19155 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19156 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19157 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19158 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19159 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19160 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19161 * malloc/malloc.h: Likewise.
57f41c40
AS
19162 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19163 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19164 * malloc/mcheck.h: Likewise.
57f41c40
AS
19165 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19166 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19167 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19168 * malloc/morecore.c (__default_morecore): Likewise.
19169 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19170 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19171 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19172 (print_and_abort): Likewise.
6c8dbf00
OB
19173 * malloc/obstack.h: Likewise.
19174 * malloc/set-freeres.c (__libc_freeres): Likewise.
19175 * malloc/tst-mallocstate.c (main): Likewise.
19176 * malloc/tst-mtrace.c (main): Likewise.
19177 * malloc/tst-realloc.c (do_test): Likewise.
19178
d4124212
SP
191792013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19180
9a3c6a6f
SP
19181 [BZ #16366]
19182 * nscd/netgroupcache.c (do_notfound): New function.
19183 (addgetnetgrentX): Use it.
19184
d4124212
SP
19185 [BZ # 16365]
19186 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19187 NSS_STATUS_NOTFOUND.
19188
97b9a009
JM
191892014-01-01 Joseph Myers <joseph@codesourcery.com>
19190
19191 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19193
d4697bc9
AM
191942014-01-01 Allan McRae <allan@archlinux.org>
19195
ddb3687f
AM
19196 * scripts/update-copyrights: Update configure input file suffix.
19197
88726d48
AM
19198 * NEWS: Update copyright year.
19199 * catgets/gencat.c: Likewise.
19200 * csu/version.c: Likewise.
19201 * debug/catchsegv.sh: Likewise.
19202 * debug/pcprofiledump.c: Likewise.
19203 * debug/xtrace.sh: Likewise.
19204 * elf/ldconfig.c: Likewise.
19205 * elf/ldd.bash.in: Likewise.
19206 * elf/pldd.c: Likewise.
19207 * elf/sotruss.ksh: Likewise.
19208 * elf/sprof.c: Likewise.
19209 * iconv/iconv_prog.c: Likewise.
19210 * iconv/iconvconfig.c: Likewise.
19211 * locale/programs/locale.c: Likewise.
19212 * locale/programs/localedef.c: Likewise.
19213 * login/programs/pt_chown.c: Likewise.
19214 * malloc/memusage.sh: Likewise.
19215 * malloc/memusagestat.c: Likewise.
19216 * malloc/mtrace.pl: Likewise.
19217 * manual/libc.texinfo: Likewise.
19218 * nscd/nscd.c: Likewise.
19219 * nss/getent.c: Likewise.
19220 * nss/makedb.c: Likewise.
19221 * posix/getconf.c: Likewise.
19222 * scripts/test-installation.pl: Likewise.
19223
d4697bc9
AM
19224 * All files with FSF copyright notices: Update copyright dates
19225 using scripts/update-copyrights.
19226 * intl/plural.c: Regenerated.
19227 * locale/programs/charmap-kw.h: Likewise.
19228 * locale/programs/locfile-kw.h: Likewise.
19229
c8590f9d
MF
192302013-12-31 Mike Frysinger <vapier@gentoo.org>
19231
19232 * sysdeps/unix/sysv/linux/configure: Regenerated.
19233 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19234 the linux/fanotify.h header.
19235 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19236 HAVE_LINUX_FANOTIFY_H is defined.
19237
b19221b9
SP
192382013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19239
dd1d85e5
SP
19240 * benchtests/cos-inputs: New inputs.
19241 * benchtests/sin-inputs: Likewise.
19242
1acbb90f
SP
19243 * benchtests/atan-inputs: New inputs. Fix name of multiple
19244 precision fallback inputs.
19245
4c012ed3
SP
19246 * benchtests/atanh-inputs: New inputs.
19247 * benchtests/tanh-inputs: Likewise.
19248
eff98324
SP
19249 * benchtests/acosh-inputs: New inputs.
19250 * benchtests/asinh-inputs: Likewise.
19251
ce641152
SP
19252 * benchtests/cosh-inputs: New inputs.
19253 * benchtests/sinh-inputs: Likewise.
19254
b19221b9
SP
19255 * benchtests/acos-inputs: Add more inputs.
19256 * benchtests/asin-inputs: Likewise.
19257
030a4976 192582013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19259
030a4976 19260 [BZ #16375]
9dcc8f11
VS
19261 * manual/arith.texi: Fix spelling.
19262 * manual/charset.texi: Likewise.
19263 * manual/errno.texi: Likewise.
19264 * manual/filesys.texi: Likewise.
19265 * manual/lang.texi: Likewise.
19266 * manual/llio.texi: Likewise.
19267 * manual/locale.texi: Likewise.
19268 * manual/message.texi: Likewise.
19269 * manual/resource.texi: Likewise.
19270 * manual/search.texi: Likewise.
19271 * manual/setjmp.texi: Likewise.
19272 * manual/stdio.texi: Likewise.
19273 * manual/string.texi: Likewise.
19274 * manual/sysinfo.texi: Likewise.
19275 * manual/time.texi: Likewise.
19276
11520a57
CD
192772013-12-27 Carlos O'Donell <carlos@redhat.com>
19278
19279 * po/sl.po: New file.
19280
471103ae
MF
192812013-12-27 Mike Frysinger <vapier@gentoo.org>
19282
19283 * .gitignore: Add core/.gdbinit/.gdb_history.
19284
6c9642ed
AM
192852013-12-27 Allan McRae <allan@archlinux.org>
19286
19287 [BZ #16369]
19288 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19289 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19290
3f637079
BM
192912013-12-24 Brooks Moses <bmoses@google.com>
19292
19293 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19294 all compilers that claim C++98 compliance, not just GCC.
19295 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19296 Likewise.
19297
abc26e99
MK
192982013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19299
19300 * NEWS: Restore accidentally deleted bug-fix entries.
19301
362b47fe
MK
193022013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19303 Ondřej Bílka <neleai@seznam.cz>
19304
19305 [BZ #15073]
19306 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19307 have_lock.
362b47fe 19308
b9bcbbcb
OB
193092013-12-23 Ondřej Bílka <neleai@seznam.cz>
19310
19311 [BZ #12986]
19312 * manual/stdio.texi (String Input Conversions): Clarify that character
19313 classes are not supported.
19314
fb55fcd2
AZ
193152013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19316
19317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19318
ef7344f0
JM
193192013-12-22 Joseph Myers <joseph@codesourcery.com>
19320
4f40e4b3
JM
19321 [BZ #16337]
19322 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19323 Calculate results for small negative arguments directly rather
19324 than using reflection formula with special underflow handling.
19325
ef7344f0
JM
19326 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19327 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19328 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19329 (fchflags): Likewise.
19330 (revoke): Likewise.
19331 (setlogin): Likewise.
19332 (sigaltstack): Likewise.
19333 (wait4): Likewise.
19334 (sigblock): Remove.
19335 (sigsetmask): Likewise.
19336 (wait3): Likewise.
19337 (waitpid): Likewise.
19338 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19339 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19340 file.
19341 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19342 * sysdeps/unix/bsd/Makefile: ... here.
19343 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19344 * sysdeps/unix/bsd/Versions: ... here.
19345 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19346 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19347 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19348 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19349 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19350 * sysdeps/unix/bsd/sigblock.c: ... here.
19351 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19352 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19353 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19354 * sysdeps/unix/bsd/sigvec.c: ... here.
19355 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19356 * sysdeps/unix/bsd/tcdrain.c: ... here.
19357 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19358 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19359 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19360 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19361 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19362 * sysdeps/unix/bsd/wait.c: ... here.
19363 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19364 * sysdeps/unix/bsd/wait3.c: ... here.
19365 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19366 * sysdeps/unix/bsd/waitpid.c: ... here.
19367
5b0626b9
JM
193682013-12-21 Joseph Myers <joseph@codesourcery.com>
19369
19370 [BZ #16356]
19371 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19372 round-to-nearest for [!USE_AS_EXPM1L].
19373 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19374 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19375 more tests of exp and exp10. Expect some exp10 tests to miss
19376 exceptions or fail in directed rounding modes.
19377 * math/auto-libm-test-out: Regenerated.
19378 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19379 (exp10_test_tonearest): New function.
19380 (exp10_towardzero_test_data): New array.
19381 (exp10_test_towardzero): New function.
19382 (exp10_downward_test_data): New array.
19383 (exp10_test_downward): New function.
19384 (exp10_upward_test_data): New array.
19385 (exp10_test_upward): New function.
19386 (main): Call the new functions.
19387 * sysdeps/i386/fpu/libm-test-ulps: Update.
19388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19389
7fda5682
JM
193902013-12-20 Joseph Myers <joseph@codesourcery.com>
19391
31e3a405
JM
19392 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19393 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19394 * math/auto-libm-test-out: Regenerated.
19395 * math/libm-test.inc (acosh_test_data): Add more tests.
19396 (atanh_test_data): Likewise.
19397 (ceil_test_data): Likewise.
19398 (copysign_test_data): Likewise.
19399 * sysdeps/i386/fpu/libm-test-ulps: Update.
19400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19401
85bff96a
JM
19402 * timezone/checktab.awk: Update from tzcode 2013i.
19403 * timezone/private.h: Likewise.
19404 * timezone/scheck.c: Likewise.
19405 * timezone/tzfile.h: Likewise.
19406 * timezone/tzselect.ksh: Likewise.
19407 * timezone/zdump.c: Likewise.
19408 * timezone/zic.c: Likewise.
19409
b7867a3b
JM
19410 * math/auto-libm-test-in: Add tests of cpow.
19411 * math/auto-libm-test-out: Regenerated.
19412 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19413 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19414 mpc_cc_c.
19415 (func_calc_desc): Add mpc_cc_c union field.
19416 (test_functions): Add cpow.
19417 (special_fill_2pi): New function.
19418 (special_real_inputs): Add 2pi.
19419 (calc_generic_results): Handle mpc_cc_c.
19420 * sysdeps/i386/fpu/libm-test-ulps: Update.
19421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19422
7fda5682
JM
19423 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19424 csqrt, ctan and ctanh.
19425 * math/auto-libm-test-out: Regenerated.
19426 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19427 (TEST_COND_x86): Likewise.
19428 (ccos_test_data): Use AUTO_TESTS_c_c.
19429 (ccosh_test_data): Likewise.
19430 (cexp_test_data): Likewise.
19431 (clog_test_data): Likewise.
19432 (csqrt_test_data): Likewise.
19433 (ctan_test_data): Likewise.
19434 (ctan_tonearest_test_data): Likewise.
19435 (ctan_towardzero_test_data): Likewise.
19436 (ctan_downward_test_data): Likewise.
19437 (ctan_upward_test_data): Likewise.
19438 (ctanh_test_data): Likewise.
19439 (ctanh_tonearest_test_data): Likewise.
19440 (ctanh_towardzero_test_data): Likewise.
19441 (ctanh_downward_test_data): Likewise.
19442 (ctanh_upward_test_data): Likewise.
19443 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19444 mpc_c_c.
19445 (func_calc_desc): Add mpc_c_c union field.
19446 (FUNC_mpc_c_c): New macro.
19447 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19448 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19449 ctanh.
19450 (special_fill_min_subnorm_p120): New function.
19451 (special_real_inputs): Add min_subnorm_p120.
19452 (calc_generic_results): Handle mpc_c_c.
19453 * sysdeps/i386/fpu/libm-test-ulps: Update.
19454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19455
5ff8d60e
SP
194562013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19457
57f41c40
AS
19458 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19459 (do_sin_slow): New functions.
19460 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19461 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19462
84ba214c
SP
19463 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19464 Use M to change sign of result instead of X. Assume X is
19465 positive.
19466 (csloww1): Likewise.
19467 (__sin): Adjust.
19468 (__cos): Adjust.
19469
975195e4
SP
19470 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19471 arguments A and DA.
19472 (__sin): Adjust.
19473 (__cos): Likewise.
19474
5ff8d60e
SP
19475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19476 (__cos): Likewise.
19477 (sloww1): Don't adjust sign of DX.
19478 (csloww1): Likewise.
19479 (sloww2): Use X directly and don't adjust sign of DX.
19480 (csloww2): Likewise.
19481
eb983568
JM
194822013-12-19 Joseph Myers <joseph@codesourcery.com>
19483
64a17f1a
JM
19484 * math/auto-libm-test-in: Add tests of cabs and carg.
19485 * math/auto-libm-test-out: Regenerated.
19486 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19487 (carg_test_data): Likewise.
19488 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19489 mpc_c_f.
19490 (func_calc_desc): Add mpc_c_f union field.
19491 (test_functions): Add cabs and carg.
19492 (calc_generic_results): Handle mpc_c_f.
19493
eb983568
JM
19494 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19495 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19496 as a macro and a compat symbol.
19497 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19498 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19499 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19500 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19501 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19502 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19503 not use .hidden.
19504 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19505 Likewise.
19506 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19507 Likewise.
19508 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19509 Likewise.
19510 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19511 Likewise.
19512 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19513 Likewise.
19514 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19515 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19516 from GLIBC_2.3.2.
19517
6eeb678a
AZ
195182013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19519
19520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19521
6f6fc482
JM
195222013-12-19 Joseph Myers <joseph@codesourcery.com>
19523
21fea2e2
JM
19524 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19525 trailing whitespace removed.
19526 * scripts/config.guess: Update to version 2013-11-29.
19527 * scripts/config.sub: Update to version 2013-10-01.
19528
6f6fc482
JM
19529 * math/auto-libm-test-in: Add tests of sincos.
19530 * math/auto-libm-test-out: Regenerated.
19531 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19532 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19533 mpfr_f_11.
19534 (func_calc_desc): Add mpfr_f_11 union field.
19535 (test_functions): Add sincos.
19536 (calc_generic_results): Handle mpfr_f_11.
19537 * sysdeps/i386/fpu/libm-test-ulps: Update.
19538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19539
83f5c32d
AS
195402013-12-19 Andreas Schwab <schwab@suse.de>
19541
19542 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19543 CALL_MCOUNT.
19544 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19545 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19546 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19547
c688b419
JM
195482013-12-19 Joseph Myers <joseph@codesourcery.com>
19549
335ee092
JM
19550 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19551 * sysdeps/i386/fpu/libm-test-ulps: Update.
19552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19553
f88acd39
JM
19554 [BZ #16293]
19555 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19556 round-to-nearest mode when using frndint.
19557 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19558 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19559 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19560 Likewise.
19561 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19562 sinh test to fail.
19563 * math/auto-libm-test-out: Regenerated.
19564 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19565 (TEST_COND_x86): Likewise.
19566 (expm1_tonearest_test_data): New array.
19567 (expm1_test_tonearest): New function.
19568 (expm1_towardzero_test_data): New array.
19569 (expm1_test_towardzero): New function.
19570 (expm1_downward_test_data): New array.
19571 (expm1_test_downward): New function.
19572 (expm1_upward_test_data): New array.
19573 (expm1_test_upward): New function.
19574 (main): Run the new test functions.
19575 * sysdeps/i386/fpu/libm-test-ulps: Update.
19576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19577
c688b419
JM
19578 * include/features.h: Update comment documenting feature test
19579 macros. Mention _DEFAULT_SOURCE in comment.
19580 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19581 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19582 _BSD_SOURCE and _SVID_SOURCE.
19583 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19584 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19585 !_SVID_SOURCE]: Likewise.
19586 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19587 (__USE_POSIX_IMPLICITLY): Define.
19588 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19589 (_POSIX_SOURCE): Undefine and redefine.
19590 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19591 (_POSIX_C_SOURCE): Likewise.
19592 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19593 (Feature Test Macros): Update documentation of default features.
19594
9f6e964c
RS
195952013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19596
19597 * benchtests/Makefile: Add bench-strtok.
19598 * benchtests/bench-strtok.c: New file: strtok benchtest.
19599
ee0a148a
AM
196002013-12-19 Allan McRae <allan@archlinux.org>
19601
19602 * manual/install.texi: Suppress menu for plain text output.
19603 * INSTALL: Regenerated.
19604
b9ab448f
BM
196052013-12-18 Brooks Moses <bmoses@google.com>
19606
19607 [BZ #15846]
19608 * misc/getauxval.c: Include errno.h.
19609 (__getauxval): Set errno to ENOENT if the requested type is not
19610 found.
19611 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19612 don't declare with __attribute_const__.
19613 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19614 * manual/startup.texi: Document that getauxval sets errno.
19615
23776487
JM
196162013-12-18 Joseph Myers <joseph@codesourcery.com>
19617
f889953b
JM
19618 * math/auto-libm-test-in: Add tests of jn and yn.
19619 * math/auto-libm-test-out: Regenerated.
19620 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19621 (yn_test_data): Likewise.
19622 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19623 mpfr_if_f.
19624 (func_calc_desc): Add mpfr_if_f union field.
19625 (FUNC_mpfr_if_f): New macro.
19626 (test_functions): Add jn and yn.
19627 (calc_generic_results): Assert type of second input for
19628 mpfr_ff_f. Handle mpfr_if_f.
19629 (output_for_one_input_case): Disable all checking for arguments
19630 fitting floating-point types in case of an integer argument.
19631 * sysdeps/i386/fpu/libm-test-ulps: Update.
19632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19633
23776487
JM
19634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19635 Don't expect fegetround reference in libm.so.
19636
cb756c6d
MS
196372013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19638
19639 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19640 $(config-cflags-nofma).
19641
2dec468f
JM
196422013-12-18 Joseph Myers <joseph@codesourcery.com>
19643
5953eb3a
JM
19644 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19645 * math/auto-libm-test-out: Regenerated.
19646
2dec468f
JM
19647 [BZ #16338]
19648 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19649 to determine exponent and adjust argument to have exponent of -1.
19650 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19651 log2.
19652 * math/auto-libm-test-out: Regenerated.
19653 * sysdeps/i386/fpu/libm-test-ulps: Update.
19654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19655
4d84e6ad
OB
196562013-12-18 Ondřej Bílka <neleai@seznam.cz>
19657
19658 * manual/probes.texi: Remove cases when per-thread arenas are
19659 disabled.
19660
1818483b
AS
196612013-12-18 Andreas Schwab <schwab@suse.de>
19662
19663 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19664 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19665 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19666 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19667 * sysdeps/i386/i686/multiarch/Makefile: Update.
19668 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19669
25de95bf
JM
196702013-12-17 Joseph Myers <joseph@codesourcery.com>
19671
19672 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19673 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19674
674762d9
PE
196752013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19676
ed27ed83 19677 [BZ #15968]
0748546f
PE
19678 Support TZ transition times < 00:00:00.
19679 This is needed for version-3 tz-format files; it supports time
19680 stamps past 2037 for America/Godthab (the only entry in the tz
19681 database for which this change is relevant).
19682 * manual/time.texi (TZ Variable): Document transition times
19683 from -167:59:59 through -00:00:01.
19684 * time/tzset.c (tz_rule): Time of day is now signed.
19685 (__tzset_parse_tz): Parse negative time of day.
19686
4480e934
PE
19687 Document TZ transition times >= 25:00:00.
19688 * manual/time.texi (TZ Variable): Document transition times from
19689 25:00:00 through 167:59:59. These are already supported, and this
19690 support will help with version-3 tz-format files.
19691
69947401
PE
19692 * manual/time.texi (TZ Variable): Modernize North America example
19693 to reflect current (i.e., 2007-and-later) daylight saving rules.
19694
674762d9
PE
19695 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19696
7011c262
JM
196972013-12-17 Joseph Myers <joseph@codesourcery.com>
19698
2fc6557e
JM
19699 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19700 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19701 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19702 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19703 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19704 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19705 * sysdeps/unix/bsd/clock.c: Likewise.
19706 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19707 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19708 * sysdeps/unix/bsd/init-posix.c: Likewise.
19709 * sysdeps/unix/bsd/poll.c: Likewise.
19710 * sysdeps/unix/bsd/ptsname.c: Likewise.
19711 * sysdeps/unix/bsd/seekdir.c: Likewise.
19712 * sysdeps/unix/bsd/setegid.c: Likewise.
19713 * sysdeps/unix/bsd/seteuid.c: Likewise.
19714 * sysdeps/unix/bsd/setgid.c: Likewise.
19715 * sysdeps/unix/bsd/setrgid.c: Likewise.
19716 * sysdeps/unix/bsd/setruid.c: Likewise.
19717 * sysdeps/unix/bsd/setsid.c: Likewise.
19718 * sysdeps/unix/bsd/setuid.c: Likewise.
19719 * sysdeps/unix/bsd/sigaction.c: Likewise.
19720 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19721 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19722 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19723 * sysdeps/unix/bsd/telldir.c: Likewise.
19724 * sysdeps/unix/bsd/times.c: Likewise.
19725 * sysdeps/unix/bsd/usleep.c: Likewise.
19726
029c7b25
JM
19727 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19728 ($(objpfx)libbsd-compat.a): Remove rule.
19729
7011c262
JM
19730 * include/features.h (__FAVOR_BSD): Do not define.
19731 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19732 features conflicting with POSIX.
19733 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19734 (_BSD_SOURCE): Remove description of not being a subset of other
19735 feature test macros.
19736 * manual/job.texi (getpgrp): Do not document BSD version.
19737 (getpgid): Do not document by reference to BSD getpgrp.
19738 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19739 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19740 * signal/signal.h [__FAVOR_BSD]: Likewise.
19741 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19742 instead of making contents conditional on [__FAVOR_BSD].
19743 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19744
affb6f78
AZ
197452013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19746
19747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19748
c88769dd
JM
197492013-12-17 Joseph Myers <joseph@codesourcery.com>
19750
6432a540
JM
19751 [BZ #16314]
19752 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19753 values below 2**-450, not 2**-500.
19754 * math/auto-libm-test-in: Don't allow spurious underflow from
19755 hypot.
19756 * math/auto-libm-test-out: Regenerated.
19757
c88769dd
JM
19758 [BZ #16316]
19759 [BZ #16330]
19760 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19761 values of ha and hb and sort them after adjusting subnormal
19762 arguments.
19763 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19764 Likewise.
19765 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19766 values of ea and eb and sort them after adjusting subnormal
19767 arguments.
19768 * math/auto-libm-test-in: Do not expect some hypot tests of
19769 subnormals to fail. Add more hypot tests.
19770 * math/auto-libm-test-out: Regenerated.
19771
29618f6b
KK
197722013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19773
19774 [BZ #13304]
19775 * sysdeps/sh/s_fma.c: New file.
19776 * sysdeps/sh/s_fmaf.c: New file.
19777 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19778 version.
19779 * sysdeps/sh/Implies: Add sh/soft-fp.
19780
eacfdfbf
RM
197812013-12-16 Roland McGrath <roland@hack.frob.com>
19782
19783 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19784 level of indirection to members `objname', `errstring', `malloced'.
19785 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19786 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19787 it as the __longjmp argument (just pass 1 instead).
19788 (_dl_catch_error): Initialize C with argument pointers and address of
19789 volatile local ERRCODE rather than copying values out of C at return.
19790
ff362e5b
JM
197912013-12-16 Joseph Myers <joseph@codesourcery.com>
19792
19793 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19794 * math/auto-libm-test-out: Regenerated.
19795 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19796 (hypot_test_data): Likewise.
19797 (pow_test_data): Likewise.
19798 (pow_tonearest_test_data): Likewise.
19799 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19800 mpfr_ff_f.
19801 (func_calc_desc): Add mpfr_ff_f union field.
19802 (FUNC_mpfr_ff_f): New macro.
19803 (test_functions): Add atan2, hypot and pow.
19804 (special_fill_min): New function.
19805 (special_fill_minus_min): Likewise.
19806 (special_fill_min_subnorm): Likewise.
19807 (special_fill_minus_min_subnorm): Likewise.
19808 (special_real_inputs): Add min, -min, min_subnorm and
19809 -min_subnorm.
19810 (calc_generic_results): Handle mpfr_ff_f.
19811 * sysdeps/i386/fpu/libm-test-ulps: Update.
19812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19813
5764c27f
WN
198142013-12-16 Will Newton <will.newton@linaro.org>
19815
19816 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19817 (Aligned Memory Blocks): Add documentation for aligned_alloc
19818 and suggest it as an alternative to posix_memalign.
19819 (Hooks for Malloc): Document __memalign_hook is also called
19820 for aligned_alloc. (Summary of Malloc): Add summary for
19821 aligned alloc. Document __memalign_hook is also called
19822 for aligned_alloc.
19823
0a096e44
WN
198242013-12-16 Will Newton <will.newton@linaro.org>
19825
19826 * manual/memory.texi (Malloc Examples): Clarify default
19827 alignment documentation. Suggest posix_memalign rather
19828 than memalign or valloc.
19829 (Aligned Memory Blocks): Remove suggestion to use memalign
19830 or valloc. Remove obsolete comment about BSD.
19831 Document memalign errno values and mark the function obsolete.
19832 Document posix_memalign returned error codes. Mark valloc
19833 as obsolete. (Hooks for Malloc): __memalign_hook is also
19834 called for posix_memalign and valloc.
19835 (Summary of Malloc): Add posix_memalign to function summary.
19836 __memalign_hook is also called for posix_memalign and valloc.
19837
8d561986
SP
198382013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19839
19840 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19841 TAYLOR_SIN.
19842 (__sin): Adjust.
19843 (__cos): Likewise.
19844 (sloww): Use mynumber union. Expand ternary operator into
19845 if-else statements.
19846 (cslow): use mynumber union.
19847
73616a74
AM
198482013-12-16 Allan McRae <allan@archlinux.org>
19849
9e8ac24b
AM
19850 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19851 * configure: Regenerated.
19852
6f8e37eb
AM
19853 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19854
8894bad3
AM
19855 [BZ #14120]
19856 * configure.ac: Added --enable-maintainer-mode. Check for
19857 autoconf when enabled.
19858 * configure: Regenerated.
19859
73616a74
AM
19860 * nscd/nscd.service: New file.
19861 * nscd/nscd.tmpfiles: New file.
19862
584b18eb
OB
198632013-12-14 Ondřej Bílka <neleai@seznam.cz>
19864
19865 [BZ #12100]
19866 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19867 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19868 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19869 (strstr): Add __strstr_sse2_unaligned ifunc.
19870 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19871 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19872 (strcasestr): Remove __strcasestr_sse42 ifunc.
19873 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19875 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19876
8a5c7897
KK
198772013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19878
19879 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19880 * sysdeps/sh/bits/fenv.h: ... here.
19881 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19882
fd712ef3
AZ
198832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19884
19885 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19886
42fcb46c
AZ
19887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19888 hypotf multiarch implementations.
19889 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19890 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19891 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19892 multiarch hypot for PPC64.
19893 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19894 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19895 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19896 multiarch hypotf for PPC64.
19897
83efded4
AZ
19898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19899 modff multiarch implementations.
19900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19903 multiarch modf for PPC64.
19904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19907 multiarch modff for PPC64.
19908
43e246d2
AZ
19909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19910 and logl multiarch implementations.
19911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19914 multiarch logb for PPC64.
19915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19918 multiarch logb for PPC64.
19919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19922 multiarch logb for PPC64.
19923
8fdad123
AZ
19924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19925 isinff multiarch implementation.
19926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19927 file.
19928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19930 multiarch isinf for PPC64.
19931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19932 file.
19933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19934 multiarch isinff for PPC64.
19935
1481d706
AZ
19936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19937 finitef multiarch implementation.
19938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19939 file.
19940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19942 multiarch finite for PPC64.
19943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19944 file.
19945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19946 multiarch finitef for PPC64.
19947
5ccd5fc8
AZ
19948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19949 lrint multiarch implementation.
19950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19951 file.
19952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19954 multiarch llrint for PPC64.
19955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19956 multiarch lrint for PPC64.
19957
2568f3fa
AZ
19958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19959 copysignf multiarch implementation.
19960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19961 file.
19962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19963 file.
19964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19965 multiarch copysign for PPC64.
19966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19967 multiarch copysignf for PPC64.
19968
1cb341fd
AZ
19969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19970 multiarch implementation.
19971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19972 file.
19973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19974 file.
19975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19976 file.
19977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19978 file.
19979 multiarch llround for PPC64.
19980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19981 multiarch trunc for PPC64.
19982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19983 multiarch truncf for PPC64.
19984
59a3e194
AZ
19985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19986 multiarch implementation.
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19988 file.
19989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19990 file.
19991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19992 file.
19993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19994 file.
19995 multiarch llround for PPC64.
19996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19997 multiarch round for PPC64.
19998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19999 multiarch roundf for PPC64.
20000
357fd3b4
AZ
20001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20002 multiarch implementation.
20003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20004 file.
20005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20006 file.
20007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20008 file.
20009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20010 file.
20011 multiarch llround for PPC64.
20012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20013 multiarch floor for PPC64.
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20015 multiarch floorf for PPC64.
20016
96770f12
AZ
20017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20018 multiarch implementation.
20019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20020 file.
20021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20022 file.
20023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20024 file.
20025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20026 file.
20027 multiarch llround for PPC64.
20028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20029 multiarch ceil for PPC64.
20030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20031 multiarch ceilf for PPC64.
20032
c3627f6e
AZ
20033 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20034 multiarch implementation.
20035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20036 file.
20037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20038 file.
20039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20040 file.
20041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20042 multiarch llround for PPC64.
20043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20044 multiarch lround for PPC64.
20045
b2284ad7
AZ
20046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20047 multiarch implementation.
20048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20051 file.
20052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20055 multiarch isnan for PPC64.
20056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20057 multiarch isnanf for PPC64.
20058
69bbc63d
AZ
20059 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20060 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20061 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20062 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20063 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20065
c24517c9
AZ
20066 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20067 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20068 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20070
a52374e8
AZ
20071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20072 multiarch implementations.
20073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20074 (__libc_ifunc_impl_list): Likewise.
20075 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20076 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20077 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20078 multiarch stpcpy for PPC64.
20079
7f5ec113
AZ
20080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20081 multiarch implementations.
20082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20083 (__libc_ifunc_impl_list): Likewise.
20084 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20085 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20086 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20087 multiarch strcpy for PPC64.
20088
e28bcd42
AZ
20089 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20090 redefine function name.
20091 (_wordcopy_fwd_dest_aligned): Likewise.
20092 (_wordcopy_bwd_aligned): Likewise.
20093 (_wordcopy_bwd_dest_aligned): Likewise.
20094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20095 multiarch implementations.
20096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20097 (__libc_ifunc_impl_list): Likewise.
20098 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20099 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20100 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20101 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20102 multiarch wcscpy for PPC64.
20103
92cacfce
AZ
20104 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20105 multiarch implementations.
20106 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20107 (__libc_ifunc_impl_list): Likewise.
20108 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20109 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20110 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20111 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20112 multiarch wcscpy for PPC64.
20113
7b714620
AZ
20114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20115 multiarch implementations.
20116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20117 (__libc_ifunc_impl_list): Likewise.
20118 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20119 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20120 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20121 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20122 multiarch wcsrchr for PPC64.
20123
16fd2ae3
AZ
20124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20125 multiarch implementations.
20126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20127 (__libc_ifunc_impl_list): Likewise.
20128 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20129 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20130 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20131 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20132 multiarch wcschr for PPC64.
20133
9ee2969b
AZ
20134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20135 multiarch implementations.
20136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20137 (__libc_ifunc_impl_list): Likewise.
20138 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20139 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20140 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20141 multiarch strchrnul for PPC64.
20142
372dc060
AZ
20143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20144 implementations.
20145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20146 (__libc_ifunc_impl_list): Likewise.
20147 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20148 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20149 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20150 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20151 strchr for PPC64.
20152
24c2c3b9
AZ
20153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20154 implementations.
20155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20156 (__libc_ifunc_impl_list): Likewise.
20157 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20158 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20159 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20160 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20161 strncmp for PPC64.
20162
1c92d9a0
AZ
20163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20164 multiarch implementations.
20165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20166 (__libc_ifunc_impl_list): Likewise.
20167 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20168 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20169 strncasecmp for PPC64.
20170 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20171 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20172 multiarch strncasecmp_l for PPC64.
20173
17de3ee3
AZ
20174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20175 multiarch implementations.
20176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20177 (__libc_ifunc_impl_list): Likewise.
20178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20179 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20180 multiarch strcasecmp for PPC64.
20181 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20182 file.
20183 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20184 multiarch strcasecmp_l for PPC64.
20185
62982bf9
AZ
20186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20187 implementations.
20188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20189 (__libc_ifunc_impl_list): Likewise.
20190 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20191 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20192 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20193 strnlen for PPC64.
20194
a65f4904
AZ
20195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20196 implementations.
20197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20198 (__libc_ifunc_impl_list): Likewise.
20199 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20200 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20201 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20202 strlen for PPC64.
20203
1fd005ad
AZ
20204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20205 implementations.
20206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20207 (__libc_ifunc_impl_list): Likewise.
20208 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20209 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20210 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20211 rawmemrchr for PPC64.
20212
cd05ba91
AZ
20213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20214 implementation.
20215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20216 (__libc_ifunc_impl_list): Likewise.
20217 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20218 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20219 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20220 memrchr for PPC64.
20221
870f8676
AZ
20222 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20223 implementation.
20224 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20225 (__libc_ifunc_impl_list): Likewise.
20226 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20227 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20228 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20229 memchr for PPC64.
20230
f00be62b
AZ
20231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20232 implementation.
20233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20234 (__libc_ifunc_impl_list): Likewise.
20235 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20236 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20237 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20238 mempcpy for PPC64.
20239
8a29a3d0
AZ
20240 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20241 avoid cretion of __bzero symbol.
20242 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20243 Likewise.
20244 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20245 Likewise.
20246 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20247 Likewise.
20248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20249 multiarch implementations.
20250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20251 (__libc_ifunc_impl_list): Likewise.
20252 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20253 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20254 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20255 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20256 bzero for PPC32.
20257 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20258 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20259 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20260 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20261 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20262 memset for PPC64.
20263 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20264
07253fcf
AZ
20265 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20267 implementations.
20268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20269 (__libc_ifunc_impl_list): Likewise.
20270 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20271 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20272 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20273 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20274 memcmp for PPC64.
20275
b5beafbc
AZ
20276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20277 multiarch for POWER/PPC64.
20278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20279 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20280 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20281 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20282 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20283 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20284 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20285 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20286 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20287 memcpy for PPC64.
20288
5e6a4d4b
AZ
20289 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20290 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20291 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20292 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20293 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20294 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20295 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20296 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20297 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20298 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20299 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20300 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20301 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20302 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20303 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20311
ddfab6dc
KK
203122013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20313
20314 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20315
19b5525e
SP
203162013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20317
20318 * benchtests/Makefile (bench): Add exp2 and log2.
20319 (LDLIBS-bench-exp2): Add -lm.
20320 (LDLIBS-bench-log2): Likewise.
20321 * benchtests/exp2-inputs: New inputs file.
20322 * benchtests/log2-inputs: New inputs file.
20323 * benchtests/log-inputs: Add new inputs.
20324 * benchtests/tan-inputs: Likewise.
20325
196f7f5d
SP
203262013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20327
7a74607f
SP
20328 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20329 definition...
57f41c40
AS
20330 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20331 (csloww2): ... from here.
7a74607f 20332
196f7f5d
SP
20333 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20334 instead of structures.
20335 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20336 (POLYNOMIAL): Likewise.
20337 (TAYLOR_SLOW): Likewise.
20338 (__sin): Likewise.
20339 (__cos): Likewise.
20340 (slow1): Likewise.
20341 (slow2): Likewise.
20342 (sloww): Likewise.
20343 (sloww1); Likewise.
20344 (sloww2): Likewise.
20345 (bsloww1): Likewise.
20346 (bsloww2): Likewise.
20347 (cslow2): Likewise.
20348 (csloww): Likewise.
20349 (csloww1): Likewise.
20350 (csloww2): Likewise.
20351
0dfa665c
OB
203522013-12-10 Ondřej Bílka <neleai@seznam.cz>
20353
20354 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20355 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20356 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20357 * malloc/hooks.c (realloc_check): Likewise.
20358
5782a80f
OB
20359 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20360 * malloc/arena.c: Remove PER_THREAD conditional.
20361 [!PER_THREAD]: Remove code.
20362 (ptmalloc_unlock_all2): Likewise.
20363 (ptmalloc_init): Likewise.
20364 (_int_new_arena): Likewise.
20365 (arena_get2): Likewise.
20366 * malloc/hooks.c (__malloc_get_state): Likewise.
20367 (__malloc_set_state): Likewise.
20368 * malloc/malloc.c: Likewise.
20369 (struct malloc_state): Likewise.
20370 (struct malloc_par): Likewise.
20371 (__libc_realloc): Likewise.
20372 (__libc_mallopt): Likewise.
20373
aeb95445
AZ
203742013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20375
20376 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20377
e8349efd
OB
203782013-12-09 Ondřej Bílka <neleai@seznam.cz>
20379
20380 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20381 macro to a function. Check for zero perturb_byte.
20382 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20383
f3eeb3fc 20384 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20385 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20386 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20387 force_reg by atomic_forced_read.
20388 * malloc/arena.c (ptmalloc_init): Likewise.
20389 * malloc/hooks.c (top_check): Likewise.
20390
be2f9009
AZ
203912013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20392
20393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20394
e7b914bd
MT
203952013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20396
20397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20398
9f0be4f8
JM
203992013-12-08 Joseph Myers <joseph@codesourcery.com>
20400
20401 * math/auto-libm-test-in: Add tests of lgamma.
20402 * math/auto-libm-test-out: Regenerated.
20403 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20404 (M_LOG_2_SQRT_PIl): Likewise.
20405 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20406 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20407 mpfr_f_f1.
20408 (func_calc_desc): Add mpfr_f_f1 union field.
20409 (ARGS1): New macro.
20410 (ARGS2): Likewise.
20411 (ARGS3): Likewise.
20412 (ARGS4): Likewise.
20413 (RET1): Likewise.
20414 (RET2): Likewise.
20415 (CALC): Likewise.
20416 (FUNC): Likewise.
20417 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20418 (test_functions): Add lgamma.
20419 (calc_generic_results): Handle mpfr_f_f1.
20420 * sysdeps/i386/fpu/libm-test-ulps: Update.
20421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20422
24eeafdb
AZ
204232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20424
20425 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20426 __mpn_add_n for PowerPC64/POWER7.
20427 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20428 __mpn_sub_n for PowerPC64/POWER7.
20429
4a2c0fd4
AZ
20430 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20431 __mpn_addmul_1 for PowerPC64.
20432 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20433 __mpn_submul_1 for PowerPC64.
20434 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20435 for PowerPC64.
20436 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20437 for PowerPC64.
20438
4b5b548c
FS
204392013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20440
20441 [BZ #15089]
20442 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20443
0a3ac0aa
AZ
204442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20445
20446 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20447
ccdc8438
AZ
20448 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20449 add multiarch folders.
20450 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20451 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20452 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20453 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20454 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20455 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20456 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20457 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20458 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20459 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20460 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20467
2e973d99
AZ
20468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20469 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20471 New file.
20472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20473 New file.
20474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20475 multiarch __ieee754_hypot for PowerPC32.
20476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20477 New file.
20478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20479 New file.
20480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20481 multiarch __ieee754_hypotf for PowerPC32.
20482
2d9470b2
AZ
20483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20484 long_double_symbol only if __logbl is defined.
20485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20486 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20488 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20490 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20492 path for implementation.
20493 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20494 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20496 logb, and logbl multiarch implementations for PowerPC32.
20497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20498 file.
20499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20500 file.
20501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20502 multiarch logb for PowerPC32.
20503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20504 file.
20505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20506 file.
20507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20508 multiarch logbf for PowerPC32.
20509 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20511 file.
20512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20513 multiarch logbl implementation for PowerPC32.
20514
5212ffce
AZ
20515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20516 and modff multiarch implementations.
20517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20518 New file.
20519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20520 New file.
20521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20522 multiarch modf for PowerPC32.
20523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20524 New file.
20525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20526 New file.
20527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20528 multiarch modff for PowerPC32.
20529
79dccf31
AZ
20530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20531 and lrintf multiarch implementations.
20532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20533 New file.
20534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20535 New file.
20536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20537 multiarch lrint for PowerPC32.
20538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20539 file: multiarch lrintf for PowerPC32.
20540
deb66480
AZ
20541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20542 and lroundf multiarch implementations.
20543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20544 New file.
20545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20546 New file.
20547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20548 New file.
20549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20550 multiarch lround for PowerPC32.
20551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20552 file: multiarch lroundf for PowerPC32.
20553
264b036b
AZ
20554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20555 copysign and copysignf multiarch implementations.
20556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20557 New file.
20558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20559 New file.
20560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20561 file: multiarch copysign for PowerPC32.
20562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20563 file: multiarch copysignf for PowerPC32.
20564
d47db6c9
AZ
20565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20566 and truncf multiarch implementations.
20567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20568 New file.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20570 file.
20571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20572 multiarch trunc for PowerPC32.
20573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20574 New file.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20576 New file.
20577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20578 multiarch truncf for PowerPC32.
20579
ddb60b5a
AZ
20580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20581 and roundf multiarch implementations.
20582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20583 New file.
20584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20585 file.
20586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20587 multiarch round for PowerPC32.
20588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20589 New file.
20590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20591 New file.
20592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20593 multiarch roundf for PowerPC32.
20594
bedcf49b
AZ
20595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20596 and floorf multiarch implementations.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20598 New file.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20600 file.
20601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20602 multiarch floor for PowerPC32.
20603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20604 New file.
20605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20606 New file.
20607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20608 multiarch floorf for PowerPC32.
20609
35ae5b40
AZ
20610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20611 and ceilf multiarch implementations.
20612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20613 New file.
20614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20615 file.
20616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20617 multiarch ceil for PowerPC32.
20618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20619 New file.
20620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20621 file.
20622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20623 multiarch ceilf for PowerPC32.
20624
ae1a4cd9
AZ
20625 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20626 is defined.
20627 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20628 FINITEF is defined.
20629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20630 and finitef multiarch implementations.
20631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20632 New file.
20633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20634 file.
20635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20636 multiarch finite for PowerPC32.
20637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20638 New file.
20639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20640 file: multiarch finitef for PowerPC32.
20641
64fffd65
AZ
20642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20643 and isinff multiarch implementations.
20644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20645 file.
20646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20647 file.
20648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20649 multiarch isinf for PowerPC32.
20650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20651 New file.
20652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20653 multiarch isinff for PowerPC32.
20654
8e4e7ba2
AZ
20655 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20656 alias when __isnan is defined.
20657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20658 and isnanf multiarch implementations.
20659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20660 file.
20661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20662 file.
20663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20664 file.
20665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20666 file.
20667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20668 multiarch isnan for PowerPC32.
20669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20670 New file.
20671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20672 New file.
20673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20674 multiarch isnanf for PowerPC32.
20675
ddba588e
AZ
20676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20677 and sqrtf multiarch implementations.
20678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20679 file.
20680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20681 file.
20682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20683 multiarch sqrt for PowerPC32.
20684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20685 file.
20686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20687 file.
20688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20689 multiarch sqrtf for PowerPC32.
20690
0f96a2f0
AZ
20691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20692 and llroundf multiarch implementations.
20693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20694 New file.
20695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20696 New file.
20697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20698 New file.
20699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20700 file: multiarch llround for PowerPC32.
20701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20702 file: multiarch llroundf for PowerPC32.
20703
c9b5d79e
AZ
20704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20705 multiarch PowerPC32 fpu implementations.
20706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20707 New file.
20708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20709 New file.
20710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20711 multiarch llrint for PowerPC32.
20712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20713 New file.
20714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20715 New file.
20716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20717 file.
20718
9cbb3aab
AZ
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20720
ea5a72f8
AZ
20721 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20722 file.
20723 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20724 file.
20725 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20726 file.
20727 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20728 multiarch wordcopy for PPC32.
20729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20730 wordcopy objects.
20731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20732 (__libc_ifunc_impl_list): Likewise.
20733 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20734 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20735 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20736 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20737 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20738 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20739
93be09e7
AZ
20740 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20741 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20742 file.
20743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20744 file.
20745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20746 file.
20747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20748 multiarch wcscpy for PPC32.
20749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20750 multiarch objects.
20751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20752 (__libc_ifunc_impl_list): Likewise.
20753 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20754 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20755 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20756 sysdeps/powerpc/power6/wcscpy.c.
20757
bb04e529
AZ
20758 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20759 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20760 file.
20761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20762 file.
20763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20764 file.
20765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20766 multiarch wcsrchr for PPC32.
20767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20768 multiarch objects.
20769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20770 (__libc_ifunc_impl_list): Likewise.
20771 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20772 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20773 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20774 sysdeps/powerpc/power6/wcsrchr.c.
20775
05b5cd1c
AZ
20776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20777 file.
20778 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20779 file.
20780 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20782 multiarch wcschr for PPc32.
20783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20784 multiarch objects.
20785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20786 (__libc_ifunc_impl_list): Likewise.
20787 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20788 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20789 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20790 sysdeps/powerpc/power6/wcschr.c.
20791
ba964147
AZ
20792 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20793 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20794 file.
20795 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20796 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20797 file: multiarch strchr for PPC32.
20798 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20799 multiarch objects.
20800 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20801 (__libc_ifunc_impl_list): Likewise.
20802
31c81aaa
AZ
20803 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20804 name.
20805 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20806 file.
20807 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20808 file.
20809 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20810 multiarch strchrnul for PPC32.
20811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20812 multiarch objects.
20813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20814 (__libc_ifunc_impl_list): Likewise.
20815
0d0607d9
AZ
20816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20817 file.
20818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20819 multiarch strncasecmp for PPC32.
20820 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20821 file.
20822 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20823 multiarch strncasecmp_l for PPC32.
20824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20825 strncasecmp multiarch objects.
20826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20827 (__libc_ifunc_impl_list): Likewise.
20828
4dfd5c86
AZ
20829 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20830 file.
20831 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20832 multiarch strncasecmp for PPC32.
20833 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20834 New file.
20835 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20836 multiarch strcasecmp_l for PPC32.
20837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20838 multiarch objects.
20839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20840 (__libc_ifunc_impl_list): Likewise.
20841
a19e01a3
AZ
20842 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20843 file.
20844 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20845 file.
20846 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20847 multiarch strncmp for PPC32.
20848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20849 multiarch objects.
20850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20851 (__libc_ifunc_impl_list): Likewise.
20852
ae9cf7a2
AZ
20853 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20854 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20855 file.
20856 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20857 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20858 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20859 multiarch objects.
20860 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20861 (__libc_ifunc_impl_list): Likewise.
20862
3148bb7d
AZ
20863 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20864 file.
20865 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20866 file.
20867 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20869 multiarch objects.
20870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20871 (__libc_ifunc_impl_list): Likewise.
20872
7af8b946
AZ
20873 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20874 file.
20875 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20876 file.
20877 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20878 multiarch rawmemchr for PPC32.
20879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20880 multiarch objects.
20881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20882 (__libc_ifunc_impl_list): Likewise.
20883
03a6aa6a
AZ
20884 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20885 file.
20886 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20887 file.
20888 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20889 file: memrchr multiarch for PPC32.
20890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20891 multiarch objects.
20892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20893 (__libc_ifunc_impl_list): Likewise.
20894
1c62e6d9
AZ
20895 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20896 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20897 file.
20898 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20899 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20900 multiarch memchr for PPC32.
20901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20902 multiarch objects.
20903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20904 (__libc_ifunc_impl_list): Likewise.
20905
87da8bdb
AZ
20906 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20907 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20908 file.
20909 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20910 file.
20911 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20912 file: multiarch mempcpy for PPC32.
20913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20914 multiarch objects.
20915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20916 (__libc_ifunc_impl_list): Likewise.
20917
20ed4714
AZ
20918 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20919 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20920 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20921 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20922 multiarch bzero for PPC32.
20923 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20924 file.
20925 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20926 file.
20927 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20928 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20929 file: multiarch memset for PPC32.
20930 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20932 memset multiarch objects.
20933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20934 (__libc_ifunc_impl_list): Likewise.
20935
ab3e3a46
AZ
20936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20937 file.
20938 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20940 memcmp for PPC32.
20941 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20943 multiarch objects.
20944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20945 (__libc_ifunc_impl_list): Likewise.
20946
930de6f0
AZ
20947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20950 file.
20951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20952 file.
20953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20954 file.
20955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20956 multiarch memcpy for PPC32.
20957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20958 multiarch objects.
20959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20960 (__libc_ifunc_impl_list): Likewise.
20961
4c628e00
AZ
20962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20963 support multiarch for POWER/PPC32.
20964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20965 Likewise.
20966 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20968 Implies file to make multiarch folder appers before the fpu and
20969 default folder for power4 configuration.
20970
f4479220
SP
209712013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20972
20973 * scripts/bench.pl: Append volatile keyword to type.
20974
8517800f
KK
209752013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20976
20977 * sysdeps/sh/sotruss-lib.c: New file.
20978 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20979
180138f1
AZ
209802013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20981
20982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20983
bbf37bdc
JM
209842013-12-05 Joseph Myers <joseph@codesourcery.com>
20985
e47cc4e0
JM
20986 [BZ #6810]
20987 * math/w_tgamma.c: Include <errno.h>.
20988 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20989 * math/w_tgammaf.c: Include <errno.h>.
20990 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20991 * math/w_tgammal.c: Include <errno.h>.
20992 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20993 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20994 underflow. Add more tgamma tests.
20995 * math/auto-libm-test-out: Regenerated.
20996 * sysdeps/i386/fpu/libm-test-ulps: Update.
20997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20998
bbf37bdc
JM
20999 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21000 sin, sinh, tan, tanh, tgamma, y0 and y1.
21001 * math/auto-libm-test-out: Regenerated.
21002 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21003 (TEST_COND_x86): Likewise.
21004 (M_E2l): Remove macro.
21005 (M_E3l): Likewise.
21006 (M_2_SQRT_PIl): Likewise.
21007 (M_SQRT_PIl): Likewise.
21008 (M_1_DIV_El): Likewise.
21009 (log_test_data): Use AUTO_TESTS_f_f.
21010 (log10_test_data): Likewise.
21011 (log1p_test_data): Likewise.
21012 (log2_test_data): Likewise.
21013 (sin_test_data): Likewise.
21014 (sin_tonearest_test_data): Likewise.
21015 (sin_towardzero_test_data): Likewise.
21016 (sin_downward_test_data): Likewise.
21017 (sin_upward_test_data): Likewise.
21018 (sinh_test_data): Likewise.
21019 (sinh_tonearest_test_data): Likewise.
21020 (sinh_towardzero_test_data): Likewise.
21021 (sinh_downward_test_data): Likewise.
21022 (sinh_upward_test_data): Likewise.
21023 (tan_test_data): Likewise.
21024 (tan_tonearest_test_data): Likewise.
21025 (tan_towardzero_test_data): Likewise.
21026 (tan_downward_test_data): Likewise.
21027 (tan_upward_test_data): Likewise.
21028 (tanh_test_data): Likewise.
21029 (tgamma_test_data): Likewise.
21030 (y0_test_data): Likewise.
21031 (y1_test_data): Likewise.
21032 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21033 (special_real_inputs): Add pi/4.
21034 * sysdeps/i386/fpu/libm-test-ulps: Update.
21035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21036
eb5ad6b9
AZ
210372013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21038
21039 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21040 "longjmp_target" static probes.
21041 (__longjmp): Rename to __longjmp_symbol.
21042 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21043 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21044 on which longjmp to generate.
21045 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21046 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21047 probe.
21048 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21049 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21050 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21051 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21052 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21053 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21055 __longjmp_symbol based on which __longjmp to generate.
21056 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21057 probe.
21058 (setjmp): Rename to setjmp_symbol.
21059 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21060 (_setjmp): Rename to _setjmp_symbol.
21061 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21062 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21063 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21064 which setjmp to generate.
21065 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21066 "longjmp_target" static probes.
21067
d136c6dc
SP
210682013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21069
9298ecba
SP
21070 * benchtests/README: Add note about output arguments.
21071 * benchtests/bench-sincos.c: Remove file.
21072 * benchtests/sincos-inputs: New file.
21073 * scripts/bench.pl: Identify output arguments and define
21074 static variables for them.
21075
232983e9
SP
21076 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21077
d136c6dc
SP
21078 [BZ #15941]
21079 * Makefile (INSTALL): Add install-plain.texi as the primary
21080 dependency.
21081 * manual/install-plain.texi: New file.
21082 * manual/install.texi: Include node directive only for
21083 non-plaintext output.
21084
699ff837
JM
210852013-12-04 Joseph Myers <joseph@codesourcery.com>
21086
ab07cea8
JM
21087 * stdlib/longlong.h: Update from GCC.
21088
699ff837
JM
21089 [BZ #6807]
21090 [BZ #15901]
21091 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21092 * math/w_j0f.c (y0f): Likewise.
21093 * math/w_j0l.c (__y0l): Likewise.
21094 * math/w_j1.c (y1): Likewise.
21095 * math/w_j1f.c (y1f): Likewise.
21096 * math/w_j1l.c (__y1l): Likewise
21097 * math/w_jn.c (yn): Likewise.
21098 * math/w_jnf.c (ynf): Likewise.
21099 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21100 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21101 value for Bessel function domain errors outside _SVID_ mode.
21102 Adjust sign of return value for yn (negative integer, 0).
21103 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21104 by zero in return for negative x and set sign appropriately for
21105 negative n.
21106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21108 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21109 expectations in error cases.
21110 (y1_test_data): Likewise.
21111 (yn_test_data): Likewise.
21112 * sysdeps/i386/fpu/libm-test-ulps: Update.
21113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21114
5b118558
UW
211152013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21116
21117 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21118 "64" to "64-v1". Add "64-v2".
21119 (abi-64-options): Rename to ...
21120 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21121 (abi-64-condition): Rename to ...
21122 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21123 (abi-64-ld-soname): Rename to ...
21124 (abi-64-v1-ld-soname): ... this.
21125 (abi-64-v2-options): Define.
21126 (abi-64-v2-condition): Likewise.
21127 (abi-64-v2-ld-soname): Likewise.
21128 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21129 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21133
61cd8fe4
UW
211342013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21135 Alan Modra <amodra@gmail.com>
21136
21137 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21138 New versions for use with the ELFv2 ABI.
21139 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21140 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21141 declaration.
21142 (struct La_ppc64v2_retval): Likewise.
21143 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21144 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21145 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21146 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21147 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21148 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21149 Do not save or restore CR.
21150 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21151 (_dl_profile_resolve): Do no save or restore CR. Support extended
21152 return values for ELFv2 ABI. Fix location of FPR return registers.
21153 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21154 updated values for _CALL_ELF == 2.
21155 (La_regs, La_retval, int_retval): Likewise.
21156
8b8a692c
UW
211572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21158
21159 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21160 (FRAME_MIN_SIZE_PARM): Likewise.
21161 (FRAME_BACKCHAIN): Likewise.
21162 (FRAME_CR_SAVE): Likewise.
21163 (FRAME_LR_SAVE): Likewise.
21164 (FRAME_TOC_SAVE): Likewise.
21165 (FRAME_PARM_SAVE): Likewise.
21166 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21167 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21168 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21169 (call_mcount_parm_offset): New macro.
21170 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21171 (PROF): Use symbolic stack frame offsets.
21172 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21174 Redefine in terms of FRAME_MIN_SIZE.
21175 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21176 (_dl_profile_resolve): Likewise. Update comment.
21177 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21178 symbols stack frame offsets.
21179 (__sigsetjmp): Likewise.
21180 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21181 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21182 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21183 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21184
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21186 (FRAME_BACKCHAIN): Remove.
21187 (FRAME_CR_SAVE): Likewise.
21188 (FRAME_LR_SAVE): Likewise.
21189 (FRAME_COMPILER_DW): Likewise.
21190 (FRAME_LINKER_DW): Likewise.
21191 (FRAME_TOC_SAVE): Likewise.
21192 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21193 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21194 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21195 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21197 (CHECK_SP): Use symbolic stack frame offsets.
21198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21199 zone" instead of caller's parameter save area for temp storage.
21200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21201 Likewise. Also, use symbolic stack frame offsets.
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21203 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21204 our own stack frame instead of the caller's.
21205 (__socket): Use symbolic stack frame offsets.
21206
122b66de
UW
212072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21208 Alan Modra <amodra@gmail.com>
21209
21210 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21211 Define.
57f41c40
AS
21212 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21213 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21214 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21215 New function.
21216 (elf_machine_fixup_plt): Call it.
21217 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21218 reloc arguments.
21219 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21221 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21222 r2 before calling target.
21223
696caf1d
UW
212242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21225 Alan Modra <amodra@gmail.com>
21226
21227 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21228 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21229 versions of macros to support ELFv2 ABI.
21230 (LOCALENTRY): New macro.
21231 (ENTRY, EALIGN): Use it.
21232 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21233 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21234 fall through into ENTRY entry point.
21235 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21236 Only define if _CALL_ELF != 2.
21237
21238 (elf_machine_matches_host): Verify ABI version matches.
21239 (RTLD_START): Use LOCALENTRY.
21240 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21241 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21242 (PLT_ENTRY_WORDS): New macro.
21243 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21244 (elf_machine_runtime_setup): Support ELFv2 ABI.
21245 (elf_machine_fixup_plt): Likewise.
21246 (elf_machine_plt_conflict): Likewise.
21247 (resolve_ifunc): Likewise.
21248 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21250 Likewise.
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21252 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21254 (makecontext): Support ELFv2 ABI.
21255 * elf/elf.h (EF_PPC64_ABI): Define.
21256
d31beafa
UW
212572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21258
57f41c40
AS
21259 * sysdeps/powerpc/powerpc64/sysdep.h
21260 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21261 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21262 (ENTRY) [ASSEMBLER]: ... but instead here ...
21263 (EALIGN) [ASSEMBLER]: ... and here.
21264 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21265 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21266 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21267 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21268 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21269 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21270 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21271 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21273 Use PPC64_LOAD_FUNCPTR.
21274
b525166b
UW
21275 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21276
7ec07d9a
AM
212772013-12-04 Alan Modra <amodra@gmail.com>
21278
21279 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21280 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21281 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21282 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21283
21284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21285 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21286 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21287 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21288 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21289 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21290
5162e7dd
UW
212912013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21292
21293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21294 (__makecontext): Fix incorrect CFI when backtracing out of
21295 context created via makecontext.
21296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21297 (__setcontext): Fix incorrect CFI during switch to new context.
21298 (__novec_setcontext): Likewise.
21299
19e3372b
OB
213002013-12-04 Ondřej Bílka <neleai@seznam.cz>
21301
21302 [BZ #4772]
21303 * time/strptime_l.c (__strptime_internal): Allow modifiers
21304 in strptime.
21305 * time/tst-strptime.c (day_tests): Add testcase.
21306
ecaf142d
SP
213072013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21308
21309 * scripts/bench.pl: Skip over blank lines.
21310
fbf964ae
PE
213112013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21312
21313 [BZ #926]
21314 * manual/time.texi (Calendar Time): Clarify what timezone functions
21315 use.
21316
fa60a674
AZ
213172013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21318
21319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21320
d674f0ef
OB
213212013-12-04 Ondřej Bílka <neleai@seznam.cz>
21322
21323 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21324 implementation.
21325 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21326 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21327 * debug/memset_chk.c (__memset_chk): Likewise.
21328 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21329 * debug/strncpy_chk.c: Likewise.
21330
17dea188
JM
213312013-12-03 Joseph Myers <joseph@codesourcery.com>
21332
749008ff
JM
21333 [BZ #15268]
21334 [BZ #15425]
21335 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21336 (__ieee754_exp): For possibly underflowing results, check size of
21337 result and force underflow exception if required.
21338 * math/auto-libm-test-in: Add more tests of exp.
21339 * math/auto-libm-test-out: Regenerated.
21340 * sysdeps/i386/fpu/libm-test-ulps: Update.
21341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21342
17dea188
JM
21343 [BZ #16283]
21344 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21345 * math/w_exp2f.c (__exp2f): Likewise.
21346 * math/w_exp2l.c (__exp2l): Likewise.
21347 * math/auto-libm-test-in: Do not allow missing errno on exp2
21348 underflow.
21349 * math/auto-libm-test-out: Regenerated.
21350
b20de2c3
OB
213512013-12-03 Ondřej Bílka <neleai@seznam.cz>
21352
21353 [BZ #16274]
21354 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21355 handle filename validation.
21356 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21357 (do_open): Delete.
21358
d8e2dbe3
JM
213592013-12-03 Joseph Myers <joseph@codesourcery.com>
21360
34e16df5
JM
21361 [BZ #6786]
21362 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21363 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21364 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21365 <float.h>.
21366 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21368 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21369 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21370 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21371 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21372 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21373 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21374 Add more erfc tests.
21375 * math/auto-libm-test-out: Regenerated.
21376 * sysdeps/i386/fpu/libm-test-ulps: Update.
21377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21378
d8e2dbe3
JM
21379 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21380 exp2, expm1, j0 and j1.
21381 * math/auto-libm-test-out: Regenerated.
21382 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21383 (erfc_test_data): Likewise.
21384 (exp_test_data): Likewise.
21385 (exp_tonearest_test_data): Likewise.
21386 (exp_towardzero_test_data): Likewise.
21387 (exp_downward_test_data): Likewise.
21388 (exp_upward_test_data): Likewise.
21389 (exp10_test_data): Likewise.
21390 (exp2_test_data): Likewise.
21391 (expm1_test_data): Likewise.
21392 (j0_test_data): Likewise.
21393 (j1_test_data): Likewise.
21394 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21395 (input_flag_type): Add flag_xfail_rounding.
21396 (input_flags): Add xfail-rounding.
21397 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21398 (output_for_one_input_case): Handle flag_xfail_rounding.
21399 * sysdeps/i386/fpu/libm-test-ulps: Update.
21400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21401
18d14251
AJ
214022013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21403
3d2e6075 21404 [BZ #16289]
18d14251
AJ
21405 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21406 division by 0.
21407
520d437b
SP
214082013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21409
21410 [BZ #16195]
21411 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21412 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21413 (STAP_PROBE0): New macro.
21414 (STAP_PROBE1): Likewise.
21415 (STAP_PROBE2): Likewise.
21416 (STAP_PROBE3): Likewise.
21417 (STAP_PROBE4): Likewise.
21418
416e0145
OB
214192013-12-02 Ondřej Bílka <neleai@seznam.cz>
21420
21421 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21422
9d17796a
SE
214232013-12-02 Steve Ellcey <sellcey@mips.com>
21424
21425 * benchtests/Makefile (bench): Add sqrt.
21426 (LDLIBS-bench-sqrt): New.
21427 * benchtests/sqrt-input: New.
21428
f524d6a8
PS
214292013-12-02 Pavel Simerda <psimerda@redhat.com>
21430
639a0ef8
PS
21431 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21432 (GAIH_EAI): Likewise.
21433 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21434 (gaih_inet): Likewise.
21435 (getaddrinfo): Don't use GAIH_EAI.
21436
f524d6a8
PS
21437 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21438 (struct gaih): Remove definition.
21439
df3aedaf
SP
214402013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21441
21442 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21443 Use HERRNOP directly.
21444
1ab19dec
AZ
214452013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21446
b42ad38d 21447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21448
176b0c79
JM
214492013-11-30 Joseph Myers <joseph@codesourcery.com>
21450
21451 * math/gen-auto-libm-tests.c (test_functions): Add more
21452 single-argument functions.
21453 (special_fill_pi_2): New function.
21454 (special_fill_minus_pi_2): Likewise.
21455 (special_fill_pi_6): Likewise.
21456 (special_fill_minus_pi_6): Likewise.
21457 (special_fill_pi_3): Likewise.
21458 (special_fill_2pi_3): Likewise.
21459 (special_fill_e): Likewise.
21460 (special_fill_1_e): Likewise.
21461 (special_fill_e_minus_1): Likewise.
21462 (special_real_inputs): Add more special inputs.
21463 (output_for_one_input_case): Do not require ERANGE on underflow to
21464 zero if round-to-nearest result does not underflow to zero, unless
21465 exact results required.
21466 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21467 atan, atanh, cbrt, cos and cosh.
21468 * math/auto-libm-test-out: Regenerated.
21469 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21470 (acos_tonearest_test_data): Likewise.
21471 (acos_towardzero_test_data): Likewise.
21472 (acos_downward_test_data): Likewise.
21473 (acos_upward_test_data): Likewise.
21474 (acosh_test_data): Likewise.
21475 (asin_test_data): Likewise.
21476 (asin_tonearest_test_data): Likewise.
21477 (asin_towardzero_test_data): Likewise.
21478 (asin_upward_test_data): Likewise.
21479 (asinh_test_data): Likewise.
21480 (atan_test_data): Likewise.
21481 (atanh_test_data): Likewise.
21482 (cbrt_test_data): Likewise.
21483 (cos_test_data): Likewise.
21484 (cos_tonearest_test_data): Likewise.
21485 (cos_towardzero_test_data): Likewise.
21486 (cos_downward_test_data): Likewise.
21487 (cos_upward_test_data): Likewise.
21488 (cosh_test_data): Likewise.
21489 (cosh_tonearest_test_data): Likewise.
21490 (cosh_towardzero_test_data): Likewise.
21491 (cosh_downward_test_data): Likewise.
21492 (cosh_upward_test_data): Likewise.
21493 * sysdeps/i386/fpu/libm-test-ulps: Update.
21494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21495
ffb536d0
JM
214962013-11-29 Joseph Myers <joseph@codesourcery.com>
21497
2a77a467
JM
21498 [BZ #6787]
21499 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21500 * math/w_exp10f.c (__exp10f): Likewise.
21501 * math/w_exp10l.c (__exp10l): Likewise.
21502 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21503 errno settings in existing tests.
21504
ea3bc4e8
JM
21505 [BZ #14032]
21506 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21507 precision control set to double precision.
21508 * sysdeps/i386/fpu/w_sqrt.c: New file.
21509 * math/auto-libm-test-in: Add more tests.
21510 * math/auto-libm-test-out: Update.
21511
0712c9d8
JM
21512 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21513 (sqrt_test_tonearest): New function.
21514 (sqrt_towardzero_test_data): New variable.
21515 (sqrt_test_towardzero): New function.
21516 (sqrt_downward_test_data): New variable.
21517 (sqrt_test_downward): New function.
21518 (sqrt_upward_test_data): New variable.
21519 (sqrt_test_upward): New function.
21520 (main): Call the new functions.
21521
ffb536d0
JM
21522 * math/gen-auto-libm-tests.c: New file.
21523 * math/auto-libm-test-in: Likewise.
21524 * math/auto-libm-test-out: New generated file.
21525 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21526 variables.
21527 (%beautify): Add generated representations of zero.
21528 (top level): Set $auto_input and call parse_auto_input.
21529 (beautify): Remove trailing "f" from hex float constants.
21530 (parse_args): Handle XFAIL_TEST.
21531 (convert_condition): New function.
21532 (or_value): Likewise.
21533 (or_cond_value): Likewise.
21534 (generate_testfile): Handle AUTO_TESTS_* lines.
21535 (parse_auto_input): New function.
21536 * math/libm-test.inc (XFAIL_TEST): New macro.
21537 (ERRNO_UNCHANGED): Update value.
21538 (ERRNO_EDOM): Likewise.
21539 (ERRNO_ERANGE): Likewise.
21540 (IGNORE_RESULT): Likewise.
21541 (TEST_COND_flt_32): New macro.
21542 (TEST_COND_dbl_64): Likewise.
21543 (TEST_COND_ldbl_96_intel): Likewise.
21544 (TEST_COND_ldbl_96_m68k): Likewise.
21545 (TEST_COND_ldbl_128): Likewise.
21546 (TEST_COND_ldbl_128ibm): Likewise.
21547 (TEST_COND_long32): Likewise.
21548 (TEST_COND_long64): Likewise.
21549 (TEST_COND_before_rounding): Likewise.
21550 (TEST_COND_after_rounding): Likewise.
21551 (enable_test): Handle XFAIL_TEST flag.
21552 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21553 with finite results.
21554 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21555 auto-libm-test-out.
21556
acd98a8e
AK
215572013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21558 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21559
21560 [BZ #16214]
21561 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21562 __tls_get_addr_internal instead of __tls_get_offset in order to
21563 avoid GOT pointer dependency. Make rtld export
21564 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21565 __tls_get_addr since we are a __tls_get_offset platform.
21566 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21567 GOT pointer being set up before.
21568 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21569
3c1c46a6
JM
215702013-11-28 Joseph Myers <joseph@codesourcery.com>
21571
7475aef5
JM
21572 * manual/math.texi (Errors in Math Functions): Document accuracy
21573 goals.
21574
8bca7cd8
JM
21575 [BZ #15004]
21576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21577 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21580 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21582 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21592
91a1f3fe
JM
21593 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21594 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21595 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21596 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21597 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21598 Likewise.
21599 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21600 Likewise.
21601 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21602 Likewise.
21603 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21604 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21605 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21606 atomic-feupdateenv and flt-rounds.
21607 * sysdeps/powerpc/nofpu/Versions (libc): Add
21608 __atomic_feholdexcept, __atomic_feclearexcept,
21609 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21610 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21611 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21612 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21613 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21614 here.
21615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21616 Update.
21617
c5df7609
JM
21618 * manual/arith.texi (FP Exceptions): Document that exceptions may
21619 not be raised when matherr is used.
21620 (Math Error Reporting): Document overflow in directed rounding
21621 modes. Document that errno may not be set when finite values are
21622 returned on overflow. Document intent to set errno on underflow
21623 only for underflow to zero.
21624
3c1c46a6
JM
21625 [BZ #16271]
21626 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21627 round-to-nearest then adjust result for other rounding modes.
21628 * include/fenv.h (fegetround): Use libm_hidden_proto.
21629 * math/fegetround.c (fegetround): Use libm_hidden_def.
21630 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21631 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21632 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21633 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21634 Likewise.
21635 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21636 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21637 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21638 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21639
5a4c6d53
SP
216402013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21641
21642 [BZ #16077]
21643 * nss/Versions (libnss_files): Add
21644 _nss_files_gethostbyname3_r.
21645 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21646 New function.
21647 (HOST_DB_LOOKUP): Remove macro.
21648 (_nss_files_gethostbyname_r): Implement function without the
21649 HOST_DB_LOOKUP macro.
21650 (_nss_files_gethostbyname2_r): Likewise.
21651
897b98ba
OB
216522013-11-28 Ondřej Bílka <neleai@seznam.cz>
21653
21654 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21655
6f476861
UB
216562013-11-26 Uros Bizjak <ubizjak@gmail.com>
21657
21658 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21659 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21660 warning.
21661
bd12ab55
AZ
216622013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21663
21664 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21665 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21666 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21667 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21668 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21669 __fe_nomask_env_priv and attribute_hidden.
21670 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21671 (libc_feupdateenv_test_ppc): Likewise.
21672 (libc_feresetround_ppc): Likewise.
21673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21674 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21675 compat_symbol macro.
21676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21677 (__fe_nomask_env): Likewise.
21678 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21679
52bb6543
OB
216802013-11-26 Ondřej Bílka <neleai@seznam.cz>
21681
21682 * string/Makefile: Remove ifunc tests.
21683 * string/test-string.h: Define TEST_IFUNC.
21684 * string/test-bcopy-ifunc.c: Remove.
21685 * string/test-bzero-ifunc.c: Likewise.
21686 * string/test-memccpy-ifunc.c: Likewise.
21687 * string/test-memchr-ifunc.c: Likewise.
21688 * string/test-memcmp-ifunc.c: Likewise.
21689 * string/test-memcpy-ifunc.c: Likewise.
21690 * string/test-memmem-ifunc.c: Likewise.
21691 * string/test-memmove-ifunc.c: Likewise.
21692 * string/test-mempcpy-ifunc.c: Likewise.
21693 * string/test-memrchr-ifunc.c: Likewise.
21694 * string/test-memset-ifunc.c: Likewise.
21695 * string/test-rawmemchr-ifunc.c: Likewise.
21696 * string/test-stpcpy-ifunc.c: Likewise.
21697 * string/test-stpncpy-ifunc.c: Likewise.
21698 * string/test-strcasecmp-ifunc.c: Likewise.
21699 * string/test-strcasestr-ifunc.c: Likewise.
21700 * string/test-strcat-ifunc.c: Likewise.
21701 * string/test-strchr-ifunc.c: Likewise.
21702 * string/test-strchrnul-ifunc.c: Likewise.
21703 * string/test-strcmp-ifunc.c: Likewise.
21704 * string/test-strcpy-ifunc.c: Likewise.
21705 * string/test-strcspn-ifunc.c: Likewise.
21706 * string/test-strlen-ifunc.c: Likewise.
21707 * string/test-strncasecmp-ifunc.c: Likewise.
21708 * string/test-strncat-ifunc.c: Likewise.
21709 * string/test-strncmp-ifunc.c: Likewise.
21710 * string/test-strncpy-ifunc.c: Likewise.
21711 * string/test-strnlen-ifunc.c: Likewise.
21712 * string/test-strpbrk-ifunc.c: Likewise.
21713 * string/test-strrchr-ifunc.c: Likewise.
21714 * string/test-strspn-ifunc.c: Likewise.
21715 * string/test-strstr-ifunc.c: Likewise.
21716
ab260039 217172013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21718
21719 * benchtests/Makefile: Remove ifunc tests.
21720 * benchtests/bench-string.h: Define TEST_IFUNC.
21721 * benchtests/bench-bcopy-ifunc.c: Remove.
21722 * benchtests/bench-bzero-ifunc.c: Likewise.
21723 * benchtests/bench-memccpy-ifunc.c: Likewise.
21724 * benchtests/bench-memchr-ifunc.c: Likewise.
21725 * benchtests/bench-memcmp-ifunc.c: Likewise.
21726 * benchtests/bench-memcpy-ifunc.c: Likewise.
21727 * benchtests/bench-memmem-ifunc.c: Likewise.
21728 * benchtests/bench-memmove-ifunc.c: Likewise.
21729 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21730 * benchtests/bench-memrchr-ifunc.c: Likewise.
21731 * benchtests/bench-memset-ifunc.c: Likewise.
21732 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21733 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21734 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21735 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21736 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21737 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21738 * benchtests/bench-strcat-ifunc.c: Likewise.
21739 * benchtests/bench-strchr-ifunc.c: Likewise.
21740 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21741 * benchtests/bench-strcmp-ifunc.c: Likewise.
21742 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21743 * benchtests/bench-strcpy-ifunc.c: Likewise.
21744 * benchtests/bench-strcspn-ifunc.c: Likewise.
21745 * benchtests/bench-strlen-ifunc.c: Likewise.
21746 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21747 * benchtests/bench-strncat-ifunc.c: Likewise.
21748 * benchtests/bench-strncmp-ifunc.c: Likewise.
21749 * benchtests/bench-strncpy-ifunc.c: Likewise.
21750 * benchtests/bench-strnlen-ifunc.c: Likewise.
21751 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21752 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21753 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21754 * benchtests/bench-strspn-ifunc.c: Likewise.
21755 * benchtests/bench-strstr-ifunc.c: Likewise.
21756
217572013-11-26 Ondřej Bílka <neleai@seznam.cz>
21758
ab260039
OB
21759 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21760
d1d9eaf4 217612013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21762
d1d9eaf4
OB
21763 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21764 * rt/aio.h: Likewise.
21765 * sysdeps/gnu/bits/utmp.h: Likewise.
21766 * sysdeps/gnu/bits/utmpx.h: Likewise.
21767 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21768 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21769 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21770 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21771 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21772 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21773 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21774 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21775 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21776 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21777 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21778 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21779 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21781 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21782 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21783 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21784 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21785 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21786 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21787 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21788 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21789 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21790 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21791 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21792 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21793 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21794 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21795 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21796 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21797 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21798 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21799 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21800 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21801 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21802 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21803 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21804 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21805 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21806 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21807 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21808 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21809
a7624ed9
CD
218102013-11-25 Carlos O'Donell <carlos@redhat.com>
21811
21812 [BZ #16245]
21813 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21814 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21815
63cfe52b
JM
218162013-11-25 Joseph Myers <joseph@codesourcery.com>
21817
21818 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21819 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21820 Likewise.
21821
41e8926a
AZ
218222013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21823
21824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21825 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21826 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21827 (__fesetround): Remove define.
21828 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21829 rounding and exceptions handling.
21830 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21831 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21832 (__fe_nomask_env): Likewise.
21833 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21834 __fegetround instead of fegetround.
21835 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21836 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21837
6851bd4d
RM
218382013-11-21 Roland McGrath <roland@hack.frob.com>
21839
070906ff
RM
21840 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21841 it's there.
21842
6851bd4d
RM
21843 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21844
84ae135d
MI
218452013-11-21 Meador Inge <meadori@codesourcery.com>
21846
21847 [BZ #11157]
21848 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21849 (encrypt_r): Likewise.
21850 * malloc/obstack.h (obstack_free): Likewise.
21851 * posix/unistd.h (encrypt): Likewise.
21852
daf75146
GM
218532013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21854
21855 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21856 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21857 DL_CALL_DT_FINI() that call the functions directly.
21858 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21859 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21860 * elf/dl-fini.c: Likewise.
21861
10ad46bc
OB
218622013-11-20 Ondřej Bílka <neleai@seznam.cz>
21863
21864 * malloc/hooks.c (memalign_check): Add alignment rounding.
21865 * malloc/malloc.c (_mid_memalign): New function.
21866 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21867 Implement by calling _mid_memalign.
21868 * manual/probes.texi (Memory Allocation Probes): Remove
21869 memory_valloc_retry and memory_pvalloc_retry.
21870
f3fd2628
SP
218712013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21872
4712799f
SP
21873 * locale/programs/locarchive.c (open_archive): Add const
21874 qualifier to ARCHIVEFNAME and copy default fname to
21875 DEFAULT_FNAME.
21876
0417b20f
SP
21877 [BZ #15601]
21878 * libio/tst-widetext.input: Rename Oriya to Odia.
21879 * locale/iso-639.def: Likewise.
21880
f3fd2628
SP
21881 * manual/probes.texi (Mathematical Function Probes): Add
21882 documentation for sin, cos, asin and acos probes.
21883 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21884 (__sin32): Add slowasin probe.
21885 (__cos32): Add slowacos probe.
21886 (__mpsin): Add slowsin probe.
21887 (__mpcos): Add slowcos probe.
21888
73c1ce4f
JM
218892013-11-19 Joseph Myers <joseph@codesourcery.com>
21890
21891 [BZ #15483]
21892 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21893 thread-local __sim_exceptions_thread and global
21894 __sim_exceptions_global.
21895 (__sim_disabled_exceptions): Change to thread-local
21896 __sim_disabled_exceptions_thread and global
21897 __sim_disabled_exceptions_global.
21898 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21899 and global __sim_round_mode_global.
21900 (__simulate_exceptions): Use thread-local floating-point state and
21901 set global state from it as needed.
21902 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21903 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21904 __sim_round_mode_thread.
21905 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21906 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21907 and global __sim_exceptions_global.
21908 (__sim_disabled_exceptions): Change to thread-local
21909 __sim_disabled_exceptions_thread and global
21910 __sim_disabled_exceptions_global.
21911 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21912 and global __sim_round_mode_global.
21913 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21914 (SIM_SET_GLOBAL): Likewise.
21915 * sysdeps/powerpc/soft-fp/sfp-machine.h
21916 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21917 __sim_round_mode_thread.
21918 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21919 __sim_disabled_exceptions_thread.
21920 (__sim_exceptions): Change to __sim_exceptions_thread.
21921 (__sim_disabled_exceptions): Change to
21922 __sim_disabled_exceptions_thread.
21923 (__sim_round_mode): Change to __sim_round_mode_thread.
21924 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21925 thread-local floating-point state and set global state from it as
21926 needed.
21927 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21928 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21929 (__sim_disabled_exceptions): Remove extern declaration.
21930 (feenableexcept): Use thread-local floating-point state and set
21931 global state from it as needed.
21932 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21933 extern declaration.
21934 (__sim_disabled_exceptions): Likewise.
21935 (__sim_round_mode): Likewise.
21936 (__fegetenv): Use thread-local floating-point state.
21937 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21938 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21939 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21940 floating-point state and set global state from it as needed.
21941 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21942 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21943 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21944 Likewise.
21945 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21946 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21947 Likewise.
21948 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21949 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21950 Use __sim_round_mode_thread.
21951 * math/test-fenv-tls.c: New file.
21952 * math/Makefile (tests): Add test-fenv-tls.
21953 ($(objpfx)test-fenv-tls): Depend on
21954 $(common-objpfx)nptl/libpthread.so.
21955
b5449b12
AS
219562013-11-19 Andreas Schwab <schwab@suse.de>
21957
21958 * locale/programs/locale.c (show_info): Decode wordarray elements.
21959 * locale/categories.def (LC_MONETARY): Add element for
21960 _NL_MONETARY_CRNCYSTR.
21961 * locale/C-monetary.c (conversion_rate): New variable.
21962 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21963 element.
21964
e186536b
CM
219652013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21966
21967 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21968 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21969
5c349950
PP
219702013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21971
21972 * elf/Makefile (tst-auxv): New test.
21973 * elf/tst-auxv.c: New
21974 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21975
699df45b
JM
219762013-11-18 Joseph Myers <joseph@codesourcery.com>
21977
21978 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21979 (hidden_proto): Caller changed.
21980 (hidden_tls_proto): New macro.
21981 (libc_hidden_tls_proto): Likewise.
21982 (rtld_hidden_tls_proto): Likewise.
21983 (libm_hidden_tls_proto): Likewise.
21984 (libresolv_hidden_tls_proto): Likewise.
21985 (librt_hidden_tls_proto): Likewise.
21986 (libdl_hidden_tls_proto): Likewise.
21987 (libnss_files_hidden_tls_proto): Likewise.
21988 (libnsl_hidden_tls_proto): Likewise.
21989 (libnss_nisplus_hidden_tls_proto): Likewise.
21990 (libutil_hidden_tls_proto): Likewise.
21991
b7589107
OB
219922013-11-18 Ondřej Bílka <neleai@seznam.cz>
21993
21994 [BZ #10253]
21995 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21996 (decompose_rpath): Defer expansion to fillin_rpath.
21997 (_dl_init_paths): Pass linkmap to fillin_rpath.
21998
250c23bd
RS
219992013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22000
22001 * benchtests/Makefile: Add strsep.
22002 * benchtests/bench-strsep.c: New file: strsep benchtest.
22003 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22004
a7931fcf
AS
220052013-11-18 Andreas Schwab <schwab@suse.de>
22006
22007 * locale/programs/locale.c (show_info) [case byte]: Check for
22008 '\377' instead of '\177'.
22009 * locale/C-monetary.c (not_available): Always use "\377".
22010 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22011 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22012 detect unavailable sign_posn locale elements.
22013 * locale/localeconv.c (__localeconv): For grouping and
22014 mon_grouping handle "\177" and "\377" like no grouping.
22015 (INT_ELEM): New macro. Use it to set all numeric members.
22016 * locale/programs/ld-monetary.c (monetary_read)
22017 <tok_mon_grouping>: Normalize single -1 to the empty string.
22018 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22019 Likewise.
22020
728dab0e
OB
220212013-11-07 Ondřej Bílka <neleai@seznam.cz>
22022
22023 [BZ #16055]
22024 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22025 when we match (nil).
22026 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22027
66294491
JM
220282013-11-16 Joseph Myers <joseph@codesourcery.com>
22029
ce665817
JM
22030 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22031 (NO_TEST_INLINE): Update value.
22032 (ERRNO_UNCHANGED): Likewise.
22033 (ERRNO_EDOM): Likewise.
22034 (ERRNO_ERANGE): Likewise.
22035 (IGNORE_RESULT): Likewise.
22036 (check_float_internal): Check signs of NaN results if
22037 TEST_NAN_SIGN used.
22038 (check_complex): Pass TEST_NAN_SIGN flag through to second
22039 check_float_internal call.
22040 (copysign_test_data): Add tests with quiet NaNs as second
22041 argument. Use TEST_NAN_SIGN.
22042 (fabs_test_data): Add test of negative quiet NaN argument. Use
22043 TEST_NAN_SIGN.
22044 (signbit_test_data): Add tests of quiet NaN argument.
22045 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22046
ee1466a9
JM
22047 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22048 $ignore_result.
22049 (parse_args): Handle function results specified as IGNORE.
22050 * math/libm-test.inc (IGNORE_RESULT): New macro.
22051 (check_float_internal): Do not check numerical result if flag
22052 IGNORE_RESULT set.
22053 (check_complex): Pass through IGNORE_RESULT to second
22054 check_float_internal call.
22055 (check_int): Do not check numerical result if flag IGNORE_RESULT
22056 set.
22057 (check_long): Likewise.
22058 (check_bool): Likewise.
22059 (check_longlong): Likewise.
22060 (lrint_test_data): Add tests of infinite and NaN arguments.
22061 (lrint_tonearest_test_data): Likewise.
22062 (lrint_towardzero_test_data): Likewise.
22063 (lrint_downward_test_data): Likewise.
22064 (lrint_upward_test_data): Likewise.
22065 (llrint_test_data): Likewise.
22066 (llrint_tonearest_test_data): Likewise.
22067 (llrint_towardzero_test_data): Likewise.
22068 (llrint_downward_test_data): Likewise.
22069 (llrint_upward_test_data): Likewise.
22070 (lround_test_data): Likewise.
22071 (llround_test_data): Likewise.
22072
14407b7e
JM
22073 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22074 (ERRNO_UNCHANGED): Update value.
22075 (ERRNO_EDOM): Likewise.
22076 (ERRNO_ERANGE): Likewise.
22077 (NO_TEST_INLINE_FLOAT): New macro.
22078 (NO_TEST_INLINE_DOUBLE): Likewise.
22079 (enable_test): New function.
22080 (RUN_TEST_f_f): Check enable_test before running test.
22081 (RUN_TEST_2_f): Likewise.
22082 (RUN_TEST_fff_f): Likewise.
22083 (RUN_TEST_c_f): Likewise.
22084 (RUN_TEST_f_f1): Likewise.
22085 (RUN_TEST_fF_f1): Likewise.
22086 (RUN_TEST_fI_f1): Likewise.
22087 (RUN_TEST_ffI_f1): Likewise.
22088 (RUN_TEST_c_c): Likewise.
22089 (RUN_TEST_cc_c): Likewise.
22090 (RUN_TEST_f_i): Likewise.
22091 (RUN_TEST_f_i_tg): Likewise.
22092 (RUN_TEST_ff_i_tg): Likewise.
22093 (RUN_TEST_f_b): Likewise.
22094 (RUN_TEST_f_b_tg): Likewise.
22095 (RUN_TEST_f_l): Likewise.
22096 (RUN_TEST_f_L): Likewise.
22097 (RUN_TEST_fFF_11): Likewise.
22098 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22099 conditionals.
22100 (cosh_test_data): Likewise.
22101 (exp_test_data): Likewise.
22102 (expm1_test_data): Likewise.
22103 (hypot_test_data): Likewise.
22104 (pow_test_data): Likewise.
22105 (sinh_test_data): Likewise.
22106 (tanh_test_data): Likewise.
22107 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22108 flags argument.
22109
ca07f197
JM
22110 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22111 tests with quiet NaN input and output.
22112 (acosh_test_data): Likewise.
22113 (asin_test_data): Likewise.
22114 (asinh_test_data): Likewise.
22115 (atan_test_data): Likewise.
22116 (atanh_test_data): Likewise.
22117 (atan2_test_data): Likewise.
22118 (cbrt_test_data): Likewise.
22119 (cos_test_data): Likewise.
22120 (cosh_test_data): Likewise.
22121 (erf_test_data): Likewise.
22122 (erfc_test_data): Likewise.
22123 (exp_test_data): Likewise.
22124 (exp10_test_data): Likewise.
22125 (exp2_test_data): Likewise.
22126 (expm1_test_data): Likewise.
22127 (hypot_test_data): Likewise.
22128 (j0_test_data): Likewise.
22129 (j1_test_data): Likewise.
22130 (jn_test_data): Likewise.
22131 (lgamma_test_data): Likewise.
22132 (log_test_data): Likewise.
22133 (log10_test_data): Likewise.
22134 (log1p_test_data): Likewise.
22135 (log2_test_data): Likewise.
22136 (pow_test_data): Likewise.
22137 (scalb_test_data): Likewise.
22138 (sin_test_data): Likewise.
22139 (sincos_test_data): Likewise.
22140 (sinh_test_data): Likewise.
22141 (tan_test_data): Likewise.
22142 (tanh_test_data): Likewise.
22143 (tgamma_test_data): Likewise.
22144 (y0_test_data): Likewise.
22145 (y1_test_data): Likewise.
22146 (yn_test_data): Likewise.
22147
66294491
JM
22148 [BZ #16167]
22149 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22150 argument being NaN and avoid computations with second argument in
22151 that case.
22152 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22153 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22154 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22155
1820b143
CL
221562013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22157
22158 * locale/iso-639.def: Add Chitwani Tharu (the).
22159
714bd261
AS
221602013-11-14 Andreas Schwab <schwab@suse.de>
22161
22162 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22163 word instead of empty string.
22164
7ab44563
AZ
221652013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22166
22167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22168 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22170 (__fe_nomask_env): Likewise.
22171
e8470ea2
SE
221722013-11-13 Steve Ellcey <sellcey@mips.com>
22173
22174 * benchtests/bench-timing.h: Include time.h.
22175
17c1d9f0
L
221762013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22177
22178 [BZ #15997]
22179 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22180 to 3.4.0 for x32.
22181 * sysdeps/unix/sysv/linux/configure: Regenerated.
22182
9310c284
JM
221832013-11-13 Joseph Myers <joseph@codesourcery.com>
22184
22185 [BZ #16151]
22186 * stdlib/strtod_l.c (round_and_return): Do not consider
22187 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22188 exponent one less than half the least subnormal exponent.
22189 * stdlib/test-strtod-round-data: Add more tests.
22190 * stdlib/tst-strtod-round.c (tests): Regenerated.
22191
7a2ad8cf
AZ
221922013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22193
22194 [BZ #14143]
22195 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22196 (__fe_mask_env): Likewise.
22197 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22198 libm_hidden_proto and add function prototype.
22199 (__fe_mask_env): Add function prototype.
22200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22201 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22203 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22205 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22206
50727aa7
MS
222072013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22208
b2f386c1 22209 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22210 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22211
a615be46
MS
222122013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22213
22214 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22215 of htab_find_slot().
22216
7ddace62
DM
222172013-11-11 David S. Miller <davem@davemloft.net>
22218
22219 [BZ #16150]
22220 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22221 symbol in the non-vis3 case in static builds.
22222 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22223 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22224 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22225 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22226
9182aa67
JK
222272013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22228
22229 [BZ #387]
22230 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22231 it is empty.
22232
450a2e2d
AZ
222332013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22234
b2f386c1
SP
22235 * benchtests/Makefile: Add bench-strtod.
22236 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22237
8ec3f656
AS
222382013-11-11 Andreas Schwab <schwab@suse.de>
22239
22240 [BZ #16153]
22241 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22242 terminating NUL in key length.
22243
76a9b998
AZ
222442013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22245
22246 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22247 Add artificial ODP entry for vDSO symbol for PPC64.
22248 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22249 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22250
e4368156
OB
222512013-11-07 Ondřej Bílka <neleai@seznam.cz>
22252
22253 [BZ #15374]
22254 * nss/getent.c (services_keys): Recognize services starting with digit.
22255
8d6bb57c
DM
222562013-11-06 David S. Miller <davem@davemloft.net>
22257
22258 [BZ #15985]
22259 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22260 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22261
e256c421
WN
222622013-11-06 Will Newton <will.newton@linaro.org>
22263
22264 * manual/memory.texi (Malloc Examples): Remove register
22265 keyword from examples.
22266
f6e12daa 222672013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22268
f6e12daa 22269 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22270
9d880655
AS
222712013-11-04 Joseph Myers <joseph@codesourcery.com>
22272
fd2f9486 22273 [BZ #6981]
9d880655
AS
22274 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22275 depending on [__GCC_IEC_559 > 0].
22276 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22277 depending on [__GCC_IEC_559_COMPLEX > 0].
22278
ae129d3c
CL
222792013-11-03 Chris Leonard <cjl@sugarlabs.org>
22280
22281 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22282 to iso-639.def.
22283
4a15c2a4 222842013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22285
22286 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22287
8b35e35d
OB
222882013-11-01 Ondřej Bílka <neleai@seznam.cz>
22289
22290 [BZ #16112]
22291 * malloc/malloc (malloc_info): Do not handle first bin as
22292 special case.
22293
1d70fd6c
CL
222942013-11-01 Chris Leonard <cjl@sugarlabs.org>
22295
22296 * locale/iso-639.def: Add Central Nahuatl (nhn).
22297
8c5c2600
BH
222982013-11-01 Bruno Haible <bruno@clisp.org>
22299
22300 [BZ #7003]
22301 * manual/math.texi (BSD Random): Specify range upper bound as
22302 in POSIX.
22303
da5579c2
CL
223042013-10-31 Chris Leonard <cjl@sugarlabs.org>
22305
22306 * locale/iso-639.def: Add Meadow Mari (mhr).
22307
5d30d853
OB
223082013-10-31 Ondřej Bílka <neleai@seznam.cz>
22309
22310 [BZ #14752], [BZ #15763]
22311 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22312 Validate name.
22313 * rt/tst_shm.c: Add test for escaping directory.
22314
a4966c61
AS
223152013-10-31 Andreas Schwab <schwab@suse.de>
22316
8a43e768 22317 [BZ #15917]
a4966c61
AS
22318 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22319 followed by 'x' as part of digit sequence.
22320 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22321
28d708c4
MAP
223222013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22323
22324 [BZ #16037]
22325 * configure.ac: allow GNU Make 4.0 and greater.
22326 * configure: Regenerated.
22327
a56ee40b
WN
223282013-10-30 Will Newton <will.newton@linaro.org>
22329
22330 [BZ #16038]
22331 * malloc/hooks.c (memalign_check): Limit alignment to the
22332 maximum representable power of two.
22333 * malloc/malloc.c (__libc_memalign): Likewise.
22334 * malloc/tst-memalign.c (do_test): Add test for very
22335 large alignment values.
22336 * malloc/tst-posix_memalign.c (do_test): Likewise.
22337
c6e4925d
OB
223382013-10-30 Ondřej Bílka <neleai@seznam.cz>
22339
22340 [BZ #11087]
22341 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22342 (munmap_chunk): Likewise.
22343 (mremap_chunk): Likewise.
22344
223452013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22346
8a43e768 22347 [BZ #15799]
bbea82f7
OB
22348 * stdlib/div.c (div): Remove obsolete code.
22349 * stdlib/ldiv.c (ldiv): Likewise.
22350 * stdlib/lldiv.c (lldiv): Likewise.
22351
977f4b31
SP
223522013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22353
22354 [BZ #16071]
22355 * nss/nss_files/files-XXX.c (get_contents_ret): New
22356 enumerator.
22357 (get_contents): New function.
22358 (internal_getent): Use it. Expand size of LINEBUFLEN.
22359
cb8a6dbd
MF
223602013-10-30 Mike Frysinger <vapier@gentoo.org>
22361
22362 * configure.in: Moved to ...
22363 * configure.ac: ... here. Change reference to configure.in
22364 to configure.ac.
22365 * sysdeps/arm/preconfigure.ac: ... here.
22366 configure.in to configure.ac.
22367 * sysdeps/gnu/configure.in: Moved to ...
22368 * sysdeps/gnu/configure.ac: ... here.
22369 * sysdeps/i386/configure.in: Moved to ...
22370 * sysdeps/i386/configure.ac: ... here.
22371 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22372 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22373 * sysdeps/mach/configure.in: Moved to ...
22374 * sysdeps/mach/configure.ac: ... here.
22375 * sysdeps/mach/hurd/configure.in: Moved to ...
22376 * sysdeps/mach/hurd/configure.ac: ... here.
22377 * sysdeps/powerpc/configure.in: Moved to ...
22378 * sysdeps/powerpc/configure.ac: ... here.
22379 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22380 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22381 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22382 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22383 * sysdeps/s390/s390-32/configure.in: Moved to ...
22384 * sysdeps/s390/s390-32/configure.ac: ... here.
22385 * sysdeps/s390/s390-64/configure.in: Moved to ...
22386 * sysdeps/s390/s390-64/configure.ac: ... here.
22387 * sysdeps/sh/configure.in: Moved to ...
22388 * sysdeps/sh/configure.ac: ... here.
22389 * sysdeps/sparc/configure.in: Moved to ...
22390 * sysdeps/sparc/configure.ac: ... here.
22391 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22392 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22393 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22394 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22395 * sysdeps/x86_64/configure.in: Moved to ...
22396 * sysdeps/x86_64/configure.ac: ... here.
22397 * sysdeps/x86_64/preconfigure.in: Moved to ...
22398 * sysdeps/x86_64/preconfigure.ac: ... here.
22399 * aclocal.m4: Change reference to configure.in to configure.ac.
22400 * config.h.in: Likewise.
22401 * manual/install.texi: Likewise.
22402 * manual/maint.texi: Likewise.
22403 * Makefile: Likewise.
22404 * malloc/Makefile: Likewise.
22405 * nscd/Makefile: Likewise.
22406 * Makeconfig: Change reference to configure.in and
22407 preconfigure.in to configure.ac and preconfigure.ac
22408 respectively.
22409 * INSTALL: Regenerated.
22410 * configure: Likewise.
22411 * sysdeps/gnu/configure: Likewise.
22412 * sysdeps/i386/configure: Likewise.
22413 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22414 * sysdeps/mach/configure: Likewise.
22415 * sysdeps/mach/hurd/configure: Likewise.
22416 * sysdeps/powerpc/configure: Likewise.
22417 * sysdeps/powerpc/powerpc32/configure: Likewise.
22418 * sysdeps/powerpc/powerpc64/configure: Likewise.
22419 * sysdeps/s390/s390-32/configure: Likewise.
22420 * sysdeps/s390/s390-64/configure: Likewise.
22421 * sysdeps/sh/configure: Likewise.
22422 * sysdeps/sparc/configure: Likewise.
22423 * sysdeps/unix/sysv/linux/configure: Likewise.
22424 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22425 * sysdeps/x86_64/configure: Likewise.
22426 * sysdeps/x86_64/preconfigure: Likewise.
22427
36a4953a
AS
224282013-10-29 Andreas Schwab <schwab@suse.de>
22429
22430 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22431
c79a1204
SP
224322013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22433
dfa1b402
SP
22434 * benchtests/pow-inputs: Add new inputs.
22435
54f73d9c
SP
22436 * benchtests/exp-inputs: Add new inputs.
22437
c79a1204
SP
22438 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22439 conditional check for return value.
22440 (__cos32): Likewise.
22441
67beb545 224422013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22443
22444 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22445 to provide a boost for large inputs with word alignment.
22446 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22447 implementation based on optimized PPC64 strcpy.
22448 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22449 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22450 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22451 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22452
151659f6
OB
224532013-10-25 Ondřej Bílka <neleai@seznam.cz>
22454
482a077e 22455 [BZ #2801]
151659f6
OB
22456 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22457
10b0f26b
OB
224582013-10-25 Ondřej Bílka <neleai@seznam.cz>
22459
22460 [BZ #14876]
22461 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22462 * time/tst-strptime.c (day_tests): Add testcase.
22463
ca42d35e
OB
224642013-10-25 Ondřej Bílka <neleai@seznam.cz>
22465
482a077e 22466 [BZ #14029]
ca42d35e
OB
22467 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22468
52e6d801
FB
224692013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22470
22471 [BZ #16074]
22472 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22473 MAP_FAILED on error.
22474
7cbcdb36
SP
224752013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22476
22477 [BZ #16072]
22478 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22479 heap for large requests.
22480
894f3f10
AM
224812013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22482
22483 [BZ #9954]
22484 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22485 result if the result has no associated interface.
22486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22487 interface for all 127.X.Y.Z addresses.
22488
b85545a6
CL
224892013-10-24 Chris Leonard <cjl@sugarlabs.org>
22490
22491 * locale/iso-639.def: Add Ligurian (lij)
22492
d1f23d46
OB
224932013-10-21 Ondřej Bílka <neleai@seznam.cz>
22494
22495 [BZ #15825]
22496 * sunrpc/rpc_main.c: Document rpcgen -5.
22497
4db5b08f
MS
224982013-10-19 Michael Stahl <mstahl@redhat.com>
22499
22500 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22501
a471e96a
OB
225022013-10-19 Ondřej Bílka <neleai@seznam.cz>
22503
d1f23d46 22504 [BZ #10278]
a471e96a
OB
22505 * posix/glob.c: Match only directories when trailing slash is present.
22506 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22507 (main): Add testcase.
22508
45c30c61
OB
225092013-10-19 Ondřej Bílka <neleai@seznam.cz>
22510
22511 [BZ #15670]
22512 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22513
484c12fb
CD
225142013-10-18 Carlos O'Donell <carlos@redhat.com>
22515
3d7dc513
CD
22516 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22517 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22518 AUTH_DES and cindex for FIPS 140-2.
22519 (DES Encryption): Add cindex FIPS 46-3.
22520
484c12fb
CD
22521 * locale/locarchive.h (struct locarhandle): Add fname.
22522 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22523 if an optional argument was specified to --list-archive,
22524 otherwise NULL.
22525 * locale/programs/locarchive.c (show_archive_content): Take new
22526 argument fname and pass it via ah.fname to open_archive.
22527 * locale/programs/localedef.h: Update decl.
22528 (open_archive): If AH->fname is non-null, open that file
22529 rather than the default file name, and don't ignore ENOENT.
22530 (create_archive): Set AH.fname to NULL.
22531 (delete_locales_from_archive): Likewise.
22532 (add_locales_to_archive): Likewise.
22533 * locale/programs/locfile.c (write_all_categories): Likewise.
22534
3c8325fb
JM
225352013-10-18 Joseph Myers <joseph@codesourcery.com>
22536 Aldy Hernandez <aldyh@redhat.com>
22537
22538 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22539 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22540 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22541 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22542 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22543 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22544 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22545 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22546 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22547 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22548 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22549 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22550 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22551 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22552 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22553 Likewise.
22554 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22555 Likewise.
22556 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22557 Likewise.
22558 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22559 Likewise.
22560 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22561 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22562 Likewise.
22563 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22564 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22565 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22566 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22567 Likewise.
22568 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22569 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22570 * sysdeps/powerpc/preconfigure: Likewise.
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22572 Likewise.
22573 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22574 Replace contents of file by #include of <fenv_libc.h>.
22575 * sysdeps/powerpc/soft-fp/sfp-machine.h
22576 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22577 and <sys/prctl.h>.
22578 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22579 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22584 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22591 Allow copysignl PLT reference to be missing.
22592
5abe0682
RS
225932013-10-18 Richard Sandiford <richard@codesourcery.com>
22594 Joseph Myers <joseph@codesourcery.com
22595
22596 [BZ #15948]
22597 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22598 single character.
22599 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22600
c7738d08
SP
226012013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22602
22603 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22604 * elf/tst-tls1.c: Likewise.
22605 * elf/tst-tls10.h: Likewise.
22606 * elf/tst-tls14.c: Likewise.
22607 * elf/tst-tls2.c: Likewise.
22608 * elf/tst-tls3.c: Likewise.
22609 * elf/tst-tls4.c: Likewise.
22610 * elf/tst-tls5.c: Likewise.
22611 * elf/tst-tls6.c: Likewise.
22612 * elf/tst-tls7.c: Likewise.
22613 * elf/tst-tls8.c: Likewise.
22614 * elf/tst-tls9.c: Likewise.
22615 * elf/tst-tlsmod1.c: Likewise.
22616 * elf/tst-tlsmod13.c: Likewise.
22617 * elf/tst-tlsmod13a.c: Likewise.
22618 * elf/tst-tlsmod14a.c: Likewise.
22619 * elf/tst-tlsmod16a.c: Likewise.
22620 * elf/tst-tlsmod16b.c: Likewise.
22621 * elf/tst-tlsmod2.c: Likewise.
22622 * elf/tst-tlsmod3.c: Likewise.
22623 * elf/tst-tlsmod4.c: Likewise.
22624 * elf/tst-tlsmod5.c: Likewise.
22625 * elf/tst-tlsmod6.c: Likewise.
22626
0bfcf2c7
OB
226272013-10-18 Ondřej Bílka <neleai@seznam.cz>
22628
22629 [BZ #12486]
22630 * malloc/malloc.c: remove checks for statistics.
22631
264aad1e
OB
226322013-10-17 Ondřej Bílka <neleai@seznam.cz>
22633
22634 [BZ #15277]
22635 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22636 * inet/tst-network.c: Add testcase.
22637
b957ced8
AS
226382013-10-17 Andreas Schwab <schwab@suse.de>
22639
22640 [BZ #15218]
22641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22642 to determine canonical name.
22643
c5d5d574
OB
226442013-10-17 Ondřej Bílka <neleai@seznam.cz>
22645
22646 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22647 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22651 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22652 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22653 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22655 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22656 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22657 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22658 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22659 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22660 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22661 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22664 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22665 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22666 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22668 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22669 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22670 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22671 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22672 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22673 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22674 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22675 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22676 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22678 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22680 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22681 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22682 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22683 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22684 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22685 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22686 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22687 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22688 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22689 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22690 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22691 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22692 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22693 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22694 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22695 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22696 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22697 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22698 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22699 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22700 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22701 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22703 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22704
e5c2c2d0
JM
227052013-10-17 Joseph Myers <joseph@codesourcery.com>
22706
22707 [BZ #16041]
22708 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22709 make result into a quiet NaN.
22710
51ca9e29
JM
227112013-10-16 Joseph Myers <joseph@codesourcery.com>
22712
22713 * soft-fp/adddf3.c: Fix horizontal whitespace.
22714 * soft-fp/addsf3.c: Likewise.
22715 * soft-fp/addtf3.c: Likewise.
22716 * soft-fp/divdf3.c: Likewise.
22717 * soft-fp/divsf3.c: Likewise.
22718 * soft-fp/divtf3.c: Likewise.
22719 * soft-fp/double.h: Likewise.
22720 * soft-fp/eqdf2.c: Likewise.
22721 * soft-fp/eqsf2.c: Likewise.
22722 * soft-fp/eqtf2.c: Likewise.
22723 * soft-fp/extenddftf2.c: Likewise.
22724 * soft-fp/extended.h: Likewise.
22725 * soft-fp/extendsfdf2.c: Likewise.
22726 * soft-fp/extendsftf2.c: Likewise.
22727 * soft-fp/extendxftf2.c: Likewise.
22728 * soft-fp/fixdfdi.c: Likewise.
22729 * soft-fp/fixdfsi.c: Likewise.
22730 * soft-fp/fixdfti.c: Likewise.
22731 * soft-fp/fixsfdi.c: Likewise.
22732 * soft-fp/fixsfsi.c: Likewise.
22733 * soft-fp/fixsfti.c: Likewise.
22734 * soft-fp/fixtfdi.c: Likewise.
22735 * soft-fp/fixtfsi.c: Likewise.
22736 * soft-fp/fixtfti.c: Likewise.
22737 * soft-fp/fixunsdfdi.c: Likewise.
22738 * soft-fp/fixunsdfsi.c: Likewise.
22739 * soft-fp/fixunsdfti.c: Likewise.
22740 * soft-fp/fixunssfdi.c: Likewise.
22741 * soft-fp/fixunssfsi.c: Likewise.
22742 * soft-fp/fixunssfti.c: Likewise.
22743 * soft-fp/fixunstfdi.c: Likewise.
22744 * soft-fp/fixunstfsi.c: Likewise.
22745 * soft-fp/fixunstfti.c: Likewise.
22746 * soft-fp/floatdidf.c: Likewise.
22747 * soft-fp/floatdisf.c: Likewise.
22748 * soft-fp/floatditf.c: Likewise.
22749 * soft-fp/floatsidf.c: Likewise.
22750 * soft-fp/floatsisf.c: Likewise.
22751 * soft-fp/floatsitf.c: Likewise.
22752 * soft-fp/floattidf.c: Likewise.
22753 * soft-fp/floattisf.c: Likewise.
22754 * soft-fp/floattitf.c: Likewise.
22755 * soft-fp/floatundidf.c: Likewise.
22756 * soft-fp/floatundisf.c: Likewise.
22757 * soft-fp/floatunditf.c: Likewise.
22758 * soft-fp/floatunsidf.c: Likewise.
22759 * soft-fp/floatunsisf.c: Likewise.
22760 * soft-fp/floatunsitf.c: Likewise.
22761 * soft-fp/floatuntidf.c: Likewise.
22762 * soft-fp/floatuntisf.c: Likewise.
22763 * soft-fp/floatuntitf.c: Likewise.
22764 * soft-fp/fmadf4.c: Likewise.
22765 * soft-fp/fmasf4.c: Likewise.
22766 * soft-fp/fmatf4.c: Likewise.
22767 * soft-fp/gedf2.c: Likewise.
22768 * soft-fp/gesf2.c: Likewise.
22769 * soft-fp/getf2.c: Likewise.
22770 * soft-fp/ledf2.c: Likewise.
22771 * soft-fp/lesf2.c: Likewise.
22772 * soft-fp/letf2.c: Likewise.
22773 * soft-fp/muldf3.c: Likewise.
22774 * soft-fp/mulsf3.c: Likewise.
22775 * soft-fp/multf3.c: Likewise.
22776 * soft-fp/negdf2.c: Likewise.
22777 * soft-fp/negsf2.c: Likewise.
22778 * soft-fp/negtf2.c: Likewise.
22779 * soft-fp/op-1.h: Likewise.
22780 * soft-fp/op-2.h: Likewise.
22781 * soft-fp/op-4.h: Likewise.
22782 * soft-fp/op-8.h: Likewise.
22783 * soft-fp/op-common.h: Likewise.
22784 * soft-fp/quad.h: Likewise.
22785 * soft-fp/single.h: Likewise.
22786 * soft-fp/soft-fp.h: Likewise.
22787 * soft-fp/sqrtdf2.c: Likewise.
22788 * soft-fp/sqrtsf2.c: Likewise.
22789 * soft-fp/sqrttf2.c: Likewise.
22790 * soft-fp/subdf3.c: Likewise.
22791 * soft-fp/subsf3.c: Likewise.
22792 * soft-fp/subtf3.c: Likewise.
22793 * soft-fp/truncdfsf2.c: Likewise.
22794 * soft-fp/trunctfdf2.c: Likewise.
22795 * soft-fp/trunctfsf2.c: Likewise.
22796 * soft-fp/trunctfxf2.c: Likewise.
22797 * soft-fp/unorddf2.c: Likewise.
22798 * soft-fp/unordsf2.c: Likewise.
22799 * soft-fp/unordtf2.c: Likewise.
22800
9ebb0332
JM
228012013-10-15 Joseph Myers <joseph@codesourcery.com>
22802
22803 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22804 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22805
4b1a6d8b
OB
228062013-10-15 Ondřej Bílka <neleai@seznam.cz>
22807
22808 * elf/dl-libc.c: Clear initfini list after freeing.
22809
1e145589
JM
228102013-10-14 Joseph Myers <joseph@codesourcery.com>
22811
22812 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22813 * soft-fp/addsf3.c: Likewise.
22814 * soft-fp/addtf3.c: Likewise.
22815 * soft-fp/divdf3.c: Likewise.
22816 * soft-fp/divsf3.c: Likewise.
22817 * soft-fp/divtf3.c: Likewise.
22818 * soft-fp/double.h: Likewise.
22819 * soft-fp/eqdf2.c: Likewise.
22820 * soft-fp/eqsf2.c: Likewise.
22821 * soft-fp/eqtf2.c: Likewise.
22822 * soft-fp/extenddftf2.c: Likewise.
22823 * soft-fp/extended.h: Likewise.
22824 * soft-fp/extendsfdf2.c: Likewise.
22825 * soft-fp/extendsftf2.c: Likewise.
22826 * soft-fp/extendxftf2.c: Likewise.
22827 * soft-fp/fixdfdi.c: Likewise.
22828 * soft-fp/fixdfsi.c: Likewise.
22829 * soft-fp/fixdfti.c: Likewise.
22830 * soft-fp/fixsfdi.c: Likewise.
22831 * soft-fp/fixsfsi.c: Likewise.
22832 * soft-fp/fixsfti.c: Likewise.
22833 * soft-fp/fixtfdi.c: Likewise.
22834 * soft-fp/fixtfsi.c: Likewise.
22835 * soft-fp/fixtfti.c: Likewise.
22836 * soft-fp/fixunsdfdi.c: Likewise.
22837 * soft-fp/fixunsdfsi.c: Likewise.
22838 * soft-fp/fixunsdfti.c: Likewise.
22839 * soft-fp/fixunssfdi.c: Likewise.
22840 * soft-fp/fixunssfsi.c: Likewise.
22841 * soft-fp/fixunssfti.c: Likewise.
22842 * soft-fp/fixunstfdi.c: Likewise.
22843 * soft-fp/fixunstfsi.c: Likewise.
22844 * soft-fp/fixunstfti.c: Likewise.
22845 * soft-fp/floatdidf.c: Likewise.
22846 * soft-fp/floatdisf.c: Likewise.
22847 * soft-fp/floatditf.c: Likewise.
22848 * soft-fp/floatsidf.c: Likewise.
22849 * soft-fp/floatsisf.c: Likewise.
22850 * soft-fp/floatsitf.c: Likewise.
22851 * soft-fp/floattidf.c: Likewise.
22852 * soft-fp/floattisf.c: Likewise.
22853 * soft-fp/floattitf.c: Likewise.
22854 * soft-fp/floatundidf.c: Likewise.
22855 * soft-fp/floatundisf.c: Likewise.
22856 * soft-fp/floatunsidf.c: Likewise.
22857 * soft-fp/floatunsisf.c: Likewise.
22858 * soft-fp/floatuntidf.c: Likewise.
22859 * soft-fp/floatuntisf.c: Likewise.
22860 * soft-fp/floatuntitf.c: Likewise.
22861 * soft-fp/fmadf4.c: Likewise.
22862 * soft-fp/fmasf4.c: Likewise.
22863 * soft-fp/fmatf4.c: Likewise.
22864 * soft-fp/gedf2.c: Likewise.
22865 * soft-fp/gesf2.c: Likewise.
22866 * soft-fp/getf2.c: Likewise.
22867 * soft-fp/ledf2.c: Likewise.
22868 * soft-fp/lesf2.c: Likewise.
22869 * soft-fp/letf2.c: Likewise.
22870 * soft-fp/muldf3.c: Likewise.
22871 * soft-fp/mulsf3.c: Likewise.
22872 * soft-fp/multf3.c: Likewise.
22873 * soft-fp/negdf2.c: Likewise.
22874 * soft-fp/negsf2.c: Likewise.
22875 * soft-fp/negtf2.c: Likewise.
22876 * soft-fp/op-1.h: Likewise.
22877 * soft-fp/op-2.h: Likewise.
22878 * soft-fp/op-4.h: Likewise.
22879 * soft-fp/op-8.h: Likewise.
22880 * soft-fp/op-common.h: Likewise.
22881 * soft-fp/quad.h: Likewise.
22882 * soft-fp/single.h: Likewise.
22883 * soft-fp/soft-fp.h: Likewise.
22884 * soft-fp/sqrtdf2.c: Likewise.
22885 * soft-fp/sqrtsf2.c: Likewise.
22886 * soft-fp/sqrttf2.c: Likewise.
22887 * soft-fp/subdf3.c: Likewise.
22888 * soft-fp/subsf3.c: Likewise.
22889 * soft-fp/subtf3.c: Likewise.
22890 * soft-fp/truncdfsf2.c: Likewise.
22891 * soft-fp/trunctfdf2.c: Likewise.
22892 * soft-fp/trunctfsf2.c: Likewise.
22893 * soft-fp/trunctfxf2.c: Likewise.
22894 * soft-fp/unorddf2.c: Likewise.
22895 * soft-fp/unordsf2.c: Likewise.
22896 * soft-fp/unordtf2.c: Likewise.
22897
17c48a60
OB
228982013-10-14 Ondřej Bílka <neleai@seznam.cz>
22899
22900 [BZ #15672]
22901 * misc/error.c (error_tail): Fix possible buffer overflow.
22902
cabba934
OB
229032013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22904
22905 [BZ #13028]
22906 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22907 address.
22908
94bf958a
PM
229092013-10-14 P. J. McDermott <pj@pehjota.net>
22910
22911 [BZ #832]
22912 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22913 testing pipefail option.
22914
71b4dea7
JM
229152013-10-12 Joseph Myers <joseph@codesourcery.com>
22916
22917 * soft-fp/double.h: Indent preprocessor directives inside #if.
22918 * soft-fp/extended.h: Likewise.
22919 * soft-fp/op-2.h: Likewise.
22920 * soft-fp/op-4.h: Likewise.
22921 * soft-fp/op-common.h: Likewise.
22922 * soft-fp/quad.h: Likewise.
22923 * soft-fp/single.h: Likewise.
22924 * soft-fp/soft-fp.h: Likewise.
22925
55602758
YC
229262013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22927
22928 * iconv/iconv_prog.c: Fix typos.
22929 * stdio-common/psiginfo-data.h: Likewise.
22930
9cd83302
RT
229312013-10-12 Reuben Thomas <rrt@sc3d.org>
22932
22933 [BZ #15764]
22934 * locale/setlocale.c: Fix typo.
22935
99fd9f47
JM
229362013-10-12 Joseph Myers <joseph@codesourcery.com>
22937
b7ea74f0
JM
22938 [BZ #16036]
22939 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22940 signaling NaN arguments.
22941 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22942 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22943
8a509447
JM
22944 [BZ #14910]
22945 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22946 unordered operands.
22947 * soft-fp/gesf2.c (__gesf2): Likewise.
22948 * soft-fp/getf2.c (__getf2): Likewise.
22949 * soft-fp/ledf2.c (__ledf2): Likewise.
22950 * soft-fp/lesf2.c (__lesf2): Likewise.
22951 * soft-fp/letf2.c (__letf2): Likewise.
22952
98998e9f
JM
22953 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22954 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22955 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22956 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22957 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22958 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22959 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22960 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22961 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22962 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22963 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22964 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22965 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22966 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22967 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22968 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22969 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22970 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22971 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22972 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22973 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22974 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22975 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22976 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22977 * soft-fp/floattidf.c (__floattidf): Likewise.
22978 * soft-fp/floattisf.c (__floattisf): Likewise.
22979 * soft-fp/floattitf.c (__floattitf): Likewise.
22980 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22981 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22982 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22983 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22984 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22985 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22986 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22987 * soft-fp/gesf2.c (__gesf2): Likewise.
22988 * soft-fp/getf2.c (__getf2): Likewise.
22989 * soft-fp/ledf2.c (__ledf2): Likewise.
22990 * soft-fp/lesf2.c (__lesf2): Likewise.
22991 * soft-fp/letf2.c (__letf2): Likewise.
22992
8edc4a11
JM
22993 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22994 Undefine and redefine.
22995 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22996 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22997 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22998 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22999 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23000 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23001 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23002 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23003 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23004 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23005 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23006 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23007 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23008 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23009 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23010
8399acaf
JM
23011 [BZ #16032]
23012 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23013 without decrementing exponent if mantissa >= that for the
23014 denominator, not >.
23015 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23016 denominator, not >. Decrement exponent in < case instead of
23017 incrementing in >= case.
23018 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23019 without decrementing exponent if mantissa >= that for the
23020 denominator, not >.
23021
99fd9f47
JM
23022 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23023 computing saturated result for unsigned overflow.
23024
10e1cf6b
SP
230252013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23026 Jeff Law <law@redhat.com>
23027
23028 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23029 (atan2Mp): Add systemtap probe marker.
23030 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23031 (__ieee754_log): Add systemtap probe marker.
23032 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23033 (atanMp): Add systemtap probe marker.
23034 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23035 (tanMp): Add systemtap probe marker.
23036 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23037 (__slowexp): Add systemtap probe marker.
23038 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23039 (__slowpow): Add systemtap probe marker.
23040 * manual/probes.texi: Document probes.
23041
3d110c7c
EB
230422013-10-11 Eric Biggers <ebiggers3@gmail.com>
23043
23044 [BZ #15362]
23045 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23046 written.
23047 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23048 written.
23049 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23050 written to buffer but not flushed.
23051 * libio/iofwrite_u.c: Likewise.
23052 * libio/iopadn.c: Return bytes returned even if EOF was
23053 encountered.
23054 * libio/iowpadn.c: Likewise.
23055 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23056 if _IO_padn does not write the whole buffer.
23057 [!COMPILE_WPRINTF] (PAD): Likewise.
23058
75b4202a
DM
230592013-10-10 David S. Miller <davem@davemloft.net>
23060
23061 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23062 directory block.
23063
6c6352e6
JM
230642013-10-10 Joseph Myers <joseph@codesourcery.com>
23065
33b853c3
JM
23066 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23067 instead of FSF address.
23068 * soft-fp/fixdfti.c: Likewise.
23069 * soft-fp/fixsfti.c: Likewise.
23070 * soft-fp/fixtfti.c: Likewise.
23071 * soft-fp/fixunsdfti.c: Likewise.
23072 * soft-fp/fixunssfti.c: Likewise.
23073 * soft-fp/fixunstfti.c: Likewise.
23074 * soft-fp/floattidf.c: Likewise.
23075 * soft-fp/floattisf.c: Likewise.
23076 * soft-fp/floattitf.c: Likewise.
23077 * soft-fp/floatuntidf.c: Likewise.
23078 * soft-fp/floatuntisf.c: Likewise.
23079 * soft-fp/floatuntitf.c: Likewise.
23080 * soft-fp/trunctfxf2.c: Likewise.
23081
6c6352e6
JM
23082 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23083 * soft-fp/fixdfti.c: Likewise.
23084 * soft-fp/fixsfti.c: Likewise.
23085 * soft-fp/fixtfti.c: Likewise.
23086 * soft-fp/fixunsdfti.c: Likewise.
23087 * soft-fp/fixunssfti.c: Likewise.
23088 * soft-fp/fixunstfti.c: Likewise.
23089 * soft-fp/floattidf.c: Likewise.
23090 * soft-fp/floattisf.c: Likewise.
23091 * soft-fp/floattitf.c: Likewise.
23092 * soft-fp/floatuntidf.c: Likewise.
23093 * soft-fp/floatuntisf.c: Likewise.
23094 * soft-fp/floatuntitf.c: Likewise.
23095 * soft-fp/trunctfxf2.c: Likewise.
23096
3bf78b71
DM
230972013-10-10 David S. Miller <davem@davemloft.net>
23098
23099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23100
6f10289e
JM
231012013-10-10 Joseph Myers <joseph@codsourcery.com>
23102
bd878fc0
JM
23103 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23104 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23105 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23110
6f10289e
JM
23111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23112 for NaNs before doing comparisons on argument.
23113 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23114 Likewise.
23115
321e2684
WN
231162013-10-10 Will Newton <will.newton@linaro.org>
23117
23118 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23119 passed to _int_memalign does not overflow.
23120
40fefba1
TR
231212013-10-10 Torvald Riegel <triegel@redhat.com>
23122
23123 * scripts/bench.pl: Add include-sources directive.
23124 * benchtests/README: Update documentation.
23125
2ae21ed2
JM
231262013-10-10 Joseph Myers <joseph@codesourcery.com>
23127
dcc2dd3f
JM
23128 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23129 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23130 instead of FP_INIT_ROUNDMODE.
23131 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23132 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23133
2ae21ed2
JM
23134 [BZ #16034]
23135 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23136 copy class of input value.
23137 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23138 not handle exceptions.
23139 * soft-fp/negsf2.c (__negsf2): Likewise.
23140 * soft-fp/negtf2.c (__negtf2): Likewise.
23141 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23142
cb8f9562
JM
231432013-10-09 Joseph Myers <joseph@codesourcery.com>
23144
23145 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23146 semicolon. From Linux kernel.
23147
5b60c59d
AB
231482013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23149
23150 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23151
b86835ca
YC
231522013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23153
23154 [BZ #156]
23155 * manual/socket.texi: Added statement about buffer
23156 for gethostbyname2_r.
23157
e7044ea7
OB
231582013-10-08 Ondřej Bílka <neleai@seznam.cz>
23159
23160 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23161 Use .p2align directive instead, throughout.
23162 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23163 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23164 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23165 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23166 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23167 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23168 * sysdeps/x86_64/strchr.S: Likewise.
23169 * sysdeps/x86_64/strrchr.S: Likewise.
23170
09544cbc
SP
231712013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23172
88576635
SP
23173 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23174
e7b2d1dd
SP
23175 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23176
09544cbc
SP
23177 * sysdeps/generic/math_private.h (__mpsin1): Remove
23178 declaration.
23179 (__mpcos1): Likewise.
23180 (__mpsin): New argument __range_reduce.
23181 (__mpcos): Likewise.
23182 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23183 (slow): Use __mpsin and __mpcos.
23184 (slow1): Likewise.
23185 (slow2): Likewise.
23186 (sloww): Likewise.
23187 (sloww1): Likewise.
23188 (sloww2): Likewise.
23189 (bsloww): Likewise.
23190 (bsloww1): Likewise.
23191 (bsloww2): Likewise.
23192 (cslow2): Likewise.
23193 (csloww): Likewise.
23194 (csloww1): Likewise.
23195 (csloww2): Likewise.
23196 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23197 range_reduce. Merge in __mpsin1.
23198 (__mpcos): Likewise.
23199 (__mpsin1): Remove.
23200 (__mpcos1): Likewise.
23201
7602d070
JM
232022013-10-07 Joseph Myers <joseph@codesourcery.com>
23203
23204 * locale/loadlocale.c (_nl_intern_locale_data): Use
23205 LOCFILE_ALIGNED_P.
23206 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23207 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23208 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23209 obstack data is appropriately aligned.
23210 (obstack_int32_grow_fast): Likewise.
23211 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23212 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23213 (add_locale_uint32_array): Likewise.
23214
a357259b
SP
232152013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23216
23217 * benchtests/Makefile: Remove ARGLIST and RET variables.
23218 ($(objpfx)bench-%.c): Pass only function name to the script.
23219 * benchtests/README: Update documentation.
23220 * benchtests/acos-inputs: Add new directives.
23221 * benchtests/acosh-inputs: Likewise.
23222 * benchtests/asin-inputs: Likewise.
23223 * benchtests/asinh-inputs: Likewise.
23224 * benchtests/atan-inputs: Likewise.
23225 * benchtests/atanh-inputs: Likewise.
23226 * benchtests/cos-inputs: Likewise.
23227 * benchtests/cosh-inputs: Likewise.
23228 * benchtests/exp-inputs: Likewise.
23229 * benchtests/log-inputs: Likewise.
23230 * benchtests/pow-inputs: Likewise.
23231 * benchtests/rint-inputs: Likewise.
23232 * benchtests/sin-inputs: Likewise.
23233 * benchtests/sinh-inputs: Likewise.
23234 * benchtests/tan-inputs: Likewise.
23235 * benchtests/tanh-inputs: Likewise.
23236 * scripts/bench.pl: Add support for new directives.
23237
9ec1b13d
AM
232382013-10-07 Alan Modra <amodra@gmail.com>
23239
23240 * README: Fix careless merge.
23241
8b7d57cd
AM
232422013-10-05 Alan Modra <amodra@gmail.com>
23243
23244 * NEWS: Mention powerpc64le support and bugs fixed.
23245 * README: Both big-endian and little-endian powerpc64 supported.
23246
7b7bab13
ST
232472013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23248
57f41c40
AS
23249 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23250 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23251 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23252 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23253
d39baad1
RA
232542013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23255
23256 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23257 match prototype.
23258
cd78f7e7
JM
232592013-10-04 Joseph Myers <joseph@codesourcery.com>
23260
29d73d86
JM
23261 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23262 Move -mhard-float appending from
23263 ports/sysdeps/powerpc/powerpc32/Makefile.
23264 [$(with-fp) = yes] (ASFLAGS): Likewise.
23265 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23266 * sysdeps/powerpc/nofpu: Move directory from
23267 ports/sysdeps/powerpc/nofpu.
23268 * sysdeps/powerpc/soft-fp: Move directory from
23269 ports/sysdeps/powerpc/soft-fp.
23270 * sysdeps/powerpc/powerpc32/405: Move directory from
23271 ports/sysdeps/powerpc/powerpc32/405.
23272 * sysdeps/powerpc/powerpc32/440: Move directory from
23273 ports/sysdeps/powerpc/powerpc32/440.
23274 * sysdeps/powerpc/powerpc32/464: Move directory from
23275 ports/sysdeps/powerpc/powerpc32/464.
23276 * sysdeps/powerpc/powerpc32/476: Move directory from
23277 ports/sysdeps/powerpc/powerpc32/476.
23278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23279 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23281 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23283 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23285 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23287 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23288 * README: Update for powerpc-*-linux-gnu software floating point
23289 support in libc.
23290
e246b347
JM
23291 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23292 case to powerpc/powerpc32*.
23293 * sysdeps/unix/sysv/linux/configure: Regenerated.
23294
89c2003e
JM
23295 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23296 (_FPU_MASK_OM): Define as 0x04.
23297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23299 0x00c10080.
23300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23301 0x0000003c.
23302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23303
cd78f7e7
JM
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23305 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23306 getcontext_e500.
23307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23308 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23309 setcontext_e500.
23310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23311 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23312 and setcontext_e500.
23313
c755294d
CL
233142013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23315
23316 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23317
e16d221c
SP
233182013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23319
23320 * manual/threads.texi (Default Thread Attributes): Fix typo.
23321
215c7d43
WN
233222013-10-04 Will Newton <will.newton@linaro.org>
23323
23324 * malloc/Makefile: Add tst-memalign.
23325 * malloc/tst-memalign.c: New file.
23326
27d0461b
WN
23327 * malloc/tst-posix_memalign.c: Add comments.
23328 (do_test): Add comments and call free on all potentially
23329 allocated pointers. Add space after cast.
23330
1bc92709
WN
23331 * malloc/tst-pvalloc.c: Add comments.
23332 (do_test): Add comments and call free on all potentially
23333 allocated pointers. Remove duplicate check for NULL pointer.
23334 Add space after cast.
23335
66a9be9d
WN
23336 * malloc/tst-valloc.c: Add comments.
23337 (do_test): Add comments and call free on all potentially
23338 allocated pointers. Remove duplicate check for NULL pointer.
23339 Add space after cast.
23340
4cb81307
AM
233412013-10-04 Alan Modra <amodra@gmail.com>
23342
23343 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23344 Use stdint types in rather than __attribute__((mode())).
23345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23346
f8e3e9f3
AM
233472013-10-04 Alan Modra <amodra@gmail.com>
23348
23349 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23350 Correct handling of unaligned relocs for little-endian.
23351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23352
8f9ebb08
AM
233532013-10-04 Alan Modra <amodra@gmail.com>
23354
23355 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23356 * configure: Regenerate.
23357 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23358 * shlib-versions: Likewise.
23359
0edf96c2
AM
233602013-10-04 Alan Modra <amodra@gmail.com>
23361
23362 * string/tester.c (test_memrchr): Increment reported test cycle.
23363
e0f7a380
AM
233642013-10-04 Alan Modra <amodra@gmail.com>
23365
23366 * string/test-memcpy.c (do_one_test): When reporting errors, print
23367 string address and don't overrun end of string.
23368
466b0393
AM
233692013-10-04 Alan Modra <amodra@gmail.com>
23370
23371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23372 insrdi. Make better use of reg selection to speed exit slightly.
23373 Schedule entry path a little better. Remove useless "are we done"
23374 checks on entry to main loop. Handle wrapping around zero address.
23375 Correct main loop count. Handle single left-over word from main
23376 loop inline rather than by using loop_small. Remove extra word
23377 case in loop_small caused by wrong loop count. Add little-endian
23378 support.
23379 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23380 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23381 cache hint.
23382 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23383 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23384 support. Avoid rlwimi.
23385 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23386
3be87c77
AM
233872013-10-04 Alan Modra <amodra@gmail.com>
23388
23389 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23390 insrdi. Formatting.
3be87c77
AM
23391 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23392 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23393 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23394 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23395 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23396 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23397
759cfef3
AM
233982013-10-04 Alan Modra <amodra@gmail.com>
23399
23400 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23401 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23402 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23403 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23404 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23405 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23407 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23408 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23409 use of regs. Use power7 mtocrf. Tidy function tails.
23410
fe6e95d7
AM
234112013-10-04 Alan Modra <amodra@gmail.com>
23412
23413 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23414 Formatting. Consistently use rXXX register defines or rN defines.
23415 Use early exit labels that avoid restoring unused non-volatile regs.
23416 Make cr field use more consistent with rWORDn compares. Rename
23417 regs used as shift registers for unaligned loop, using rN defines
23418 for short lifetime/multiple use regs.
23419 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23421 addi 1,1,64 to pop stack frame. Simplify return value code.
23422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23423
664318c3
AM
234242013-10-04 Alan Modra <amodra@gmail.com>
23425
23426 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23427 support. Correct typos, formatting. Optimize tail. Use insrdi
23428 rather than rlwimi.
23429 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23430 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23431 little-endian support. Correct typos.
23432 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23433 rather than rlwimi.
23434 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23435 in loop and entry code to keep "and." results.
23436 (strchr): Add little-endian support. Comment. Move cntlzd
23437 earlier in tail.
23438 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23439
43b84013
AM
234402013-10-04 Alan Modra <amodra@gmail.com>
23441
23442 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23443 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23444 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23445 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23446
8a7413f9
AM
234472013-10-04 Alan Modra <amodra@gmail.com>
23448
23449 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23450 (rTMP): Define as r11.
23451 (strcmp): Add little-endian support. Optimise tail.
23452 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23453 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23454 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23456 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23458 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23459
33ee81de
AM
234602013-10-04 Alan Modra <amodra@gmail.com>
23461
23462 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23463 little-endian support. Remove unnecessary "are we done" tests.
23464 Handle "s" wrapping around zero and extremely large "size".
23465 Correct main loop count. Handle single left-over word from main
23466 loop inline rather than by using small_loop. Correct comments.
23467 Delete "zero" tail, use "end_max" instead.
23468 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23469
db9b4570
AM
234702013-10-04 Alan Modra <amodra@gmail.com>
23471
23472 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23473 support. Don't branch over align.
23474 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23475 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23476 support. Rearrange tmp reg use to suit. Comment.
23477 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23478
f7c399cf
AM
234792013-10-04 Alan Modra <amodra@gmail.com>
23480
23481 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23482
0b2c2ace
AM
234832013-10-04 Alan Modra <amodra@gmail.com>
23484
23485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23486 conditional form of branch and link when obtaining pc.
23487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23488
02f04a6c
AM
234892013-10-04 Alan Modra <amodra@gmail.com>
23490
23491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23492 HIWORD/LOWORD.
23493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23495
9b874b2f
AM
234962013-10-04 Alan Modra <amodra@gmail.com>
23497
23498 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23499 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23500 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23501 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23502 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23503 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23504 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23505 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23506 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23507 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23508
be1e5d31
AB
235092013-10-04 Anton Blanchard <anton@au1.ibm.com>
23510 Alistair Popple <alistair@ozlabs.au.ibm.com>
23511 Alan Modra <amodra@gmail.com>
23512
23513 [BZ #15723]
23514 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23515 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23516 _dl_hwcap access for little-endian.
23517 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23518 destroy vmx regs when saving unaligned.
23519 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23520 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23521 destroy vmx regs when saving unaligned.
23522
fef13a78
AM
235232013-10-04 Alan Modra <amodra@gmail.com>
23524
23525 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23526 Don't use a union to pack hi/low value.
23527
76a66d51
AB
235282013-10-04 Anton Blanchard <anton@au1.ibm.com>
23529
23530 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23531 for little-endian.
23532 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23534 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23535 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23536 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23537
6a31fe7f
AM
235382013-10-04 Alan Modra <amodra@gmail.com>
23539
23540 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23541 constants to usual value for .cst8 section, and remove redundant
23542 high address load.
23543 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23544 constant for 0x1p52. Load little-endian words of double from
23545 correct stack offsets.
23546
7b88401f
AM
235472013-10-04 Alan Modra <amodra@gmail.com>
23548
23549 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23550 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23551 words of double from correct stack offsets.
23552 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23553 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23554 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23555 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23556 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23557 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23558 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23559 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23560 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23561 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23562 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23563 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23564 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23565 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23566 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23567 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23568 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23569
9c008155
AM
235702013-10-04 Alan Modra <amodra@gmail.com>
23571
23572 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23573 64-bit int/double union.
23574 (_FPU_SETCW): Likewise.
23575 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23576 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23577
da13146d
AM
235782013-10-04 Alan Modra <amodra@gmail.com>
23579
23580 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23581 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23582
603e8410
AM
235832013-10-04 Alan Modra <amodra@gmail.com>
23584
23585 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23586 use vector int constants.
23587 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23588
4a28b3ca
AB
235892013-10-04 Anton Blanchard <anton@au1.ibm.com>
23590
23591 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23592 array with long long.
23593 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23594 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23595 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23596 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23597 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23598 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23599 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23600 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23601 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23602 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23603 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23604 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23605 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23606
2ca85d2b
AB
236072013-10-04 Anton Blanchard <anton@au1.ibm.com>
23608
23609 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23610 (__signbit): Likewise. Correct for little-endian.
23611 (__signbitl): Call __signbit.
23612 (lrint): Correct for little-endian.
23613 (lrintf): Call lrint.
23614
62a728ae
AM
236152013-10-04 Alan Modra <amodra@gmail.com>
23616
23617 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23618 union 32-bit int array member with 64-bit int array.
23619 (t515, tm256): Double rather than long double.
23620 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23621
32c301df
AM
236222013-10-04 Alan Modra <amodra@gmail.com>
23623
23624 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23625 Delete.
23626 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23628 version of math_ldbl.h.
23629
650ef4bd
AM
236302013-10-04 Alan Modra <amodra@gmail.com>
23631
23632 [BZ #15734], [BZ #15735]
23633 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23634 all uses of ieee875 long double macros and unions. Simplify test
23635 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23636 ldbl_extract_mantissa value for ix,iy exponents. Properly
23637 normalize after ldbl_extract_mantissa, and don't add hidden bit
23638 already handled. Don't treat low word of ieee854 mantissa like
23639 low word of IBM long double and mask off bit when testing for
23640 zero.
23641 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23642 all uses of ieee875 long double macros and unions. Simplify tests
23643 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23644 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23645 two1022, instead use their values. Recognise that tests for large
23646 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23647 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23648 Rewrite all uses of ieee875 long double macros and unions. Simplify
23649 test for 0.0L and nan. Correct negation.
23650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23651 ieee875 long double macros and unions. Correct output for large
23652 magnitude x. Correct absolute value calculation.
23653 (__erfcl): Likewise.
23654 * math/libm-test.inc: Add tests for errors discovered in IBM long
23655 double versions of fmodl, remainderl, erfl and erfcl.
23656
765714ca
AM
236572013-10-04 Alan Modra <amodra@gmail.com>
23658
23659 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23660 all uses of ieee854 long double macros and unions. Simplify tests
23661 for long doubles that are fully specified by the high double.
23662 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23663 Likewise.
23664 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23665 Remove dead code too.
23666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23667 (__ieee754_ynl): Likewise.
23668 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23669 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23671 Remove dead code too.
23672 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23673 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23674 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23675 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23676 Simplify.
23677 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23678 Simplify.
23679 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23680 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23681 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23682 Comment on variable precision.
23683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23685 Likewise.
23686 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23687 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23688 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23689 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23690 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23691
4ebd120c
AM
236922013-10-04 Alan Modra <amodra@gmail.com>
23693
23694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23695 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23696 all uses of ieee854 long double macros and unions.
23697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23700 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23702 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23703 Likewise.
23704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23705 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23706 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23710 Simplify sign and nan test too.
23711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23712 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23713 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23714 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23715 Likewise.
23716 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23717 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23718 Likewise.
23719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23720 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23721 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23722 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23723 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23725
1b6adf88
AM
237262013-10-04 Alan Modra <amodra@gmail.com>
23727
23728 * stdio-common/printf_size.c (__printf_size): Don't use
23729 union ieee854_long_double in fpnum union.
23730 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23731 signbit macro to retrieve sign from long double.
23732 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23733 retrieve sign from long double.
23734 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23735 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23736 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23737 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23738 * math/test-misc.c (main): Don't use union ieee854_long_double.
23739
4cf69995
AM
237402013-10-04 Alan Modra <amodra@gmail.com>
23741
23742 [BZ #15680]
23743 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23744 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23745 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23746 calculation. Remove unnecessary test for denormal exponent.
23747 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23748 Correct handling of denormals. Avoid undefined shift behaviour.
23749 Correct normalisation of low mantissa when low double is denormal.
23750 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23751 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23752 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23753 Correct normalisation of low mantissa. Test for overflow of high
23754 mantissa and normalise.
23755 (ldbl_nearbyint): Use more readable constant for two52.
23756 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23757 (__mpn_construct_long_double): Fix test for overflow of high
23758 mantissa and correct normalisation. Avoid undefined shift.
23759
9605ca6c
AM
237602013-10-04 Alan Modra <amodra@gmail.com>
23761
23762 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23763 (union ibm_extended_long_double): Define as an array of ieee754_double.
23764 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23765 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23766 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23767 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23769 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23771 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23772 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23773 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23774 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23775
975569d0
JM
237762013-10-03 Joseph Myers <joseph@codesourcery.com>
23777
d3d23756
JM
23778 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23779 page size instead of calling getpagesize.
23780
975569d0
JM
23781 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23782 (LOCFILE_ALIGN_MASK): Likewise.
23783 (LOCFILE_ALIGN_UP): Likewise.
23784 (LOCFILE_ALIGNED_P): Likewise.
23785 * locale/programs/ld-collate.c (collate_output): Use the new
23786 macros instead of __alignof__ (int32_t).
23787 * locale/weight.h (findidx): Likewise.
23788
b1fe1f2b
OB
237892013-10-03 Ondřej Bílka <neleai@seznam.cz>
23790
23791 [BZ #431]
23792 * manual/string.texi: Fix strncat and wcsncat.
23793
5f855e35
BM
237942013-10-03 Brooks Moses <bmoses@google.com>
23795
23796 [BZ #15915]
23797 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23798 * Makerules: ...here, and adjust associated comments.
23799
3cef6009
WN
238002013-10-02 Will Newton <will.newton@linaro.org>
23801
23802 * malloc/Makefile: Add tst-pvalloc.
23803 * malloc/tst-pvalloc.c: New file.
23804
7815420b
WN
238052013-10-02 Will Newton <will.newton@linaro.org>
23806
23807 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23808 improve test coverage.
23809
4868b204
WN
238102013-10-02 Will Newton <will.newton@linaro.org>
23811
23812 * malloc/Makefile: Add tst-posix_memalign.
23813 * malloc/tst-posix_memalign.c: New file.
23814
29c793b3
EB
238152013-10-01 Eric Blake <eblake@redhat.com>
23816
23817 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23818 Use __THROWNL rather than __THROW on static functions.
23819
fd967522
PM
238202013-09-30 Petr Machata <pmachata@redhat.com>
23821
23822 * elf/elf.h (R_AARCH64_ABS16): New macro.
23823 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23824 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23825 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23826 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23827 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23828 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23829 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23830 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23831 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23832 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23833 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23834 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23835 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23836 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23837 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23838 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23839 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23840 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23841 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23842 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23843 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23844 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23845 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23846 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23847 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23848 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23849 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23850 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23851 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23852 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23853 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23854 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23855 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23856 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23857 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23858 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23859 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23860 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23861 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23862 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23863 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23864 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23865 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23866 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23867 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23868 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23869 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23870 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23871 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23872 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23873 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23874 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23875 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23876 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23877 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23878 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23879 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23880 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23881 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23882 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23883 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23884 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23885 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23886 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23887 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23888 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23889 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23890 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23891 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23892 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23893 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23894 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23895 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23896 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23897 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23898 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23899 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23900 (R_AARCH64_TLSDESC_LDR): Likewise.
23901 (R_AARCH64_TLSDESC_ADD): Likewise.
23902 (R_AARCH64_TLSDESC_CALL): Likewise.
23903
b2179107
AS
239042013-09-30 Andreas Schwab <schwab@suse.de>
23905
23906 [BZ #15048]
23907 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23908 the nss database lookup.
23909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23911
47f28d0a
MF
239122013-09-28 Mike Frysinger <vapier@gentoo.org>
23913
23914 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23915
239162013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23917
23918 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23919 ${Bash-specific parameter/pattern/string} parameter expansion.
23920 * sysdeps/unix/make-syscalls.sh: Likewise.
23921
f4518a17
KK
239222013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23923
23924 * sysdeps/sh/stackguard-macros.h: New file.
23925
dc1a95c7
OB
239262013-09-26 Ondřej Bílka <neleai@seznam.cz>
23927
23928 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23930 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23931 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23932 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23933 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23934
5ebbff8f
AZ
239352013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23936
23937 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23938 Fix thread ID register.
23939
4fd2cf9f
JM
239402013-09-25 Joseph Myers <joseph@codesourcery.com>
23941
23942 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23943 [POSIX || UNIX98]: Require rather than permitting all symbols from
23944 <time.h>.
23945 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23946 element of struct sched_param.
23947 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23948 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23949 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23950 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23951 constant.
23952
12c22bc4
OL
239532013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23954
23955 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23956 argument calculation.
23957
a03d8ea7
JM
239582013-09-24 Joseph Myers <joseph@codesourcery.com>
23959
23960 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23961 Expect macro.
23962 [POSIX] (pthread_attr_t): Do not require type.
23963 [POSIX] (pthread_cond_t): Likewise.
23964 [POSIX] (pthread_condattr_t): Likewise.
23965 [POSIX] (pthread_key_t): Likewise.
23966 [POSIX] (pthread_mutex_t): Likewise.
23967 [POSIX] (pthread_mutexattr_t): Likewise.
23968 [POSIX] (pthread_once_t): Likewise.
23969 [POSIX] (pthread_t): Likewise.
23970 [POSIX-based standards] (pthread_atfork): Expect function.
23971
6055173a
JM
239722013-09-24 Joseph Myers <joseph@codesourcery.com>
23973 Richard Sandiford <richard@codesourcery.com>
23974
23975 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23976 (swap_endianness_p): New extern variable.
23977 (set_big_endian): New inline function.
23978 (maybe_swap_uint32): Likewise.
23979 (maybe_swap_uint32_array): Likewise.
23980 (maybe_swap_uint32_obstack): Likewise.
23981 * locale/programs/locfile.c: Include <stdbool.h>.
23982 (swap_endianness_p): New variable.
23983 (add_locale_uint32): Call maybe_swap_uint32.
23984 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23985 (write_locale_data): Call maybe_swap_uint32_array.
23986 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23987 maybe_swap_uint32.
23988 (obstack_int32_grow_fast): Likewise.
23989 (output_weightwc): Call maybe_swap_uint32_obstack.
23990 (collate_output): Likewise.
23991 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23992 (OPT_LITTLE_ENDIAN): Likewise.
23993 (options): Add --little-endian and --big-endian options.
23994 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23995 * locale/programs/locarchive.c: Include "locfile.h".
23996 (GET): New macro.
23997 (SET): Likewise.
23998 (INC): Likewise.
23999 (create_archive): Use the new macros to access fields of
24000 structures directly mapped from or written to locale archives.
24001 (oldlocrecentcmp): Likewise.
24002 (enlarge_archive): Likewise.
24003 (insert_name): Likewise.
24004 (add_alias): Likewise.
24005 (add_locale): Likewise.
24006 (delete_locales_from_archive): Likewise.
24007 (show_archive_content): Likewise.
24008 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24009 locale data.
24010
39bf0bb4
RM
240112013-09-24 Roland McGrath <roland@hack.frob.com>
24012
24013 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24014 http://www.gnu.org/doc/freemanuals.texi.
24015 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24016
f02eed10
WN
240172013-09-24 Will Newton <will.newton@linaro.org>
24018
24019 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24020 macro.
24021
a3a6c312
JM
240222013-09-23 Joseph Myers <joseph@codesourcery.com>
24023
24024 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24025 unsigned char.
24026
107375ac
MR
240272013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24028
24029 * manual/threads.texi (POSIX Threads): Fix a typo.
24030
141f3a77
SP
240312013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24032
303e567a
SP
24033 [BZ #14547]
24034 * string/tst-strcoll-overflow.c: New test case.
24035 * string/Makefile (xtests): Add tst-strcoll-overflow.
24036 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24037 cache if string sizes may cause integer overflow.
24038
141f3a77
SP
24039 [BZ #14547]
24040 * string/strcoll_l.c (coll_seq): New members rule, idx,
24041 save_idx and back_us.
24042 (get_next_seq_nocache): New function.
24043 (do_compare_nocache): New function.
24044 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24045 when malloc fails.
24046
c61b4d41
CD
240472013-09-23 Carlos O'Donell <carlos@redhat.com>
24048
0b1f8e35
CD
24049 [BZ #15754]
24050 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24051 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24052 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24053
c61b4d41
CD
24054 [BZ #15754]
24055 * elf/Makefile (tests): Add tst-ptrguard1.
24056 (tests-static): Add tst-ptrguard1-static.
24057 (tst-ptrguard1-ARGS): Define.
24058 (tst-ptrguard1-static-ARGS): Define.
24059 * elf/tst-ptrguard1.c: New file.
24060 * elf/tst-ptrguard1-static.c: New file.
24061 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24062 * sysdeps/i386/stackguard-macros.h: Likewise.
24063 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24064 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24065 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24066 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24067 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24068 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24069
240702013-09-23 Hector Marco <hecmargi@upv.es>
24071 Ismael Ripoll <iripoll@disca.upv.es>
24072 Carlos O'Donell <carlos@redhat.com>
24073
24074 [BZ #15754]
24075 * sysdeps/generic/stackguard-macros.h: Define
24076 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24077 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24078 Define __pointer_chk_guard_local.
24079 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24080 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24081
f5f4e7b4
VV
240822013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24083
24084 [BZ #15859]
24085 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24086
5bb43a43
AS
240872013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24088
24089 * include/string.h (__ffs): Declare as hidden.
24090 * string/ffs.c (__ffs): Define as hidden.
24091 * sysdeps/i386/ffs.c (__ffs): Likewise.
24092 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24093 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24094 * sysdeps/s390/ffs.c (__ffs): Likewise.
24095 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24096
3ea5be54
AO
240972013-09-20 Alexandre Oliva <aoliva@redhat.com>
24098
ffb89e53
AO
24099 * NEWS: Mention malloc probes.
24100
322dea08
AO
24101 * malloc/arena.c (new_heap): New memory_heap_new probe.
24102 (grow_heap): New memory_heap_more probe.
24103 (shrink_heap): New memory_heap_less probe.
24104 (heap_trim): New memory_heap_free probe.
24105 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24106 (systrim): New memory_sbrk_less probe.
24107 * manual/probes.texi: Document them.
24108
655673f3
AO
24109 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24110 * manual/probes.texi: Document it.
24111
35fed6f1
AO
24112 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24113 (__libc_realloc): Add memory_realloc_retry probe.
24114 (__libc_memalign): Add memory_memalign_retry probe.
24115 (__libc_valloc): Add memory_valloc_retry probe.
24116 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24117 (__libc_calloc): Add memory_calloc_retry probe.
24118 * manual/probes.texi: Document them.
24119
6999d38c
AO
24120 * malloc/arena.c (get_free_list): Add probe
24121 memory_arena_reuse_free_list.
24122 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24123 and memory_arena_reuse.
24124 (arena_get2) [!PER_THREAD]: Likewise.
24125 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24126 memory_arena_reuse_realloc.
24127 * manual/probes.texi: Document them.
24128
0653427f
AO
24129 * malloc/malloc.c (__libc_free): Add
24130 memory_mallopt_free_dyn_thresholds probe.
24131 (__libc_mallopt): Add multiple memory_mallopt probes.
24132 * manual/probes.texi: Document them.
24133
3ea5be54
AO
24134 * malloc/malloc.c: Include stap-probe.h.
24135 (__libc_mallopt): Add memory_mallopt probe.
24136 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24137 * manual/probes.texi: New.
24138 * manual/Makefile (chapters): Add probes.
24139 * manual/threads.texi: Set next node.
24140
e35696c3 241412013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24142
e35696c3
CL
24143 [BZ #15963, #13985]
24144 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24145 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24146 Add `Chinese' to `nan' entry name.
24147
4aafb73c
SP
241482013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24149
24150 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24151 (POLYNOMIAL): Likewise.
24152 (TAYLOR_SINCOS): Likewise.
24153 (TAYLOR_SLOW): Likewise.
24154 (__sin): Use TAYLOR_SINCOS.
24155 (__cos): Likewise.
24156 (slow): Use TAYLOR_SLOW.
24157 (sloww): Likewise.
24158 (bsloww): Likewise.
24159 (csloww): Likewise.
24160
d84f25c7
LD
241612013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24162
24163 * stdlib/strtod_l.c: Fix buffer overrun.
24164
5eea0404
SP
241652013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24166
7849ff93
SP
24167 * benchtests/Makefile (bench): Add sincos.
24168 * benchtests/bench-sincos.c: New file.
24169
cfa3c886
SP
24170 * math/libm-test.inc (cos_test_data): New test inputs.
24171 (sin_test_data): Likewise.
24172
b348e1e3
SP
24173 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24174 macro.
24175 (__sin): Use it.
24176 (__cos): Likewise.
24177 (slow1): Likewise.
24178 (slow2): Likewise.
24179 (sloww1): Likewise.
24180 (sloww2): Likewise.
24181 (bsloww1): Likewise.
24182 (bsloww2): Likewise.
24183 (cslow2): Likewise.
24184 (csloww1): Likewise.
24185 (csloww2): Likewise.
24186
6cce25f8
SP
24187 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24188 function.
24189 (__sin): Use it.
24190 (__cos): Likewise.
24191
5eea0404
SP
24192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24193 gotos.
24194 (__cos): Likewise.
24195
9c21573c
MR
241962013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24197
24198 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24199 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24200 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24201 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24202 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24203 * elf/cache.c (print_entry): Handle the new cache flags.
24204
24d22e65
JM
242052013-09-18 Joseph Myers <joseph@codesourcery.com>
24206 Aldy Hernandez <aldyh@redhat.com>
24207
24208 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24209 Change condition to [_SOFT_FLOAT].
24210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24222 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24225 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24226 declaration.
24227
d13ef066
JM
242282013-09-18 Joseph Myers <joseph@codesourcery.com>
24229
2e071de0
JM
24230 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24231 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24232 (__longjmp): Use LOAD_GP to load saved GPRs.
24233 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24234 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24235 (__sigsetjmp): Use SAVE_GP to save GPRs.
24236
d13ef066
JM
24237 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24238 Do not append -msoft-float.
24239 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24240
97a0650b
SP
242412013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24242
24243 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24244
11ca09e9
JM
242452013-09-17 Joseph Myers <joseph@codesourcery.com>
24246
24247 [BZ #15966]
24248 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24249 (_FPU_GETCW): Use initial "__" on variable and field names but not
24250 on macro parameter name.
24251 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24252 parentheses around reference to macro parameter.
24253
08ffcf34
RS
242542013-09-13 Richard Sandiford <richard@codesourcery.com>
24255
24256 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24257 prototype.
24258 (ctype_startup): Use uint32_t in cast and sizeof for
24259 ctype->charnames.
24260
ae7080d3
JL
242612013-09-11 Jia Liu <proljc@gmail.com>
24262
24263 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24264 __daddr_t_defined.
24265 [__FreeBSD__]: Likewise.
24266
5905e7b3
OB
242672013-09-11 Ondřej Bílka <neleai@seznam.cz>
24268
24269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24270 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24271 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24272 (strchr): Remove __strchr_sse42 ifunc selection.
24273 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24274 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24275
b987c776
WN
242762013-09-11 Will Newton <will.newton@linaro.org>
24277
24278 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24279 parameter to RES. Remove hardcoded 1000 value.
24280 * benchtests/bench-skeleton.c (main): Pass RES parameter
24281 to TIMING_INIT and multiply result by 1000.
24282
ddf985af
AZ
242832013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24284
24285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24286
ffdd3181
AS
242872013-09-11 Andreas Schwab <schwab@suse.de>
24288
24289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24290 if not defined.
24291 (O_TMPFILE) [__USE_GNU]: Define.
24292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24293 Define.
24294
b73ed247
WN
242952013-09-11 Will Newton <will.newton@linaro.org>
24296
24297 [BZ #15857]
24298 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24299 does not overflow.
24300
55e17aad
WN
243012013-09-11 Will Newton <will.newton@linaro.org>
24302
24303 [BZ #15856]
24304 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24305 does not overflow.
24306
1159a193
WN
243072013-09-11 Will Newton <will.newton@linaro.org>
24308
24309 [BZ #15855]
24310 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24311 does not overflow.
24312
5905e7b3 243132013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24314
24315 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24316 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24317 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24318 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24319 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24320
cdfc721b
AM
243212013-09-10 Allan McRae <allan@archlinux.org>
24322
aa04af00
AM
24323 [BZ #15748]
24324 * manual/arith.texi (Parsing of Floats): Clarify
24325 cross-reference.
24326
cdfc721b
AM
24327 [BZ #15849]
24328 * manual/install.texi (Running make install): Mention
24329 --enable-pt-chown.
24330 * INSTALL: Regenerated.
24331
95e7cf29
MR
243322013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24333
24334 * csu/init-first.c (_init): Remove the !SHARED condition around
24335 FPU control word initialization.
24336 * elf/dl-support.c (_dl_fpu_control): New variable.
24337 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24338 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24339 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24340 * math/test-fpucw-static.c: New file.
24341 * math/test-fpucw-ieee.c: New file.
24342 * math/test-fpucw-ieee-static.c: New file.
24343 * math/Makefile (tests): Add `test-fpucw-ieee' and
24344 `$(tests-static)'.
24345 (tests-static): New variable.
24346 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24347 dependency to...
24348 [($(build-shared),yes)]
24349 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24350 ... this.
24351 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24352 New dependency.
24353
83e43bf0
AM
243542013-09-09 Allan McRae <allan@archlinux.org>
24355
a9f5ce09
AM
24356 [BZ #15939]
24357 * manual/string.texi (Collation Functions): Fix typo in
24358 strcoll example.
24359 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24360
34829bc2
AM
24361 [BZ #15893]
24362 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24363
3932737d
AM
24364 [BZ #15892]
24365 * libio/memstream.c (open_memstream): Fix memory leak.
24366 * libio/wmemstream.c (open_wmemstream): Likewise.
24367
83e43bf0
AM
24368 [BZ #15895]
24369 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24370
0c66b8e9
WN
243712013-09-09 Will Newton <will.newton@linaro.org>
24372
24373 * malloc/Makefile: Add tst-realloc to tests.
24374 * malloc/tst-realloc.c: New file.
24375
f6b00fd1
AM
243762013-09-09 Allan McRae <allan@archlinux.org>
24377
24378 [BZ #15844]
24379 * COPYING: Update from GNU website to fix FSF address.
24380 * COPYING.LIB: Likewise.
24381
eec55e16
DM
243822013-09-06 David S. Miller <davem@davemloft.net>
24383
24384 * po/zh_TW.po: Update Chinese (traditional) translation from
24385 translation project.
24386
1ecbb381
RS
243872013-09-06 Richard Sandiford <richard@codesourcery.com>
24388 Joseph Myers <joseph@codesourcery.com>
24389
24390 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24391 "localeinfo.h".
24392 (obstack_chunk_alloc): New macro.
24393 (obstack_chunk_free): Likewise.
24394 (record_offset): New function.
24395 (init_locale_data): Likewise.
24396 (align_locale_data): Likewise.
24397 (add_locale_empty): Likewise.
24398 (add_locale_raw_data): Likewise.
24399 (add_locale_raw_obstack): Likewise.
24400 (add_locale_string): Likewise.
24401 (add_locale_wstring): Likewise.
24402 (add_locale_uint32): Likewise.
24403 (add_locale_uint32_array): Likewise.
24404 (add_locale_char): Likewise.
24405 (start_locale_structure): Likewise.
24406 (end_locale_structure): Likewise.
24407 (start_locale_prelude): Likewise.
24408 (end_locale_prelude): Likewise.
24409 (write_locale_data): Take locale_file structure rather than an
24410 iovec.
24411 * locale/programs/locfile.h: Include "obstack.h".
24412 (struct locale_file): Change to store locale file contents instead
24413 of header.
24414 (init_locale_data): New prototype.
24415 (align_locale_data): Likewise.
24416 (add_locale_empty): Likewise.
24417 (add_locale_raw_data): Likewise.
24418 (add_locale_raw_obstack): Likewise.
24419 (add_locale_string): Likewise.
24420 (add_locale_wstring): Likewise.
24421 (add_locale_uint32): Likewise.
24422 (add_locale_uint32_array): Likewise.
24423 (add_locale_char): Likewise.
24424 (start_locale_structure): Likewise.
24425 (end_locale_structure): Likewise.
24426 (start_locale_prelude): Likewise.
24427 (end_locale_prelude): Likewise.
24428 (write_locale_data): Update prototype.
24429 * locale/programs/3level.h (struct TABLE): Remove result field.
24430 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24431 Use new locale_file interface.
24432 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24433 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24434 * locale/programs/ld-address.c (address_output): Use new
24435 locale_file interface.
24436 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24437 NO_ADD_LOCALE.
24438 (collate_finish): Don't call collseq_table_finalize.
24439 (collate_output): Use new locale_file interface.
24440 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24441 in file.
24442 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24443 (TABLE): Move defines earlier in file.
24444 (ELEMENT): Likewise.
24445 (DEFAULT): Likewise.
24446 (wctrans_table_add): Move macro and inline function earlier in
24447 file.
24448 (struct wctype_table): Move type earlier in file.
24449 (add_locale_wctype_table): New static prototype.
24450 (struct locale_ctype_t): Use logical types instead of struct iovec
24451 pointers for members.
24452 (ctype_output): Use new locale_file interface.
24453 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24454 new locale_file interface.
24455 (allocate_arrays): Update for use of new locale_file interface.
24456 * locale/programs/ld-identification.c (identification_output): Use
24457 new locale_file interface.
24458 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24459 * locale/programs/ld-messages.c (messages_output): Likewise.
24460 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24461 * locale/programs/ld-name.c (name_output): Likewise.
24462 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24463 * locale/programs/ld-paper.c (paper_output): Likewise.
24464 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24465 * locale/programs/ld-time.c (time_output): Likewise.
24466
e029e2e5
AZ
244672013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24468
24469 * benchtests/Makefile: Add memrchr benchmark.
24470 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24471 benchmark as memrchr.
24472 * benchtests/bench-memrchr-ifunc.c: New file.
24473 * benchtests/bench-memrchr.c: New file.
24474
bbf6e8e4
WN
244752013-09-06 Will Newton <will.newton@linaro.org>
24476
24477 * benchtests/Makefile (string-bench): Add memcpy.
24478
6c82a2f8
CD
244792013-09-05 Carlos O'Donell <carlos@redhat.com>
24480 Cong Wang <amwang@redhat.com>
24481
e732c5f0 24482 [BZ #15850]
6c82a2f8
CD
24483 * sysdeps/unix/sysv/linux/bits/in.h
24484 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24485 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24486 before __USE_KERNEL_IPV6_DEFS uses.
24487 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24488 IPPROTO_BEETPH.
24489 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24490 sockaddr_in6, or ipv6_mreq.
24491
5430fc65
AZ
244922013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24493
24494 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24495 memory access for final bytes in some large inputs.
24496 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24497
4660856c
AZ
244982013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24499
24500 * string/test-memrchr.c: New file.
24501 * string/test-memrchr-ifunc.c: New file.
24502 * string/Makefile: Add new memrchr testcase.
24503
bb8ea713
MF
245042013-09-05 Mike Frysinger <vapier@gentoo.org>
24505
24506 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24507 fanotify_init returns EPERM.
24508
b92a20b5
JM
245092013-09-04 Joseph Myers <joseph@codesourcery.com>
24510
24511 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24512 errors.
24513 (top level): Treat second token from macro or constant entries for
24514 allowed headers as allowed.
24515 * include/complex.h: Condition internal declarations on
24516 [!_ISOMAC].
24517 * include/fenv.h: Condition include of <stdbool.h> and internal
24518 declarations on [!_ISOMAC].
7447ccd9
CL
24519
245202013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24521
3e181dda 24522 [BZ #15923]
7447ccd9
CL
24523 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24524
3f2e46a4
JM
245252013-09-04 Joseph Myers <joseph@codesourcery.com>
24526
24527 * configure.in (--enable-versioning): Remove configure option.
24528 (libc_cv_asm_symver_directive): Remove configure test.
24529 (libc_cv_ld_version_script_option): Likewise.
24530 (VERSIONING): Remove variable and AC_SUBST.
24531 (DO_VERSIONING): Remove AC_DEFINE.
24532 * configure: Regenerated.
24533 * config.h.in (DO_VERSIONING): Remove macro.
24534 * Makerules [$(versioning) = yes]: Change conditionals to
24535 [$(build-shared) = yes].
24536 * config.make.in (versioning): Remove variable.
24537 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24538 [$(build-shared) = yes].
24539 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24540 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24541 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24542 [$(build-shared) = yes].
24543 * extra-lib.mk [$(versioning) = yes]: Likewise.
24544 * hurd/Makefile [$(versioning) = yes]: Likewise.
24545 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24546 [SHARED].
24547 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24548 [SHARED].
24549 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24550 [SHARED && !NO_HIDDEN].
24551 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24552 [SHARED].
24553 [SHARED && DO_VERSIONING]: Likewise..
24554 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24555 [$(build-shared) = yes].
24556 * manual/install.texi (--disable-versioning): Remove
24557 documentation.
24558 * INSTALL: Regenerated.
24559 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24560 to [SHARED].
24561 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24562 [$(build-shared) = yes].
24563 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24564 * sysdeps/i386/i686/multiarch/strstr-c.c
24565 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24566 [SHARED && !NO_HIDDEN].
24567 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24568 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24569 * sysdeps/powerpc/powerpc32/dl-machine.c
24570 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24571 * sysdeps/powerpc/powerpc32/sysdep.h
24572 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24573 to [SHARED && PIC && !NO_HIDDEN].
24574 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24575 conditional to [SHARED].
24576
44558701
WN
245772013-09-04 Will Newton <will.newton@linaro.org>
24578
24579 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24580 * benchtests/bench-string.h: Include bench-timing.h instead
24581 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24582 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24583 call to HP_TIMING_DIFF_INIT.
24584 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24585 instead of hp-timing.h macros.
24586 * benchtests/bench-memchr.c: Likewise.
24587 * benchtests/bench-memcmp.c: Likewise.
24588 * benchtests/bench-memcpy.c: Likewise.
24589 * benchtests/bench-memmem.c: Likewise.
24590 * benchtests/bench-memmove.c: Likewise.
24591 * benchtests/bench-memset.c: Likewise.
24592 * benchtests/bench-rawmemchr.c: Likewise.
24593 * benchtests/bench-strcasecmp.c: Likewise.
24594 * benchtests/bench-strcasestr.c: Likewise.
24595 * benchtests/bench-strcat.c: Likewise.
24596 * benchtests/bench-strchr.c: Likewise.
24597 * benchtests/bench-strcmp.c: Likewise.
24598 * benchtests/bench-strcpy.c: Likewise.
24599 * benchtests/bench-strcpy_chk.c: Likewise.
24600 * benchtests/bench-strlen.c: Likewise.
24601 * benchtests/bench-strncasecmp.c: Likewise.
24602 * benchtests/bench-strncat.c: Likewise.
24603 * benchtests/bench-strncmp.c: Likewise.
24604 * benchtests/bench-strncpy.c: Likewise.
24605 * benchtests/bench-strnlen.c: Likewise.
24606 * benchtests/bench-strpbrk.c: Likewise.
24607 * benchtests/bench-strrchr.c: Likewise.
24608 * benchtests/bench-strspn.c: Likewise.
24609 * benchtests/bench-strstr.c: Likewise.
24610
cae16d66
WN
246112013-09-04 Will Newton <will.newton@linaro.org>
24612
24613 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24614
ffa3cd7f
JM
246152013-09-03 Joseph Myers <joseph@codesourcery.com>
24616
24617 [BZ #15427]
24618 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24619 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24620 * math/libm-test.inc (lgamma_test_data): Add more tests.
24621 * sysdeps/i386/fpu/libm-test-ulps: Update.
24622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24623
8f02859f
OB
246242013-09-03 Ondřej Bílka <neleai@seznam.cz>
24625
24626 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24628 Add ifunc.
24629 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24630 Add strcmp-sse2-unaligned
24631 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24632
18d43716
MF
246332013-09-02 Mike Frysinger <vapier@gentoo.org>
24634
24635 * Versions.def (libc): Add GLIBC_2.19.
24636
ac444012
MF
246372013-09-02 Mike Frysinger <vapier@gentoo.org>
24638
24639 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24640 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24641
b7835e32
JM
246422013-09-02 Joseph Myers <joseph@codesourcery.com>
24643
24644 [BZ #14155]
24645 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24646 intermediate calculations in recurrence.
24647 (__ieee754_ynf): Likewise.
24648 * math/libm-test.inc (jn_test_data): Do not allow spurious
24649 underflow exception. Add more tests.
24650 (yn_test_data): Add more tests.
24651 * sysdeps/i386/fpu/libm-test-ulps: Update.
24652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24653
8220f4f0
OB
246542013-09-02 Ondřej Bílka <neleai@seznam.cz>
24655
24656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24657
f24a6d08
OB
246582013-08-30 Ondřej Bílka <neleai@seznam.cz>
24659
24660 * csu/init-first.c: Fix then/than typos.
24661 * locale/programs/ld-collate.c: Likewise.
24662 * locale/programs/linereader.h: Likewise.
24663 * manual/charset.texi: Likewise.
24664 * manual/filesys.texi: Likewise.
24665 * manual/stdio.texi: Likewise.
24666 * manual/string.texi: Likewise.
24667 * stdlib/fmtmsg.c: Likewise.
24668 * sysdeps/i386/stpncpy.S: Likewise.
24669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24670 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24671 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24672 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24673
382466e0
OB
246742013-08-30 Ondřej Bílka <neleai@seznam.cz>
24675
24676 * elf/dl-open.c: Fix typos.
24677 * iconvdata/gbbig5.c: Likewise.
24678 * iconvdata/iso-2022-jp.c: Likewise.
24679 * iconv/gconv_int.h: Likewise.
24680 * iconv/loop.c: Likewise.
24681 * nis/rpcsvc/nis.h: Likewise.
24682 * resolv/ns_name.c: Likewise.
24683 * stdio-common/vfscanf.c: Likewise.
24684 * streams/stropts.h: Likewise.
24685 * sunrpc/rpc_thread.c: Likewise.
24686 * sysdeps/i386/strpbrk.S: Likewise.
24687 * sysdeps/ieee754/k_standard.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24690 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24691 * sysdeps/mach/hurd/profil.c: Likewise.
24692 * sysdeps/s390/dl-procinfo.h: Likewise.
24693 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24694 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24695 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24696 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24698
0186c6e9
OB
246992013-08-30 Ondřej Bílka <neleai@seznam.cz>
24700
24701 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24703
d4e16af1
OB
247042013-08-29 Ondřej Bílka <neleai@seznam.cz>
24705
24706 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24707 aix specific files.
24708 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24709 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24710 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24711 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24712 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24713 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24714 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24715 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24716
88335980
TS
247172013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24718 Roland McGrath <roland@hack.frob.com>
24719
24720 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24721 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24722
ed479b02
ST
247232013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24724
24725 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24726 __executable_start symbol instead of _start.
24727
f1cc4c86
TS
247282013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24729
d821f07c
TS
24730 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24731 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24732 Move macros to...
24733 * sysdeps/gnu/ldsodefs.h: ... this new file.
24734
c54290cf
TS
24735 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24736 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24737 instead of ELFOSABI_LINUX.
24738
0007fc9b 24739 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24740 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24741 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24742 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24743 Likewise.
24744 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24745 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24746 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24747 Likewise.
24748 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24749 (ibm_extended_long_double): Add ieee_nan member.
24750 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24751 (do_test): New function.
24752
f1cc4c86
TS
24753 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24754 TEST_TRUNC.
24755 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24756 functions, renamed from truncdfsf_test, trunctfsf_test,
24757 trunctfdf_test.
24758 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24759 functions.
24760 (do_test): Run all these.
24761
6f65e668
OB
247622013-08-29 Ondřej Bílka <neleai@seznam.cz>
24763
24764 * argp/argp-help.c: Fix typos.
24765 * argp/argp-parse.c: Likewise.
24766 * debug/backtracesyms.c: Likewise.
24767 * elf/elf.h: Likewise.
24768 * malloc/malloc.c: Likewise.
24769 * nis/nis_print.c: Likewise.
24770 * resolv/res_comp.c: Likewise.
24771 * stdlib/stdlib.h: Likewise.
24772 * sunrpc/clnt_tcp.c: Likewise.
24773 * sunrpc/clnt_udp.c: Likewise.
24774 * sunrpc/clnt_unix.c: Likewise.
24775 * sysdeps/unix/bsd/ptsname.c: Likewise.
24776 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24777 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24779 Likewise.
24780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24781 Likewise.
24782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24783 Likewise.
6f65e668
OB
24784 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24785
3a309239
SP
247862013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24787
24788 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24789 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24790
3b813b29
MF
247912013-08-27 Mike Frysinger <vapier@gentoo.org>
24792
24793 [BZ #15897]
24794 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24795 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24796 ($(objpfx)bug-dl-leaf): New rule.
24797 ($(objpfx)bug-dl-leaf.so): Likewise.
24798 ($(objpfx)bug-dl-leaf.out): Likewise.
24799 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24800 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24801 * dlfcn/bug-dl-leaf.c: New test.
24802 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24803 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24804 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24805 (dlclose): Likewise.
24806 (dlmopen): Likewise.
24807
8cc3269f
RM
248082013-08-27 Roland McGrath <roland@hack.frob.com>
24809
7f9d0034
RM
24810 * include/netdb.h [!_ISOMAC]:
24811 Don't include <tls.h>.
24812 (h_errno, __libc_h_errno): Move declaration and macros out of
24813 [_LIBC_REENTRANT].
24814
fb431262
RM
24815 * include/resolv.h [_RESOLV_H_]:
24816 Don't include <tls.h>.
24817 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24818 * resolv/res_libc.c: Don't include <tls.h>.
24819 (_res): Use __attribute__ ((nocommon)) in place of
24820 __attribute__ ((section (".bss"))).
24821
bd81123a
RM
24822 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24823 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24824
c4e42566
RM
24825 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24826
f890a59b
RM
24827 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24828 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24829
24830 * resolv/res_mkquery.c: Include <sys/time.h>.
24831
5d1f0a09
RM
24832 * inet/ifreq.c: Moved to ...
24833 * sysdeps/unix/ifreq.c: ... here.
24834 * inet/ifreq.c: New file, true stub version.
24835
6fcf28b3
RM
24836 * socket/sa_len.c: New file.
24837 * socket/Makefile (aux): Add it.
24838 * sysdeps/unix/sysv/linux/Makefile
24839 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24840 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24841 and #include <socket/sa_len.c>.
24842 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24843 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24844
e041fb8b
RM
24845 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24846 * bits/socket.h: ... here.
24847
8cc3269f
RM
24848 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24849 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24850 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24851
5d228a43
AS
248522013-08-27 Andreas Schwab <schwab@suse.de>
24853
45b8accc
AS
24854 [BZ #15736]
24855 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24856 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24857 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24858 * string/test-strcasecmp.c (test_main): Run tests in several
24859 locales.
24860 * string/test-strncasecmp.c (test_main): Likewise.
24861
5d228a43
AS
24862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24863 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24864 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24865 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24866 (__strncasecmp_ssse3) [PIC]: Likewise.
24867
59d112a4
RM
248682013-08-26 Roland McGrath <roland@hack.frob.com>
24869
53234cc3
RM
24870 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24871
59d112a4
RM
24872 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24873 instead of explicitly declaring xdecrypt.
24874 * nis/nss_nis/nis-publickey.c: Likewise.
24875
595aba70
SP
248762013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24877
24878 [BZ #15890]
24879 * nscd/aicache.c: Include res_hconf.h.
24880 (addhstaiX): Initialize res_hconf.
24881
ffabd393
AS
248822013-08-26 Andreas Schwab <schwab@suse.de>
24883
24884 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24885 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24886
e0a69f5c
SP
248872013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24888
24889 * nscd/aicache.c (addhstaiX): Fix indentation.
24890
8c12f01d
MF
248912013-08-25 Mike Frysinger <vapier@gentoo.org>
24892
24893 * configure.ac: Quote $build_pt_chown test.
24894 * configure: Regenerated.
24895
8fe89494
JM
248962013-08-23 Joseph Myers <joseph@codesourcery.com>
24897
24898 [BZ #15532]
24899 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24900 * math/s_cexpf.c (__cexpf): Likewise.
24901 * math/s_cexpl.c (__cexpl): Likewise.
24902 * math/libm-test.inc (cexp_test_data): Correct expected return
24903 value for NaN + i0. Add another test.
24904
75b181d6
DM
249052013-08-22 David S. Miller <davem@davemloft.net>
24906
24907 * po/ca.po: Update Catalan translation from translation project.
936241e4 24908 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24909
acd06bb1
JM
249102013-08-21 Joseph Myers <joseph@codesourcery.com>
24911
24912 [BZ #15797]
24913 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24914 is infinite, not alongside NaN test.
24915 * math/s_fdimf.c (__fdimf): Likewise.
24916 * math/s_fdiml.c (__fdiml): Likewise.
24917 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24918 errno is unchanged.
24919
c0c3f78a
OB
249202013-08-21 Ondřej Bílka <neleai@seznam.cz>
24921
24922 * argp/argp-help.c: Fix typos.
24923 * crypt/speeds.c: Likewise.
24924 * csu/check_fds.c: Likewise.
24925 * elf/dl-load.c: Likewise.
24926 * elf/dl-open.c: Likewise.
24927 * elf/reldep3.c: Likewise.
24928 * elf/reldep.c: Likewise.
24929 * elf/sprof.c: Likewise.
24930 * iconv/iconv_charmap.c: Likewise.
24931 * iconv/skeleton.c: Likewise.
24932 * iconv/strtab.c: Likewise.
24933 * io/lockf64.c: Likewise.
24934 * libio/libioP.h: Likewise.
24935 * resolv/gai_notify.c: Likewise.
24936 * resolv/ns_name.c: Likewise.
24937 * resolv/ns_samedomain.c: Likewise.
24938 * resolv/res_send.c: Likewise.
24939 * stdlib/random.c: Likewise.
24940 * sunrpc/rpc/xdr.h: Likewise.
24941 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24943 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24944 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24945 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24946 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24948 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24949 * sysdeps/mach/hurd/check_fds.c: Likewise.
24950 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24951 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24952 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24953 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24954 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24955 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24956 * sysdeps/pthread/aio_notify.c: Likewise.
24957 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24958 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24959 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24960 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24961 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24962
46ed1038
LD
249632013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24964
24965 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24966 version if bit_Slow_SSE4_2 is set.
24967 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24968 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24969
d400dcac
AZ
249702013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24971
24972 [BZ #15867]
24973 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24974 trampoline stack frame information.
24975 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24976 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24977 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24978 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24979 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24980 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24981 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24982 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24983 sa_flags value.
24984 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24985 interrupting a syscall and set with option SA_SIGINFO.
24986
42c8fdd8
JM
249872013-08-20 Joseph Myers <joseph@codesourcery.com>
24988
c980f2f4
JM
24989 [BZ #15531]
24990 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24991 argument is infinite.
24992 * math/s_cprojf.c (__cprojf): Likewise.
24993 * math/s_cprojl.c (__cprojl): Likewise.
24994 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24995 * math/libm-test.inc (cproj_test_data): Add more tests.
24996
0716c4fc
JM
24997 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24998
42c8fdd8
JM
24999 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25000 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25001 size. Use __ffs to determine corresponding shift.
25002
b31469d0
JM
250032013-08-20 Joseph Myers <joseph@codesourcery.com>
25004 Roland McGrath <roland@hack.frob.com>
25005
25006 * Makefile (INSTALL): Remove trailing blank lines from output of
25007 makeinfo.
25008
4e39af6e
AK
250092013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25010
25011 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25012 Align 32 bit compat elf_greg to 8 bytes.
25013
f315524e
AA
250142013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25015
25016 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25017
1326ba1a
SP
250182013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25019
25020 * string/strcoll_l.c (coll_seq): New structure.
25021 (get_next_seq_cached): New function.
25022 (get_next_seq): New function.
25023 (do_compare): New function.
25024 (STRCOLL): Use GNU style definition. Simplify implementation
25025 by using get_next_seq, get_next_seq_cached and do_compare.
25026
91ce4085
FW
250272013-08-16 Florian Weimer <fweimer@redhat.com>
25028
25029 [BZ #14699]
25030 CVE-2013-4237
25031 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25032 member.
25033 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25034 member.
25035 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25036 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25037 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25038 conditional.
25039 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25040 GETDENTS_64BIT_ALIGNED.
25041 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25042 * manual/filesys.texi (Reading/Closing Directory): Document
25043 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25044 strongly.
25045 * manual/conf.texi (Limits for Files): Add portability note to
25046 NAME_MAX, PATH_MAX.
25047 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25048
ca0a6bc4
AS
250492013-08-13 Andreas Schwab <schwab@suse.de>
25050
25051 [BZ #15749]
25052 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25053 of fabs.
25054 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25055 LDBL_MAX_EXP >= 16384]: Add tests for it.
25056
6c1fd795
DM
250572013-08-12 David S. Miller <davem@davemloft.net>
25058
25059 * version.h (RELEASE): Set to "development".
25060 (VERSION): Set to "2.18.90".
25061 * NEWS: Add 2.19 section.
25062
31ad488d
DM
250632013-08-03 David S. Miller <davem@davemloft.net>
25064
25065 * po/ko.po: Update Korean translation from translation project.
25066
db24e684
DM
250672013-08-01 David S. Miller <davem@davemloft.net>
25068
25069 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25070 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25071 Bilka.
25072
f723285b
DM
250732013-07-30 David S. Miller <davem@davemloft.net>
25074
25075 * po/fr.po: Update French translation from translation project.
25076
3cbc52db
DM
250772013-07-28 David S. Miller <davem@davemloft.net>
25078
30bbc0cc
DM
25079 * po/cs.po: Update Czech translation from translation project.
25080
3cbc52db
DM
25081 * po/sv.po: Update Swedish translation from translation project.
25082
d492e6d0
DM
250832013-07-27 David S. Miller <davem@davemloft.net>
25084
f1a7f492
DM
25085 * po/eo.po: Update Esperanto translation from translation project.
25086
90e62a4a
DM
25087 * po/vi.po: Update Vietnamese translation from translation project.
25088
d492e6d0
DM
25089 * po/de.po: Update German translation from translation project.
25090
d4baa62d
DM
250912013-07-26 David S. Miller <davem@davemloft.net>
25092
641aa7b4
DM
25093 * po/bg.po: Update Bulgarian translation from translation project.
25094
d4baa62d
DM
25095 * po/nl.po: Update Dutch translation from translation project.
25096 * po/pl.po: Update Polish translation from translation project.
25097 * po/ru.po: Update Russian translation from translation project.
25098
61a9dcb9
DM
250992013-07-24 David S. Miller <davem@davemloft.net>
25100
25101 * po/libc.pot: Update.
25102
7b1f8b58
AZ
251032013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25104
25105 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25106 variable page size.
25107 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25108 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25109 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25110
a8fc7a03
AK
251112013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25112
25113 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25114
e4608715
CD
251152013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25116 Andreas Schwab <schwab@suse.de>
25117 Roland McGrath <roland@hack.frob.com>
25118 Joseph Myers <joseph@codesourcery.com>
25119 Carlos O'Donell <carlos@redhat.com>
25120
25121 [BZ #15755]
25122 * config.h.in: Define HAVE_PT_CHOWN.
25123 * config.make.in (build-pt-chown): New variable.
25124 * configure.in (--enable-pt_chown): New configure option.
25125 * configure: Regenerate.
25126 * login/Makefile: Include Makeconfig. Build pt_chown only if
25127 build-pt-chown is enabled.
25128 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25129 pt_chown to fix pty ownership.
25130 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25131 CLOSE_ALL_FDS.
25132 * manual/install.texi (Configuring and compiling): Mention
25133 --enable-pt_chown. Add @findex for grantpt.
25134 * INSTALL: Regenerate.
25135
da2d62df
DM
251362013-07-20 David S. Miller <davem@davemloft.net>
25137
25138 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25139 difference between 32-bit and 64-bit.
25140
d7e06450
CD
251412013-07-15 Carlos O'Donell <carlos@redhat.com>
25142
25143 [BZ #15711]
25144 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25145 Avoid system header dependency with -ffreestanding.
25146 ($(objpfx)bits/syscall%d): Likewise.
25147
f959cfd7
DM
251482013-07-13 David S. Miller <davem@davemloft.net>
25149
25150 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25151 underflows from atanl/atan2l due to bug 15319.
25152 (casinh_test_data): Likewise.
25153
c61f8513
DM
251542013-07-07 David S. Miller <davem@davemloft.net>
25155
25156 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25157
72c90ed0
JA
251582013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25159
25160 * sysdeps/i386/fpu/libm-test-ulps: Update.
25161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25162
52dfbe13
SP
251632013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25164
25165 * configure.in (--enable-lock-elision): Fix message text.
25166 * INSTALL: Regenerate.
25167 * configure: Regenerate.
25168
3f169543
AZ
251692013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25170
25171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25172
521c6785
AJ
251732013-07-03 Andreas Jaeger <aj@suse.de>
25174
25175 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25176 define.
25177 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25178 (ptrace_peeksiginfo_args): Add.
25179 (__ptrace_peeksiginfo_flags): Add.
25180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25182 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25183
d2cc15cb
AM
251842013-07-03 Allan McRae <allan@archlinux.org>
25185
25186 * sysdeps/i386/fpu/libm-test-ulps: Update.
25187
3aaeeca7
DM
251882013-07-02 David S. Miller <davem@davemloft.net>
25189
25190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25191
5314ed1a
MT
251922013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25193
25194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25195
67338156
JM
251962013-07-02 Joseph Myers <joseph@codesourcery.com>
25197
25198 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25200
1717da59
AK
252012013-07-02 Andi Kleen <ak@linux.intel.com>
25202
25203 * config.h.in (ENABLE_LOCK_ELISION): Add.
25204 * configure.in (--enable-lock-elision): Add option.
25205 * manual/install.texi: Document --enable lock elision.
25206 * configure: Regenerate
25207 * INSTALL: Regenerate.
25208
1c81621c
L
252092013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25210
25211 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25212 SSE4.2 strcasecmp for libc.a.
25213 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25214
77f01ab5
JM
252152013-07-02 Joseph Myers <joseph@codesourcery.com>
25216
25217 [BZ #13304]
25218 * soft-fp/op-common.h (_FP_FMA): New macro.
25219 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25220 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25221 (_FP_MUL_MEAT_1_imm): ... here.
25222 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25223 (_FP_MUL_MEAT_1_wide): ... here.
25224 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25225 (_FP_MUL_MEAT_1_hard): ... here.
25226 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25227 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25228 (_FP_MUL_MEAT_2_wide): ... here.
25229 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25230 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25231 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25232 (_FP_MUL_MEAT_2_gmp): ... here.
25233 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25234 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25235 (_FP_MUL_MEAT_4_wide): ... here.
25236 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25237 (_FP_MUL_MEAT_4_gmp): ... here.
25238 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25239 (_FP_WFRACBITS_DW_S): Likewise.
25240 (_FP_WFRACXBITS_DW_S): Likewise.
25241 (_FP_HIGHBIT_DW_S): Likewise.
25242 (FP_FMA_S): Likewise.
25243 (_FP_FRAC_HIGH_DW_S): Likewise.
25244 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25245 (_FP_WFRACBITS_DW_D): Likewise.
25246 (_FP_WFRACXBITS_DW_D): Likewise.
25247 (_FP_HIGHBIT_DW_D): Likewise.
25248 (FP_FMA_D): Likewise.
25249 (_FP_FRAC_HIGH_DW_D): Likewise.
25250 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25251 (_FP_WFRACBITS_DW_E): Likewise.
25252 (_FP_WFRACXBITS_DW_E): Likewise.
25253 (_FP_HIGHBIT_DW_E): Likewise.
25254 (FP_FMA_E): Likewise.
25255 (_FP_FRAC_HIGH_DW_E): Likewise.
25256 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25257 (_FP_WFRACBITS_DW_Q): Likewise.
25258 (_FP_WFRACXBITS_DW_Q): Likewise.
25259 (_FP_HIGHBIT_DW_Q): Likewise.
25260 (FP_FMA_Q): Likewise.
25261 (_FP_FRAC_HIGH_DW_Q): Likewise.
25262 * soft-fp/fmasf4.c: New file.
25263 * soft-fp/fmadf4.c: Likewise.
25264 * soft-fp/fmatf4.c: Likewise.
25265
6308fd9a
LD
252662013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25267
25268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25269 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25270 Silvermont.
25271 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25272 macro.
25273 (index_Slow_SSE4_2): Likewise.
25274 (index_Prefer_PMINUB_for_stringop): Likewise.
25275 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25276 bit_Slow_SSE4_2 is set.
25277 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25278 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25279
89cd9569
RA
252802013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25281
25282 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25283 rtld_global._dl_hwcap2.
25284 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25285 POWER8.
25286 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25287 POWER8 feature descriptions defined in _dl_hwcap2.
25288 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25289 string handling for POWER8 feature bits.
25290 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25291 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25292 _dl_powerpc_cap_flags.
25293 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25294 * sysdeps/powerpc/rtld-global-offsets.sym
25295 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25296 _dl_hwcap2 in the rtld_global_ro structure.
25297
1ae8bfe0
RA
252982013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25299
25300 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25301 hardware capabilities in support of AT_HWCAP2.
25302 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25303 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25304 GLRO(dl_hwcap2).
25305 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25306 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25307 explicitly the unknown a_type display mechanism is used.
25308 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25309 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25310 struct member.
25311 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25312 to macro prototype for AT_HWCAP2 support.
25313 * sysdeps/i386/dl-procinfo.h: Likewise.
25314 * sysdeps/s390/dl-procinfo.h: Likewise.
25315 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25316 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25317 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25318 return -1 for unknown a_type display fallback.
25319 * sysdeps/sparc/dl-procinfo.h: Likewise.
25320 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25321 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25322
8fbec010
JM
253232013-06-28 Joseph Myers <joseph@codesourcery.com>
25324
25325 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25326 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25327
0432680e
PY
253282013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25329
25330 [BZ #12492]
25331 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25332 mprotect making __stack_prot writable.
25333
ce61a2ad
NF
253342013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25335 Joseph Myers <joseph@codesourcery.com>
25336
25337 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25338 as being properly aligned.
25339
f91f1c0f
MR
253402013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25341
3d0f5d0c
MR
25342 * dlfcn/modstatic5.c: New file.
25343 * dlfcn/tststatic5.c: New file.
25344 * dlfcn/Makefile (tests): Add tststatic5.
25345 (tests-static): Likewise.
25346 (modules-names): Add modstatic5.
25347 (tststatic5-ENV): New variable.
25348 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25349
f91f1c0f
MR
25350 [BZ #15022]
25351 * elf/dl-support.c (_dl_main_map): New variable.
25352 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25353 (_dl_nns, _dl_load_adds): Set to 1.
25354 (_dl_initial_searchlist): Refer to _dl_main_map.
25355 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25356 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25357 call to _dl_get_origin.
25358 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25359 around call_map.
25360 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25361 * dlfcn/modstatic3.c: New file.
25362 * dlfcn/tststatic3.c: New file.
25363 * dlfcn/tststatic4.c: New file.
25364 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25365 (tests-static): Likewise.
25366 (modules-names): Add modstatic3.
25367 (tststatic3-ENV, tststatic4-ENV): New variables.
25368 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25369 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25370
cbe7d24b
JM
253712013-06-26 Joseph Myers <joseph@codesourcery.com>
25372
25373 * configure.in (CC): Require GCC version 4.4 or later.
25374 * configure: Regenerated.
25375 * manual/install.texi (Tools for Compilation): Update GCC version
25376 requirement.
25377 * INSTALL: Regenerated.
25378
11b8a0e1
LD
253792013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25380
25381 [BZ #15674]
bb5bb87c
L
25382 * string/test-memcmp.c (check2): New.
25383 (main): Call check2.
25384
11b8a0e1
LD
25385 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25386
b0037103
MR
253872013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25388
25389 [BZ #15022]
25390 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25391 over to...
25392 (dl_open_worker) [!SHARED]: ... here.
25393
c18c701d
RA
253942013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25395
25396 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25397
1d17fa5f
RH
253982013-06-25 Richard Henderson <rth@redhat.com>
25399
25400 * locale/programs/locarchive.c: Include <libc-internal.h>
25401
8fcb833a
JM
254022013-06-25 Joseph Myers <joseph@codesourcery.com>
25403
25404 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25405 trailing whitespace removed.
25406
17db6e8d
MF
254072013-06-24 Mike Frysinger <vapier@gentoo.org>
25408
25409 [BZ #10283]
17db6e8d
MF
25410 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25411 * locale/programs/locarchive.c: Include libc-mmap.h.
25412 (prepare_address_space): Take two new outputs (the mmap base and len).
25413 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25414 values.
25415 (create_archive): Declare new mmap base and len values for
25416 prepare_address_space, and store the result in ah.
25417 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25418 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25419 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25420 Declare new mmap base and len values for
25421 prepare_address_space, and store the result in new_ah.
25422 (open_archive): Declare new mmap base and len values for
25423 prepare_address_space, and store the result in ah.
25424 (close_archive): If ah->mmap_base is not NULL, use that and
25425 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25426 * sysdeps/generic/libc-mmap.h: New file.
25427
d605071e
MF
254282013-06-24 Mike Frysinger <vapier@gentoo.org>
25429
25430 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25431 (ALIGN_UP): Likewise.
25432 (PTR_ALIGN_DOWN): Likewise.
25433 (PTR_ALIGN_UP): Likewise.
25434
2f063a6e
RA
254352013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25436
25437 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25438 entry mapped to PPC_PLATFORM_POWER8.
25439 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25440 POWER8.
25441 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25442 (_dl_string_platform): Add case for exporting platform position for
25443 POWER8.
25444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25445 search path to sysdeps/powerpc/powerpc32/power8 directory.
25446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25447 search path to sysdeps/powerpc/powerpc64/power8 directory.
25448 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25449 power7 directories.
25450 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25451 power7 directories.
25452
a31ee4b3
SP
254532013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25454
a74ca98f
SP
25455 * INSTALL: Regenerate.
25456
a31ee4b3
SP
25457 * nscd/connections.c (nscd_init): Fix comment.
25458
695c378f
JM
254592013-06-22 Joseph Myers <joseph@codesourcery.com>
25460
d8412221
JM
25461 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25462
695c378f
JM
25463 [BZ #15667]
25464 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25465 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25466
d1d54715
MR
254672013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25468
25469 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25470 DL_DST_REQ_STATIC.
25471 (DL_DST_REQ_STATIC): Remove macro.
25472
8fdda7af
JM
254732013-06-21 Joseph Myers <joseph@codesourcery.com>
25474
25475 [BZ #7006]
25476 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25477 with a shift of 0 bits.
25478
f3bc5e5a
MR
254792013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25480
25481 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25482 $(tststatic-ENV).
25483
be09e8c9
KK
254842013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25485
25486 [BZ #15655]
25487 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25488
85c2e611
AZ
254892013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25490
25491 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25492 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25493 accepts -fno-tree-loop-distribute-patterns.
25494 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25495 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25496 recursive call.
25497 * string/memset.c (memset): Likewise.
25498 * string/test-memmove.c (simple_memmove): Disable loop transformation
25499 to library calls.
25500 * string/test-memset.c (simple_memset): Likewise.
25501 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25502 * benchtests/bench-memset.c (simple_memset): Likewise.
25503 * configure: Regenerated.
25504
c91e0825
JM
255052013-06-20 Joseph Myers <joseph@codesourcery.com>
25506
b8c792af
JM
25507 * math/test-misc.c (main): Ignore fesetround failure when failures
25508 of subsequent rounding tests would be ignored.
25509
c91e0825
JM
25510 [BZ #15654]
25511 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25512 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25513 * math/fegetenv.c (__fegetenv): Return 0.
25514 * math/fegetexcept.c (fegetexcept): Return 0.
25515 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25516 FE_TONEAREST.
25517 * math/feholdexcpt.c (feholdexcept): Return 0.
25518 * math/fesetenv.c (__fesetenv): Return 0.
25519 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25520 argument FE_TONEAREST.
25521 * math/feupdateenv.c (__feupdateenv): Return 0.
25522 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25523
bfcacbde
RM
255242013-06-18 Roland McGrath <roland@hack.frob.com>
25525
25526 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25527 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25528 ($(objpfx)rtld-%.os rules): Use them.
25529
e55a9b25
AZ
255302013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25531
25532 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25533 fields.
25534
346d65b3
RM
255352013-06-17 Roland McGrath <roland@hack.frob.com>
25536
12086fb4
RM
25537 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25538 length of target pattern, then descending length of dependency pattern.
25539 * configure.in (AWK): Require gawk 3.1.2 or newer.
25540 * manual/install.texi (Tools for Compilation): Say that we do.
25541 * configure: Regenerated.
25542
346d65b3
RM
25543 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25544 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25545 * scripts/sysd-rules.awk: ... this new script.
25546 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25547 than a glob-style pattern.
25548
1a846317
JM
255492013-06-17 Joseph Myers <joseph@codesourcery.com>
25550
25551 * math/test-misc.c (main): Do not treat incorrectly rounded
25552 conversions as failure unless ROUNDING_TESTS passes.
25553
8fc75e6f
JM
255542013-06-15 Joseph Myers <joseph@codesourcery.com>
25555
3711a167
JM
25556 [BZ #15631]
25557 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25558 restore exception state around main square root computation, then
25559 check for inexactness explicitly.
25560
8fc75e6f
JM
25561 * math/libm-test.inc (fma_test_data): Add another test.
25562
61dd6208
SP
255632013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25564
adf23d2c
SP
25565 * manual/threads.texi (Non-POSIX Extensions): New document
25566 node. Document pthread_getattr_default_np and
25567 pthread_setattr_default_np.
25568
61dd6208
SP
25569 * Versions.def (libpthread): Add GLIBC_2.18.
25570 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25572 Likewise.
25573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25574 Likewise.
25575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25576 Likewise.
25577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25578 Likewise.
25579 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25580 Likewise.
25581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25582 Likewise.
25583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25584 Likewise.
25585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25586 Likewise.
25587 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25588 Likewise.
25589
d086fc7b
LD
255902013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25591
25592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25593 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25594
747ef469
SP
255952013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25596 H.J. Lu <hjl.tools@gmail.com>
25597
25598 [BZ #15627]
25599 * sysdeps/x86_64/rtld-memset.c: Remove file.
25600 * sysdeps/x86_64/rtld-memset.S: New file.
25601
1b2feed2
JM
256022013-06-14 Joseph Myers <joseph@codesourcery.com>
25603
25604 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25605 (test_in_one_mode): Take arguments for whether the rounding mode
25606 is supported for each floating-point type.
25607 (do_test): Pass new arguments to test_in_one_mode using
25608 ROUNDING_TESTS.
25609
a58ad3f8
RM
256102013-06-13 Roland McGrath <roland@hack.frob.com>
25611
25612 * posix/tst-waitid.c (do_test): Distinguish different instances of
25613 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25614 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25615 before entering the kernel for waitpid.
25616
c204ab28
SP
256172013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25618
25619 * NEWS: Fix note on clock function precision. Text by Roland
25620 McGrath.
25621
f4a29fba
RM
256222013-06-13 Roland McGrath <roland@hack.frob.com>
25623
25624 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25625 it into place only when and if the sanity check passes.
25626
1f24b9ad
JM
256272013-06-13 Joseph Myers <joseph@codesourcery.com>
25628
25629 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25630 output for whether conversion result is exact. Take argument
25631 indicating whether type is IBM long double.
25632 (round_for_all): Change need_exact field to ibm_ld.
25633 * stdlib/tst-strtod-round.c (struct exactness): New type.
25634 (struct test): Change bool ld_ok field to struct exactness exact.
25635 (TEST): Update all definitions for change to field.
25636 (tests): Regenerate array contents.
25637 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25638 field value. Check for IBM long double here.
25639 (do_test): Update calls to test_in_one_mode.
25640
58206c68
SP
256412013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25642
25643 [BZ #12515]
25644 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25645 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25646
2d6f4c5b 256472013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25648
25649 [BZ #15605]
25650 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25651 generated by the compiler on loop optimizations.
25652 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25653 general definitions.
25654
94f2c076
JM
256552013-06-12 Joseph Myers <joseph@codesourcery.com>
25656
25657 * math/bug-nextafter.c: Include <math-tests.h>.
25658 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25659 the relevant type.
25660 * math/bug-nexttoward.c: Include <math-tests.h>.
25661 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25662 the relevant type.
25663 * math/test-misc.c: Include <math-tests.h>.
25664 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25665 the relevant type.
25666
e0e50a0a
AJ
256672013-06-12 Andreas Jaeger <aj@suse.de>
25668
25669 * po/ia.po: Update Interlingua translation from translation
25670 project.
25671
25061094
SP
256722013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25673
25674 * include/fenv.h: Include stdbool.h.
25675 (struct rm_ctx): New structure.
25676 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25677 Define macro.
25678 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25679 (SET_RESTORE_ROUNDF): Likewise.
25680 (SET_RESTORE_ROUNDL): Likewise.
25681 (SET_RESTORE_ROUND_NOEX): Likewise.
25682 (SET_RESTORE_ROUND_NOEXF): Likewise.
25683 (SET_RESTORE_ROUND_NOEXL): Likewise.
25684 (SET_RESTORE_ROUND_53BIT): Likewise.
25685 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25686 (libc_feresetround_noexf_ctx): Likewise.
25687 (libc_feresetround_noexl_ctx): Likewise.
25688 (libc_feholdsetround_53bit_ctx): Likewise.
25689 (libc_feresetround_53bit_ctx): Likewise.
25690 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25691 (libc_feholdexcept_setround_sse_ctx): New function.
25692 (libc_fesetenv_sse_ctx): Likewise.
25693 (libc_feupdateenv_sse_ctx): Likewise.
25694 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25695 (libc_feholdexcept_setround_387_ctx): Likewise.
25696 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25697 (libc_feholdsetround_387_prec_ctx): Likewise.
25698 (libc_feholdsetround_387_ctx): Likewise.
25699 (libc_feholdsetround_387_53bit_ctx): Likewise.
25700 (libc_feholdsetround_sse_ctx): Likewise.
25701 (libc_feresetround_sse_ctx): Likewise.
25702 (libc_feresetround_387_ctx): Likewise.
25703 (libc_feupdateenv_387_ctx): Likewise.
25704 (libc_feholdexcept_setroundf_ctx): Define macro.
25705 (libc_fesetenvf_ctx): Likewise.
25706 (libc_feupdateenvf_ctx): Likewise.
25707 (libc_feholdsetroundf_ctx): Likewise.
25708 (libc_feresetroundf_ctx): Likewise.
25709 (libc_feholdexcept_setround_ctx): Likewise.
25710 (libc_fesetenv_ctx): Likewise.
25711 (libc_feupdateenv_ctx): Likewise.
25712 (libc_feholdsetround_ctx): Likewise.
25713 (libc_feresetround_ctx): Likewise.
25714 (libc_feholdexcept_setroundl_ctx): Likewise.
25715 (libc_feupdateenvl_ctx): Likewise.
25716 (libc_feholdsetroundl_ctx): Likewise.
25717 (libc_feresetroundl_ctx): Likewise.
25718 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25719 (libc_feresetround_53bit_ctx): Likewise.
25720
59b30555
SP
257212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25722
25723 * locale/iso-639.def: Convert to UTF-8.
25724
f1d73d30
JM
257252013-06-11 Joseph Myers <joseph@codesourcery.com>
25726
25727 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25728 (EXCEPTION_TESTS_double): Likewise.
25729 (EXCEPTION_TESTS_long_double): Likewise.
25730 (EXCEPTION_TESTS): Likewise.
25731 * math/libm-test.inc (test_exceptions): Only test exceptions if
25732 EXCEPTION_TESTS (FLOAT).
25733
94aca5e7
SP
257342013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25735
25736 * benchtests/Makefile (string-bench): Add strcpy_chk and
25737 stpcpy_chk.
25738 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25739 * benchtests/bench-stpcpy_chk.c: New file.
25740 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25741 * benchtests/bench-strcpy_chk.c: New file.
25742 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25743 code.
25744 (do_test): Likewise.
25745
fac0c5f2
RA
257462013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25747
25748 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25749 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25750 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25751 with tabs where appropriate.
25752 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25753 dl-procinfo.h.
25754 [PPC_PLATFORM_PPC440]: Likewise.
25755 [PPC_PLATFORM_PPC464]: Likewise.
25756 [PPC_PLATFORM_PPC476]: Likewise.
25757 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25758 ppc464, and ppc476 platform strings merging from ports/
25759 dl-procinfo.h.
25760
f22bc486
AS
257612013-06-11 Andreas Schwab <schwab@suse.de>
25762
25763 [BZ #14991]
25764 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25765 (from_ucs4_idx): Regenerate.
25766 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25767 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25768 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25769 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25770 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25771 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25772 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25773 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25774 from FROM_LOOP and TO_LOOP specific macros.
25775 (BODY): Handle combining characters.
25776 * iconvdata/BIG5HKSCS.irreversible: Update.
25777 * iconvdata/BIG5HKSCS.precomposed: New file.
25778 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25779 characters.
25780 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25781
c1f75dc3
SP
257822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25783
4eacded2
SP
25784 * include/sys/time.h: Fix indentation and add copyright header.
25785
fec799f8
SP
25786 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25787 (do_test): Likewise.
25788 * string/test-memchr.c (do_one_test): Likewise.
25789 (do_test): Likewise.
25790 * string/test-memcmp.c (do_one_test): Likewise.
25791 (do_test): Likewise.
25792 * string/test-memcpy.c (do_one_test): Likewise.
25793 (do_test): Likewise.
25794 * string/test-memmem.c (do_one_test): Likewise.
25795 (do_test): Likewise.
25796 (do_random_tests): Likewise.
25797 * string/test-memmove.c (do_one_test): Likewise.
25798 (do_test): Likewise.
25799 * string/test-memset.c (do_one_test): Likewise.
25800 (do_test): Likewise.
25801 * string/test-rawmemchr.c (do_one_test): Likewise.
25802 (do_test): Likewise.
25803 * string/test-strcasecmp.c (do_one_test): Likewise.
25804 (do_test): Likewise.
25805 * string/test-strcasestr.c (do_one_test): Likewise.
25806 (do_test): Likewise.
25807 * string/test-strcat.c (do_one_test): Likewise.
25808 (do_test): Likewise.
25809 * string/test-strchr.c (do_one_test): Likewise.
25810 (do_test): Likewise.
25811 * string/test-strcmp.c (do_one_test): Likewise.
25812 (do_test): Likewise.
25813 * string/test-strcpy.c (do_one_test): Likewise.
25814 (do_test): Likewise.
25815 * string/test-string.h: Likewise.
25816 (test_init): Likewise.
25817 * string/test-strlen.c (do_one_test): Likewise.
25818 (do_test): Likewise.
25819 * string/test-strncasecmp.c (do_one_test): Likewise.
25820 (do_test): Likewise.
25821 * string/test-strncat.c (do_one_test): Likewise.
25822 (do_test): Likewise.
25823 * string/test-strncmp.c (do_one_test): Likewise.
25824 (do_test_limit): Likewise.
25825 (do_test): Likewise.
25826 * string/test-strncpy.c (do_one_test): Likewise.
25827 (do_test): Likewise.
25828 * string/test-strnlen.c (do_one_test): Likewise.
25829 (do_test): Likewise.
25830 * string/test-strpbrk.c (do_one_test): Likewise.
25831 (do_test): Likewise.
25832 * string/test-strrchr.c (do_one_test): Likewise.
25833 (do_test): Likewise.
25834 * string/test-strspn.c (do_one_test): Likewise.
25835 (do_test): Likewise.
25836 * string/test-strstr.c (do_one_test): Likewise.
25837 (do_test): Likewise.
25838
97020474
SP
25839 * benchtests/Makefile (string-bench): Add string benchmarks.
25840 * benchtests/bench-bcopy-ifunc.c: New file.
25841 * benchtests/bench-bcopy.c: New file.
25842 * benchtests/bench-bzero-ifunc.c: New file.
25843 * benchtests/bench-bzero.c: New file.
25844 * benchtests/bench-memccpy-ifunc.c: New file.
25845 * benchtests/bench-memccpy.c: New file.
25846 * benchtests/bench-memchr-ifunc.c: New file.
25847 * benchtests/bench-memchr.c: New file.
25848 * benchtests/bench-memcmp-ifunc.c: New file.
25849 * benchtests/bench-memcmp.c: New file.
25850 * benchtests/bench-memmem-ifunc.c: New file.
25851 * benchtests/bench-memmem.c: New file.
25852 * benchtests/bench-memmove-ifunc.c: New file.
25853 * benchtests/bench-memmove.c: New file.
25854 * benchtests/bench-mempcpy-ifunc.c: New file.
25855 * benchtests/bench-mempcpy.c: New file.
25856 * benchtests/bench-memset-ifunc.c: New file.
25857 * benchtests/bench-memset.c: New file.
25858 * benchtests/bench-rawmemchr-ifunc.c: New file.
25859 * benchtests/bench-rawmemchr.c: New file.
25860 * benchtests/bench-stpcpy-ifunc.c: New file.
25861 * benchtests/bench-stpcpy.c: New file.
25862 * benchtests/bench-stpncpy-ifunc.c: New file.
25863 * benchtests/bench-stpncpy.c: New file.
25864 * benchtests/bench-strcasecmp-ifunc.c: New file.
25865 * benchtests/bench-strcasecmp.c: New file.
25866 * benchtests/bench-strcasestr-ifunc.c: New file.
25867 * benchtests/bench-strcasestr.c: New file.
25868 * benchtests/bench-strcat-ifunc.c: New file.
25869 * benchtests/bench-strcat.c: New file.
25870 * benchtests/bench-strchr-ifunc.c: New file.
25871 * benchtests/bench-strchr.c: New file.
25872 * benchtests/bench-strchrnul-ifunc.c: New file.
25873 * benchtests/bench-strchrnul.c: New file.
25874 * benchtests/bench-strcmp-ifunc.c: New file.
25875 * benchtests/bench-strcmp.c: New file.
25876 * benchtests/bench-strcpy-ifunc.c: New file.
25877 * benchtests/bench-strcpy.c: New file.
25878 * benchtests/bench-strcspn-ifunc.c: New file.
25879 * benchtests/bench-strcspn.c: New file.
25880 * benchtests/bench-strlen-ifunc.c: New file.
25881 * benchtests/bench-strlen.c: New file.
25882 * benchtests/bench-strncasecmp-ifunc.c: New file.
25883 * benchtests/bench-strncasecmp.c: New file.
25884 * benchtests/bench-strncat-ifunc.c: New file.
25885 * benchtests/bench-strncat.c: New file.
25886 * benchtests/bench-strncmp-ifunc.c: New file.
25887 * benchtests/bench-strncmp.c: New file.
25888 * benchtests/bench-strncpy-ifunc.c: New file.
25889 * benchtests/bench-strncpy.c: New file.
25890 * benchtests/bench-strnlen-ifunc.c: New file.
25891 * benchtests/bench-strnlen.c: New file.
25892 * benchtests/bench-strpbrk-ifunc.c: New file.
25893 * benchtests/bench-strpbrk.c: New file.
25894 * benchtests/bench-strrchr-ifunc.c: New file.
25895 * benchtests/bench-strrchr.c: New file.
25896 * benchtests/bench-strspn-ifunc.c: New file.
25897 * benchtests/bench-strspn.c: New file.
25898 * benchtests/bench-strstr-ifunc.c: New file.
25899 * benchtests/bench-strstr.c: New file.
25900
c1f75dc3
SP
25901 * benchtests/Makefile: Disable parallel execution of targets.
25902 (string-bench): Add memcpy.
25903 (benchset): New variable to store a list of benchmark sets.
25904 (bench-func): Renamed from bench.
25905 (bench-set): New target.
25906 (bench): Depend on bench-func and bench-set.
25907 * benchtests/README: Add section on benchmark sets.
25908 * benchtests/bench-memcpy-ifunc.c: New file.
25909 * benchtests/bench-memcpy.c: New file.
25910 * benchtests/bench-string.h: New file.
25911
50fd745b
AS
259122013-06-11 Andreas Schwab <schwab@suse.de>
25913
25914 [BZ #15577]
25915 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25916 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25917 values in the triple.
25918 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25919 terminator in the group key.
25920
3ee7e9fe
AJ
259212013-06-11 Andreas Jaeger <aj@suse.de>
25922
25923 * po/zh_TW.po: Update Chinese (traditional) translation from
25924 translation project.
25925
89fb6835
SP
259262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25927
25928 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25929 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25930 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25931 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25932 (clock_getcpuclockid): Likewise.
25933 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25934 Add weak_alias and libc_hidden_def.
25935 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25936 * rt/clock_gettime.c (clock_gettime): Rename to
25937 __clock_gettime. Add weak_alias and libc_hidden_def.
25938 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25939 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25940 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25941 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25942 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25943 Likewise.
25944 * rt/clock_settime.c (clock_settime): Rename to
25945 __clock_settime. Add weak_alias and libc_hidden_def.
25946 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25947
0efa6f8b
JM
259482013-06-10 Joseph Myers <joseph@codesourcery.com>
25949
b8c61b4b
JM
25950 * mach/err_boot.sub: Remove trailing whitespace.
25951 * mach/err_ipc.sub: Likewise.
25952 * mach/err_mach.sub: Likewise.
25953
0efa6f8b
JM
25954 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25955 (ROUNDING_TESTS_double): Likewise.
25956 (ROUNDING_TESTS_long_double): Likewise.
25957 (ROUNDING_TESTS): Likewise.
25958 * math/libm-test.inc: Include <math-tests.h>.
25959 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25960 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25961 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25962 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25963
50b818bf
SP
259642013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25965
25966 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25967 of assigning.
25968
60d2f8f3
JM
259692013-06-08 Joseph Myers <joseph@codesourcery.com>
25970
4902d2c3
JM
25971 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25972 otherwise empty TRANS lines.
25973 * sysdeps/gnu/errlist.c: Regenerated.
25974
60d2f8f3
JM
25975 * catgets/gencat.c (error_print): Use (void) in function
25976 definition.
25977 * crypt/crypt_util.c (__init_des): Likewise.
25978 * crypt/speeds.c (Stop): Likewise.
25979 (main): Likewise.
25980 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25981 * inet/ruserpass.c (token): Likewise.
25982 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25983 * intl/localealias.c (extend_alias_table): Likewise.
25984 * intl/plural-exp.c (init_germanic_plural): Likewise.
25985 * libio/fcloseall.c (__fcloseall): Likewise.
25986 * libio/genops.c (_IO_flush_all): Likewise.
25987 (_IO_flush_all_linebuffered): Likewise.
25988 (_IO_cleanup): Likewise.
25989 (_IO_iter_begin): Likewise.
25990 (_IO_iter_end): Likewise.
25991 (_IO_list_lock): Likewise.
25992 (_IO_list_unlock): Likewise.
25993 (_IO_list_resetlock): Likewise.
25994 * libio/getchar.c (getchar): Likewise.
25995 * libio/getchar_u.c (getchar_unlocked): Likewise.
25996 * libio/getwchar.c (getwchar): Likewise.
25997 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25998 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25999 * login/getpt.c (__getpt): Likewise.
26000 * login/tst-utmp.c (main): Likewise.
26001 * malloc/hooks.c (__malloc_check_init): Likewise.
26002 * malloc/malloc.c (__malloc_stats): Likewise.
26003 * malloc/mtrace.c (tr_break): Likewise.
26004 (mtrace): Likewise.
26005 (muntrace): Likewise.
26006 * misc/fstab.c (endfsent): Likewise.
26007 * misc/getclktck.c (__getclktck): Likewise.
26008 * misc/getdtsz.c (__getdtablesize): Likewise.
26009 * misc/gethostid.c (gethostid): Likewise.
26010 * misc/getpagesize.c (__getpagesize): Likewise.
26011 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26012 (__get_nprocs): Likewise.
26013 (__get_phys_pages): Likewise.
26014 (__get_avphys_pages): Likewise.
26015 * misc/getttyent.c (getttyent): Likewise.
26016 (setttyent): Likewise.
26017 (endttyent): Likewise.
26018 * misc/getusershell.c (getusershell): Likewise.
26019 (endusershell): Likewise.
26020 (setusershell): Likewise.
26021 (initshells): Likewise.
26022 * misc/hsearch.c (__hdestroy): Likewise.
26023 * misc/sync.c (sync): Likewise.
26024 * misc/syslog.c (closelog_internal): Likewise.
26025 (closelog): Likewise.
26026 * misc/ttyslot.c (ttyslot): Likewise.
26027 * misc/vhangup.c (vhangup): Likewise.
26028 * posix/fork.c (__fork): Likewise.
26029 * posix/getegid.c (__getegid): Likewise.
26030 * posix/geteuid.c (__geteuid): Likewise.
26031 * posix/getgid.c (__getgid): Likewise.
26032 * posix/getpid.c (__getpid): Likewise.
26033 * posix/getppid.c (__getppid): Likewise.
26034 * posix/getuid.c (__getuid): Likewise.
26035 * posix/pause.c (pause): Likewise.
26036 * posix/setpgrp.c (setpgrp): Likewise.
26037 * posix/setsid.c (__setsid): Likewise.
26038 * posix/test-vfork.c (noop): Likewise.
26039 * resolv/gethnamaddr.c (_endhtent): Likewise.
26040 (_gethtent): Likewise.
26041 (ht_endhostent): Likewise.
26042 (gethostent): Likewise.
26043 (dns_service): Likewise.
26044 * stdlib/drand48.c (drand48): Likewise.
26045 * stdlib/lrand48.c (lrand48): Likewise.
26046 * stdlib/mrand48.c (mrand48): Likewise.
26047 * stdlib/rand.c (rand): Likewise.
26048 * stdlib/random.c (__random): Likewise.
26049 * stdlib/setenv.c (clearenv): Likewise.
26050 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26051 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26052 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26053 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26054 (__get_nprocs): Likewise.
26055 (__get_phys_pages): Likewise.
26056 (__get_avphys_pages): Likewise.
26057 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26058 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26059 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26060 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26061 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26062 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26063 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26064 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26065 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26066 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26067 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26068 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26069 * sysdeps/posix/clock.c (clock): Likewise.
26070 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26071 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26072 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26073 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26074 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26075 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26076 (__get_nprocs_conf): Likewise.
26077 (__get_phys_pages): Likewise.
26078 (__get_avphys_pages): Likewise.
26079 * time/clock.c (clock): Likewise.
26080 * time/tzset.c (__tzname_max): Likewise.
26081
2e09a79a
JM
260822013-06-07 Joseph Myers <joseph@codesourcery.com>
26083
26084 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26085 (__bswap_32): Do not use "register".
26086 * crypt/crypt.c (_ufc_doit_r): Likewise.
26087 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26088 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26089 * gmon/gmon.c (__monstartup): Likewise.
26090 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26091 * hurd/hurdmalloc.c (more_memory): Likewise.
26092 (malloc): Likewise.
26093 (free): Likewise.
26094 (realloc): Likewise.
26095 (malloc_fork_prepare): Likewise.
26096 (malloc_fork_parent): Likewise.
26097 (malloc_fork_child): Likewise.
26098 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26099 (_svcauth_des): Likewise.
26100 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26101 * inet/inet_net.c (inet_network): Likewise.
26102 * inet/inet_netof.c (inet_netof): Likewise.
26103 * inet/rcmd.c (__validuser2_sa): Likewise.
26104 * io/fts.c (fts_open): Likewise.
26105 (fts_load): Likewise.
26106 (fts_close): Likewise.
26107 (fts_read): Likewise.
26108 (fts_children): Likewise.
26109 (fts_build): Likewise.
26110 (fts_stat): Likewise.
26111 (fts_sort): Likewise.
26112 (fts_alloc): Likewise.
26113 (fts_lfree): Likewise.
26114 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26115 (_IO_file_xsgetn): Likewise.
26116 (_IO_file_xsgetn_mmap): Likewise.
26117 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26118 (_IO_cookie_write): Likewise.
26119 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26120 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26121 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26122 * malloc/obstack.c (_obstack_begin): Likewise.
26123 (_obstack_begin_1): Likewise.
26124 (_obstack_newchunk): Likewise.
26125 (_obstack_allocated_p): Likewise.
26126 (obstack_free): Likewise.
26127 (_obstack_memory_used): Likewise.
26128 * misc/getttyent.c (getttynam): Likewise.
26129 (getttyent): Likewise.
26130 (skip): Likewise.
26131 (value): Likewise.
26132 * misc/getusershell.c (initshells): Likewise.
26133 * misc/syslog.c (__vsyslog_chk): Likewise.
26134 * misc/ttyslot.c (ttyslot): Likewise.
26135 * nis/nis_hash.c (__nis_hash): Likewise.
26136 * posix/fnmatch_loop.c (FCT): Likewise.
26137 * posix/getconf.c (print_all): Likewise.
26138 (main): Likewise.
26139 * posix/getopt.c (exchange): Likewise.
26140 * posix/glob.c (globfree): Likewise.
26141 (prefix_array): Likewise.
26142 (__glob_pattern_type): Likewise.
26143 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26144 (NS_GET32): Likewise.
26145 (NS_PUT16): Likewise.
26146 (NS_PUT32): Likewise.
26147 * resolv/gethnamaddr.c (getanswer): Likewise.
26148 (gethostbyname2): Likewise.
26149 (gethostbyaddr): Likewise.
26150 (_gethtent): Likewise.
26151 (_gethtbyname2): Likewise.
26152 (_gethtbyaddr): Likewise.
26153 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26154 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26155 * resolv/res_init.c (__res_vinit): Likewise.
26156 (net_mask): Likewise.
26157 * resolv/res_mkquery.c (outchar): Likewise.
26158 (PRINT): Likewise.
26159 * stdio-common/printf_fp.c (outchar): Likewise.
26160 (PRINT): Likewise.
26161 * stdio-common/printf_fphex.c (outchar): Likewise.
26162 (PRINT): Likewise.
26163 * stdio-common/printf_size.c (outchar): Likewise.
26164 (PRINT): Likewise.
26165 * stdio-common/test_rdwr.c (main): Likewise.
26166 * stdio-common/tfformat.c (matches): Likewise.
26167 * stdio-common/vfprintf.c (outchar): Likewise.
26168 (printf_unknown): Likewise.
26169 (buffered_vfprintf): Likewise.
26170 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26171 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26172 (ReadFile): Likewise.
26173 * stdlib/qsort.c (SWAP): Likewise.
26174 (_quicksort): Likewise.
26175 * stdlib/setenv.c (__add_to_environ): Likewise.
26176 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26177 * stdlib/strtol_l.c (__strtol_l): Likewise.
26178 * stdlib/tst-strtod.c (main): Likewise.
26179 * stdlib/tst-strtol.c (main): Likewise.
26180 * stdlib/tst-strtoll.c (main): Likewise.
26181 * string/bits/string2.h (__strcmp_cc): Likewise.
26182 (__strcmp_cg): Likewise.
26183 (__strcspn_c1): Likewise.
26184 (__strcspn_c2): Likewise.
26185 (__strcspn_c3): Likewise.
26186 (__strspn_c1): Likewise.
26187 (__strspn_c2): Likewise.
26188 (__strspn_c3): Likewise.
26189 (__strsep_1c): Likewise.
26190 (__strsep_2c): Likewise.
26191 (__strsep_3c): Likewise.
26192 * string/memccpy.c (__memccpy): Likewise.
26193 * string/stpcpy.c (__stpcpy): Likewise.
26194 * string/strcmp.c (strcmp): Likewise.
26195 * string/strrchr.c (strrchr): Likewise.
26196 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26197 Likewise.
26198 * sysdeps/mach/hurd/getcwd.c
26199 (_hurd_canonicalize_directory_name_internal): Likewise.
26200 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26201 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26202 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26203 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26204 Likewise, in both definitions.
26205 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26206 definitions.
26207 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26208 64] (__bswap_64): Likewise.
26209 * time/test_time.c (main): Likewise.
26210 * time/tzfile.c (__tzfile_read): Likewise.
26211 (__tzfile_compute): Likewise.
26212 * time/tzset.c (__tzset_parse_tz): Likewise.
26213 (tzset_internal): Likewise.
26214 (compute_change): Likewise.
26215 * wcsmbs/wcscat.c (__wcscat): Likewise.
26216 * wcsmbs/wcschr.c (wcschr): Likewise.
26217 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26218 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26219 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26220 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26221 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26222 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26223 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26224 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26225 * wcsmbs/wmemset.c (wmemset): Likewise.
26226
9e54314b
JM
262272013-06-06 Joseph Myers <joseph@codesourcery.com>
26228
26229 * scripts/config.guess: Update to version 2013-05-16.
26230 * scripts/config.sub: Update to version 2013-04-24.
26231 * scripts/install-sh: Update to version 2011-11-20.07.
26232 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26233 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26234
350635a5
OB
262352013-06-06 Ondřej Bílka <neleai@seznam.cz>
26236
26237 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26238 * elf/sln.c: Likewise.
26239 * hurd/hurd/ioctl.h: Likewise.
26240 * hurd/hurdmalloc.c: Likewise.
26241 * hurd/xattr.c: Likewise.
26242 * include/shlib-compat.h: Likewise.
26243 * inet/ruserpass.c: Likewise.
26244 * libio/iofgets_u.c: Likewise.
26245 * libio/iofgetws_u.c: Likewise.
26246 * locale/programs/ld-identification.c: Likewise.
26247 * locale/programs/ld-time.c: Likewise.
26248 * mach/msg-destroy.c: Likewise.
26249 * nss/nss_files/files-netgrp.c: Likewise.
26250 * resolv/res_data.c: Likewise.
26251 * soft-fp/op-1.h: Likewise.
26252 * soft-fp/op-2.h: Likewise.
26253 * soft-fp/op-4.h: Likewise.
26254 * soft-fp/op-common.h: Likewise.
26255 * stdio-common/printf_fphex.c: Likewise.
26256 * stdlib/strtod_l.c: Likewise.
26257 * sunrpc/rpc/clnt.h: Likewise.
26258 * sysdeps/generic/framestate.c: Likewise.
26259 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26260 * sysdeps/i386/bsd-setjmp.S: Likewise.
26261 * sysdeps/i386/__longjmp.S: Likewise.
26262 * sysdeps/i386/setjmp.S: Likewise.
26263 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26281 * sysdeps/ieee754/support.c: Likewise.
26282 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26283 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26284 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26285 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26286 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26287 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26288 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26289 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26290 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26291 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26292 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26293 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26294 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26295 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26296 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26297 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26298 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26300
44a988af
OB
263012013-06-05 Ondřej Bílka <neleai@seznam.cz>
26302
25506f09 26303 * posix/transbug.c: Remove executable mode.
44a988af 26304
9c84384c
JM
263052013-06-05 Joseph Myers <joseph@codesourcery.com>
26306
26307 * crypt/speeds.c: Remove trailing whitespace.
26308 * dlfcn/default.c: Likewise.
26309 * elf/ifuncdep2.c: Likewise.
26310 * elf/ifuncmain1.c: Likewise.
26311 * elf/ifuncmain1vis.c: Likewise.
26312 * elf/testobj.h: Likewise.
26313 * elf/tst-stackguard1.c: Likewise.
26314 * gmon/sys/gmon.h: Likewise.
26315 * hurd/hurdmsg.c: Likewise.
26316 * hurd/new-fd.c: Likewise.
26317 * hurd/ports-get.c: Likewise.
26318 * iconvdata/ibm1008_420.c: Likewise.
26319 * inet/tst-getni1.c: Likewise.
26320 * inet/tst-getni2.c: Likewise.
26321 * libio/ioungetc.c: Likewise.
26322 * libio/wfiledoalloc.c: Likewise.
26323 * manual/libm-err-tab.pl: Likewise.
26324 * math/w_dremf.c: Likewise.
26325 * misc/ftruncate.c: Likewise.
26326 * posix/bug-glob2.c: Likewise.
26327 * posix/tst-pcre.c: Likewise.
26328 * posix/wait4.c: Likewise.
26329 * resolv/README: Likewise.
26330 * resolv/res_debug.h: Likewise.
26331 * resolv/tst-inet_ntop.c: Likewise.
26332 * setjmp/bug269-setjmp.c: Likewise.
26333 * soft-fp/extended.h: Likewise.
26334 * soft-fp/op-1.h: Likewise.
26335 * soft-fp/op-2.h: Likewise.
26336 * soft-fp/op-4.h: Likewise.
26337 * soft-fp/op-8.h: Likewise.
26338 * soft-fp/testit.c: Likewise.
26339 * stdio-common/bug16.c: Likewise.
26340 * stdlib/random.c: Likewise.
26341 * sunrpc/rpcsvc/rquota.x: Likewise.
26342 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26343 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26344 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26345 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26346 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26347 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26348 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26350 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26351 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26354 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26358 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26360 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26364 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26365 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26366 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26367 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26369 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26370 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26371 * sysdeps/ieee754/s_lib_version.c: Likewise.
26372 * sysdeps/mach/hurd/check_fds.c: Likewise.
26373 * sysdeps/mach/hurd/getsockname.c: Likewise.
26374 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26375 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26376 * sysdeps/powerpc/bits/link.h: Likewise.
26377 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26378 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26379 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26380 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26381 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26382 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26383 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26384 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26385 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26386 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26387 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26388 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26389 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26390 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26391 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26392 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26394 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26395 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26397 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26398 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26400 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26401 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26402 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26403 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26404 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26405 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26406 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26407 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26408 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26410 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26411 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26412 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26413 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26414 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26415 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26416 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26417 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26418 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26419 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26420 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26421 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26422 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26423 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26424 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26425 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26426 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26428 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26429 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26431 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26432 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26433 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26434 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26435 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26436 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26437 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26438 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26439 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26440 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26441 * sysdeps/powerpc/sysdep.h: Likewise.
26442 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26443 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26444 * sysdeps/sh/dl-trampoline.S: Likewise.
26445 * sysdeps/sh/memset.S: Likewise.
26446 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26447 * sysdeps/sh/strlen.S: Likewise.
26448 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26449 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26450 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26451 * sysdeps/sparc/sparc32/rem.S: Likewise.
26452 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26453 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26454 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26455 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26456 * sysdeps/sparc/sparc32/urem.S: Likewise.
26457 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26458 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26459 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26460 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26461 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26462 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26463 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26464 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26465 * sysdeps/unix/bsd/times.c: Likewise.
26466 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26467 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26471 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26472 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26473 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26474 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26475 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26476 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26477 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26478 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26479 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26480 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26481 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26482 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26483 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26484 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26485 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26486 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26487 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26488 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26489 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26490 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26491 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26492 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26493 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26494 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26495 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26496 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26497 * sysdeps/x86_64/strcspn.S: Likewise.
26498
869378a5
RA
264992013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26500
26501 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26502 generated file. Regenerate properly from gen-translit.pl.
26503 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26504 locale/C-translit.h.
26505
840e2943
AS
265062013-06-05 Andreas Schwab <schwab@suse.de>
26507
26508 [BZ #15100]
26509 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26510 week as 6 instead of -1.
26511 * time/tst-strptime.c (day_tests): Add test case.
26512
4c60cb0c
SP
265132013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26514
26515 * sysdeps/generic/math_private.h
26516 (libc_feholdexcept_setround_53bit): Replace with
26517 libc_feholdsetround_53bit.
26518 (libc_feupdateenv_53bit): Replace with
26519 libc_feresetround_53bit.
26520 (SET_RESTORE_ROUND_53BIT): Adjust.
26521
d180203e
SP
265222013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26523
96df079a
SP
26524 * string/test-strchrnul.c: Add copyright header.
26525
d180203e
SP
26526 * posix/tst-getaddrinfo4.c: Increase test timeout.
26527
8b0ccb2d
CD
265282013-06-03 Carlos O'Donell <carlos@redhat.com>
26529
26530 [BZ #15536]
26531 * math/libm-test.inc (MAX_EXP): Remove
26532 (MIN_EXP): Define.
26533 (ulp): Use MIN_EXP - MANT_DIG.
26534 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26535
3b3c4d40
CD
265362013-05-31 Carlos O'Donell <carlos@redhat.com>
26537
26538 * po/be.po: Revert last change.
26539 * po/zh_CN.po: Likewise.
26540 * po/header.pot: Likewise.
26541
fab7ce3f
JM
265422013-05-31 Joseph Myers <joseph@codesourcery.com>
26543
26544 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26545 link-libc-deps to empty as target-specific variable.
26546 * Makerules (link-libc-args): New variable.
26547 (libc-for-link): Likewise.
26548 (link-libc-deps): Likewise.
26549 (lib%.so): Depend on $(link-libc-deps). Link with
26550 $(link-libc-args).
26551 (build-module): Link with $(link-libc-args).
26552 (build-module-asneeded): Likewise.
26553 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26554 list of objects.
26555 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26556 target-specific variable.
26557 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26558 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26559 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26560 libc.
26561 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26562 libc and ld.so.
26563 ($(objpfx)libpcprofile.so): Likewise.
26564 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26565 libc_nonshared.a.
26566 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26567 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26568 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26569 $(link-libc-deps).
26570 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26571 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26572 * login/Makefile ($(objpfx)libutil.so): Likewise.
26573 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26574 * math/Makefile ($(objpfx)libm.so): Likewise.
26575 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26576 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26577 variable instead of depending directly on libc.
26578 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26579 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26580 $(link-libc-deps).
26581 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26582 libc.
26583 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26584 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26585 ($(objpfx)libanl.so): Likewise.
26586 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26587 ld.so.
26588 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26589 $(link-libc-deps).
26590 * sysdeps/i386/fpu/Makefile: Remove file.
26591 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26592 ($(objpfx)libm.so): Remove dependency on ld.so.
26593
eca5920c
PF
265942013-05-30 Patsy Franklin <pfrankli@redhat.com>
26595
26596 [BZ # 15553]
26597 * nis/yp_xdr.c (XDRMAXNAME): Define.
26598 (XDRMAXRECORD): Define.
26599 (xdr_domainname): Use XDRMAXNAME.
26600 (xdr_mapname): Likewise.
26601 (xdr_peername): Likewise.
26602 (xdr_keydat): Use XDRMAXRECORD.
26603 (xdr_valdat): Likewise.
26604
266052013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26606
26607 [BZ #14256]
26608 * manual/errno.texi (ESTALE): Update to account for more than
26609 just NFS file systems.
26610 * sysdeps/gnu/errlist.c: Regenerated.
26611
b9375348
SP
266122013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26613
26614 [BZ #15465]
26615 * elf/Makefile (tests): Add tst-null-argv.
26616 (modules-names): Add tst-null-argv-lib.
26617 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26618 (tst-null-argv-ENV): Set environment for tst-null-argv.
26619 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26620 (RTLD_PROGNAME): New macro.
26621 * elf/tst-null-argv.c: New test case.
26622 * elf/tst-null-argv-lib.c: Library for test case.
26623 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26624 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26625 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26626 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26627 * elf/dl-init.c (call_init): Likewise.
26628 (_dl_init): Likewise.
26629 * elf/dl-load.c (print_search_path): Likewise.
26630 (_dl_map_object): Likewise.
26631 * elf/dl-lookup.c (do_lookup_x): Likewise.
26632 (add_dependency): Likewise.
26633 (_dl_lookup_symbol_x): Likewise.
26634 (_dl_debug_bindings): Likewise.
26635 * elf/dl-open.c (_dl_show_scope): Likewise.
26636 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26637 * elf/dl-version.c (match_symbol): Likewise.
26638 (_dl_check_map_versions): Likewise.
26639 * elf/rtld.c (dl_main): Likewise.
26640 (print_unresolved): Use RTLD_PROGNAME.
26641 (print_missing_version): Likewise.
26642 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26643 (elf_machine_rela): Likewise.
26644 * sysdeps/powerpc/powerpc32/dl-machine.c
26645 (__process_machine_rela): Likewise.
26646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26647 Likewise.
26648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26649 Likewise.
26650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26651 Likewise.
26652 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26654 Likewise.
26655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26656 Likewise.
26657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26658
8a9f20c8
CD
266592013-05-28 Carlos O'Donell <carlos@redhat.com>
26660
26661 * po/be.po: Add descriptive title.
26662 * po/zh_CN.po: Likewise.
26663 * po/header.pot: Likewise.
26664
0e60d68e
MF
266652013-05-28 Mike Frysinger <vapier@gentoo.org>
26666
26667 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26668 error message.
26669 (enlarge_archive): Likewise.
26670
56b672e9
BN
266712013-05-28 Ben North <ben@redfrontdoor.org>
26672
26673 * manual/arith.texi (frexp): It is the magnitude of the return
26674 value which lies in [0.5, 1), not the return value itself.
26675
5e056687
AZ
266762013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26677
26678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26679
2b66ef5d
TS
266802013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26681
528c2405
TS
26682 * stdio-common/bug26.c (main): Correct fscanf template.
26683
07b4c13d
TS
26684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26685 declare _dl_skip_args.
26686
ec9dd97c
TS
26687 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26688 Don't declare.
26689
2b66ef5d
TS
26690 * manual/platform.texi: Add missing @end deftypefun.
26691
4f8dfe27
JM
266922013-05-24 Joseph Myers <joseph@codesourcery.com>
26693
0323d086
JM
26694 [BZ #15529]
26695 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26696 bit of mantissa of 2^16382.
26697 * math/libm-test.inc (hypot_test_data): Add more tests.
26698
dd4259b9
JM
26699 * math/libm-test.inc: Add drem and pow10 to list of tested
26700 functions.
26701 (pow10_test): New function.
26702 (drem_test): Likewise.
26703 (drem_test_tonearest): Likewise.
26704 (drem_test_towardzero): Likewise.
26705 (drem_test_downward): Likewise.
26706 (drem_test_upward): Likewise.
26707 (main): Call the new functions.
26708
4f8dfe27
JM
26709 * math/libm-test.inc (finite_test_data): Remove.
26710 (finite_test): Run tests from isfinite_test_data.
26711 (gamma_test_data): Remove.
26712 (gamma_test): Run tests from lgamma_test_data.
26713 * sysdeps/i386/fpu/libm-test-ulps: Update.
26714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26715
d116b7c4
AZ
267162013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26717
26718 * manual/platform.texi: Add PowerPC PPR function set documentation.
26719 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26720 implementation.
26721
e96e3767
CD
267222013-05-24 Carlos O'Donell <carlos@redhat.com>
26723
26724 * math/libm-test.inc (MAX_EXP): Define.
26725 (ULPDIFF): Define.
26726 (ulp): New function.
26727 (check_float_internal): Use ULPDIFF.
26728 (cpow_test): Disable failing test.
26729 (check_ulp): Test ulp() implemetnation.
26730 (main): Call check_ulp before starting tests.
26731
b679a606
JM
267322013-05-24 Joseph Myers <joseph@codesourcery.com>
26733
e8bdba36
JM
26734 * math/gen-libm-test.pl (generate_testfile): Do not handle
26735 START_DATA and END_DATA.
26736 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26737 END_DATA.
26738 (acos_tonearest_test_data): Likewise.
26739 (acos_towardzero_test_data): Likewise.
26740 (acos_downward_test_data): Likewise.
26741 (acos_upward_test_data): Likewise.
26742 (acosh_test_data): Likewise.
26743 (asin_test_data): Likewise.
26744 (asin_tonearest_test_data): Likewise.
26745 (asin_towardzero_test_data): Likewise.
26746 (asin_downward_test_data): Likewise.
26747 (asin_upward_test_data): Likewise.
26748 (asinh_test_data): Likewise.
26749 (atan_test_data): Likewise.
26750 (atanh_test_data): Likewise.
26751 (atan2_test_data): Likewise.
26752 (cabs_test_data): Likewise.
26753 (cacos_test_data): Likewise.
26754 (cacosh_test_data): Likewise.
26755 (carg_test_data): Likewise.
26756 (casin_test_data): Likewise.
26757 (casinh_test_data): Likewise.
26758 (catan_test_data): Likewise.
26759 (catanh_test_data): Likewise.
26760 (cbrt_test_data): Likewise.
26761 (ccos_test_data): Likewise.
26762 (ccosh_test_data): Likewise.
26763 (ceil_test_data): Likewise.
26764 (cexp_test_data): Likewise.
26765 (cimag_test_data): Likewise.
26766 (clog_test_data): Likewise.
26767 (clog10_test_data): Likewise.
26768 (conj_test_data): Likewise.
26769 (copysign_test_data): Likewise.
26770 (cos_test_data): Likewise.
26771 (cos_tonearest_test_data): Likewise.
26772 (cos_towardzero_test_data): Likewise.
26773 (cos_downward_test_data): Likewise.
26774 (cos_upward_test_data): Likewise.
26775 (cosh_test_data): Likewise.
26776 (cosh_tonearest_test_data): Likewise.
26777 (cosh_towardzero_test_data): Likewise.
26778 (cosh_downward_test_data): Likewise.
26779 (cosh_upward_test_data): Likewise.
26780 (cpow_test_data): Likewise.
26781 (cproj_test_data): Likewise.
26782 (creal_test_data): Likewise.
26783 (csin_test_data): Likewise.
26784 (csinh_test_data): Likewise.
26785 (csqrt_test_data): Likewise.
26786 (ctan_test_data): Likewise.
26787 (ctan_tonearest_test_data): Likewise.
26788 (ctan_towardzero_test_data): Likewise.
26789 (ctan_downward_test_data): Likewise.
26790 (ctan_upward_test_data): Likewise.
26791 (ctanh_test_data): Likewise.
26792 (ctanh_tonearest_test_data): Likewise.
26793 (ctanh_towardzero_test_data): Likewise.
26794 (ctanh_downward_test_data): Likewise.
26795 (ctanh_upward_test_data): Likewise.
26796 (erf_test_data): Likewise.
26797 (erfc_test_data): Likewise.
26798 (exp_test_data): Likewise.
26799 (exp_tonearest_test_data): Likewise.
26800 (exp_towardzero_test_data): Likewise.
26801 (exp_downward_test_data): Likewise.
26802 (exp_upward_test_data): Likewise.
26803 (exp10_test_data): Likewise.
26804 (exp2_test_data): Likewise.
26805 (expm1_test_data): Likewise.
26806 (fabs_test_data): Likewise.
26807 (fdim_test_data): Likewise.
26808 (finite_test_data): Likewise.
26809 (floor_test_data): Likewise.
26810 (fma_test_data): Likewise.
26811 (fma_towardzero_test_data): Likewise.
26812 (fma_downward_test_data): Likewise.
26813 (fma_upward_test_data): Likewise.
26814 (fmax_test_data): Likewise.
26815 (fmin_test_data): Likewise.
26816 (fmod_test_data): Likewise.
26817 (fpclassify_test_data): Likewise.
26818 (frexp_test_data): Likewise.
26819 (gamma_test_data): Likewise.
26820 (hypot_test_data): Likewise.
26821 (ilogb_test_data): Likewise.
26822 (isfinite_test_data): Likewise.
26823 (isgreater_test_data): Likewise.
26824 (isgreaterequal_test_data): Likewise.
26825 (isinf_test_data): Likewise.
26826 (isless_test_data): Likewise.
26827 (islessequal_test_data): Likewise.
26828 (islessgreater_test_data): Likewise.
26829 (isnan_test_data): Likewise.
26830 (isnormal_test_data): Likewise.
26831 (issignaling_test_data): Likewise.
26832 (isunordered_test_data): Likewise.
26833 (j0_test_data): Likewise.
26834 (j1_test_data): Likewise.
26835 (jn_test_data): Likewise.
26836 (ldexp_test_data): Likewise.
26837 (lgamma_test_data): Likewise.
26838 (lrint_test_data): Likewise.
26839 (lrint_tonearest_test_data): Likewise.
26840 (lrint_towardzero_test_data): Likewise.
26841 (lrint_downward_test_data): Likewise.
26842 (lrint_upward_test_data): Likewise.
26843 (llrint_test_data): Likewise.
26844 (llrint_tonearest_test_data): Likewise.
26845 (llrint_towardzero_test_data): Likewise.
26846 (llrint_downward_test_data): Likewise.
26847 (llrint_upward_test_data): Likewise.
26848 (log_test_data): Likewise.
26849 (log10_test_data): Likewise.
26850 (log1p_test_data): Likewise.
26851 (log2_test_data): Likewise.
26852 (logb_test_data): Likewise.
26853 (logb_downward_test_data): Likewise.
26854 (lround_test_data): Likewise.
26855 (llround_test_data): Likewise.
26856 (modf_test_data): Likewise.
26857 (nearbyint_test_data): Likewise.
26858 (nextafter_test_data): Likewise.
26859 (nexttoward_test_data): Likewise.
26860 (pow_test_data): Likewise.
26861 (pow_tonearest_test_data): Likewise.
26862 (pow_towardzero_test_data): Likewise.
26863 (pow_downward_test_data): Likewise.
26864 (pow_upward_test_data): Likewise.
26865 (remainder_test_data): Likewise.
26866 (remainder_tonearest_test_data): Likewise.
26867 (remainder_towardzero_test_data): Likewise.
26868 (remainder_downward_test_data): Likewise.
26869 (remainder_upward_test_data): Likewise.
26870 (remquo_test_data): Likewise.
26871 (rint_test_data): Likewise.
26872 (rint_tonearest_test_data): Likewise.
26873 (rint_towardzero_test_data): Likewise.
26874 (rint_downward_test_data): Likewise.
26875 (rint_upward_test_data): Likewise.
26876 (round_test_data): Likewise.
26877 (scalb_test_data): Likewise.
26878 (scalbn_test_data): Likewise.
26879 (scalbln_test_data): Likewise.
26880 (signbit_test_data): Likewise.
26881 (sin_test_data): Likewise.
26882 (sin_tonearest_test_data): Likewise.
26883 (sin_towardzero_test_data): Likewise.
26884 (sin_downward_test_data): Likewise.
26885 (sin_upward_test_data): Likewise.
26886 (sincos_test_data): Likewise.
26887 (sinh_test_data): Likewise.
26888 (sinh_tonearest_test_data): Likewise.
26889 (sinh_towardzero_test_data): Likewise.
26890 (sinh_downward_test_data): Likewise.
26891 (sinh_upward_test_data): Likewise.
26892 (sqrt_test_data): Likewise.
26893 (tan_test_data): Likewise.
26894 (tan_tonearest_test_data): Likewise.
26895 (tan_towardzero_test_data): Likewise.
26896 (tan_downward_test_data): Likewise.
26897 (tan_upward_test_data): Likewise.
26898 (tanh_test_data): Likewise.
26899 (tgamma_test_data): Likewise.
26900 (trunc_test_data): Likewise.
26901 (y0_test_data): Likewise.
26902 (y1_test_data): Likewise.
26903 (yn_test_data): Likewise.
26904 (significand_test_data): Likewise.
26905
b679a606
JM
26906 * math/gen-libm-test.pl (@functions): Remove variable.
26907 (generate_testfile): Don't handle START and END lines.
26908 * math/libm-test.inc (START): New macro.
26909 (END): Likewise.
26910 (END_COMPLEX): Likewise.
26911 (acos_test): Use END macro without arguments.
26912 (acos_test_tonearest): Likewise.
26913 (acos_test_towardzero): Likewise.
26914 (acos_test_downward): Likewise.
26915 (acos_test_upward): Likewise.
26916 (acosh_test): Likewise.
26917 (asin_test): Likewise.
26918 (asin_test_tonearest): Likewise.
26919 (asin_test_towardzero): Likewise.
26920 (asin_test_downward): Likewise.
26921 (asin_test_upward): Likewise.
26922 (asinh_test): Likewise.
26923 (atan_test): Likewise.
26924 (atanh_test): Likewise.
26925 (atan2_test): Likewise.
26926 (cabs_test): Likewise.
26927 (cacos_test): Use END_COMPLEX macro without arguments.
26928 (cacosh_test): Likewise.
26929 (carg_test): Use END macro without arguments.
26930 (casin_test): Use END_COMPLEX macro without arguments.
26931 (casinh_test): Likewise.
26932 (catan_test): Likewise.
26933 (catanh_test): Likewise.
26934 (cbrt_test): Use END macro without arguments.
26935 (ccos_test): Use END_COMPLEX macro without arguments.
26936 (ccosh_test): Likewise.
26937 (ceil_test): Use END macro without arguments.
26938 (cexp_test): Use END_COMPLEX macro without arguments.
26939 (cimag_test): Use END macro without arguments.
26940 (clog_test): Use END_COMPLEX macro without arguments.
26941 (clog10_test): Likewise.
26942 (conj_test): Likewise.
26943 (copysign_test): Use END macro without arguments.
26944 (cos_test): Likewise.
26945 (cos_test_tonearest): Likewise.
26946 (cos_test_towardzero): Likewise.
26947 (cos_test_downward): Likewise.
26948 (cos_test_upward): Likewise.
26949 (cosh_test): Likewise.
26950 (cosh_test_tonearest): Likewise.
26951 (cosh_test_towardzero): Likewise.
26952 (cosh_test_downward): Likewise.
26953 (cosh_test_upward): Likewise.
26954 (cpow_test): Use END_COMPLEX macro without arguments.
26955 (cproj_test): Likewise.
26956 (creal_test): Use END macro without arguments.
26957 (csin_test): Use END_COMPLEX macro without arguments.
26958 (csinh_test): Likewise.
26959 (csqrt_test): Likewise.
26960 (ctan_test): Likewise.
26961 (ctan_test_tonearest): Likewise.
26962 (ctan_test_towardzero): Likewise.
26963 (ctan_test_downward): Likewise.
26964 (ctan_test_upward): Likewise.
26965 (ctanh_test): Likewise.
26966 (ctanh_test_tonearest): Likewise.
26967 (ctanh_test_towardzero): Likewise.
26968 (ctanh_test_downward): Likewise.
26969 (ctanh_test_upward): Likewise.
26970 (erf_test): Use END macro without arguments.
26971 (erfc_test): Likewise.
26972 (exp_test): Likewise.
26973 (exp_test_tonearest): Likewise.
26974 (exp_test_towardzero): Likewise.
26975 (exp_test_downward): Likewise.
26976 (exp_test_upward): Likewise.
26977 (exp10_test): Likewise.
26978 (exp2_test): Likewise.
26979 (expm1_test): Likewise.
26980 (fabs_test): Likewise.
26981 (fdim_test): Likewise.
26982 (finite_test): Likewise.
26983 (floor_test): Likewise.
26984 (fma_test): Likewise.
26985 (fma_test_towardzero): Likewise.
26986 (fma_test_downward): Likewise.
26987 (fma_test_upward): Likewise.
26988 (fmax_test): Likewise.
26989 (fmin_test): Likewise.
26990 (fmod_test): Likewise.
26991 (fpclassify_test): Likewise.
26992 (frexp_test): Likewise.
26993 (gamma_test): Likewise.
26994 (hypot_test): Likewise.
26995 (ilogb_test): Likewise.
26996 (isfinite_test): Likewise.
26997 (isgreater_test): Likewise.
26998 (isgreaterequal_test): Likewise.
26999 (isinf_test): Likewise.
27000 (isless_test): Likewise.
27001 (islessequal_test): Likewise.
27002 (islessgreater_test): Likewise.
27003 (isnan_test): Likewise.
27004 (isnormal_test): Likewise.
27005 (issignaling_test): Likewise.
27006 (isunordered_test): Likewise.
27007 (j0_test): Likewise.
27008 (j1_test): Likewise.
27009 (jn_test): Likewise.
27010 (ldexp_test): Likewise.
27011 (lgamma_test): Likewise.
27012 (lrint_test): Likewise.
27013 (lrint_test_tonearest): Likewise.
27014 (lrint_test_towardzero): Likewise.
27015 (lrint_test_downward): Likewise.
27016 (lrint_test_upward): Likewise.
27017 (llrint_test): Likewise.
27018 (llrint_test_tonearest): Likewise.
27019 (llrint_test_towardzero): Likewise.
27020 (llrint_test_downward): Likewise.
27021 (llrint_test_upward): Likewise.
27022 (log_test): Likewise.
27023 (log10_test): Likewise.
27024 (log1p_test): Likewise.
27025 (log2_test): Likewise.
27026 (logb_test): Likewise.
27027 (logb_test_downward): Likewise.
27028 (lround_test): Likewise.
27029 (llround_test): Likewise.
27030 (modf_test): Likewise.
27031 (nearbyint_test): Likewise.
27032 (nextafter_test): Likewise.
27033 (nexttoward_test): Likewise.
27034 (pow_test): Likewise.
27035 (pow_test_tonearest): Likewise.
27036 (pow_test_towardzero): Likewise.
27037 (pow_test_downward): Likewise.
27038 (pow_test_upward): Likewise.
27039 (remainder_test): Likewise.
27040 (remainder_test_tonearest): Likewise.
27041 (remainder_test_towardzero): Likewise.
27042 (remainder_test_downward): Likewise.
27043 (remainder_test_upward): Likewise.
27044 (remquo_test): Likewise.
27045 (rint_test): Likewise.
27046 (rint_test_tonearest): Likewise.
27047 (rint_test_towardzero): Likewise.
27048 (rint_test_downward): Likewise.
27049 (rint_test_upward): Likewise.
27050 (round_test): Likewise.
27051 (scalb_test): Likewise.
27052 (scalbn_test): Likewise.
27053 (scalbln_test): Likewise.
27054 (signbit_test): Likewise.
27055 (sin_test): Likewise.
27056 (sin_test_tonearest): Likewise.
27057 (sin_test_towardzero): Likewise.
27058 (sin_test_downward): Likewise.
27059 (sin_test_upward): Likewise.
27060 (sincos_test): Likewise.
27061 (sinh_test): Likewise.
27062 (sinh_test_tonearest): Likewise.
27063 (sinh_test_towardzero): Likewise.
27064 (sinh_test_downward): Likewise.
27065 (sinh_test_upward): Likewise.
27066 (sqrt_test): Likewise.
27067 (tan_test): Likewise.
27068 (tan_test_tonearest): Likewise.
27069 (tan_test_towardzero): Likewise.
27070 (tan_test_downward): Likewise.
27071 (tan_test_upward): Likewise.
27072 (tanh_test): Likewise.
27073 (tgamma_test): Likewise.
27074 (trunc_test): Likewise.
27075 (y0_test): Likewise.
27076 (y1_test): Likewise.
27077 (yn_test): Likewise.
27078 (significand_test): Likewise.
27079
bae143d2
OB
270802013-05-24 Ondřej Bílka <neleai@seznam.cz>
27081
27082 [BZ #15381]
27083 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27084
9323d39b
EM
270852013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27086
d4ea44a0 27087 [BZ #14894]
9323d39b
EM
27088 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27089 __ppc_mdoio and __ppc_mdoom.
27090 * manual/platform.texi: Document new functions __ppc_yield,
27091 __ppc_mdoio and __ppc_mdoom.
27092
13e23af7
CD
270932013-05-22 Carlos O'Donell <carlos@redhat.com>
27094
27095 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27096 (main): Mention "tls" pseudo-hwcap is legacy.
27097 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27098
351fe550
JM
270992013-05-22 Joseph Myers <joseph@codesourcery.com>
27100
27101 * math/gen-libm-test.pl (parse_args): Output only string of
27102 arguments as text for test name, not full call or descriptions of
27103 tests for extra outputs.
27104 (generate_testfile): Do not pass function name to parse_args.
27105 Generate this_func variable from START.
27106 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27107 field to arg_str.
27108 (struct test_ff_f_data): Likewise.
27109 (test_ff_f_data_nexttoward): Likewise.
27110 (struct test_fi_f_data): Likewise.
27111 (struct test_fl_f_data): Likewise.
27112 (struct test_if_f_data): Likewise.
27113 (struct test_fff_f_data): Likewise.
27114 (struct test_c_f_data): Likewise.
27115 (struct test_f_f1_data): Likewise. Remove field extra_name.
27116 (struct test_fF_f1_data): Likewise.
27117 (struct test_ffI_f1_data): Likewise.
27118 (struct test_c_c_data): Rename test_name field to arg_str.
27119 (struct test_cc_c_data): Likewise.
27120 (struct test_f_i_data): Likewise.
27121 (struct test_ff_i_data): Likewise.
27122 (struct test_f_l_data): Likewise.
27123 (struct test_f_L_data): Likewise.
27124 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27125 and extra2_name.
27126 (COMMON_TEST_SETUP): New macro.
27127 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27128 (COMMON_TEST_CLEANUP): Likewise.
27129 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27130 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27131 macros.
27132 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27133 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27134 macros.
27135 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27136 (RUN_TEST_fff_f): Take argument string. Call new setup and
27137 cleanup macros.
27138 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27139 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27140 macros.
27141 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27142 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27143 macros.
27144 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27145 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27146 cleanup macros.
27147 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27148 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27149 cleanup macros.
27150 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27151 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27152 cleanup macros.
27153 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27154 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27155 macros.
27156 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27157 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27158 macros.
27159 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27160 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27161 macros.
27162 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27163 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27164 cleanup macros.
27165 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27166 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27167 cleanup macros.
27168 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27169 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27170 macros.
27171 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27172 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27173 cleanup macros.
27174 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27175 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27176 macros.
27177 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27178 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27179 macros.
27180 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27181 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27182 cleanup macros.
27183 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27184
85118d4d
EBM
271852013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27186
27187 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27188 to _sifields.sigfault.
27189 (si_addr_lsb): Define new macro.
27190 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27192 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27193
7a44c18f
CD
271942013-05-03 Carlos O'Donell <carlos at redhat.com>
27195
27196 [BZ #15441]
27197 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27198 returns -1.
27199 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27200 null return -1.
27201 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27202 loading the domain.
27203
b50a7181
JM
272042013-05-22 Joseph Myers <joseph@codesourcery.com>
27205
27206 * math/gen-libm-test.pl (parse_args): Do not include expected
27207 result in test name.
27208 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27210 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27211 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27212 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27214
051063c8
SP
272152013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27216
3ce9e010
SP
27217 * benchtests/Makefile: Sort function entries.
27218
051063c8
SP
27219 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27220 tanh, asinh, acosh, atanh.
27221 * benchtests/acos-inputs: New file.
27222 * benchtests/acosh-inputs: New file.
27223 * benchtests/asin-inputs: New file.
27224 * benchtests/asinh-inputs: New file.
27225 * benchtests/atanh-inputs: New file.
27226 * benchtests/cosh-inputs: New file.
27227 * benchtests/log-inputs: New file.
27228 * benchtests/sinh-inputs: New file.
27229 * benchtests/tanh-inputs: New file.
27230
47c22455
DL
272312013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27232
27233 [BZ #15339]
27234 * posix/tst-getaddrinfo4.c: New test.
27235 * posix/Makefile (tests): Add it.
27236
3d04f5db
SP
272372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27238
27239 [BZ #15339]
27240 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27241 when no services were used.
27242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27243 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27244
d5dd6189
AS
272452013-05-21 Andreas Schwab <schwab@suse.de>
27246
27247 [BZ #15014]
27248 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27249 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27250 successful.
27251 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27252 redundant variable declarations and reallocation of buffer when
27253 parsing as IPv6 address. Always set NSS status when called from
27254 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27255 buffer too small. Correct computation of needed size.
27256 * nss/Makefile (tests): Add test-digits-dots.
27257 * nss/test-digits-dots.c: New test.
27258
fef94eab
SP
272592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27260
27261 * benchtests/Makefile: Remove instructions for adding
27262 benchmark tests.
27263 * benchtests/README: New file to explain how to execute and
27264 enhance the benchmark tests.
27265
e39adf43
AS
272662013-05-21 Andreas Schwab <schwab@suse.de>
27267
27268 [BZ #15493]
27269 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27270 * setjmp/tst-sigsetjmp.c: New test.
27271
b2b671b6
OB
272722013-05-20 Ondřej Bílka <neleai@seznam.cz>
27273
27274 * sysdeps/x86_64/memset.S (memset): New implementation.
27275 (__bzero): Likewise.
27276 (__memset_tail): New function.
27277
2d48b41c
OB
272782013-05-20 Ondřej Bílka <neleai@seznam.cz>
27279
27280 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27281 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27282 __memcpy_sse2_unaligned ifunc selection.
27283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27284 Add memcpy-sse2-unaligned.S.
27285 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27286 Add: __memcpy_sse2_unaligned.
27287
f16cc3eb
JM
272882013-05-19 Joseph Myers <joseph@codesourcery.com>
27289
3e694268
JM
27290 [BZ #15490]
27291 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27292 math_force_eval before restoring floating-point envrionment.
27293 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27294 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27295 Likewise.
27296 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27297 <math_private.h>.
27298 (__nearbyintl): Use math_force_eval before restoring
27299 floating-point environment.
27300 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27301
db62a907
JM
27302 * math/gen-libm-test.pl (special_functions): Remove.
27303 (parse_args): Don't handle TEST_extra. Handle functions with no
27304 return value.
27305 * math/libm-test.inc (struct test_sincos_data): Replace with
27306 struct test_fFF_11_data.
27307 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27308 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27309 (sincos_test_data): Change element type to struct
27310 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27311 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27312 RUN_TEST_LOOP_sincos.
27313 * math/README.libm-test: Don't mention special handling of
27314 individual functions.
27315 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27317 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27318 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27319 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27321
f16cc3eb
JM
27322 * math/gen-libm-test.pl (get_variable): Remove function.
27323 (parse_args): Don't show pointer parameters to call in test
27324 names. Use "extra output N" in test names for extra outputs
27325 rather than naming variables.
27326
3779b5b6
JM
273272013-05-18 Joseph Myers <joseph@codesourcery.com>
27328
2ee094ff
JM
27329 [BZ #15488]
27330 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27331 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27332 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27333 double tests.
27334 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27335 disable.
27336 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27337 check_long_double.
27338
3779b5b6
JM
27339 * math/gen-libm-test.pl (@tests): Remove variable.
27340 ($count): Likewise.
27341 (new_test): Remove function.
27342 (show_exceptions): New function.
27343 (special_functions): Use show_exceptions instead of new_test.
27344 (parse_args): Likewise.
27345 (generate_testfile): Pass only function name in generated call to
27346 print_max_error or print_complex_max_error.
27347 (get_ulps): Do not handle complex tests specially.
27348 (output_test): Rename to ...
27349 (get_all_ulps_for_test): ... this. Return a string rather than
27350 printing to a file. Require ulps to be present.
27351 (output_ulps): Generate arrays rather than #defines.
27352 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27353 (struct ulp_data): New type.
27354 (BUILD_COMPLEX_ULP): Remove macro.
27355 (compare_ulp_data): New function.
27356 (find_ulps): Likewise.
27357 (find_test_ulps): Likewise.
27358 (find_function_ulps): Likewise.
27359 (find_complex_function_ulps): Likewise.
27360 (print_max_error): Determine allowed ulps using
27361 find_function_ulps.
27362 (print_complex_max_error): Determine allowed ulps using
27363 find_complex_function_ulps.
27364 (check_float_internal): Determine max ulps using find_test_ulps.
27365 (check_float): Do not take max_ulp parameter. Update call to
27366 check_float_internal.
27367 (check_complex): Likewise.
27368 (check_int): Do not take max_ulp parameter.
27369 (check_long): Likewise.
27370 (check_bool): Likewise.
27371 (check_longlong): Likewise.
27372 (struct test_f_f_data): Remove max_ulp field.
27373 (struct test_ff_f_data): Likewise.
27374 (struct test_ff_f_data_nexttoward): Likewise.
27375 (struct test_fi_f_data): Likewise.
27376 (struct test_fl_f_data): Likewise.
27377 (struct test_if_f_data): Likewise.
27378 (struct test_fff_f_data): Likewise.
27379 (struct test_c_f_data): Likewise.
27380 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27381 (struct test_fF_f1_data): Likewise.
27382 (struct test_ffI_f1_data): Likewise.
27383 (struct test_c_c_data): Remove max_ulp field.
27384 (struct test_cc_c_data): Likewise.
27385 (struct test_f_i_data): Likewise.
27386 (struct test_ff_i_data): Likewise.
27387 (struct test_f_l_data): Likewise.
27388 (struct test_f_L_data): Likewise.
27389 (struct test_sincos_data): Likewise.
27390 (RUN_TEST_f_f): Do not handle ulps.
27391 (RUN_TEST_LOOP_f_f): Likewise.
27392 (RUN_TEST_2_f): Likewise.
27393 (RUN_TEST_LOOP_2_f): Likewise.
27394 (RUN_TEST_fff_f): Likewise.
27395 (RUN_TEST_LOOP_fff_f): Likewise.
27396 (RUN_TEST_c_f): Likewise.
27397 (RUN_TEST_LOOP_c_f): Likewise.
27398 (RUN_TEST_f_f1): Likewise.
27399 (RUN_TEST_LOOP_f_f1): Likewise.
27400 (RUN_TEST_fF_f1): Likewise.
27401 (RUN_TEST_LOOP_fF_f1): Likewise.
27402 (RUN_TEST_fI_f1): Likewise.
27403 (RUN_TEST_LOOP_fI_f1): Likewise.
27404 (RUN_TEST_ffI_f1): Likewise.
27405 (RUN_TEST_LOOP_ffI_f1): Likewise.
27406 (RUN_TEST_c_c): Likewise.
27407 (RUN_TEST_LOOP_c_c): Likewise.
27408 (RUN_TEST_cc_c): Likewise.
27409 (RUN_TEST_LOOP_cc_c): Likewise.
27410 (RUN_TEST_f_i): Likewise.
27411 (RUN_TEST_LOOP_f_i): Likewise.
27412 (RUN_TEST_f_i_tg): Likewise.
27413 (RUN_TEST_LOOP_f_i_tg): Likewise.
27414 (RUN_TEST_ff_i_tg): Likewise.
27415 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27416 (RUN_TEST_f_b): Likewise.
27417 (RUN_TEST_LOOP_f_b): Likewise.
27418 (RUN_TEST_f_b_tg): Likewise.
27419 (RUN_TEST_LOOP_f_b_tg): Likewise.
27420 (RUN_TEST_f_l): Likewise.
27421 (RUN_TEST_LOOP_f_l): Likewise.
27422 (RUN_TEST_f_L): Likewise.
27423 (RUN_TEST_LOOP_f_L): Likewise.
27424 (RUN_TEST_sincos): Likewise.
27425 (RUN_TEST_LOOP_sincos): Likewise.
27426
8269107f
JM
274272013-05-17 Joseph Myers <joseph@codesourcery.com>
27428
bb38759d
JM
27429 [BZ #15480]
27430 [BZ #15485]
27431 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27432 main case of finite arguments, set rounding mode to FE_TONEAREST
27433 and discard exceptions.
27434 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27435 exceptions.
27436 (remainder_tonearest_test_data): New variable.
27437 (remainder_test_tonearest): New function.
27438 (remainder_towardzero_test_data): New variable.
27439 (remainder_test_towardzero): New function.
27440 (remainder_downward_test_data): New variable.
27441 (remainder_test_downward): New function.
27442 (remainder_upward_test_data): New variable.
27443 (remainder_test_upward): New function.
27444 (main): Call the new test functions.
27445
a00bdcf0
JM
27446 * math/libm-test.inc (struct test_f_f1_data): Remove field
27447 extra_init.
27448 (struct test_fF_f1_data): Likewise.
27449 (struct test_ffI_f1_data): Likewise.
27450 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27451 based on value of EXTRA_EXPECTED.
27452 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27453 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27454 EXTRA_VAR based on value of EXTRA_EXPECTED.
27455 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27456 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27457 EXTRA_VAR based on value of EXTRA_EXPECTED.
27458 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27459 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27460 EXTRA_VAR based on value of EXTRA_EXPECTED.
27461 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27462 * math/gen-libm-test.pl (parse_args): Don't output initializers
27463 for extra output values.
27464
de407f79
JM
27465 * math/libm-test.inc (check_int): Expect result to be exactly
27466 equal to expected value and do not handle ulps.
27467 (check_long): Likewise.
27468 (check_longlong): Likewise.
27469
8269107f
JM
27470 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27471 exceptions.
27472 (cimag_test_data): Likewise.
27473 (conj_test_data): Likewise.
27474 (copysign_test_data): Likewise.
27475 (cproj_test_data): Likewise.
27476 (creal_test_data): Likewise.
27477 (fabs_test_data): Likewise.
27478 (fdim_test_data): Likewise.
27479 (finite_test_data): Likewise.
27480 (floor_test_data): Likewise.
27481 (fmax_test_data): Likewise.
27482 (fmin_test_data): Likewise.
27483 (fmod_test_data): Likewise.
27484 (fpclassify_test_data): Likewise.
27485 (frexp_test_data): Likewise.
27486 (ilogb_test_data): Likewise.
27487 (isfinite_test_data): Likewise.
27488 (isgreater_test_data): Likewise.
27489 (isgreaterequal_test_data): Likewise.
27490 (isinf_test_data): Likewise.
27491 (isless_test_data): Likewise.
27492 (islessequal_test_data): Likewise.
27493 (islessgreater_test_data): Likewise.
27494 (isnan_test_data): Likewise.
27495 (isnormal_test_data): Likewise.
27496 (issignaling_test_data): Likewise.
27497 (isunordered_test_data): Likewise.
27498 (ldexp_test_data): Likewise.
27499 (lrint_test_data): Likewise.
27500 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27501 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27502 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27503 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27504 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27505 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27506 test input.
27507 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27508 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27509 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27510 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27511 that test input.
27512 (lrint_downward_test_data): Test for "inexact" exceptions.
27513 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27514 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27515 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27516 test input.
27517 (lrint_upward_test_data): Test for "inexact" exceptions.
27518 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27519 test input.
27520 (llrint_test_data): Test for "inexact" exceptions.
27521 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27522 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27523 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27524 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27525 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27526 (llrint_downward_test_data): Test for "inexact" exceptions.
27527 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27528 (llrint_upward_test_data): Test for "inexact" exceptions.
27529 (logb_test_data): Likewise.
27530 (logb_downward_test_data): Likewise.
27531 (nextafter_test_data): Likewise.
27532 (nexttoward_test_data): Likewise.
27533 (remainder_test_data): Likewise.
27534 (remquo_test_data): Likewise.
27535 (scalbn_test_data): Likewise.
27536 (scalbln_test_data): Likewise.
27537 (signbit_test_data): Likewise.
27538 (sqrt_test_data): Likewise.
27539 (significand_test_data): Likewise.
27540
48a18de1
SP
275412013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27542
27543 [BZ #15424]
27544 * benchtests/bench-modf.c (struct args): Mark arg0 as
27545 volatile.
27546 * scripts/bench.pl: Mark members of struct args as volatile.
27547
13d3b41a
AZ
275482013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27549
68191c1d 27550 [BZ # 15497]
13d3b41a
AZ
27551 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27552 negative infinity on POWER6 or lower.
27553 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27554
2848b105
MR
275552013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27556
27557 [BZ #15442]
27558 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27559 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27560 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27561 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27562 (_FP_SETQNAN): New macro.
27563 (_FP_SETQNAN_SEMIRAW): Likewise.
27564 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27565 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27566 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27567 (FP_EXTEND): Use _FP_FRAC_SNANP.
27568 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27569 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27570 into account.
27571 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27572 New macro.
27573 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27574 Likewise.
27575
323e5cb7
JM
275762013-05-16 Joseph Myers <joseph@codesourcery.com>
27577
c58b274f
JM
27578 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27579 with DIVIDE_BY_ZERO_EXCEPTION.
27580 (gamma_test_data): Likewise.
27581 (lgamma_test_data): Likewise.
27582 (log_test_data): Likewise.
27583 (log10_test_data): Likewise.
27584 (log2_test_data): Likewise.
27585 (tgamma_test_data): Likewise.
27586
0ab34904
JM
27587 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27588 (acos_test_tonearest): Likewise.
27589 (acos_test_towardzero): Likewise.
27590 (acos_test_downward): Likewise.
27591 (acos_test_upward): Likewise.
27592 (acosh_test): Likewise.
27593 (asin_test): Likewise.
27594 (asin_test_tonearest): Likewise.
27595 (asin_test_towardzero): Likewise.
27596 (asin_test_downward): Likewise.
27597 (asin_test_upward): Likewise.
27598 (asinh_test): Likewise.
27599 (atan_test): Likewise.
27600 (atanh_test): Likewise.
27601 (atan2_test): Likewise.
27602 (cabs_test): Likewise.
27603 (cacos_test): Likewise.
27604 (cacosh_test): Likewise.
27605 (casin_test): Likewise.
27606 (casinh_test): Likewise.
27607 (catan_test): Likewise.
27608 (catanh_test): Likewise.
27609 (cbrt_test): Likewise.
27610 (ccos_test): Likewise.
27611 (ccosh_test): Likewise.
27612 (cexp_test): Likewise.
27613 (clog_test): Likewise.
27614 (clog10_test): Likewise.
27615 (cos_test): Likewise.
27616 (cos_test_tonearest): Likewise.
27617 (cos_test_towardzero): Likewise.
27618 (cos_test_downward): Likewise.
27619 (cos_test_upward): Likewise.
27620 (cosh_test): Likewise.
27621 (cosh_test_tonearest): Likewise.
27622 (cosh_test_towardzero): Likewise.
27623 (cosh_test_downward): Likewise.
27624 (cosh_test_upward): Likewise.
27625 (cpow_test): Likewise.
27626 (csin_test): Likewise.
27627 (csinh_test): Likewise.
27628 (csqrt_test): Likewise.
27629 (ctan_test): Likewise.
27630 (ctan_test_tonearest): Likewise.
27631 (ctan_test_towardzero): Likewise.
27632 (ctan_test_downward): Likewise.
27633 (ctan_test_upward): Likewise.
27634 (ctanh_test): Likewise.
27635 (ctanh_test_tonearest): Likewise.
27636 (ctanh_test_towardzero): Likewise.
27637 (ctanh_test_downward): Likewise.
27638 (ctanh_test_upward): Likewise.
27639 (erf_test): Likewise.
27640 (erfc_test): Likewise.
27641 (exp_test): Likewise.
27642 (exp_test_tonearest): Likewise.
27643 (exp_test_towardzero): Likewise.
27644 (exp_test_downward): Likewise.
27645 (exp_test_upward): Likewise.
27646 (exp10_test): Likewise.
27647 (exp2_test): Likewise.
27648 (expm1_test): Likewise.
27649 (fmod_test): Likewise.
27650 (gamma_test): Likewise.
27651 (hypot_test): Likewise.
27652 (j0_test): Likewise.
27653 (j1_test): Likewise.
27654 (jn_test): Likewise.
27655 (lgamma_test): Likewise.
27656 (log_test): Likewise.
27657 (log10_test): Likewise.
27658 (log1p_test): Likewise.
27659 (log2_test): Likewise.
27660 (logb_test_downward): Likewise.
27661 (pow_test): Likewise.
27662 (pow_test_tonearest): Likewise.
27663 (pow_test_towardzero): Likewise.
27664 (pow_test_downward): Likewise.
27665 (pow_test_upward): Likewise.
27666 (remainder_test): Likewise.
27667 (remquo_test): Likewise.
27668 (sin_test): Likewise.
27669 (sin_test_tonearest): Likewise.
27670 (sin_test_towardzero): Likewise.
27671 (sin_test_downward): Likewise.
27672 (sin_test_upward): Likewise.
27673 (sincos_test): Likewise.
27674 (sinh_test): Likewise.
27675 (sinh_test_tonearest): Likewise.
27676 (sinh_test_towardzero): Likewise.
27677 (sinh_test_downward): Likewise.
27678 (sinh_test_upward): Likewise.
27679 (sqrt_test): Likewise.
27680 (tan_test): Likewise.
27681 (tan_test_tonearest): Likewise.
27682 (tan_test_towardzero): Likewise.
27683 (tan_test_downward): Likewise.
27684 (tan_test_upward): Likewise.
27685 (tanh_test): Likewise.
27686 (tgamma_test): Likewise.
27687 (y0_test): Likewise.
27688 (y1_test): Likewise.
27689 (yn_test): Likewise.
27690
323e5cb7
JM
27691 * math/gen-libm-test.pl (adjust_arg): Remove function.
27692 (special_function): Remove argument $in_func. Only handle
27693 generating output for tables of tests, not inside functions.
27694 (parse_args): Likewise.
27695 (generate_testfile): Remove variable $in_func. Update call to
27696 parse_args.
27697 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27698 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27699 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27700 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27701 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27702 (MAX_VALUE_INIT): Rename macro to max_value.
27703 (MIN_VALUE_INIT): Rename macro to min_value.
27704 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27705 (plus_zero): Remove variable.
27706 (minus_zero): Likewise.
27707 (plus_infty): Likewise.
27708 (minus_infty): Likewise.
27709 (qnan_value): Likewise.
27710 (max_value): Likewise.
27711 (min_value): Likewise.
27712 (min_subnorm_value): Likewise.
27713
e054f494
RA
277142013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27715
27716 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27717 uint64_t or uint32_t usage.
27718 * crypt/sha256-block.c: Likewise.
27719 * crypt/sha256-crypt.c: Likewise.
27720 * crypt/sha256.c: Likewise.
27721 * crypt/sha512-block.c: Likewise.
27722 * crypt/sha512-crypt.c: Likewise.
27723 * crypt/sha512.c: Likewise.
27724 * debug/backtrace-tst.c: Likewise.
27725 * debug/pcprofiledump.c: Likewise.
27726 * elf/cache.c: Likewise.
27727 * elf/dl-cache.c: Likewise.
27728 * elf/dl-misc.c: Likewise.
27729 * elf/dl-profile.c: Likewise.
27730 * elf/dl-support.c: Likewise.
27731 * elf/ldconfig.c: Likewise.
27732 * elf/sprof.c: Likewise.
27733 * iconv/dummy-repertoire.c: Likewise.
27734 * iconv/iconv_charmap.c: Likewise.
27735 * iconv/skeleton.c: Likewise.
27736 * iconvdata/8bit-generic.c: Likewise.
27737 * iconvdata/cp737.h: Likewise.
27738 * iconvdata/cp775.h: Likewise.
27739 * iconvdata/ibm1008.h: Likewise.
27740 * iconvdata/ibm1025.h: Likewise.
27741 * iconvdata/ibm1046.h: Likewise.
27742 * iconvdata/ibm1097.h: Likewise.
27743 * iconvdata/ibm1112.h: Likewise.
27744 * iconvdata/ibm1122.h: Likewise.
27745 * iconvdata/ibm1123.h: Likewise.
27746 * iconvdata/ibm1124.h: Likewise.
27747 * iconvdata/ibm1129.h: Likewise.
27748 * iconvdata/ibm1130.h: Likewise.
27749 * iconvdata/ibm1132.h: Likewise.
27750 * iconvdata/ibm1133.h: Likewise.
27751 * iconvdata/ibm1137.h: Likewise.
27752 * iconvdata/ibm1140.h: Likewise.
27753 * iconvdata/ibm1141.h: Likewise.
27754 * iconvdata/ibm1142.h: Likewise.
27755 * iconvdata/ibm1143.h: Likewise.
27756 * iconvdata/ibm1144.h: Likewise.
27757 * iconvdata/ibm1145.h: Likewise.
27758 * iconvdata/ibm1146.h: Likewise.
27759 * iconvdata/ibm1147.h: Likewise.
27760 * iconvdata/ibm1148.h: Likewise.
27761 * iconvdata/ibm1149.h: Likewise.
27762 * iconvdata/ibm1153.h: Likewise.
27763 * iconvdata/ibm1154.h: Likewise.
27764 * iconvdata/ibm1155.h: Likewise.
27765 * iconvdata/ibm1156.h: Likewise.
27766 * iconvdata/ibm1157.h: Likewise.
27767 * iconvdata/ibm1158.h: Likewise.
27768 * iconvdata/ibm1160.h: Likewise.
27769 * iconvdata/ibm1161.h: Likewise.
27770 * iconvdata/ibm1162.h: Likewise.
27771 * iconvdata/ibm1163.h: Likewise.
27772 * iconvdata/ibm1164.h: Likewise.
27773 * iconvdata/ibm1166.h: Likewise.
27774 * iconvdata/ibm1167.h: Likewise.
27775 * iconvdata/ibm12712.h: Likewise.
27776 * iconvdata/ibm1390.h: Likewise.
27777 * iconvdata/ibm1399.h: Likewise.
27778 * iconvdata/ibm16804.h: Likewise.
27779 * iconvdata/ibm4517.h: Likewise.
27780 * iconvdata/ibm4899.h: Likewise.
27781 * iconvdata/ibm4909.h: Likewise.
27782 * iconvdata/ibm4971.h: Likewise.
27783 * iconvdata/ibm5347.h: Likewise.
27784 * iconvdata/ibm803.h: Likewise.
27785 * iconvdata/ibm856.h: Likewise.
27786 * iconvdata/ibm901.h: Likewise.
27787 * iconvdata/ibm902.h: Likewise.
27788 * iconvdata/ibm9030.h: Likewise.
27789 * iconvdata/ibm9066.h: Likewise.
27790 * iconvdata/ibm921.h: Likewise.
27791 * iconvdata/ibm922.h: Likewise.
27792 * iconvdata/ibm9448.h: Likewise.
27793 * iconvdata/isiri-3342.h: Likewise.
27794 * iconvdata/jis0201.h: Likewise.
27795 * include/link.h: Likewise.
27796 * include/netdb.h: Likewise.
27797 * inet/check_native.c: Likewise.
27798 * inet/check_pf.c: Likewise.
27799 * inet/getipv4sourcefilter.c: Likewise.
27800 * inet/getnameinfo.c: Likewise.
27801 * inet/getsourcefilter.c: Likewise.
27802 * inet/htonl.c: Likewise.
27803 * inet/setipv4sourcefilter.c: Likewise.
27804 * inet/setsourcefilter.c: Likewise.
27805 * inet/test-inet6_opt.c: Likewise.
27806 * inet/tst-network.c: Likewise.
27807 * locale/C-collate.c: Likewise.
27808 * locale/C-ctype.c: Likewise.
27809 * locale/C-time.c: Likewise.
27810 * locale/C-translit.h: Likewise.
27811 * locale/loadarchive.c: Likewise.
27812 * locale/programs/3level.h: Likewise.
27813 * locale/programs/charmap.c: Likewise.
27814 * locale/programs/charmap.h: Likewise.
27815 * locale/programs/ld-address.c: Likewise.
27816 * locale/programs/ld-collate.c: Likewise.
27817 * locale/programs/ld-ctype.c: Likewise.
27818 * locale/programs/ld-identification.c: Likewise.
27819 * locale/programs/ld-measurement.c: Likewise.
27820 * locale/programs/ld-messages.c: Likewise.
27821 * locale/programs/ld-monetary.c: Likewise.
27822 * locale/programs/ld-name.c: Likewise.
27823 * locale/programs/ld-numeric.c: Likewise.
27824 * locale/programs/ld-paper.c: Likewise.
27825 * locale/programs/ld-telephone.c: Likewise.
27826 * locale/programs/ld-time.c: Likewise.
27827 * locale/programs/linereader.c: Likewise.
27828 * locale/programs/locale.c: Likewise.
27829 * locale/programs/locarchive.c: Likewise.
27830 * locale/programs/locfile.h: Likewise.
27831 * locale/programs/repertoire.c: Likewise.
27832 * locale/programs/simple-hash.c: Likewise.
27833 * locale/programs/simple-hash.h: Likewise.
27834 * malloc/memusage.c: Likewise.
27835 * malloc/memusagestat.c: Likewise.
27836 * nis/nis_defaults.c: Likewise.
27837 * nis/nis_hash.c: Likewise.
27838 * nis/nis_print.c: Likewise.
27839 * nis/nis_xdr.c: Likewise.
27840 * nscd/connections.c: Likewise.
27841 * nscd/hstcache.c: Likewise.
27842 * nscd/nscd_gethst_r.c: Likewise.
27843 * nscd/nscd_getserv_r.c: Likewise.
27844 * nscd/nscd_helper.c: Likewise.
27845 * nscd/servicescache.c: Likewise.
27846 * nss/makedb.c: Likewise.
27847 * nss/nss_db/db-XXX.c: Likewise.
27848 * nss/nss_db/db-initgroups.c: Likewise.
27849 * nss/nss_db/db-netgrp.c: Likewise.
27850 * nss/nss_files/files-network.c: Likewise.
27851 * nss/nss_files/files-parse.c: Likewise.
27852 * posix/bug-regex5.c: Likewise.
27853 * posix/fnmatch_loop.c: Likewise.
27854 * posix/regcomp.c: Likewise.
27855 * posix/regexec.c: Likewise.
27856 * posix/tst-rfc3484-2.c: Likewise.
27857 * posix/tst-rfc3484-3.c: Likewise.
27858 * posix/tst-rfc3484.c: Likewise.
27859 * resolv/nss_dns/dns-canon.c: Likewise.
27860 * resolv/nss_dns/dns-network.c: Likewise.
27861 * resolv/res_init.c: Likewise.
27862 * resolv/res_mkquery.c: Likewise.
27863 * resolv/tst-aton.c: Likewise.
27864 * stdlib/cxa_atexit.c: Likewise.
27865 * stdlib/cxa_finalize.c: Likewise.
27866 * stdlib/gen-fpioconst.c: Likewise.
27867 * stdlib/strtol_l.c: Likewise.
27868 * string/tst-endian.c: Likewise.
27869 * sunrpc/auth_des.c: Likewise.
27870 * sunrpc/clnt_udp.c: Likewise.
27871 * sunrpc/rtime.c: Likewise.
27872 * sunrpc/svcauth_des.c: Likewise.
27873 * sunrpc/xdr.c: Likewise.
27874 * sunrpc/xdr_intXX_t.c: Likewise.
27875 * sunrpc/xdr_rec.c: Likewise.
27876 * sysdeps/generic/ldconfig.h: Likewise.
27877 * sysdeps/generic/ldsodefs.h: Likewise.
27878 * sysdeps/generic/memusage.h: Likewise.
27879 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27880 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27882 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27884 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27885 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27888 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27889 * sysdeps/posix/getaddrinfo.c: Likewise.
27890 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27891 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27892 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27893 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27894 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27895 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27896 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27897 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27898 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27899 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27900 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27901 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27902 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27903 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27904 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27905 * sysdeps/x86_64/dl-tls.h: Likewise.
27906 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27907 * time/alt_digit.c: Likewise.
27908 * time/era.c: Likewise.
27909 * wcsmbs/tst-c16c32-1.c: Likewise.
27910
8c75f674
JM
279112013-05-16 Joseph Myers <joseph@codesourcery.com>
27912
27913 * math/libm-test.inc (struct test_sincos_data): New type.
27914 (RUN_TEST_LOOP_sincos): New macro.
27915 (sincos_test_data): New variable.
27916 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27917
e6e49e59
RH
279182013-05-16 Richard Henderson <rth@redhat.com>
27919
27920 * math/atest-exp2.c (LIMB64): New macro.
27921 (CONSTSZ): New macro.
27922 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27923 (hexdig): Move ...
27924 (print_mpn_fp): ... to function scope.
27925 (read_mpn_hex): Remove.
27926 (get_log2): Remove.
27927 (exp2_mpn): Use mp_log2.
27928 (main): Use mp_exp1.
27929
15c7c18d
JM
279302013-05-16 Joseph Myers <joseph@codesourcery.com>
27931
105a07df
JM
27932 * math/libm-test.inc: Remove comment about not testing "inexact"
27933 exceptions.
27934 (INEXACT_EXCEPTION): New macro.
27935 (NO_INEXACT_EXCEPTION): Likewise.
27936 (INVALID_EXCEPTION_OK): Update value.
27937 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27938 (OVERFLOW_EXCEPTION_OK): Likewise.
27939 (UNDERFLOW_EXCEPTION_OK): Likewise.
27940 (IGNORE_ZERO_INF_SIGN): Likewise.
27941 (ERRNO_UNCHANGED): Likewise.
27942 (ERRNO_EDOM): Likewise.
27943 (ERRNO_ERANGE): Likewise.
27944 (test_exceptions): Handle testing "inexact" exceptions.
27945 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27946 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27947 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27948 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27949 INEXACT_EXCEPTION.
27950 (rint_towardzero_test_data): Likewise.
27951 (rint_downward_test_data): Likewise.
27952 (rint_upward_test_data): Likewise.
27953
e9eee333
JM
27954 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27955 with OVERFLOW_EXCEPTION.
27956 (exp10_test_data): Likewise.
27957 (exp2_test_data): Likewise.
27958 (expm1_test_data): Likewise.
27959 (lgamma_test_data): Likewise.
27960 (pow_test_data): Likewise.
27961 (tgamma_test_data): Likewise.
27962 (yn_test_data): Remove duplicate test of overflow.
27963
1c38ff73
JM
27964 * math/libm-test.inc (struct test_cc_c_data): New type.
27965 (RUN_TEST_LOOP_cc_c): New macro.
27966 (cpow_test_data): New variable.
27967 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27968
15c7c18d
JM
27969 * math/libm-test.inc (struct test_f_L_data): New type.
27970 (RUN_TEST_LOOP_f_L): New macro.
27971 (llrint_test_data): New variable.
27972 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27973 (llrint_tonearest_test_data): New variable.
27974 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27975 (llrint_towardzero_test_data): New variable.
27976 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27977 (llrint_downward_test_data): New variable.
27978 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27979 (llrint_upward_test_data): New variable.
27980 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27981 (llround_test_data): New variable.
27982 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27983
f137ff13
PC
279842013-05-13 Peter Collingbourne <pcc@google.com>
27985
27986 * math/atest-exp2.c (get_log2): Remove const attribute.
27987
3608cb24
JM
279882013-05-15 Joseph Myers <joseph@codesourcery.com>
27989
27990 * math/libm-test.inc (struct test_f_l_data): New type.
27991 (RUN_TEST_LOOP_f_l): New macro.
27992 (lrint_test_data): New variable.
27993 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27994 (lrint_tonearest_test_data): New variable.
27995 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27996 (lrint_towardzero_test_data): New variable.
27997 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27998 (lrint_downward_test_data): New variable.
27999 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28000 (lrint_upward_test_data): New variable.
28001 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28002 (lround_test_data): New variable.
28003 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28004
39b1f617
PC
280052013-05-15 Peter Collingbourne <pcc@google.com>
28006
1deff3dc
PC
28007 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28008 (EXTRACT_WORDS64) Use where appropriate.
28009 (INSERT_WORDS64) Likewise.
28010
791f3ba0
PC
28011 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28012 constraints with x constraints.
28013 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28014
39b1f617
PC
28015 * malloc/obstack.c (_obstack_compat): Add initializer.
28016
12fba011
EM
280172013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28018
28019 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28020 si_trapno and add si_addr_lsb to _sifields.sigfault.
28021 (si_trapno): Remove macro.
28022 (si_addr_lsb): Define new macro.
28023 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28024
d369f531
JM
280252013-05-15 Joseph Myers <joseph@codesourcery.com>
28026
b861c6c4
JM
28027 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28028 instead of TEST_f_l.
28029 (llrint_test_tonearest): Likewise.
28030 (llrint_test_towardzero): Likewise.
28031 (llrint_test_downward): Likewise.
28032 (llrint_test_upward): Likewise.
28033 (llround_test): Likewise.
28034
7abeee12
JM
28035 * math/libm-test.inc (struct test_f_i_data): Add comment.
28036 (RUN_TEST_LOOP_f_b): New macro.
28037 (RUN_TEST_LOOP_f_b_tg): Likewise.
28038 (finite_test_data): New variable.
28039 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28040 (isfinite_test_data): New variable.
28041 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28042 (isinf_test_data): New variable.
28043 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28044 (isnan_test_data): New variable.
28045 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28046 (isnormal_test_data): New variable.
28047 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28048 (issignaling_test_data): New variable.
28049 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28050 (signbit_test_data): New variable.
28051 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28052
cbe8c4d3
JM
28053 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28054 with INVALID_EXCEPTION.
28055 (acosh_test_data): Likewise.
28056 (asin_test_data): Likewise.
28057 (atanh_test_data): Likewise.
28058 (fmod_test_data): Likewise.
28059 (log_test_data): Likewise.
28060 (log10_test_data): Likewise.
28061 (log2_test_data): Likewise.
28062 (pow_test_data): Likewise.
28063 (sqrt_test_data): Likewise.
28064 (y0_test_data): Likewise.
28065 (y1_test_data): Likewise.
28066 (yn_test_data): Likewise.
28067
5575c0e5
JM
28068 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28069 function contents.
28070
d369f531
JM
28071 * math/libm-test.inc (struct test_ff_i_data): New type.
28072 (RUN_TEST_LOOP_ff_i_tg): New macro.
28073 (isgreater_test_data): New variable.
28074 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28075 (isgreaterequal_test_data): New variable.
28076 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28077 (isless_test_data): New variable.
28078 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28079 (islessequal_test_data): New variable.
28080 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28081 (islessgreater_test_data): New variable.
28082 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28083 (isunordered_test_data): New variable.
28084 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28085
781fd748
DM
280862013-05-14 David S. Miller <davem@davemloft.net>
28087
28088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28089
87aa21df
JM
280902013-05-14 Joseph Myers <joseph@codesourcery.com>
28091
5e908270
JM
28092 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28093
f71172e5
JM
28094 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28095 extra_test to int.
28096 (struct test_f_i_data): Change type of max_ulp to int.
28097
8cfa635a
JM
28098 * math/libm-test.inc (test_ffI_f1_data): New type.
28099 (RUN_TEST_LOOP_ffI_f1): New macro.
28100 (remquo_test_data): New variable.
28101 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28102
2bcb36b2
JM
28103 * setjmp/tst-setjmp-fp.c: New file.
28104 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28105 (link-libm): New variable.
28106 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28107
acbd839a
JM
28108 * math/libm-test.inc (struct test_f_i_data): New type.
28109 (RUN_TEST_LOOP_f_i): New macro.
28110 (RUN_TEST_LOOP_f_i_tg): Likewise.
28111 (fpclassify_test_data): New variable.
28112 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28113 (ilogb_test_data): New variable.
28114 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28115
e414d745
JM
28116 * math/libm-test.inc (scalbln_test): Correct function name in END
28117 call.
28118
d9c2a0fd
JM
28119 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28120 (RUN_TEST_LOOP_fI_f1): New macro.
28121 (frexp_test_data): New variable.
28122 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28123
9dc9095d
JM
28124 * math/libm-test.inc (struct test_fF_f1_data): New type.
28125 (RUN_TEST_LOOP_fF_f1): New macro.
28126 (modf_test_data): New variable.
28127 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28128
87aa21df
JM
28129 * math/libm-test.inc (struct test_f_f1_data): New type.
28130 (RUN_TEST_LOOP_f_f1): New macro.
28131 (gamma_test_data): New variable.
28132 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28133 (lgamma_test_data): New variable.
28134 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28135
141af660
CD
281362013-05-13 Carlos O'Donell <carlos@redhat.com>
28137
28138 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28139 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28140 (main): Comment "tls" pseudo-hwcap.
28141
6d33265c
JM
281422013-05-13 Joseph Myers <joseph@codesourcery.com>
28143
68fc074c
JM
28144 * math/libm-test.inc (struct test_fl_f_data): New type.
28145 (RUN_TEST_LOOP_fl_f): New variable.
28146 (scalbln_test_data): New variable.
28147 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28148
243216e1
JM
28149 * math/libm-test.inc (struct test_fi_f_data): New type.
28150 (RUN_TEST_LOOP_fi_f): New macro.
28151 (ldexp_test_data): New variable.
28152 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28153 (scalbn_test_data): New variable.
28154 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28155
6a1992e2
JM
28156 * math/libm-test.inc (struct test_c_f_data): New type.
28157 (RUN_TEST_LOOP_c_f): New macro.
28158 (cabs_test_data): New variable.
28159 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28160 (carg_test_data): New variable.
28161 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28162 (cimag_test_data): New variable.
28163 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28164 (creal_test_data): New variable.
28165 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28166
0e400df5
JM
28167 * math/libm-test.inc (struct test_if_f_data): New type.
28168 (RUN_TEST_LOOP_if_f): New macro.
28169 (jn_test_data): New variable.
28170 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28171 (yn_test_data): New variable.
28172 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28173
6d33265c
JM
28174 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28175
f98ece5f
AZ
281762013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28177
28178 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28179 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28180
0f7d347b
SP
281812013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28182
43fe811b
SP
28183 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28184 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28185 (bench-deps): Add bench-timing.h.
28186 * benchtests-bench-skeleton.c: Include bench-timing.h.
28187 (main): Use TIMING_* macros instead of clock_gettime.
28188 * benchtests/bench-timing.h: New file.
28189
0f7d347b
SP
28190 [BZ #14582]
28191 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28192 Renamed from _LIB_VERSION.
28193 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28194
601a3a5f
JM
281952013-05-12 Joseph Myers <joseph@codesourcery.com>
28196
4f184d30
JM
28197 * math/libm-test.inc (struct test_fff_f_data): New type.
28198 (RUN_TEST_LOOP_fff_f): New macro.
28199 (fma_test_data): New variable.
28200 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28201 (fma_towardzero_test_data): New variable.
28202 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28203 (fma_downward_test_data): New variable.
28204 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28205 (fma_upward_test_data): New variable.
28206 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28207
08198877
JM
28208 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28209 (struct test_c_c_data): New type.
28210 (RUN_TEST_LOOP_c_c): New macro.
28211 (cacos_test_data): New variable.
28212 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28213 (cacosh_test_data): New variable.
28214 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28215 (casin_test_data): New variable.
28216 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28217 (casinh_test_data): New variable.
28218 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28219 (catan_test_data): New variable.
28220 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28221 (catanh_test_data): New variable.
28222 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28223 (ccos_test_data): New variable.
28224 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28225 (ccosh_test_data): New variable.
28226 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28227 (cexp_test_data): New variable.
28228 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28229 (clog_test_data): New variable.
28230 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28231 (clog10_test_data): New variable.
28232 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28233 (conj_test_data): New variable.
28234 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28235 (cproj_test_data): New variable.
28236 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28237 (csin_test_data): New variable.
28238 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28239 (csinh_test_data): New variable.
28240 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28241 (csqrt_test_data): New variable.
28242 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28243 (ctan_test_data): New variable.
28244 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28245 (ctan_tonearest_test_data): New variable.
28246 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28247 (ctan_towardzero_test_data): New variable.
28248 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28249 (ctan_downward_test_data): New variable.
28250 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28251 (ctan_upward_test_data): New variable.
28252 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28253 (ctanh_test_data): New variable.
28254 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28255 (ctanh_tonearest_test_data): New variable.
28256 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28257 (ctanh_towardzero_test_data): New variable.
28258 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28259 (ctanh_downward_test_data): New variable.
28260 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28261 (ctanh_upward_test_data): New variable.
28262 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28263 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28264 of BUILD_COMPLEX.
28265
601a3a5f
JM
28266 * math/libm-test.inc (struct test_ff_f_data): New type.
28267 (struct test_ff_f_data_nexttoward): Likewise.
28268 (RUN_TEST_LOOP_2_f): New macro.
28269 (RUN_TEST_LOOP_ff_f): Likewise.
28270 (atan2_test_data): New variable.
28271 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28272 (copysign_test_data): New variable.
28273 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28274 (fdim_test_data): New variable.
28275 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28276 (fmax_test_data): New variable.
28277 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28278 (fmin_test_data): New variable.
28279 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28280 (fmod_test_data): New variable.
28281 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28282 (hypot_test_data): New variable.
28283 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28284 (nextafter_test_data): New variable.
28285 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28286 (nexttoward_test_data): New variable.
28287 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28288 (pow_test_data): New variable.
28289 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28290 (pow_tonearest_test_data): New variable.
28291 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28292 (pow_towardzero_test_data): New variable.
28293 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28294 (pow_downward_test_data): New variable.
28295 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28296 (pow_upward_test_data): New variable.
28297 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28298 (remainder_test_data): New variable.
28299 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28300 (scalb_test_data): New variable.
28301 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28302 * sysdeps/i386/fpu/libm-test-ulps: Update.
28303
74c57478
JM
283042013-05-11 Joseph Myers <joseph@codesourcery.com>
28305
8329e4da
JM
28306 * math/libm-test.inc (fma_test): Use max_value instead of local
28307 variable fltmax.
28308 (nextafter_test): Likewise.
28309
74c57478
JM
28310 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28311 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28312 (acos_downward_test_data): New variable.
28313 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28314 (acos_upward_test_data): New variable.
28315 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28316 (acosh_test_data): New variable.
28317 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28318 (asin_test_data): New variable.
28319 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28320 (asin_tonearest_test_data): New variable.
28321 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28322 (asin_towardzero_test_data): New variable.
28323 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28324 (asin_downward_test_data): New variable.
28325 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28326 (asin_upward_test_data): New variable.
28327 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28328 (asinh_test_data): New variable.
28329 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28330 (atan_test_data): New variable.
28331 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28332 (atanh_test_data): New variable.
28333 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28334 (cbrt_test_data): New variable.
28335 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28336 (ceil_test_data): New variable.
28337 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28338 (cos_test_data): New variable.
28339 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28340 (cos_tonearest_test_data): New variable.
28341 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28342 (cos_towardzero_test_data): New variable.
28343 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28344 (cos_downward_test_data): New variable.
28345 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28346 (cos_upward_test_data): New variable.
28347 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28348 (cosh_test_data): New variable.
28349 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28350 (cosh_tonearest_test_data): New variable.
28351 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28352 (cosh_towardzero_test_data): New variable.
28353 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28354 (cosh_downward_test_data): New variable.
28355 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28356 (cosh_upward_test_data): New variable.
28357 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28358 (erf_test_data): New variable.
28359 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28360 (erfc_test_data): New variable.
28361 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28362 (exp_test_data): New variable.
28363 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28364 (exp_tonearest_test_data): New variable.
28365 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28366 (exp_towardzero_test_data): New variable.
28367 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28368 (exp_downward_test_data): New variable.
28369 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28370 (exp_upward_test_data): New variable.
28371 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28372 (exp10_test_data): New variable.
28373 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28374 (exp2_test_data): New variable.
28375 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28376 (expm1_test_data): New variable.
28377 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28378 (fabs_test_data): New variable.
28379 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28380 (floor_test_data): New variable.
28381 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28382 (j0_test_data): New variable.
28383 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28384 (j1_test_data): New variable.
28385 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28386 (log_test_data): New variable.
28387 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28388 (log10_test_data): New variable.
28389 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28390 (log1p_test_data): New variable.
28391 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28392 (log2_test_data): New variable.
28393 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28394 (logb_test_data): New variable.
28395 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28396 (logb_downward_test_data): New variable.
28397 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28398 (nearbyint_test_data): New variable.
28399 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28400 (rint_test_data): New variable.
28401 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28402 (rint_tonearest_test_data): New variable.
28403 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28404 (rint_towardzero_test_data): New variable.
28405 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28406 (rint_downward_test_data): New variable.
28407 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28408 (rint_upward_test_data): New variable.
28409 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28410 (round_test_data): New variable.
28411 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28412 (sin_test_data): New variable.
28413 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28414 (sin_tonearest_test_data): New variable.
28415 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28416 (sin_towardzero_test_data): New variable.
28417 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28418 (sin_downward_test_data): New variable.
28419 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28420 (sin_upward_test_data): New variable.
28421 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28422 (sinh_test_data): New variable.
28423 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28424 (sinh_tonearest_test_data): New variable.
28425 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28426 (sinh_towardzero_test_data): New variable.
28427 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28428 (sinh_downward_test_data): New variable.
28429 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28430 (sinh_upward_test_data): New variable.
28431 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28432 (sqrt_test_data): New variable.
28433 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28434 (tan_test_data): New variable.
28435 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28436 (tan_tonearest_test_data): New variable.
28437 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28438 (tan_towardzero_test_data): New variable.
28439 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28440 (tan_downward_test_data): New variable.
28441 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28442 (tan_upward_test_data): New variable.
28443 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28444 (tanh_test_data): New variable.
28445 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28446 (tgamma_test_data): New variable.
28447 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28448 (trunc_test_data): New variable.
28449 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28450 (y0_test_data): New variable.
28451 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28452 (y1_test_data): New variable.
28453 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28454 (significand_test_data): New variable.
28455 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28456
7187d844
CG
284572013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28458
28459 [BZ #12387]
28460 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28461
f63fae73
PT
284622013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28463
28464 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28465
8a67a4b3
AJ
284662013-05-10 Andreas Jaeger <aj@suse.de>
28467
28468 [BZ #15448]
28469 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28470 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28471
51df539d
JM
284722013-05-10 Joseph Myers <joseph@codesourcery.com>
28473
28474 * math/gen-libm-test.pl (adjust_arg): New function.
28475 (special_functions): Handle generating output in both functions
28476 and arrays.
28477 (parse_args): Likewise.
28478 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28479 $in_func argument to parse_args.
28480 * math/libm-test.inc (struct test_f_f_data): New type.
28481 (IF_ROUND_INIT_): New macro.
28482 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28483 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28484 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28485 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28486 (ROUND_RESTORE_): Likewise.
28487 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28488 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28489 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28490 (ROUND_RESTORE_FE_UPWARD): Likewise.
28491 (RUN_TEST_LOOP_f_f): New macro.
28492 (acos_test_data): New variable.
28493 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28494 (acos_tonearest_test_data): New variable.
28495 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28496
5c637fe5
SP
284972013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28498
28499 * benchtests/bench-skeleton.c (startup): Fix coding style.
28500
ab2b9461
JM
285012013-05-10 Joseph Myers <joseph@codesourcery.com>
28502
28503 [BZ #6809]
28504 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28505 negative infinity argument.
28506 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28507 negative infinity argument.
28508 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28509 negative infinity argument.
28510 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28511 domain errors.
28512
4c0fe6fe
FW
285132013-05-10 Florian Weimer <fweimer@redhat.com>
28514
28515 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28516 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28517 * iconv/iconv_prog.c (main): Likewise.
28518 * locale/programs/charmap-dir.c (charmap_readdir)
28519 (fopen_uncompressed): Likewise.
28520 * locale/programs/locfile.c (siblings_uncached)
28521 (write_locale_data): Use lstat64 instead of lstat.
28522 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28523 stat.
28524
a3375d29
AJ
285252013-05-10 Andreas Jaeger <aj@suse.de>
28526
28527 [BZ #15395]
28528 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28529 localization.
28530 Include <locale.h>.
28531
36129722
CD
285322013-05-09 Carlos O'Donell <carlos@redhat.com>
28533
28534 * elf/dl-close.c (_dl_close_worker): Add comments.
28535
faa7f811
JM
285362013-05-09 Joseph Myers <joseph@codesourcery.com>
28537
ed41ffef
JM
28538 [BZ #15359]
28539 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28540 high part of pi/2.
28541 (__ieee754_rem_pio2l): Update comments.
28542
d0213cd0
JM
28543 [BZ #15429]
28544 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28545 high part of pi/2.
28546 (__ieee754_rem_pio2l): Update comments.
28547
0d3e777a
JM
28548 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28549 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28550
24f56066
JM
28551 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28552 M_PI_4l.
28553
faa7f811
JM
28554 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28555 (M_PI_34_LOG10El): Likewise.
28556 (M_PI2_LOG10El): Likewise.
28557 (M_PI4_LOG10El): Likewise.
28558 (M_PI_LOG10El): Likewise.
28559
e9a5e0fd
AZ
285602013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28561
28562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28563
d8cd06db
JM
285642013-05-08 Joseph Myers <joseph@codesourcery.com>
28565
a0d9f9d7
JM
28566 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28567 (MINUS_ZERO_INIT): Likewise.
28568 (PLUS_INFTY_INIT): Likewise.
28569 (MINUS_INFTY_INIT): Likewise.
28570 (QNAN_VALUE_INIT): Likewise.
28571 (MAX_VALUE_INIT): Likewise.
28572 (MIN_VALUE_INIT): Likewise.
28573 (MIN_SUBNORM_VALUE_INIT): Likewise.
28574 (plus_zero): Initialize with PLUS_ZERO_INIT.
28575 (minus_zero): Initialize with MINUS_ZERO_INIT.
28576 (plus_infty): Initialize with PLUS_INFTY_INIT.
28577 (minus_infty): Initialize with MINUS_INFTY_INIT.
28578 (qnan_value): Initialize with QNAN_VALUE_INIT.
28579 (max_value): Initialize with MAX_VALUE_INIT.
28580 (min_value): Initialize with MIN_VALUE_INIT.
28581 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28582
ae08db3b
JM
28583 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28584 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28585 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28586 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28587
f44bf14a
JM
28588 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28589 (RUN_TEST_2_f): Likewise.
28590 (RUN_TEST_ff_f): Likewise.
28591 (RUN_TEST_fi_f): Likewise.
28592 (RUN_TEST_fl_f): Likewise.
28593 (RUN_TEST_fff_f): Likewise.
28594 (RUN_TEST_c_f): Likewise.
28595 (RUN_TEST_f_f1): Likewise.
28596 (RUN_TEST_fF_f1): Likewise.
28597 (RUN_TEST_fI_f1): Likewise.
28598 (RUN_TEST_ffI_f1): Likewise.
28599 (RUN_TEST_c_c): Likewise.
28600 (RUN_TEST_cc_c): Likewise.
28601 (RUN_TEST_f_i): Likewise.
28602 (RUN_TEST_f_i_tg): Likewise.
28603 (RUN_TEST_ff_i_tg): Likewise.
28604 (RUN_TEST_f_b): Likewise.
28605 (RUN_TEST_f_b_tg): Likewise.
28606 (RUN_TEST_f_l): Likewise.
28607 (RUN_TEST_f_L): Likewise.
28608 (RUN_TEST_sincos): Likewise.
28609 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28610 whether to show exceptions. Do not include ");\n" in return
28611 value.
28612 (special_functions): Output call to RUN_TEST_sincos instead of
28613 check_float calls. Update calls to new_test.
28614 (parse_args): Output call to single RUN_TEST_* macro instead of
28615 check_* calls and other assignments. Update calls to new_test.
28616
d8cd06db
JM
28617 [BZ #2546]
28618 [BZ #2560]
28619 [BZ #5159]
28620 [BZ #15426]
28621 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28622 input to result for tgamma overflow.
28623 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28624 (gamma_coeff): New variable.
28625 (NCOEFF): New macro.
28626 (gamma_positive): New function.
28627 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28628 underflow here. Use gamma_positive instead of exp (lgamma) for
28629 other arguments.
28630 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28631 (gamma_coeff): New variable.
28632 (NCOEFF): New macro.
28633 (gammaf_positive): New function.
28634 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28635 underflow here. Use gamma_positive instead of exp (lgamma) for
28636 other arguments.
28637 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28638 (gamma_coeff): New variable.
28639 (NCOEFF): New macro.
28640 (gammal_positive): New function.
28641 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28642 underflow here. Use gamma_positive instead of exp (lgamma) for
28643 other arguments.
28644 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28645 (gamma_coeff): New variable.
28646 (NCOEFF): New macro.
28647 (gammal_positive): New function.
28648 (__ieee754_gammal_r): Handle positive infinity, overflow and
28649 underflow here. Handle NaN the same as positive infinity. Remove
28650 check x < 0xffffffff for negative integers. Use gamma_positive
28651 instead of exp (lgamma) for other arguments.
28652 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28653 (gamma_coeff): New variable.
28654 (NCOEFF): New macro.
28655 (gammal_positive): New function.
28656 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28657 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28661 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28662 * sysdeps/generic/math_private.h (__gamma_productf): New
28663 prototype.
28664 (__gamma_product): Likewise.
28665 (__gamma_productl): Likewise.
28666 * math/Makefile (libm-calls): Add gamma_product.
28667 * math/libm-test.inc (tgamma_test): Add more tests.
28668 * sysdeps/i386/fpu/libm-test-ulps: Update.
28669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28670
bb7cf681
OB
286712013-05-08 Ondřej Bílka <neleai@seznam.cz>
28672
28673 * benchtests/bench-skeleton.c (main): Preheat CPU.
28674
ba853947
AJ
286752013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28676
28677 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28678
8347c74c
RM
286792013-05-07 Roland McGrath <roland@hack.frob.com>
28680
28681 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28682 and _dl_skip_args_internal.
28683
e8dd4791
CD
286842013-05-07 Carlos O'Donell <carlos@redhat.com>
28685
28686 * manual/message.texi (Message Translation): Talk about users.
28687 Message to key mapping impacts design.
28688
c7405830
RM
286892013-05-06 Roland McGrath <roland@hack.frob.com>
28690
a9173057
RM
28691 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28692
976e2f03
RM
28693 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28694
9723ffc5
RM
28695 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28696 * sysdeps/wordsize-64/glob64.c: ... here.
28697
962e6658
RM
28698 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28699 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28700 New macros.
28701
ee586a6d
RM
28702 * debug/getlogin_r_chk.c: Moved to ...
28703 * login/getlogin_r_chk.c: ... here.
28704 * debug/Makefile (routines): Move getlogin_r_chk to ...
28705 * login/Makefile (routines): ... here.
28706 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28707 * login/Versions (libc: GLIBC_2.4): ... here.
28708
355f9165
RM
28709 * io/poll.c (__poll): Renamed from poll.
28710 Add libc_hidden_def.
28711 (poll): Define as weak alias.
28712
bd9ffde6
RM
28713 * debug/ptsname_r_chk.c: Moved to ...
28714 * login/ptsname_r_chk.c: ... here.
28715 * debug/Makefile (routines): Move ptsname_r_chk to ...
28716 * login/Makefile (routines): ... here.
28717 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28718 * login/Versions (libc: GLIBC_2.4): ... here.
28719
8fb16a04
RM
28720 * posix/getlogin.c: Moved to ...
28721 * login/getlogin.c: ... here.
28722 * posix/getlogin_r.c: Moved to ...
28723 * login/getlogin_r.c: ... here.
28724 * posix/getlogin_r.c: Moved to ...
28725 * login/getlogin_r.c: ... here.
28726 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28727 * login/Makefile (routines): ... here.
28728 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28729 * login/Versions (libc: GLIBC_2.0): ... here.
28730
b99b892f
RM
28731 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28732 (setrlimit): Define as weak alias.
28733
c7405830
RM
28734 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28735 Call __ names for open, ftruncate, and close.
28736 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28737 (truncate): Define as weak alias.
28738
5bf96de5
JM
287392013-05-06 Joseph Myers <joseph@codesourcery.com>
28740
9ea3513c
JM
28741 * math/gen-libm-test.pl (parse_args): Initialize x before each
28742 test of frexp, modf and remquo.
28743
5bf96de5
JM
28744 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28745 test signgam value.
28746
16e616a7
AZ
287472013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28748
28749 [BZ #15418]
28750 [BZ #15419]
28751 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28752 internal tests.
28753 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28754
d5e82754
RM
287552013-05-06 Roland McGrath <roland@hack.frob.com>
28756
28757 * elf/dl-writev.h: New file.
28758 * elf/dl-misc.c: Include it.
28759 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28760 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28761
a7548d41
JM
287622013-05-04 Joseph Myers <joseph@codesourcery.com>
28763
b7dab1e4
JM
28764 * math/libm-test.inc (noXFails): Remove variable.
28765 (noXPasses): Likewise.
28766 (BUILD_COMPLEX_INT): Remove macro.
28767 (print_screen): Remove xfail argument.
28768 (print_screen_max_error): Likewise.
28769 (update_stats): Likewise.
28770 (print_max_error): Likewise. Update calls to other affected
28771 functions.
28772 (print_complex_max_error): Likewise.
28773 (test_single_exception): Update calls to print_screen.
28774 (test_single_errno): Likewise.
28775 (check_float_internal): Remove xfail argument. Update calls to
28776 other affected functions.
28777 (check_float): Likewise.
28778 (check_complex): Likewise.
28779 (check_int): Likewise.
28780 (check_long): Likewise.
28781 (check_bool): Likewise.
28782 (check_longlong): Likewise.
28783 (main): Don't print noXFails and noXPasses.
28784 * math/gen-libm-test.pl (top level): Don't mention expected
28785 failure handling in comment.
28786 (new_test): Don't handle expected failures.
28787 (parse_args): Don't mention expected failure handling in comment.
28788 (generate_testfile): Don't handle expected failures.
28789 (parse_ulps): Likewise.
28790 (print_ulps_file): Likewise.
28791 (get_failure): Remove function.
28792 (output_test): Don't handle expected failures.
28793 * make/README.libm-test: Don't mention expected failure handling.
28794
a7548d41
JM
28795 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28796 (minus_zero): Likewise.
28797 (plus_infty): Likewise.
28798 (minus_infty): Likewise.
28799 (qnan_value): Likewise.
28800 (max_value): Likewise.
28801 (min_value): Likewise.
28802 (min_subnorm_value): Likewise.
28803 (initialize): Do not initialize those variables dynamically.
28804
60bfd54c
RM
288052013-05-03 Roland McGrath <roland@hack.frob.com>
28806
cc0e6ed8
RM
28807 * io/open.c (__open_2): Moved to ...
28808 * io/open_2.c: ... this new file.
28809 * io/open64.c (__open64_2): Moved to ...
28810 * io/open64_2.c: ... this new file.
28811 * io/openat.c (__openat_2): Moved to ...
28812 * io/openat_2.c: ... this new file.
28813 * io/openat64.c (__openat64_2): Moved to ...
28814 * io/openat64_2.c: ... this new file.
28815 * io/Makefile (routines): Add them.
28816 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28817 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28818 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28819 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28820 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28821 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28822 (__openat64): Add hidden_ver.
28823 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28824 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28825
60bfd54c
RM
28826 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28827 Separately conditionalize setting of GLRO(dl_sysinfo) so
28828 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28829 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28830
83e7640f
AZ
288312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28832
28833 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28834 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28835 definition.
28836 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28837 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28838 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28839 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28840 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28841
d5dc2af3
JM
288422013-05-03 Joseph Myers <joseph@codesourcery.com>
28843
c31a5b1e
JM
28844 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28845 test signgam value.
28846
d5dc2af3
JM
28847 * math/libm-test.inc (hypot_test): Do not use
28848 IGNORE_ZERO_INF_SIGN.
28849
164fd39d
AJ
288502013-05-03 Andreas Jaeger <aj@suse.de>
28851
28852 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28853 Linux 3.9.
28854 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28855 (PF_MAX): Adjust for VSOCK change.
28856
8237f48c
AZ
288572013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28858
28859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28860
9df02941
CD
288612013-05-02 Carlos O'Donell <carlos@redhat.com>
28862
28863 [BZ #15264]
28864 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28865 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28866 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28867
d422395e
DM
288682013-05-02 David S. Miller <davem@davemloft.net>
28869
28870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28871
a07c5731
OB
288722013-05-01 Ondřej Bílka <neleai@seznam.cz>
28873
28874 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28875
1324e37f
RM
288762013-05-01 Roland McGrath <roland@hack.frob.com>
28877
28878 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28879
0695940b
RS
288802013-05-01 Richard Smith <richard@metafoo.co.uk>
28881
bb5f27ad 28882 [BZ #14952]
0695940b
RS
28883 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28884 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28885 Use __attribute__ ((__gnu_inline__)).
28886 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28887 Don't use __attribute__ ((__gnu_inline__)).
28888
10de07f5
JM
288892013-05-01 Joseph Myers <joseph@codesourcery.com>
28890
28891 [BZ #15423]
28892 * math/s_catan.c (__catan): Handle small real or imaginary part of
28893 input specially to avoid spurious underflow.
28894 * math/s_catanf.c (__catanf): Likewise.
28895 * math/s_catanh.c (__catanh): Likewise.
28896 * math/s_catanhf.c (__catanhf): Likewise.
28897 * math/s_catanhl.c (__catanhl): Likewise.
28898 * math/s_catanl.c (__catanl): Likewise.
28899 * math/libm-test.inc (catan_test): Add more tests.
28900 (catanh_test): Likewise.
28901 * sysdeps/i386/fpu/libm-test-ulps: Update.
28902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28903
cb4d5414
AZ
289042013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28905
28906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28907
caf84319
JM
289082013-04-30 Joseph Myers <joseph@codesourcery.com>
28909
28910 [BZ #15416]
28911 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28912 accurately for denominator in atan2.
28913 * math/s_catanf.c (__catanf): Likewise.
28914 * math/s_catanh.c (__catanh): Likewise.
28915 * math/s_catanhf.c (__catanhf): Likewise.
28916 * math/s_catanhl.c (__catanhl): Likewise.
28917 * math/s_catanl.c (__catanl): Likewise.
28918 * math/libm-test.inc (catan_test): Add more tests.
28919 (catanh_test): Likewise.
28920 * sysdeps/i386/fpu/libm-test-ulps: Update.
28921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28922
d569c6ee
SP
289232013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28924
6dbe713d
SP
28925 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28926
f0ee064b
SP
28927 * benchtests/Makefile (bench): Remove slow benchmarks.
28928 * benchtests/atan-inputs: Add slow benchmark inputs.
28929 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28930 (BENCH_FUNC): Accept variant offset.
28931 (VARIANT): Define.
28932 * benchtests/bench-skeleton.c (main): Run benchmark for each
28933 variant.
28934 * benchtests/cos-inputs: Add slow benchmark inputs.
28935 * benchtests/exp-inputs: Likewise.
28936 * benchtests/pow-inputs: Likewise.
28937 * benchtests/sin-inputs: Likewise.
28938 * benchtests/slowatan-inputs: Remove.
28939 * benchtests/slowatan.c: Remove.
28940 * benchtests/slowcos-inputs: Remove.
28941 * benchtests/slowcos.c: Remove.
28942 * benchtests/slowexp-inputs: Remove.
28943 * benchtests/slowexp.c: Remove.
28944 * benchtests/slowpow-inputs: Remove.
28945 * benchtests/slowpow.c: Remove.
28946 * benchtests/slowsin-inputs: Remove.
28947 * benchtests/slowsin.c: Remove.
28948 * benchtests/slowtan-inputs: Remove.
28949 * benchtests/slowtan.c: Remove.
28950 * benchtests/tan-inputs: Add slow benchmark inputs.
28951 * scripts/bench.pl: Parse comments and directives.
28952
d569c6ee
SP
28953 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28954 in CPPFLAGS.
28955 ($(objpfx)bench-%.c): Remove *-ITER.
28956 * benchtests/bench-modf.c: Remove definition of ITER.
28957 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28958 (main): Loop for DURATION seconds instead of fixed number of
28959 iterations.
28960 * scripts/bench.pl: Don't expect iterations in parameters.
28961
a6a242fe
RM
289622013-04-29 Roland McGrath <roland@hack.frob.com>
28963
28964 * io/fchdir.c (__fchdir): Renamed from fchdir.
28965 (fchdir): Define as weak alias.
28966
f2da7793
JM
289672013-04-29 Joseph Myers <joseph@codesourcery.com>
28968
28969 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28970 (ERRNO_EDOM): Likewise.
28971 (ERRNO_ERANGE): Likewise.
28972 (noErrnoTests): New variable.
28973 (init_max_error): Set errno to 0.
28974 (test_single_errno): New function.
28975 (test_errno): Likewise.
28976 (check_float_internal): Call test_errno. Set errno to 0.
28977 (check_complex): Refer to errno tests in comment.
28978 (check_int): Call test_errno. Set errno to 0.
28979 (check_long): Likewise.
28980 (check_bool): Likewise.
28981 (check_longlong): Likewise.
28982 (cos_test): Use ERRNO_* flags for errno tests instead of
28983 check_int.
28984 (expm1_test): Likewise.
28985 (fmod_test): Likewise.
28986 (ilogb_test): Likewise.
28987 (lgamma_test): Likewise.
28988 (pow_test): Likewise.
28989 (remainder_test): Likewise.
28990 (sin_test): Likewise.
28991 (tan_test): Likewise.
28992 (yn_test): Likewise.
28993 (initialize): Set errno to 0.
28994 (main): Print number of errno tests.
28995 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28996
b1a36ceb
AJ
289972013-04-29 Andreas Jaeger <aj@suse.de>
28998
c3ed8088
AJ
28999 [BZ #15084]
29000 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29001 and RES_USEVC.
29002
f1a24198
AJ
29003 [BZ #15085]
29004 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29005 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29006 unimplemented.
29007
9ce3b2cb
AJ
29008 [BZ #15380]
29009 * stdlib/random.c (__initstate): Return NULL if
29010 __initstate fails.
29011
f1a24198 29012 [BZ #15086]
b1a36ceb
AJ
29013 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29014 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29015 RES_SNGLKUPREOP.
29016
7e7b6f36
AZ
290172013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29018
29019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29020
4d14f449
JM
290212013-04-29 Joseph Myers <joseph@codesourcery.com>
29022
29023 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29024 of individual tests.
29025 (casin_test): Likewise.
29026 (casinh_test): Likewise.
29027
5b4217d7
JM
290282013-04-27 Joseph Myers <joseph@codesourcery.com>
29029
29030 [BZ #15409]
29031 * math/s_catan.c (__catan): Handle arguments with large real or
29032 imaginary part separately without squaring.
29033 * math/s_catanf.c (__catanf): Likewise.
29034 * math/s_catanh.c (__catanh): Likewise.
29035 * math/s_catanhf.c (__catanhf): Likewise.
29036 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29037 and redefine.
29038 (__catanhl): Handle arguments with large real or imaginary part
29039 separately without squaring.
29040 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29041 and redefine.
29042 (__catanl): Handle arguments with large real or imaginary part
29043 separately without squaring.
29044 * math/libm-test.inc (catan_test): Add more tests.
29045 (catanh_test): Likewise.
29046 * sysdeps/i386/fpu/libm-test-ulps: Update.
29047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29048
4220c3ef
AJ
290492013-04-27 Andreas Jaeger <aj@suse.de>
29050
29051 [BZ #15007]
29052 * stdlib/stdlib.h: Update guards for qecvt.
29053 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29054 <stdlib.h>.
29055
4721b2d1
AM
290562013-04-27 Allan McRae <allan@archlinux.org>
29057
29058 * sysdeps/i386/fpu/libm-test-ulps: Update.
29059
f0302940
JM
290602013-04-26 Joseph Myers <joseph@codesourcery.com>
29061
9457fd95
JM
29062 [BZ #15406]
29063 * math/s_catan.c: Include <float.h>.
29064 (__catan): Ensure underflow exception occurs for underflowed
29065 result.
29066 * math/s_catanf.c: Include <float.h>.
29067 (__catanf): Ensure underflow exception occurs for underflowed
29068 result.
29069 * math/s_catanh.c: Include <float.h>.
29070 (__catanh): Ensure underflow exception occurs for underflowed
29071 result.
29072 * math/s_catanhf.c: Include <float.h>.
29073 (__catanhf): Ensure underflow exception occurs for underflowed
29074 result.
29075 * math/s_catanhl.c: Include <float.h>.
29076 (__catanhl): Ensure underflow exception occurs for underflowed
29077 result.
29078 * math/s_catanl.c: Include <float.h>.
29079 (__catanl): Ensure underflow exception occurs for underflowed
29080 result.
29081 * math/libm-test.inc (catan_test): Add more tests.
29082 (catanh_test): Likewise.
29083
f0302940
JM
29084 [BZ #15405]
29085 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29086 underflowed result.
29087 * math/s_ccoshf.c (__ccoshf): Likewise.
29088 * math/s_ccoshl.c (__ccoshl): Likewise.
29089 * math/s_csin.c (__csin): Likewise.
29090 * math/s_csinf.c (__csinf): Likewise.
29091 * math/s_csinh.c (__csinh): Likewise.
29092 * math/s_csinhf.c (__csinhf): Likewise.
29093 * math/s_csinhl.c (__csinhl): Likewise.
29094 * math/s_csinl.c (__csinl): Likewise.
29095 * math/libm-test.inc (ccos_test): Add more tests.
29096 (ccosh_test): Likewise.
29097 (csin_test): Likewise.
29098 (csinh_test): Likewise.
29099
aa630f59
AZ
291002013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29101
29102 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29103 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29104 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29105 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29106 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29107 powerpc/power5+/fpu folders.
29108 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29109
29110
1b835983
MT
291112013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29112
29113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29114
73709b26
JM
291152013-04-25 Joseph Myers <joseph@codesourcery.com>
29116
29117 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29118 additions to variable.
29119 [$(config-machine) = x86_64] (modules-names): Likewise.
29120 ($(objpfx)tst-audit3): Remove dependency.
29121 ($(objpfx)tst-audit3.out): Likewise.
29122 ($(objpfx)tst-audit4): Likewise.
29123 ($(objpfx)tst-audit4.out): Likewise.
29124 ($(objpfx)tst-audit5): Likewise.
29125 ($(objpfx)tst-audit5.out): Likewise.
29126 ($(objpfx)tst-audit6): Likewise.
29127 ($(objpfx)tst-audit6.out): Likewise.
29128 ($(objpfx)tst-audit7): Likewise.
29129 ($(objpfx)tst-audit7.out): Likewise.
29130 (tst-audit3-ENV): Remove variable.
29131 (tst-audit4-ENV): Likewise.
29132 (tst-audit5-ENV): Likewise.
29133 (tst-audit6-ENV): Likewise.
29134 (tst-audit7-ENV): Likewise.
29135 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29136 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29137 addition to variable.
29138 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29139 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29140 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29141 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29142 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29143 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29144 tst-audit3, tst-audit4 and tst-audit5.
29145 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29146 tst-audit6 and tst-audit7.
29147 [$(subdir) = elf] (modules-names): Add audit modules for those
29148 tests.
29149 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29150 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29151 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29152 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29153 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29154 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29155 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29156 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29157 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29158 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29159 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29160 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29161 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29162 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29163 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29164 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29165 Likewise.
29166 [$(subdir) = elf && $(config-cflags-avx) = yes]
29167 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29168 [$(subdir) = elf && $(config-cflags-avx) = yes]
29169 (CFLAGS-tst-auditmod4a.c): Likewise.
29170 [$(subdir) = elf && $(config-cflags-avx) = yes]
29171 (CFLAGS-tst-auditmod4b.c): Likewise.
29172 [$(subdir) = elf && $(config-cflags-avx) = yes]
29173 (CFLAGS-tst-auditmod6b.c): Likewise.
29174 [$(subdir) = elf && $(config-cflags-avx) = yes]
29175 (CFLAGS-tst-auditmod6c.c): Likewise.
29176 [$(subdir) = elf && $(config-cflags-avx) = yes]
29177 (CFLAGS-tst-auditmod7b.c): Likewise.
29178 * elf/tst-audit3.c: Move to ...
29179 * sysdeps/x86_64/tst-audit3.c: ... here.
29180 * elf/tst-audit4.c: Move to ...
29181 * sysdeps/x86_64/tst-audit4.c: ... here.
29182 * elf/tst-audit5.c: Move to ...
29183 * sysdeps/x86_64/tst-audit5.c: ... here.
29184 * elf/tst-audit6.c: Move to ...
29185 * sysdeps/x86_64/tst-audit6.c: ... here.
29186 * elf/tst-audit7.c: Move to ...
29187 * sysdeps/x86_64/tst-audit7.c: ... here.
29188 * elf/tst-auditmod3a.c: Move to ...
29189 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29190 * elf/tst-auditmod3b.c: Move to ...
29191 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29192 * elf/tst-auditmod4a.c: Move to ...
29193 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29194 * elf/tst-auditmod4b.c: Move to ...
29195 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29196 * elf/tst-auditmod5a.c: Move to ...
29197 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29198 * elf/tst-auditmod5b.c: Move to ...
29199 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29200 * elf/tst-auditmod6a.c: Move to ...
29201 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29202 * elf/tst-auditmod6b.c: Move to ...
29203 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29204 * elf/tst-auditmod6c.c: Move to ...
29205 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29206 * elf/tst-auditmod7a.c: Move to ...
29207 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29208 * elf/tst-auditmod7b.c: Move to ...
29209 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29210
1ef74943
PP
292112013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29212
29213 [BZ #15366]
29214 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29215 define unconditionally.
29216 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29217 define unconditionally.
29218 (INT8_C, INT16_C, etc.): Likewise.
29219
93fd48c5
MR
292202013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29221
ae9552cf
MR
29222 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29223 __ehdr_start with hidden visibility.
29224
93fd48c5
MR
29225 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29226
418601aa
CD
292272013-04-24 Carlos O'Donell <carlos@redhat.com>
29228
29229 * math/libm-test.inc (cos_test): Use accurate hex constants.
29230 (sincost_test): Likewise.
29231
2f38fbfe
JM
292322013-04-24 Joseph Myers <joseph@codesourcery.com>
29233
5e221800
JM
29234 * math/libm-test.inc (catan_test): Add more tests.
29235 (catanh_test): Likewise.
29236
77f143fd
JM
29237 * math/s_catanf.c (__catanf): Use suffixed floating-point
29238 constants.
29239 * math/s_catanhf.c (__catanhf): Likewise.
29240 * math/s_catanhl.c (__catanhl): Likewise.
29241 * math/s_catanl.c (__catanl): Likewise.
29242
2f38fbfe
JM
29243 [BZ #15394]
29244 * math/s_catan.c (__catan): Calculate imaginary part of result
29245 with log1p not log unless computing log of number close to 0.
29246 * math/s_catanf.c (__catanf): Likewise.
29247 * math/s_catanl.c (__catanl): Likewise.
29248 * math/s_catanh.c (__catanh): Calculate real part of result with
29249 log1p not log unless computing log of number close to 0.
29250 * math/s_catanhf.c (__catanhf): Likewise.
29251 * math/s_catanhl.c (__catanhl): Likewise.
29252 * math/libm-test.inc (catan_test): Add more tests.
29253 (catanh_test): Likewise.
29254 * sysdeps/i386/fpu/libm-test-ulps: Update.
29255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29256
45d69176
SP
292572013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29258
29259 * benchtests/Makefile: Mention files in which fast and slow
29260 paths of math functions are implemented.
29261
87f51853
RM
292622013-04-23 Roland McGrath <roland@hack.frob.com>
29263
29264 * sysdeps/posix/timespec_get.c: New file.
29265
3c026539
AZ
292662013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29267
29268 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29269 POWER.
29270 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29271 for POWER.
29272 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29273 powerpc/power5/fpu folders.
29274 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29275 * benchtests/Makefile: Add modf testcase.
29276 * benchtests/bench-modf.c: New file: Benchmark test for mo
29277
ff491d14
SP
292782013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29279
29280 [BZ #14888]
29281 * time/Makefile (tests): Add tst-strptime-whitespace.
29282 * time/strptime_l.c (get_number): Use ISSPACE.
29283 (__strptime_internal): Likewise.
29284 * time/tst-strptime-whitespace.c: New test case.
29285
7ed3f4e8
AS
292862013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29287
29288 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29289 member.
29290 (_nss_files_init): Set it here.
29291
5c95f7b6
HC
292922013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29293
29294 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29295 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29296 unsigned.
29297
d34c9158
JBG
292982013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29299
29300 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29301
2169712d
SP
293022013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29303
29304 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29305 size just once.
29306
29c5de99
DM
293072013-04-21 David S. Miller <davem@davemloft.net>
29308
29309 * po/ru.po: Update Russion translation from translation project.
29310
ccdad15d
AC
293112013-04-17 Adam Conrad <adconrad@0c3.net>
29312
29313 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29314 and setfsgid.
29315
0f122b8d
CD
293162013-04-17 Carlos O'Donell <carlos@redhat.com>
29317
5c5b07da 29318 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29319 * configure: Regenerate.
5c5b07da 29320 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29321 Add example to error message.
29322 * sysdeps/i386/configure: Regenerate.
29323
037714dd
SP
293242013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29325
29326 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29327 slowtan.
29328 * benchtests/cos-inputs: New file.
29329 * benchtests/slowcos-inputs: New file.
29330 * benchtests/slowcos.c: New file.
29331 * benchtests/slowtan-inputs: New file.
29332 * benchtests/slowtan.c: New file.
29333 * benchtests/tan-inputs: New file.
29334
e913141d
RM
293352013-04-16 Roland McGrath <roland@hack.frob.com>
29336
29337 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29338 considered kosher.
29339
a2964074
SP
293402013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29341
4856bcd2
SP
29342 * benchtests/Makefile: Include cppflags-iterator.mk to add
29343 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29344
a2964074
SP
29345 * Makefile.in (bench-clean): New target.
29346 * benchtests/Makefile (bench-clean): Likewise.
29347
9fbf9aca
DH
293482013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29349
29350 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29351
207d1e2a
TS
293522013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29353
29354 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29355
306dfba9
AS
293562013-04-15 Andreas Schwab <schwab@suse.de>
29357
29358 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29360 * nscd/pwdcache.c (cache_addpw): Likewise.
29361 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29362 more than recsize.
29363
206a6699
SP
293642013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29365
29366 * benchtests/Makefile (bench): Write all output to
29367 bench-out.tmp together.
29368
0582f6b3
AS
293692013-04-15 Andreas Schwab <schwab@suse.de>
29370
29371 * nscd/nscd.c (main): Don't fork again after closing files.
29372
acb4325f
SP
293732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29374
5cb26d0a
SP
29375 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29376
acb4325f
SP
29377 * benchtests/Rules (bench-deps): Collect dependencies into a
29378 single variable. Add Makefile to dependencies.
29379 ($(objpfx)bench-%.c): Depend on bench-deps.
29380
47792506
RM
293812013-04-12 Roland McGrath <roland@hack.frob.com>
29382 Xavier Roche <roche+kml2@exalead.com>
29383
29384 [BZ #15361]
29385 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29386 just that it's a file descriptor.
29387 * manual/llio.texi (Synchronizing AIO Operations): Update description
29388 for EBADF error from aio_fsync.
29389
8fc1bee5
SP
293902013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29391
29392 * Rules (bench): Move target definition...
29393 * benchtests/Makefile: ... here.
29394
aba5e333
CD
293952013-04-11 Carlos O'Donell <carlos@redhat.com>
29396
29397 * math/libm-test.inc (cos_test): Fix PI/2 test.
29398 (sincos_test): Likewise.
29399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29400 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29401
273cdee8
AS
294022013-04-11 Andreas Schwab <schwab@suse.de>
29403
6ecec3b6
AS
29404 [BZ #13988]
29405 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29406 accept exponent character only when digits were seen.
29407 * stdio-common/Makefile (tests): Add bug26.
29408 * stdio-common/bug26.c: New file.
29409
273cdee8
AS
29410 [BZ #14293]
29411 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29412 non-freeable.
29413
8da491f5
SP
294142013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29415
01dc6df9
SP
29416 * Makeconfig (rtld-prefix): Define built linker prefix.
29417 * Rules (run-bench): Use it.
29418 * math/Makefile (run-regen-ulps): Likewise.
29419
8da491f5
SP
29420 * Rules (bench): Remove eval.
29421
abe7f530
SP
294222013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29423 Roland McGrath <roland@hack.frob.com>
29424 Ondrej Bilka <neleai@seznam.cz>
29425
29426 [BZ #15346]
29427 * time/getdate.c: Include ctype.h and alloca.h.
29428 (__getdate_r): Trim leading and trailing spaces of input.
29429 * time/tst-getdate.c (tests): Add tests with leading and
29430 trailing spaces.
29431
61c23e62
RM
294322013-04-08 Roland McGrath <roland@hack.frob.com>
29433
29434 [BZ #14280]
29435 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29436 when computing value.
29437
7208a313
CD
294382013-04-06 Carlos O'Donell <carlos@redhat.com>
29439
085b2d41
CD
29440 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29441 Use testrun.sh to run libm tests.
29442
7208a313
CD
29443 [BZ #15309]
29444 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29445
872c0acd
MM
294462013-04-06 Marko Myllynen <myllynen@redhat.com>
29447
29448 [BZ #15264]
29449 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29450
26510bdd
CD
294512013-04-06 Carlos O'Donell <carlos@redhat.com>
29452
29453 * Makefile.in (regen-ulps): New target.
29454 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29455 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29456 [ifneq (no,$(PERL)] (regen-ulps): New target.
29457 [ifeq (no,$(PERL)] (regen-ulps): New target.
29458 * math/libm-test.inc (ulps_file_name): Define.
29459 (output_dir): New variable.
29460 (options): Add "output-dir" option.
29461 (parse_opt): Handle 'o' case.
29462 (main): If output_dir is non-NULL use it as a prefix
29463 otherwise use "".
29464 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29465
a01f19c8
CD
294662013-04-06 Carlos O'Donell <carlos@redhat.com>
29467
29468 [BZ #10060, #10062]
29469 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29470 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29471 fail configure if __sync_val_compare_and_swap is not inlined.
29472 * sysdeps/i386/configure: Regenerate.
29473 * configure.in: Build for i686 when configured for i386.
29474 * configure: Regenerate.
29475 * README: Remove i386 reference.
29476
b7a329a5
CD
294772013-04-06 Carlos O'Donell <carlos@redhat.com>
29478
29479 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29481
bf0f50df
TS
294822013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29483
ee091edf
TS
29484 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29485 (lmsnanval): New variables.
29486 (F): Add conversion tests.
29487 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29488 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29489
a8b792d6
TS
29490 * stdio-common/tstdiomisc.c (F): Properly collect individual
29491 tests' results.
29492
a1cbf437
TS
29493 [BZ #14686, #15336]
29494 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29495 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29496 Instead, use input NaN values or generate a qNaN by arithmetic
29497 operation. Also fix bugs to comply with the standard.
29498 * math/libm-test.inc (remainder_test): Add more tests.
29499
8b43a0c9
TS
29500 [BZ #15335, #15342]
29501 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29503 input NaN values or generate a qNaN by arithmetic operation.
29504
d91da4ce
TS
29505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29506 unreachable code.
29507
bf0f50df
TS
29508 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29509 definitions.
29510
05e166c8
JM
295112013-04-03 Joseph Myers <joseph@codesourcery.com>
29512
29513 [BZ #14478]
29514 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29515 underflowed result.
29516 * math/s_cexpf.c (__cexpf): Likewise.
29517 * math/s_cexpl.c (__cexpl): Likewise.
29518 * math/libm-test.inc (cexp_test): Add more tests.
29519
1cef1b19
AS
295202013-04-03 Andreas Schwab <schwab@suse.de>
29521
29522 [BZ #15330]
29523 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29524 order arrays from heap if bigger than alloca cutoff.
29525
74d87055
TS
295262013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29527
29528 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29529 (SNAN_TESTS_double): Refer to GCC PR56831.
29530 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29531 GCC PR56828.
29532
d755bba4
SP
295332013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29534
90d5d5bb
SP
29535 * Rules (bench): Move bench.out after the run is complete.
29536
73e0cd5d
SP
29537 * Rules (bench): Echo currently running benchmark.
29538
64aabd4b
SP
29539 * benchtests/Makefile (bench): Add atan and slowatan.
29540 * benchtests/atan-inputs: New file.
29541 * benchtests/slowatan-inputs: New file.
29542 * benchtests/slowatan.c: New file.
29543
c871eccd
SP
29544 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29546 its value.
29547
d755bba4
SP
29548 [BZ #15305]
29549 * sysdeps/unix/sysv/linux/kernel-features.h
29550 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29551 __ASSUME_XFS_RESTRICTED_CHOWN.
29552 * sysdeps/unix/sysv/linux/pathconf.c
29553 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29554 Save and restore errno.
29555
52ce4860
JM
295562013-04-02 Joseph Myers <joseph@codesourcery.com>
29557
29558 [BZ #15327]
29559 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29560 arguments using __kernel_casinh.
29561 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29562 arguments using __kernel_casinhf.
29563 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29564 arguments using __kernel_casinhl.
29565 * math/libm-test.inc (cacosh_test): Add more tests.
29566 * sysdeps/i386/fpu/libm-test-ulps: Update.
29567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29568
81f311c2
SP
295692013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29570
e7906a47
SP
29571 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29573
92e3664b
SP
29574 * bench/Makefile (bench): Add sin and slowsin.
29575 * benchtests/sin-inputs: New file.
29576 * benchtests/slowsin-inputs: New file.
29577 * benchtests/slowsin.c: New file.
29578
81f311c2
SP
29579 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29580 (bench): Add slowexp and slowpow.
29581 (exp-ITER): Increase iterations.
29582 (pow-ITER): Likewise.
29583 * benchtests/exp-inputs: Change input.
29584 * benchtests/pow-inputs: Likewise.
29585 * benchtests/slowexp-inputs: New file.
29586 * benchtests/slowexp.c: New file.
29587 * benchtests/slowpow-inputs: New file.
29588 * benchtests/slowpow.c: New file.
29589
ab0f1aa9
AZ
295902013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29591
29592 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29593 instructions.
29594 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29595 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29596 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29597 * benchtests/Makefile: Add rint benchtest.
29598 * benchtests/rint-inputs: Input for rint benchtest.
29599
57267616
TS
296002013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29601
29602 * Versions.def (libm): Add GLIBC_2.18.
29603 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29604 hidden libm prototypes.
29605 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29606 * math/Makefile (libm-calls): Add s_issignaling.
29607 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29608 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29609 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29610 declaration.
29611 * math/math.h [__USE_GNU] (issignaling): New macro.
29612 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29613 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29614 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29615 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29616 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29617 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29618 * manual/arith.texi (issignaling): New section.
29619 * manual/libm-err-tab.pl (@all_functions): Update comment.
29620 * math/gen-libm-test.pl (parse_args): Apply special handling for
29621 issignaling.
29622 * math/libm-test.inc (print_float, issignaling_test): New
29623 functions.
29624 (check_float_internal): Add issignaling checks.
29625 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29626 default definition.
29627 * sysdeps/powerpc/math-tests.h: New file.
29628 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29629 tests.
29630 * math/test-snan.c (TEST_FUNC): Likewise.
29631
6142896d
DM
296322013-03-30 David S. Miller <davem@davemloft.net>
29633
29634 * po/de.po: Update from translation team.
29635
ccc8cadf
JM
296362013-03-30 Joseph Myers <joseph@codesourcery.com>
29637
29638 [BZ #10357]
29639 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29640 imaginary part less than 1.0 and real part less than 0.5
29641 specially.
29642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29644 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29645 (cacos_test): Add more tests.
29646 (casin_test): Likewise.
29647 (casinh_test): Likewise.
29648 * sysdeps/i386/fpu/libm-test-ulps: Update.
29649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29650
0f6a8d4b
SP
296512013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29652
0d1029de
SP
29653 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29654 ONE with its value.
29655
c2d94018
SP
29656 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29657 (__pow_mp): Replace ONE and MONE with their values.
29658 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29660 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29661 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29662 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29663 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29664
27ec37f1
SP
29665 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29666
a64d7e0e
SP
29667 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29668 (__pow_mp): Replace ZERO and MZERO with their values.
29669 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29670 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29671 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29673 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29674 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29675 (__sqr): Likewise.
29676
d26dd3eb
SP
29677 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29678
0f6a8d4b
SP
29679 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29680
e57b0c61
RM
296812013-03-28 Roland McGrath <roland@hack.frob.com>
29682
29683 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29684 Declare with __attribute__ ((weak)).
29685 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29686 Call __call_tls_dtors only if it's not NULL.
29687
356b3480
RM
296882013-03-28 Roland McGrath <roland@hack.frob.com>
29689
288f7d79
RM
29690 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29691 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29692 magic __ehdr_start linker symbol if it's defined.
29693 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29694 them up here if it was already done.
29695
dc0a0263
RM
29696 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29697 (_dl_aux_init): Use const in cast when setting it.
29698 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29699 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29700 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29701
3d3436ae
RM
29702 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29703 Declare them here.
29704 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29705 * csu/libc-tls.c: Nor here.
29706 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29707
356b3480
RM
29708 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29709 (__libc_message): Never call vsyslog.
29710
b0f1246a
AM
297112013-03-28 Alan Modra <amodra@gmail.com>
29712
29713 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29714 Define as empty.
29715 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29716 Likewise.
29717
fbbe2b9a
AZ
297182013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29719
29720 [BZ #15214]
29721 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29722 underflow.
29723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29724
1728ab37
SP
297252013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29726
7a86be6e
SP
29727 [BZ #15304]
29728 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29729 Don't add gid passed as argument.
29730
1728ab37
SP
29731 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29732
3a7182a1
JM
297332013-03-27 Joseph Myers <joseph@codesourcery.com>
29734
29735 [BZ #15307]
29736 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29737 imaginary part between 1.0 and 1.5 and real part less than 0.5
29738 specially.
29739 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29740 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29741 * math/libm-test.inc (cacos_test): Add more tests.
29742 (casin_test): Likewise.
29743 (casinh_test): Likewise.
29744 * sysdeps/i386/fpu/libm-test-ulps: Update.
29745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29746
6f2e90e7
SP
297472013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29748
5739f705
SP
29749 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29750 constants.
29751 (norm): Likewise.
29752 (denorm): Likewise.
29753 (__dbl_mp): Likewise.
29754 (add_magnitudes): Likewise.
29755 (sub_magnitudes): Likewise.
29756 (__add): Likewise.
29757 (__sub): Likewise.
29758 (__mul): Likewise.
29759 (__sqr): Likewise.
29760 (__inv): Likewise.
29761 (__dvd): Likewise.
29762
e375e83d
SP
29763 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29764 commented code.
29765 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29766 (__dubcos): Likewise.
29767 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29768 (__ieee754_acos): Likewise.
29769 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29770 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29771 (__exp1): Likewise.
29772 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29774 (log1): Likewise.
29775 (my_log2): Likewise.
29776 (checkint): Likewise.
29777 * sysdeps/ieee754/dbl-64/e_remainder.c
29778 (__ieee754_remainder): Likewise.
29779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29781 (bsloww): Likewise.
29782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29783
6f2e90e7
SP
29784 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29785 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29786 MANTISSA_STORE_T to store computations on mantissa. Use
29787 macros for rounding and division.
29788 (denorm): Likewise.
29789 (__dbl_mp): Likewise.
29790 (add_magnitudes): Likewise.
29791 (sub_magnitudes): Likewise.
29792 (__mul): Likewise.
29793 (__sqr): Likewise.
29794 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29795 powers of two in terms of TWOPOW macro.
29796 (mp_no): Make type of mantissa as MANTISSA_T.
29797 [!RADIXI]: Define RADIXI.
29798 [!TWO52]: Define TWO52.
29799 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29800
fce14d4e
AZ
298012013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29802
29803 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29804 llroundl symbol when building for PPC32.
29805
9ad027fb
MW
298062013-03-24 Mark H Weaver <mhw@netris.org>
29807
29808 * manual/arith.texi (Normalization Functions): Fix prototypes for
29809 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29810
e42a38dd
AZ
298112013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29812
29813 [BZ #13889]
29814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29815 high value to check if expl overflow.
29816 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29817 to check for underflow and overflow.
29818 * math/libm-test.inc: Add exp test.
29819
2e0fb521
DL
298202013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29821
29822 [BZ #11120]
29823 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29824 with NOT_IN_libc.
29825
b5784d95
AZ
298262013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29827
29828 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29829 symbol.
29830
5aa4a1a1
TS
298312013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29832
bdef0be7
TS
29833 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29834 wrap blocks consisting of several statements.
29835
5aa4a1a1
TS
29836 * sysdeps/generic/math-tests.h: New file.
29837 * sysdeps/i386/fpu/math-tests.h: Likewise.
29838 * math/test-snan.c: Include it.
29839 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29840
98c48fe5
JM
298412013-03-21 Joseph Myers <joseph@codesourcery.com>
29842
29843 [BZ #15285]
29844 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29845 (__ieee754_j0l): Do not improve calculations using cos of twice
29846 input for inputs above LDBL_MAX / 2.0L.
29847 (__ieee754_y0l): Likewise.
29848 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29849 (__ieee754_j1l): Do not improve calculations using cos of twice
29850 input for inputs above LDBL_MAX / 2.0L.
29851 (__ieee754_y1l): Likewise.
29852 * math/libm-test.inc (j0_test): Add another test.
29853 (j1_test): Likewise.
29854 (y0_test): Likewise.
29855 (y1_test): Likewise.
29856 * sysdeps/i386/fpu/libm-test-ulps: Update.
29857
3775a8bc
SP
298582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29859
29860 * Rules ($(objpfx)bench-%.c): Include code from a C source
29861 file.
29862
0a1b2ae6
JM
298632013-03-21 Joseph Myers <joseph@codesourcery.com>
29864
29865 [BZ #15287]
29866 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29867 imaginary part 1.0 and real part less than 0.5 specially.
29868 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29869 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29870 * math/libm-test.inc (cacos_test): Add more tests.
29871 (casin_test): Likewise.
29872 (casinh_test): Likewise.
29873 * sysdeps/i386/fpu/libm-test-ulps: Update.
29874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29875
b33d4ce4
SP
298762013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29877
29878 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29879 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29880
bef0b507
JM
298812013-03-20 Joseph Myers <joseph@codesourcery.com>
29882
29883 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29884 * config.make.in (config-cflags-sse4): Remove variable.
29885 (config-cflags-avx): Likewise.
29886 (config-cflags-sse2avx): Likewise.
29887 (config-cflags-novzeroupper): Likewise.
29888 (config-asflags-i686): Likewise.
29889 (have-mfma4): Likewise.
29890 (have-as-vis3): Likewise.
29891 (MIG): Likewise.
29892 * configure.in (MIG): Do not AC_SUBST.
29893 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29894 (libc_cv_cc_sse4): Do not AC_SUBST.
29895 (libc_cv_cc_avx): Likewise.
29896 (libc_cv_cc_sse2avx): Likewise.
29897 (libc_cv_cc_novzeroupper): Likewise.
29898 (libc_cv_cc_fma4): Likewise.
29899 (libc_cv_as_i686): Likewise.
29900 (libc_cv_sparc_as_vis3): Likewise.
29901 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29902 LIBC_CONFIG_VAR.
29903 (config-asflags-i686): Likewise.
29904 (config-cflags-avx): Likewise.
29905 (config-cflags-sse2avx): Likewise.
29906 (have-mfma4): Likewise.
29907 (config-cflags-novzeroupper): Likewise.
29908 * sysdeps/mach/configure.in (MIG): Likewise.
29909 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29910 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29911 LIBC_CONFIG_VAR.
29912 (config-cflags-avx): Likewise.
29913 (config-cflags-sse2avx): Likewise.
29914 (have-mfma4): Likewise.
29915 (config-cflags-novzeroupper): Likewise.
29916 * configure: Regenerated.
29917 * sysdeps/i386/configure: Likewise.
29918 * sysdeps/mach/configure: Likewise.
29919 * sysdeps/sparc/configure: Likewise.
29920 * sysdeps/x86_64/configure: Likewise.
29921
912cc4b3
RM
299222013-03-20 Roland McGrath <roland@hack.frob.com>
29923
29924 [BZ #14812]
29925 * locale/programs/localedef.c (options): Put N_ translation marker
29926 on argument names, not just descriptions.
29927
04eed2b0
MS
299282013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29929
29930 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29931
a065ceff
OB
299322013-03-20 Ondřej Bílka <neleai@seznam.cz>
29933
9bb2a810 29934 [BZ #14176]
a065ceff
OB
29935 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29936
a600e5ce
RM
299372013-03-19 Roland McGrath <roland@hack.frob.com>
29938
29939 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29940 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29941 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29942 [!BEFORE_ABORT] (before_abort): New function.
29943 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29944 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29945 (writev_for_fatal): New function.
29946 (WRITEV_FOR_FATAL): New macro; call that.
29947 (backtrace_and_maps): New function.
29948 (BEFORE_ABORT): New macro; call that.
29949 (struct str_list): Type removed.
29950 (__libc_message, __libc_fatal): Functions removed.
29951 Include <sysdeps/posix/libc_fatal.c> instead.
29952
6b18bea6
JM
299532013-03-19 Joseph Myers <joseph@codesourcery.com>
29954
29955 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29956 constants.
29957 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29958 double constants.
29959
aaa8cb4b
AS
299602013-03-19 Andreas Schwab <schwab@suse.de>
29961
44673770
AS
29962 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29963 * sysdeps/gnu/configure: Regenerate.
29964
aaa8cb4b
AS
29965 * configure.in: Substitute libc_cv_rtlddir.
29966 * configure: Regenerate.
29967 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29968 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29969 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29970 * elf/Makefile (install-others, CFLAGS-interp.c)
29971 (ldso_install, common-ldd-rewrite): Likewise.
29972 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29973 $(inst_slibdir)/$(rtld-installed-name).
29974 * scripts/rellns-sh: Add -p option.
29975 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29976 for source.
29977
d3cfc668
SP
299782013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29979
29980 * manual/nptl.texi: Renamed to ...
29981 * manual/threads.texi: ... this.
29982 * manual/Makefile (chapters): Update.
29983
0e2b9cdd
RM
299842013-03-18 Roland McGrath <roland@hack.frob.com>
29985
29986 [BZ #14812]
29987 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29988 on argument names, not just descriptions.
0e2b9cdd
RM
29989 * malloc/memusagestat.c (options): Likewise.
29990 * nss/getent.c (options): Likewise.
63270c24
RM
29991
299922013-03-18 Benno Schulenberg <bensberg@justemail.net>
29993
29994 [BZ #14812]
29995 * iconv/iconv_prog.c (options): Put N_ translation marker
29996 on argument names, not just descriptions.
29997 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29998
b2e1393c
OB
299992013-03-18 Ondrej Bilka <neleai@seznam.cz>
30000
30001 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30002 implementation which is faster on all x86_64 architectures.
30003 Tested on AMD, Intel Nehalem, SNB, IVB.
30004 * sysdeps/x86_64/strnlen.S: Likewise.
30005
30006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30007 Remove all multiarch strlen and strnlen versions.
30008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30009 Remove strlen and strnlen related parts.
30010
30011 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30012 Inline strlen part.
30013 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30014
30015 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30016 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30017 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30018 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30019 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30020 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30021
ec4ff04d
CD
300222013-03-17 Carlos O'Donell <carlos@redhat.com>
30023
30024 * manual/memory.texi (Malloc Tunable Parameters):
30025 Sort parameters alphabetically. Add comments for missing entries.
30026
cd18e90a
DM
300272013-03-17 David S. Miller <davem@davemloft.net>
30028
30029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30030
2a185d32
JM
300312013-03-16 Joseph Myers <joseph@codesourcery.com>
30032
d2f9799e
JM
30033 [BZ #15283]
30034 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30035 for arguments at most half maximum finite value.
30036 * math/libm-test.inc (j0_test): Add more tests.
30037 (j1_test): Likewise.
30038 (y0_test): Likewise.
30039 (y1_test): Likewise.
30040 * sysdeps/i386/fpu/libm-test-ulps: Update.
30041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30042
2a185d32
JM
30043 [BZ #14155]
30044 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30045 1 / x and functions P and Q for arguments above 0x1p256L.
30046 (__ieee754_y0l): Likewise.
30047 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30048 (__ieee754_y1l): Likewise.
30049 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30050 (j1_test): Likewise.
30051 (y0_test): Likewise.
30052 (y1_test): Likewise.
30053
6cbec759
TS
300542013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30055
30056 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30057 variable.
30058
bc16e260
RM
300592013-03-15 Roland McGrath <roland@hack.frob.com>
30060
aefc9b8c
RM
30061 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30062 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30063 zero since it's initialized to EXEC_PAGESIZE.
30064
bc16e260
RM
30065 * sysdeps/unix/sysv/linux/ldsodefs.h
30066 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30067 * sysdeps/generic/ldsodefs.h: ... here.
30068
a57da955
TS
300692013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30070
af00a34d
TS
30071 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30072
495ded2c
TS
30073 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30074 math/test-snan.c.
30075 * math/test-snan.c: Renamed from
30076 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30077 * math/Makefile (tests): Add test-snan.
30078 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30079 test-powerpc-snan.
30080
777b0332
TS
30081 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30082 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30083 functions.
30084 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30085 __builtin_nan family of functions.
30086 * math/libm-test.inc (initialize): Initialize qnan_value with
30087 __builtin_nan family of functions.
30088 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30089 Remove variables.
30090 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30091 Remove functions.
30092 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30093 storage class. Initialize qNaN_var and sNaN_var with
30094 __builtin_nan and __builtin_nans families of functions,
30095 respectively.
30096
64d063b8
TS
30097 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30098 (sqrt_test): Remove duplicate test with qNaN input.
30099 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30100 (round_test, signbit_test, significand_test): Note missing +/-Inf
30101 as well as qNaN tests.
30102
67e971f1
TS
30103 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30104 qNaN_var. Fix a few strings, too.
30105 * math/libm-test.inc (nan_value): Rename to qnan_value.
30106 * math/gen-libm-test.pl (%beautify): Adjust to that.
30107 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30108 * math/test-misc.c (main): Likewise.
30109 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30110 to __qnan_bytes, and __qnan_union, respectively.
30111 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30112 Likewise.
30113 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30114 and lqnanval, respectively.
30115 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30116 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30117 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30118 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30119
64487e12
TS
30120 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30121 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30122 doubles.
30123
e015e27b
TS
30124 * math/test-misc.c (main): Fix copy'n'pastos.
30125 * misc/tst-efgcvt.c (special): Likewise.
30126
a57da955
TS
30127 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30128 Remove declarations.
30129
1e380345
SP
301302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30131
30132 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30133 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30134 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30135 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30136
ef26eece
AZ
301372013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30138
30139 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30140 macro to return vdso values correctly in IFUNC implementations.
30141 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30142 Optimization by using IFUNC.
30143
8cfdb7e0
SP
301442013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30145 Richard Henderson <rth@redhat.com>
30146 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30147
30148 * Makefile.in (bench): New target.
30149 * NEWS: Mention the benchmark framework.
30150 * Rules (bench): Likewise.
30151 (binaries-bench): Generate binaries for functions to
30152 benchmark.
30153 * benchtests/Makefile: New makefile for benchmark tests.
30154 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30155 programs.
30156 * benchtests/exp-inputs: New input file for EXP function.
30157 * benchtests/pow-inputs: New input file for POW function.
30158 * scripts/bench.pl: New script to generate source files for
30159 benchmark programs.
30160
bcda9880
SP
301612013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30162
d22ca8cd
SP
30163 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30164 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30165 computations on mantissa. Use macros for rounding and
30166 division.
30167 (denorm): Likewise.
30168 (__dbl_mp): Likewise.
30169 (add_magnitudes): Likewise.
30170 (sub_magnitudes): Likewise.
30171 (__mul): Likewise.
30172 (__sqr): Likewise.
30173 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30174 powers of two in terms of TWOPOW macro.
30175 (mp_no): Make type of mantissa as MANTISSA_T.
30176 [!RADIXI]: Define RADIXI.
30177 [!TWO52]: Define TWO52.
30178 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30179
bcda9880
SP
30180 * manual/nptl.texi (cindex): Modify threads to pthreads.
30181
06d5adfb
JM
301822013-03-15 Joseph Myers <joseph@codesourcery.com>
30183
30184 * sysdeps/x86_64/preconfigure: Regenerated.
30185
41c7328e
JM
301862013-03-14 Joseph Myers <joseph@codesourcery.com>
30187
30188 [BZ #14155]
30189 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30190 0x1p28 and above.
30191 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30192 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30193 0x1p28 and above.
30194 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30195 * math/libm-test.inc (j0_test): Do not allow one spurious
30196 underflow exception.
30197 (y1_test): Likewise.
30198
e25cfa60
SP
301992013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30200
0409959c
SP
30201 * manual/Makefile (chapters): Add nptl.
30202 * manual/debug.texi (Debugging Support): Add link to Threads
30203 chapter.
30204 * manual/nptl.texi: New file.
30205
e25cfa60
SP
30206 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30207
58a1335e
PB
302082013-03-14 Petr Baudis <pasky@ucw.cz>
30209
30210 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30211 for non-NULL pointer before the memory validity test. Pointed
30212 out by Holger Brunck <holger.brunck@keymile.com>.
30213
9dc7c64f
AS
302142013-03-13 Andreas Schwab <schwab@suse.de>
30215
30216 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30217 instead of .os.
30218
54206aa6
JM
302192013-03-13 Joseph Myers <joseph@codesourcery.com>
30220
30221 * timezone/zic.c: Update from tzcode 2013b.
30222
e98cdb38
CD
302232013-03-12 Carlos O'Donell <carlos@redhat.com>
30224
30225 * manual/install.texi (Configuring and compiling):
30226 Mention i686 and i586.
30227 * INSTALL: Regenerate.
30228
9967e003
RM
302292013-03-12 Roland McGrath <roland@hack.frob.com>
30230
30231 * sysdeps/init_array/elf-init.c: New file.
30232 * csu/elf-init.c
30233 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30234 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30235
30236 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30237 __gmon_start__ as global, but as static with a .preinit_array pointer.
30238 * sysdeps/init_array/gmon-start.c: New file. Use that.
30239 * sysdeps/init_array/crti.S: New file, empty except for comments.
30240 * sysdeps/init_array/crtn.S: Likewise.
30241
e6b5a293 302422013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30243
30244 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30245 definining bcopy.
80f844c9
OB
30246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30247 Remove Prefer_SSE_for_memop.
30248 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30249 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30250 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30252 memset-x86-64.
80f844c9 30253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30254 Remove bzero, memset ifunc support.
80f844c9
OB
30255 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30256 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30257 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30258 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30259
fb6b0fcb
AS
302602013-03-11 Andreas Schwab <schwab@suse.de>
30261
30262 [BZ #15234]
30263 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30264 by SHLIB_COMPAT.
30265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30266 (GLIBC_2.16): Remove pthread_atfork.
30267
3e6bd4b1
PP
302682013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30269
30270 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30271 (ptestcases.h): Likewise.
30272
222d7f00
RM
302732013-03-08 Roland McGrath <roland@hack.frob.com>
30274
30275 * Makeconfig ($(common-objpfx)config.status): Depend on
30276 sysdeps/*/preconfigure{,.in} too.
30277
1ba4f030
JM
302782013-03-08 Joseph Myers <joseph@codesourcery.com>
30279
a222d91a
JM
30280 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30281 (__free_hook): Use void * instead of __malloc_ptr_t.
30282 (__malloc_hook): Likewise.
30283 (__realloc_hook): Likewise.
30284 (__memalign_hook): Likewise.
30285 (__after_morecore_hook): Likewise.
30286 * malloc/arena.c (save_malloc_hook): Likewise.
30287 (save_free_hook): Likewise.
30288 * malloc/hooks.c (malloc_hook_ini): Likewise.
30289 (realloc_hook_ini): Likewise.
30290 (memalign_hook_ini): Likewise.
30291 * malloc/malloc.c (malloc_hook_ini): Likewise.
30292 (realloc_hook_ini): Likewise.
30293 (memalign_hook_ini): Likewise.
30294 (__free_hook): Likewise.
30295 (__malloc_hook): Likewise.
30296 (__realloc_hook): Likewise.
30297 (__memalign_hook): Likewise.
30298 (__libc_malloc): Likewise.
30299 (__libc_free): Likewise.
30300 (__libc_realloc): Likewise.
30301 (__libc_memalign): Likewise.
30302 (__libc_valloc): Likewise.
30303 (__libc_pvalloc): Likewise.
30304 (__libc_calloc): Likewise.
30305 (__posix_memalign): Likewise.
30306 * malloc/morecore.c (__sbrk): Likewise.
30307 (__default_morecore): Likewise.
30308
5cc45e10
JM
30309 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30310
dd54b864
JM
30311 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30312 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30313 __malloc_ptrdiff_t.
30314
1ba4f030
JM
30315 * malloc/malloc.h (__malloc_size_t): Remove macro.
30316 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30317 __malloc_size_t.
30318 (old_memalign_hook): Likewise.
30319 (old_realloc_hook): Likewise.
30320 (struct hdr): Likewise.
30321 (flood): Likewise.
30322 (mallochook): Likewise.
30323 (memalignhook): Likewise.
30324 (reallochook): Likewise.
30325 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30326 (tr_old_realloc_hook): Likewise.
30327 (tr_old_memalign_hook): Likewise.
30328 (tr_mallochook): Likewise.
30329 (tr_reallochook): Likewise.
30330 (tr_memalignhook): Likewise.
30331
edf66e57
AZ
303322013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30333
30334 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30335 default_ldbl_pack and using as default implementation.
30336 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30337 implementation.
30338 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30339 redundant definition.
30340 (ldbl_insert_mantissa): Likewise.
30341 (ldbl_canonicalize): Likewise.
30342 (ldbl_nearbyint): Likewise.
30343 (ldbl_pack): Rename to ldbl_pack_ppc.
30344 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30345 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30346 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30347
6d9145d8
SP
303482013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30349
30350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30351 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30352 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30353 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30355 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30356 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30357 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30358
4dd4e157
AJ
303592013-03-07 Andreas Jaeger <aj@suse.de>
30360
30361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30362 bits/mman-linux.h.
30363
adbb8027
SP
303642013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30365
ce544b5b
SP
30366 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30367 Include mpa.h and declare __MPEXP.
30368 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30369 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30370 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30371 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30372 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30373 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30374 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30375
4cc149fd
SP
30376 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30377 (__slowpow): Use long double EXPL and LOGL functions to
30378 compute POW.
30379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30380 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30381 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30382 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30383 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30384 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30385
e6ebd4a7
SP
30386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30387 intermediate variable to calculate exponent.
30388 (__sqr): Likewise.
30389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30390 Likewise.
30391 (__sqr): Likewise.
30392
82a9811d
SP
30393 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30394 [!NO__SQR]: Define __sqr.
30395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30396 and NO__SQR. Remove all code except __mul and __sqr. Include
30397 sysdeps/ieee754/dbl-64/mpa.c.
30398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30399
adbb8027
SP
30400 [BZ #12723]
30401 * posix/Makefile (tests): Add tst-pathconf.
30402 * posix/tst-pathconf.c: New test case.
30403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30404 _PC_PIPE_BUF.
30405 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30406
39120df9
PF
304072013-03-06 Patsy Franklin <pfrankli@redhat.com>
30408
30409 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30410
67525cb8
AJ
304112013-03-06 Andreas Jaeger <aj@suse.de>
30412
664a9ce4
AJ
30413 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30414 definition via __MAP_ANONYMOUS.
30415
8e39047d
AJ
30416 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30417 it's not part of Linux headers.
30418
67525cb8
AJ
30419 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30420 (MAP_HUGE_MASK): Define.
30421
30422 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30423 Define.
30424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30425 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30426 Define.
30427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30428 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30429 Define.
30430 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30432 Define.
30433 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30434
30435 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30436 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30437 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30438 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30439 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30440 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30441
30442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30443 Handle f2fs.
30444
30445 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30446 Handle f2fs and efivarfs.
30447
30448 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30449 f2fs.
30450
30451 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30452 (EFIVARFS_MAGIC): Add.
30453 (F2FS_LINK_MAX): Add.
30454
e1b42695
PP
304552013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30456
30457 * stdio-common/vfprintf.c: Replace __builtin_expect with
30458 __glibc_unlikely.
30459
2d67d91a
JM
304602013-03-06 Joseph Myers <joseph@codesourcery.com>
30461
30462 [BZ #13550]
30463 * sysdeps/generic/bp-sym.h: Remove file.
30464 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30465 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30466 <bp-sym.h> and <bp-asm.h>.
30467 (__longjmp): Don't use BP_SYM.
30468 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30469 and <bp-asm.h>.
30470 (memcpy): Don't use BP_SYM.
30471 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30472 <bp-sym.h> and <bp-asm.h>.
30473 (memcpy): Don't use BP_SYM.
30474 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30475 <bp-asm.h>.
30476 (memcpy): Don't use BP_SYM.
30477 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30478 <bp-asm.h>.
30479 (memset): Don't use BP_SYM.
30480 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30481 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30482 (__bzero): Don't use BP_SYM.
30483 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30484 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30485 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30486 <bp-sym.h> and <bp-asm.h>.
30487 (memcmp): Don't use BP_SYM. Remove comment about bounded
30488 pointers.
30489 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30490 <bp-sym.h> and <bp-asm.h>.
30491 (memcpy): Don't use BP_SYM.
30492 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30493 <bp-sym.h> and <bp-asm.h>.
30494 (memset): Don't use BP_SYM.
30495 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30496 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30497 (__bzero): Don't use BP_SYM.
30498 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30499 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30500 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30501 <bp-sym.h> and <bp-asm.h>.
30502 (strncmp): Don't use BP_SYM. Remove comment about bounded
30503 pointers.
30504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30505 <bp-sym.h> and <bp-asm.h>.
30506 (memcpy): Don't use BP_SYM.
30507 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30508 <bp-sym.h> and <bp-asm.h>.
30509 (memset): Don't use BP_SYM.
30510 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30511 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30512 (__bzero): Don't use BP_SYM.
30513 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30514 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30515 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30516 <bp-sym.h> and <bp-asm.h>.
30517 (__memchr): Don't use BP_SYM.
30518 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30519 <bp-sym.h> and <bp-asm.h>.
30520 (memcmp): Don't use BP_SYM. Remove comment about bounded
30521 pointers.
30522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30523 <bp-sym.h> and <bp-asm.h>.
30524 (memcpy): Don't use BP_SYM.
30525 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30526 <bp-sym.h> and <bp-asm.h>.
30527 (__mempcpy): Don't use BP_SYM.
30528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30529 <bp-sym.h> and <bp-asm.h>.
30530 (__memrchr): Don't use BP_SYM.
30531 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30532 <bp-sym.h> and <bp-asm.h>.
30533 (memset): Don't use BP_SYM.
30534 (__bzero): Likewise.
30535 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30536 <bp-sym.h> and <bp-asm.h>.
30537 (__rawmemchr): Don't use BP_SYM.
30538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30539 <bp-sym.h> and <bp-asm.h>.
30540 (__STRCMP): Don't use BP_SYM.
30541 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30542 <bp-sym.h> and <bp-asm.h>.
30543 (strchr): Don't use BP_SYM.
30544 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30545 <bp-sym.h> and <bp-asm.h>.
30546 (__strchrnul): Don't use BP_SYM.
30547 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30548 <bp-sym.h> and <bp-asm.h>.
30549 (strlen): Don't use BP_SYM.
30550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30551 <bp-sym.h> and <bp-asm.h>.
30552 (strncmp): Don't use BP_SYM. Remove comment about bounded
30553 pointers.
30554 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30555 <bp-sym.h> and <bp-asm.h>.
30556 (__strnlen): Don't use BP_SYM.
30557 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30558 <bp-sym.h> and <bp-asm.h>.
30559 (__GI__setjmp): Don't use BP_SYM.
30560 (_setjmp): Likewise.
30561 (__sigsetjmp): Likewise.
30562 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30563 (L(start_addresses)): Don't use BP_SYM.
30564 (_start): Likewise.
30565 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30566 <bp-asm.h>.
30567 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30568 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30569 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30570 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30571 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30572 <bp-asm.h>.
30573 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30574 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30575 about bounded pointers.
30576 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30577 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30578 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30579 <bp-asm.h>.
30580 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30581 about bounded pointers. Remove GKM FIXME comments.
30582 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30583 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30584 <bp-asm.h>.
30585 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30586 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30587 Remove GKM FIXME comments.
30588 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30589 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30590 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30591 <bp-asm.h>.
30592 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30593 about bounded pointers. Remove GKM FIXME comment.
30594 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30595 and <bp-asm.h>.
30596 (strncmp): Don't use BP_SYM. Remove comment about bounded
30597 pointers.
30598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30599 <bp-sym.h> and <bp-asm.h>.
30600 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30602 <bp-sym.h> and <bp-asm.h>.
30603 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30604 comment.
30605
cdcf361f
PP
306062013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30607
30608 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30609 call free(NULL).
30610
3c4a2b15
DM
306112013-03-05 David S. Miller <davem@davemloft.net>
30612
30613 * po/es.po: Update from translation team.
30614
cdcf361f 306152013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30616
30617 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30618 <bits/mman-linux.h>.
30619 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30620 is fine.
30621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30622 <bits/mman-linux.h> to end of file.
30623 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30624 is fine.
30625 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30626 <bits/mman-linux.h> to end of file.
30627 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30628 is fine.
30629 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30630 <bits/mman-linux.h> to end of file.
30631
30632 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30633 (MCL_CURRENT, MCL_FUTURE): Define here.
30634
5f67c04f
AK
306352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30636
8a4473cc 30637 [BZ #15232]
5f67c04f
AK
30638 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30639 attribute_hidden.
30640 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30641
c3e94a95
AK
306422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30643
30644 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30645 fourth parameter needed for rt_sigprocmask syscall.
30646 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30647 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30648 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30649 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30650 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30651 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30652
cfb6382a
JM
306532013-03-04 Joseph Myers <joseph@codesourcery.com>
30654
30655 [BZ #13550]
30656 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30657 comment about bounded pointers.
30658 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30659 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30660
539d8e01
AJ
306612013-03-04 Andreas Jaeger <aj@suse.de>
30662
30663 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30664 common definitions.
30665
30666 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30667 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30668 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30669 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30670 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30671 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30672
2e167a70 306732013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30674
30675 [BZ #15055]
30676 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30677 __ieee754_sqrl instead of __sqrl.
30678
68508633
JM
306792013-03-01 Joseph Myers <joseph@codesourcery.com>
30680
30681 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30682 * sysdeps/powerpc/fpu_control.h: ... here.
30683 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30684 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30685 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30686 * sysdeps/powerpc/bits/mathinline.h: ... here.
30687
7775448e
RM
306882013-03-01 Roland McGrath <roland@hack.frob.com>
30689
30690 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30691 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30692 to just [NEED_DL_SYSINFO_DSO].
30693 * elf/dl-support.c: Likewise.
30694 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30695 * elf/rtld.c (dl_main): Likewise.
30696 * elf/setup-vdso.h (setup_vdso): Likewise.
30697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30698 * sysdeps/unix/sysv/linux/dl-sysdep.c
30699 (_dl_discover_osversion): Likewise.
30700
4e9b5995
CD
307012013-03-01 Carlos O'Donell <carlos@redhat.com>
30702
30703 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30704 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30705
e23872c8
SP
307062013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30707
e5c74c63
SP
30708 * NEWS: Mention libm performance improvements and non-x86 PI
30709 futex support.
30710
e23872c8
SP
30711 * csu/libc-start.c (__pthread_initialize_minimal): Change
30712 function arguments.
30713 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30714
b5510883
JM
307152013-02-28 Joseph Myers <joseph@codesourcery.com>
30716
30717 [BZ #13550]
30718 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30719 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30720 <bp-sym.h> and <bp-asm.h>.
30721 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30723 and <bp-asm.h>.
30724 (memcpy): Don't use BP_SYM.
30725 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30726 <bp-asm.h>.
30727 (__mpn_add_n): Don't use BP_SYM.
30728 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30729 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30730 and <bp-asm.h>.
30731 (__mpn_addmul_1): Don't use BP_SYM.
30732 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30733 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30734 <bp-sym.h>.
30735 (_setjmp): Don't use BP_SYM.
30736 (__novmx_setjmp): Likewise.
30737 (__GI__setjmp): Likewise.
30738 (__vmx_setjmp): Likewise.
30739 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30740 <bp-sym.h>.
30741 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30742 (__bzero): Don't use BP_SYM.
30743 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30744 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30745 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30746 <bp-sym.h> and <bp-asm.h>.
30747 (memcpy): Don't use BP_SYM.
30748 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30749 <bp-sym.h> and <bp-asm.h>.
30750 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30751 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30752 <bp-sym.h> and <bp-asm.h>.
30753 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30754 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30755 <bp-asm.h>.
30756 (__mpn_lshift): Don't use BP_SYM.
30757 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30758 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30759 <bp-asm.h>.
30760 (memset): Don't use BP_SYM.
30761 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30762 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30763 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30764 <bp-asm.h>.
30765 (__mpn_mul_1): Don't use BP_SYM.
30766 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30767 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30768 <bp-sym.h> and <bp-asm.h>.
30769 (memcmp): Don't use BP_SYM.
30770 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30771 <bp-sym.h> and <bp-asm.h>.
30772 (memcpy): Don't use BP_SYM.
30773 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30774 <bp-sym.h> and <bp-asm.h>.
30775 (memset): Don't use BP_SYM.
30776 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30777 <bp-sym.h> and <bp-asm.h>.
30778 (strncmp): Don't use BP_SYM.
30779 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30780 <bp-sym.h> and <bp-asm.h>.
30781 (memcpy): Don't use BP_SYM.
30782 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30783 <bp-sym.h> and <bp-asm.h>.
30784 (memset): Don't use BP_SYM.
30785 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30786 <bp-sym.h> and <bp-asm.h>.
30787 (__memchr): Don't use BP_SYM.
30788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30789 <bp-sym.h> and <bp-asm.h>.
30790 (memcmp): Don't use BP_SYM.
30791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30792 <bp-sym.h> and <bp-asm.h>.
30793 (memcpy): Don't use BP_SYM.
30794 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30795 <bp-sym.h> and <bp-asm.h>.
30796 (__mempcpy): Don't use BP_SYM.
30797 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30798 <bp-sym.h> and <bp-asm.h>.
30799 (__memrchr): Don't use BP_SYM.
30800 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30801 <bp-sym.h> and <bp-asm.h>.
30802 (memset): Don't use BP_SYM.
30803 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30804 <bp-sym.h> and <bp-asm.h>.
30805 (__rawmemchr): Don't use BP_SYM.
30806 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30807 <bp-sym.h> and <bp-asm.h>.
30808 (__STRCMP): Don't use BP_SYM.
30809 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30810 <bp-sym.h> and <bp-asm.h>.
30811 (strchr): Don't use BP_SYM.
30812 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30813 <bp-sym.h> and <bp-asm.h>.
30814 (__strchrnul): Don't use BP_SYM.
30815 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30816 <bp-sym.h> and <bp-asm.h>.
30817 (strlen): Don't use BP_SYM.
30818 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30819 <bp-sym.h> and <bp-asm.h>.
30820 (strncmp): Don't use BP_SYM.
30821 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30822 <bp-sym.h> and <bp-asm.h>.
30823 (__strnlen): Don't use BP_SYM.
30824 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30825 <bp-asm.h>.
30826 (__mpn_rshift): Don't use BP_SYM.
30827 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30828 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30829 <bp-sym.h> and <bp-asm.h>.
30830 (__sigsetjmp): Don't use BP_SYM.
30831 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30832 (L(start_addresses)): Don't use BP_SYM.
30833 (_start): Likewise.
30834 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30835 <bp-asm.h>.
30836 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30837 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30838 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30839 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30840 <bp-asm.h>.
30841 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30842 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30843 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30844 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30845 <bp-asm.h>.
30846 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30847 comments.
30848 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30849 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30850 <bp-asm.h>.
30851 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30852 FIXME comments.
30853 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30854 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30855 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30856 <bp-asm.h>.
30857 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30858 comment.
30859 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30860 and <bp-asm.h>.
30861 (strncmp): Don't use BP_SYM,
30862 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30863 <bp-asm.h>.
30864 (__mpn_sub_n): Don't use BP_SYM.
30865 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30866 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30867 and <bp-asm.h>.
30868 (__mpn_submul_1): Don't use BP_SYM.
30869 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30871 <bp-sym.h> and <bp-asm.h>.
30872 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30874 <bp-sym.h> and <bp-asm.h>.
30875 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30876 comment.
30877
8d19fe64
SP
308782013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30879
30880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30881 Use ZK to minimize writes to Z.
30882 (sub_magnitudes): Simplify code a bit.
30883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30884 Use ZK to minimize writes to Z.
30885 (sub_magnitudes): Simplify code a bit.
30886
85bd816a
RM
308872013-02-27 Roland McGrath <roland@hack.frob.com>
30888
30889 * csu/gmon-start.c: Add special exception to license text.
30890
b5977bf2
RH
308912013-02-27 Richard Henderson <rth@redhat.com>
30892
30893 * scripts/config.guess: Update from config.git.
30894 * scripts/config.sub: Likewise.
30895
11d6e2f2
SP
308962013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30897
09c14ed2
SP
30898 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30899
a688864e
SP
30900 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30901
6295157a
SP
30902 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30903
b8de2202
SP
30904 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30905
11d6e2f2
SP
30906 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30907
7e80ddb8
RM
309082013-02-26 Roland McGrath <roland@hack.frob.com>
30909
30910 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30911 [$(build-shared = yes].
7e80ddb8 30912
7da6d9ed
SP
309132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30914
45f05884
SP
30915 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30916 (__mul): Reduce iterations for calculating mantissa.
30917
2236d359
SP
30918 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30919 MPTWO.
30920 (__mpranred): Likewise.
30921
7da6d9ed
SP
30922 [BZ #15160]
30923 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30924 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30925
b7688c42
PE
309262013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30927
30928 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30929 Define __attribute__.
30930
53a5c423
SP
309312013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30932
30933 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30934 unused.
30935 * posix/regex_internal.h (__attribute): Remove.
30936 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30937 (re_string_context_at): Likewise.
30938 (bitset_not): Use __attribute__ and mark function as possibly
30939 unused.
30940 (bitset_merge): Likewise.
30941 (bitset_mask): Likewise.
30942 (re_string_char_size_at): Likewise.
30943 (re_string_wchar_at): Likewise.
30944 (re_string_elem_size_at): Likewise.
30945
60f5a8b5
SP
309462013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30947
2a983a2e
SP
30948 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30949 code.
30950 (cc32): Likewise.
30951
e69804d1
SP
30952 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30953 (__acr): Likewise.
30954 (__cpy): Likewise.
30955 (norm): Likewise.
30956 (denorm): Likewise.
30957 (__dbl_mp): Likewise.
30958 (add_magnitudes): Likewise.
30959 (sub_magnitudes): Likewise.
30960 (__mul): Likewise.
30961 (__inv): Likewise.
30962
2f22a1e8
SP
30963 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30964 style.
30965
8930ddc7
SP
30966 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30967 style.
30968
dc60cb11
SP
30969 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30970 code.
30971
60f5a8b5
SP
30972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30973 up changes with default code.
30974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30975 Likewise.
30976
b4d1fd33
AM
309772013-02-24 Allan McRae <allan@archlinux.org>
30978
faf6f8bc
AM
30979 * manual/socket.texi (The Internet Namespace): Order menu items
30980 to match that in the file.
30981
b4d1fd33
AM
30982 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30983 node listing of the info page menu.
30984
2366713d
JM
309852013-02-21 Joseph Myers <joseph@codesourcery.com>
30986
30987 [BZ #13550]
30988 * sysdeps/i386/bp-asm.h: Remove file.
30989 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30990 (PARMS): Do not use macros from bp-asm.h.
30991 (S1): Likewise.
30992 (S2): Likewise.
30993 (SIZE): Likewise.
30994 (__mpn_add_n): Do not use BP_SYM
30995 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30996 "bp-asm.h".
30997 (PARMS): Do not use macros from bp-asm.h.
30998 (S1): Likewise.
30999 (SIZE): Likewise.
31000 (__mpn_addmul_1): Do not use BP_SYM
31001 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31002 "bp-asm.h".
31003 (PARMS): Do not use macros from bp-asm.h.
31004 (SIGMSK): Likewise.
31005 (_setjmp): Likewise. Do not use BP_SYM.
31006 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31007 "bp-asm.h".
31008 (PARMS): Do not use macros from bp-asm.h.
31009 (SIGMSK): Likewise.
31010 (setjmp): Likewise. Do not use BP_SYM.
31011 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31012 "bp-asm.h".
31013 (PARMS): Do not use macros from bp-asm.h.
31014 (__frexp): Do not use BP_SYM.
31015 (frexp): Likewise.
31016 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31017 "bp-asm.h".
31018 (PARMS): Do not use macros from bp-asm.h.
31019 (__frexpf): Do not use BP_SYM.
31020 (frexpf): Likewise.
31021 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31022 "bp-asm.h".
31023 (PARMS): Do not use macros from bp-asm.h.
31024 (__frexpl): Do not use BP_SYM.
31025 (frexpl): Likewise.
31026 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31027 "bp-asm.h".
31028 (PARMS): Do not use macros from bp-asm.h.
31029 (__remquo): Do not use BP_SYM.
31030 (remquo): Likewise.
31031 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31032 "bp-asm.h".
31033 (PARMS): Do not use macros from bp-asm.h.
31034 (__remquof): Do not use BP_SYM.
31035 (remquof): Likewise.
31036 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31037 "bp-asm.h".
31038 (PARMS): Do not use macros from bp-asm.h.
31039 (__remquol): Do not use BP_SYM.
31040 (remquol): Likewise.
31041 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31042 "bp-asm.h".
31043 (PARMS): Do not use macros from bp-asm.h.
31044 (DEST): Likewise.
31045 (SRC): Likewise.
31046 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31047 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31048 "bp-asm.h".
31049 (PARMS): Do not use macros from bp-asm.h.
31050 (strlen): Do not use BP_SYM.
31051 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31052 "bp-asm.h".
31053 (PARMS): Do not use macros from bp-asm.h.
31054 (S1): Likewise.
31055 (S2): Likewise.
31056 (SIZE): Likewise.
31057 (__mpn_add_n): Do not use BP_SYM.
31058 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31059 "bp-asm.h".
31060 (PARMS): Do not use macros from bp-asm.h.
31061 (S1): Likewise.
31062 (SIZE): Likewise.
31063 (__mpn_addmul_1): Do not use BP_SYM.
31064 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31065 weak_alias.
31066 (bzero): Likewise.
31067 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31068 "bp-asm.h".
31069 (PARMS): Do not use macros from bp-asm.h.
31070 (S): Likewise.
31071 (SIZE): Likewise.
31072 (__mpn_lshift): Do not use BP_SYM.
31073 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31074 "bp-asm.h".
31075 (PARMS): Do not use macros from bp-asm.h.
31076 (DEST): Likewise.
31077 (SRC): Likewise.
31078 (LEN): Likewise.
31079 (memcpy): Likewise. Do not use BP_SYM.
31080 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31081 libc_hidden_def and weak_alias.
31082 (mempcpy): Do not use BP_SYM in weak_alias.
31083 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31084 "bp-asm.h".
31085 (PARMS): Do not use macros from bp-asm.h.
31086 (DEST): Likewise.
31087 (LEN): Likewise.
31088 [!BZERO_P] (CHR): Likewise.
31089 (memset): Likewise. Do not use BP_SYM.
31090 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31091 "bp-asm.h".
31092 (PARMS): Do not use macros from bp-asm.h.
31093 (S1): Likewise.
31094 (SIZE): Likewise.
31095 (__mpn_mul_1): Do not use BP_SYM.
31096 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31097 "bp-asm.h".
31098 (PARMS): Do not use macros from bp-asm.h.
31099 (S): Likewise.
31100 (SIZE): Likewise.
31101 (__mpn_rshift): Do not use BP_SYM.
31102 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31103 "bp-asm.h".
31104 (PARMS): Do not use macros from bp-asm.h.
31105 (STR): Likewise.
31106 (CHR): Likewise.
31107 (strchr): Likewise. Do not use BP_SYM.
31108 (index): Do not use BP_SYM in weak_alias.
31109 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31110 "bp-asm.h".
31111 (PARMS): Do not use macros from bp-asm.h.
31112 (DEST): Likewise.
31113 (SRC): Likewise.
31114 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31115 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31116 "bp-asm.h".
31117 (PARMS): Do not use macros from bp-asm.h.
31118 (strlen): Do not use BP_SYM.
31119 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31120 "bp-asm.h".
31121 (PARMS): Do not use macros from bp-asm.h.
31122 (S1): Likewise.
31123 (S2): Likewise.
31124 (SIZE): Likewise.
31125 (__mpn_sub_n): Do not use BP_SYM.
31126 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31127 "bp-asm.h".
31128 (PARMS): Do not use macros from bp-asm.h.
31129 (S1): Likewise.
31130 (SIZE): Likewise.
31131 (__mpn_submul_1): Do not use BP_SYM.
31132 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31133 "bp-asm.h".
31134 (PARMS): Do not use macros from bp-asm.h.
31135 (S1): Likewise.
31136 (S2): Likewise.
31137 (SIZE): Likewise.
31138 (__mpn_add_n): Do not use BP_SYM.
31139 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31140 weak_alias.
31141 (bzero): Likewise.
31142 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31143 "bp-asm.h".
31144 (PARMS): Do not use macros from bp-asm.h.
31145 (BLK2): Likewise.
31146 (LEN): Likewise.
31147 (memcmp): Do not use BP_SYM.
31148 (bcmp): Do not use BP_SYM in weak_alias.
31149 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31150 "bp-asm.h".
31151 (PARMS): Do not use macros from bp-asm.h.
31152 (DEST): Likewise.
31153 (SRC): Likewise.
31154 (LEN): Likewise.
31155 (memcpy): Likewise. Do not use BP_SYM.
31156 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31157 "bp-asm.h".
31158 (PARMS): Do not use macros from bp-asm.h.
31159 (DEST): Likewise.
31160 (SRC): Likewise.
31161 (LEN): Likewise.
31162 (memmove): Likewise. Do not use BP_SYM.
31163 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31164 "bp-asm.h".
31165 (PARMS): Do not use macros from bp-asm.h.
31166 (DEST): Likewise.
31167 (SRC): Likewise.
31168 (LEN): Likewise.
31169 (__mempcpy): Likewise. Do not use BP_SYM.
31170 (mempcpy): Do not use BP_SYM in weak_alias.
31171 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31172 "bp-asm.h".
31173 (PARMS): Do not use macros from bp-asm.h.
31174 (DEST): Likewise.
31175 (LEN): Likewise.
31176 [!BZERO_P] (CHR): Likewise.
31177 (memset): Likewise. Do not use BP_SYM.
31178 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31179 "bp-asm.h".
31180 (PARMS): Do not use macros from bp-asm.h.
31181 (STR2): Likewise.
31182 (strcmp): Do not use BP_SYM.
31183 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31184 "bp-asm.h".
31185 (PARMS): Do not use macros from bp-asm.h.
31186 (STR): Likewise.
31187 (DELIM): Likewise.
31188 [USE_AS_STRTOK_R] (SAVE): Likewise.
31189 (FUNCTION): Likewise. Do not use BP_SYM.
31190 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31191 aliases.
31192 (strtok_r): Likewise.
31193 (__GI___strtok_r): Likewise.
31194 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31195 (PARMS): Do not use macros from bp-asm.h.
31196 (S): Likewise.
31197 (SIZE): Likewise.
31198 (__mpn_lshift): Do not use BP_SYM.
31199 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31200 (PARMS): Do not use macros from bp-asm.h.
31201 (STR): Likewise.
31202 (CHR): Likewise.
31203 (__memchr): Do not use BP_SYM.
31204 (memchr): Do not use BP_SYM in weak_alias.
31205 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31206 (PARMS): Do not use macros from bp-asm.h.
31207 (BLK2): Likewise.
31208 (LEN): Likewise.
31209 (memcmp): Do not use BP_SYM.
31210 (bcmp): Do not use BP_SYM in weak_alias.
31211 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31212 (PARMS): Do not use macros from bp-asm.h.
31213 (S1): Likewise.
31214 (SIZE): Likewise.
31215 (__mpn_mul_1): Do not use BP_SYM.
31216 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31217 "bp-asm.h".
31218 (PARMS): Do not use macros from bp-asm.h.
31219 (STR): Likewise.
31220 (CHR): Likewise.
31221 (__rawmemchr): Do not use BP_SYM.
31222 (rawmemchr): Do not use BP_SYM in weak_alias.
31223 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31224 (PARMS): Do not use macros from bp-asm.h.
31225 (S): Likewise.
31226 (SIZE): Likewise.
31227 (__mpn_rshift): Do not use BP_SYM.
31228 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31229 (PARMS): Do not use macros from bp-asm.h.
31230 (SIGMSK): Likewise.
31231 (__sigsetjmp): Likewise. Do not use BP_SYM.
31232 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31233 (_start): Do not use BP_SYM.
31234 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31235 (PARMS): Do not use macros from bp-asm.h.
31236 (DEST): Likewise.
31237 (SRC): Likewise.
31238 (__stpcpy): Likewise. Do not use BP_SYM.
31239 (stpcpy): Do not use BP_SYM in weak_alias.
31240 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31241 "bp-asm.h".
31242 (PARMS): Do not use macros from bp-asm.h.
31243 (DEST): Likewise.
31244 (SRC): Likewise.
31245 (LEN): Likewise.
31246 (__stpncpy): Likewise. Do not use BP_SYM.
31247 (stpncpy): Do not use BP_SYM in weak_alias.
31248 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31249 (PARMS): Do not use macros from bp-asm.h.
31250 (STR): Likewise.
31251 (CHR): Likewise.
31252 (strchr): Likewise. Do not use BP_SYM.
31253 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31254 "bp-asm.h".
31255 (PARMS): Do not use macros from bp-asm.h.
31256 (STR): Likewise.
31257 (CHR): Likewise.
31258 (__strchrnul): Likewise. Do not use BP_SYM.
31259 (strchrnul): Do not use BP_SYM in weak_alias.
31260 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31261 "bp-asm.h".
31262 (PARMS): Do not use macros from bp-asm.h.
31263 (STOP): Likewise.
31264 (strcspn): Do not use BP_SYM.
31265 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31266 "bp-asm.h".
31267 (PARMS): Do not use macros from bp-asm.h.
31268 (STR): Likewise.
31269 (STOP): Likewise.
31270 (strpbrk): Likewise. Do not use BP_SYM.
31271 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31272 "bp-asm.h".
31273 (PARMS): Do not use macros from bp-asm.h.
31274 (STR): Likewise.
31275 (CHR): Likewise.
31276 (strrchr): Likewise. Do not use BP_SYM.
31277 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31278 (PARMS): Do not use macros from bp-asm.h.
31279 (SKIP): Likewise.
31280 (strspn): Do not use BP_SYM.
31281 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31282 (PARMS): Do not use macros from bp-asm.h.
31283 (STR): Likewise.
31284 (DELIM): Likewise.
31285 (SAVE): Likewise.
31286 (FUNCTION): Likewise. Do not use BP_SYM.
31287 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31288 aliases.
31289 (strtok_r): Likewise.
31290 (__GI___strtok_r): Likewise.
31291 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31292 (PARMS): Do not use macros from bp-asm.h.
31293 (S1): Likewise.
31294 (S2): Likewise.
31295 (SIZE): Likewise.
31296 (__mpn_sub_n): Do not use BP_SYM.
31297 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31298 "bp-asm.h".
31299 (PARMS): Do not use macros from bp-asm.h.
31300 (S1): Likewise.
31301 (SIZE): Likewise.
31302 (__mpn_submul_1): Do not use BP_SYM.
31303 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31304 <bp-sym.h>.
31305 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31306 and <bp-asm.h>.
31307 (PARMS): Do not use macros from bp-asm.h.
31308 (FLAGS): Likewise.
31309 (PTID): Likewise.
31310 (TLS): Likewise.
31311 (CTID): Likewise.
31312 (__clone): Do not use BP_SYM.
31313 (clone): Do not use BP_SYM in weak_alias.
31314 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31315 and <bp-asm.h>.
31316 (PARMS): Do not use macros from bp-asm.h.
31317 (LEN): Likewise.
31318 (__mmap64): Do not use BP_SYM.
31319 (mmap64): Do not use BP_SYM in weak_alias.
31320 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31321 <bp-sym.h> and <bp-asm.h>.
31322 (PARMS): Do not use macros from bp-asm.h.
31323 (__posix_fadvise64_l64): Do not use BP_SYM.
31324 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31325 (PARMS): Do not use macros from bp-asm.h.
31326 (NSOPS): Likewise.
31327 (semtimedop): Do not use BP_SYM.
31328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31329 and <bp-asm.h>.
31330
582a3cff
AM
313312013-02-21 Allan McRae <allan@archlinux.org>
31332
31333 * manual/message.texi (Charset conversion in gettext):
31334 Move @end statement to beginning of line.
31335
bab8a695
SP
313362013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31337
80945231
SP
31338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31339 static.
31340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31341 Likewise.
31342
bab8a695
SP
31343 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31344 (denorm): Likewise.
31345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31347
e21d7aa7
AK
313482013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31349
31350 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31351 tail-call to the resolved function if pltexit isn't needed.
31352
4c7a4263
SP
313532013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31354
31355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31356 or Y being zero as being unlikely.
31357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31358 Likewise.
31359
41f49342
CD
313602013-02-20 Carlos O'Donell <carlos@redhat.com>
31361
31362 * manual/nss.texi (System Databases and Name Service Switch):
31363 Remove frobnicate @pxref.
31364
50022a93
TS
313652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31366
31367 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31368 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31369
08cbd996
PM
313702013-02-20 Petr Machata <pmachata@redhat.com>
31371
31372 * elf/elf.h (R_ARM_TARGET1): New macro.
31373 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31374 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31375 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31376 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31377 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31378 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31379 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31380 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31381 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31382 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31383 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31384 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31385 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31386 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31387 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31388 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31389 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31390 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31391 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31392 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31393 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31394 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31395 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31396 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31397 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31398 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31399 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31400 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31401 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31402 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31403 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31404 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31405 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31406 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31407 (R_ARM_THM_GOT_BREL12): Likewise.
31408 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31409 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31410 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31411 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31412 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31413 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31414 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31415 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31416 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31417
c7b275d6
TS
314182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31419
31420 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31421 __attribute_used__ to __attribute__ ((unused)).
31422
20cd7fb3
SP
314232013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31424
31425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31426 powerpc mpa.c.
31427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31428 comment formatting.
31429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31430
92945b52
JM
314312013-02-19 Joseph Myers <joseph@codesourcery.com>
31432
31433 [BZ #13550]
31434 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31435 Remove macro.
31436 (ENTER): Remove both macro definitions.
31437 (LEAVE): Likewise.
31438 (CHECK_BOUNDS_LOW): Likewise.
31439 (CHECK_BOUNDS_HIGH): Likewise.
31440 (CHECK_BOUNDS_BOTH): Likewise.
31441 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31442 (RETURN_BOUNDED_POINTER): Likewise.
31443 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31444 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31445 (POP_ERRNO_LOCATION_RETURN): Likewise.
31446 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31447 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31448 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31449 macros.
31450 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31451 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31452 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31453 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31454 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31455 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31456 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31457 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31458 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31459 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31460 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31461 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31462 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31463 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31464 removed macros.
31465 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31466 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31467 macros.
31468 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31469 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31470 * sysdeps/i386/i586/memset.S (memset): Likewise.
31471 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31472 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31473 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31474 macros.
31475 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31476 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31477 Change uses of L(2) to L(out).
31478 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31479 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31480 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31481 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31482 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31483 removed macros.
31484 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31485 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31486 macros.
31487 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31488 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31489 (RETURN): Do not use macro LEAVE.
31490 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31491 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31492 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31493 * sysdeps/i386/i686/memset.S (memset): Likewise.
31494 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31495 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31496 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31497 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31498 Likewise.
31499 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31500 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31501 L(1_2) and L(1_3) into L(1).
31502 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31503 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31504 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31505 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31506 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31507 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31508 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31509 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31510 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31511 macros.
31512 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31513 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31514 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31515 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31516 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31517 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31518 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31519 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31520 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31521 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31522 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31523 * sysdeps/i386/strspn.S (strspn): Likewise.
31524 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31525 conditional code.
31526 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31527 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31528 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31529 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31530 L(1_3) into L(1_1).
31531 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31532 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31533 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31534 macros.
31535 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31536
2389741a
JJ
315372013-02-19 Jakub Jelinek <jakub@redhat.com>
31538
31539 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31540 macro.
31541
2016b3cd
SP
315422013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31543
e4f22324
SP
31544 * math/atest-exp.c (exp_mpn): Remove ROUND.
31545 * math/atest-exp2.c (exp_mpn): Likewise.
31546 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31547
2016b3cd
SP
31548 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31549 * stdlib/tst-tls-atexit-lib.c: Likewise.
31550 * stdlib/tst-tls-atexit.c: Likewise.
31551
4be9b544
MF
315522013-02-18 Mike Frysinger <vapier@gentoo.org>
31553
31554 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31555 and __attribute_alloc_size__.
31556
2f62b9ee
MF
315572013-02-18 Mike Frysinger <vapier@gentoo.org>
31558
31559 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31560 __attribute_alloc_size__.
31561 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31562 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31563
6ff444c4
MF
315642013-02-18 Mike Frysinger <vapier@gentoo.org>
31565
31566 * include/programs/xmalloc.h: New file.
31567 * catgets/gencat.c: Include it.
31568 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31569 * elf/pldd.c: Likewise.
31570 * iconv/iconv_charmap.c: Likewise.
31571 * iconv/iconvconfig.c: Likewise.
31572 * iconv/strtab.c: Likewise.
31573 * locale/programs/locale.c: Likewise.
31574 * locale/programs/localedef.h: Likewise.
31575 * locale/programs/simple-hash.c: Likewise.
31576 * nscd/nscd.h: Likewise.
31577 * nss/makedb.c: Likewise.
31578 * sysdeps/generic/ldconfig.h: Likewise.
31579
be179c8a
SP
315802013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31581
ba384f6e
SP
31582 * Versions.def: Add GLIBC_2.18.
31583 * include/link.h (struct link_map): New member l_tls_dtor_count.
31584 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31585 (__call_tls_dtors): Likewise.
31586 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31587 __cxa_thread_atexit_impl.
31588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31589 Likewise.
31590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31591 Likewise.
31592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31593 Likewise.
31594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31595 Likewise.
31596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31598 Likewise.
31599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31600 Likewise.
31601 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31603 Likewise.
31604 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31605 (tests): Add test case tst-tls-atexit.
31606 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31607 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31608 (GLIBC_PRIVATE): Add __call_tls_dtors.
31609 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31610 for libstdc++.
31611 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31612 * stdlib/tst-tls-atexit.c: New test case.
31613 * stdlib/tst-tls-atexit-lib.c: New test case.
31614
ffaa74cf 31615 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31616
be179c8a
SP
31617 * elf/Versions (ld): Add _dl_find_dso_for_object.
31618 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31619 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31620 (dl_open_worker): Use _dl_find_dso_for_object.
31621 * elf/dl-sym.c (do_sym): Likewise.
31622 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31623
f78b5caa
AK
316242013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31625
31626 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31627 Syntactic changes only.
31628 (_dl_runtime_profile): Do a tail-call to the resolved function.
31629
29691210
JM
316302013-02-17 Joseph Myers <joseph@codesourcery.com>
31631
31632 [BZ #13550]
31633 * sysdeps/x86_64/bp-asm.h: Remove file.
31634 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31635 <bp-sym.h> and <bp-asm.h>.
31636 (__clone): Do not use BP_SYM.
31637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31638 <bp-sym.h> and <bp-asm.h>.
31639 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31640 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31641 "bp-asm.h".
31642 (_setjmp): Do not use BP_SYM.
31643 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31644 "bp-asm.h".
31645 (setjmp): Do not use BP_SYM.
31646 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31647 libc_hidden_def.
31648 (mempcpy): Do not use BP_SYM in weak_alias.
31649 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31650 "bp-asm.h".
31651 (strchr): Do not use BP_SYM.
31652 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31653 "bp-asm.h".
31654 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31655 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31656 (_start): Do not use BP_SYM.
31657 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31658 "bp-asm.h".
31659 (strcat): Do not use BP_SYM.
31660 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31661 "bp-asm.h".
31662 (STRCMP): Do not use BP_SYM.
31663 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31664 "bp-asm.h".
31665 (STRCPY): Do not use BP_SYM.
31666 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31667 "bp-asm.h".
31668 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31669 "bp-asm.h".
31670 (FUNCTION): Do not use BP_SYM.
31671 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31672 weak_alias.
31673 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31674
f238fd19
AJ
316752013-02-17 Andreas Jaeger <aj@suse.de>
31676
31677 * time/Versions: Sort entries.
31678 * string/Versions: Likewise.
31679 * resolv/Versions: Likewise.
31680 * posix/Versions: Likewise.
31681 * iconv/Versions: Likewise.
31682 * elf/Versions: Likewise.
31683 * wcsmbs/Versions: Likewise.
31684
bd07f23c 316852013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31686
22af19f9
SP
31687 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31688 loop termination condition.
31689
4709fe76
SP
31690 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31691 variable to calculate EZ.
31692 (__sqr): Likewise.
2d0e0f29
SP
31693
31694 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31695 the lower precision input.
31696
daaa7713
JM
316972013-02-15 Joseph Myers <joseph@codesourcery.com>
31698
31699 [BZ #13550]
31700 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31701 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31702 (run-via-rtld-prefix): Do not handle %-bp tests.
31703 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31704 (all-object-suffixes): Remove .ob.
31705 (bppfx): Remove variable.
31706 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31707 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31708 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31709 [$(build-bounded) = yes] (libtype.ob): Likewise.
31710 * Makerules (elide-routines.ob): Remove variable.
31711 (do-tests-clean): Do not handle *-bp.out.
31712 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31713 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31714 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31715 (tests): Do not include $(tests-bp.out).
31716 (xtests): Do not include $(xtests-bp.out).
31717 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31718 [$(build-bounded) = yes] ($(addprefix
31719 $(objpfx),$(binaries-bounded))): Remove rule.
31720 ($(objpfx)%-bp.out): Remove rule.
31721 * config.make.in (build-bounded): Remove variable.
31722 * crypt/Makefile [$(build-bounded) = yes]
31723 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31724 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31725 append to variable.
31726 [$(build-bounded) = yes] (install-lib): Likewise.
31727 [$(build-bounded) = yes] (generated): Likewise.
31728 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31729 Remove rule.
31730 * intl/Makefile [$(build-bounded) = yes]
31731 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31732 * math/Makefile [$(build-bounded) = yes]
31733 ($(tests:%=$(objpfx)%-bp): Likewise.
31734 * misc/Makefile [$(build-bounded) = yes]
31735 ($(objpfx)tst-tsearch-bp): Likewise.
31736 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31737 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31738 Remove dependency.
31739 * string/Makefile (o-objects.ob): Remove variable.
31740 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31741 (CFLAGS-.ob): Remove variable.
31742 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31743 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31744 both definitions of variable.
31745 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31746 (ASFLAGS-.ob): Remove variable.
31747
e97ed6dd
JM
317482013-02-14 Joseph Myers <joseph@codesourcery.com>
31749
2bdd4ca6
JM
31750 [BZ #13550]
31751 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31752 Remove __BOUNDED_POINTERS__ from condition.
31753 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31754 * string/bits/string2.h [!__NO_STRING_INLINES &&
31755 !__BOUNDED_POINTERS__]: Likewise.
31756 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31757 Likewise.
31758 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31759 Remove conditional code.
31760 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31761 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31762 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31763 condition.
31764
e97ed6dd
JM
31765 [BZ #13550]
31766 * csu/libc-start.c: Do not include <bp-sym.h>.
31767 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31768 * elf/dl-open.c: Do not include <bp-sym.h>.
31769 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31770 * math/fegetenv.c: Do not include <bp-sym.h>.
31771 (fegetenv): Do not use BP_SYM in versioned symbols.
31772 * nptl/sysdeps/pthread/bits/libc-lockP.h
31773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31774 <bp-sym.h>.
31775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31776 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31778 (__pthread_mutex_destroy): Likewise.
31779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31780 (__pthread_mutex_lock): Likewise.
31781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31782 (__pthread_mutex_trylock): Likewise.
31783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31784 (__pthread_mutex_unlock): Likewise.
31785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31786 (__pthread_mutexattr_init): Likewise.
31787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31788 (__pthread_mutexattr_destroy): Likewise.
31789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31790 (__pthread_mutexattr_settype): Likewise.
31791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31792 (__pthread_rwlock_init): Likewise.
31793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31794 (__pthread_rwlock_destroy): Likewise.
31795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31796 (__pthread_rwlock_rdlock): Likewise.
31797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31798 (__pthread_rwlock_tryrdlock): Likewise.
31799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31800 (__pthread_rwlock_wrlock): Likewise.
31801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31802 (__pthread_rwlock_trywrlock): Likewise.
31803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31804 (__pthread_rwlock_unlock): Likewise.
31805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31806 (__pthread_key_create): Likewise.
31807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31808 (__pthread_setspecific): Likewise.
31809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31810 (__pthread_getspecific): Likewise.
31811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31812 Likewise.
31813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31814 (_pthread_cleanup_push_defer): Likewise.
31815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31816 (_pthread_cleanup_pop_restore): Likewise.
31817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31818 (pthread_setcancelstate): Likewise.
31819 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31820 <bp-sym.h>.
31821 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31822 (memchr): Do not use BP_SYM in weak_alias.
31823 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31824 (fegetenv): Do not use BP_SYM in versioned symbols.
31825 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31826 (fesetenv): Do not use BP_SYM in versioned symbols.
31827 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31828 (feupdateenv): Do not use BP_SYM in versioned symbols.
31829 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31830 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31831 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31832 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31833 (open64): Do not use BP_SYM in weak_alias.
31834 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31835 (fegetenv): Do not use BP_SYM in versioned symbols.
31836 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31837 (fesetenv): Do not use BP_SYM in versioned symbols.
31838 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31839 (feupdateenv): Do not use BP_SYM in versioned symbols.
31840 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31841 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31842 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31843 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31844 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31845 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31847 <bp-sym.h>.
31848 (__libc_start_main): Do not use BP_SYM.
31849
d6752ccd
SP
318502013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31851
cb57ce60
SP
31852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31853 redundant return line.
31854 (norm): Likewise.
31855 (denorm): Likewise.
31856 (dbl_mp): Likewise.
31857 (sub_magnitudes): Likewise.
31858 (__add): Likewise.
31859 (__sub): Likewise.
31860 (__mul): Likewise.
31861 (__inv): Likewise.
31862 (__dvd): Likewise.
31863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31864 (norm): Likewise.
31865 (denorm): Likewise.
31866 (dbl_mp): Likewise.
31867 (sub_magnitudes): Likewise.
31868 (__add): Likewise.
31869 (__sub): Likewise.
31870 (__mul): Likewise.
31871 (__inv): Likewise.
31872 (__dvd): Likewise.
31873
f414520d
SP
31874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31875 instead of __mul.
31876 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31877 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31878 (cc32): Likewise.
31879
d6752ccd
SP
31880 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31881 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31883 of __mul for squares.
31884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31885 function
31886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31887 Likewise.
31888 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31889 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31890
70d9946a
JM
318912013-02-13 Joseph Myers <joseph@codesourcery.com>
31892
31893 [BZ #13550]
31894 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31895 code.
31896 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31897 prototype or function definition. Rename ubp_* variables and
31898 parameters. Remove argv definitions conditional on
31899 [__BOUNDED_POINTERS__].
31900 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31901 * elf/dl-runtime.c (_dl_fixup): Likewise.
31902 * include/set-hooks.h (RUN_HOOK): Likewise.
31903 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31904 definition.
31905 * string/strcpy.c (strcpy): Do not use __unbounded.
31906 * sysdeps/generic/frame.h (struct layout): Likewise.
31907 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31908 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31909 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31910 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31911 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31912 (__backtrace): Likewise.
31913 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31914 use __ptrvalue.
31915 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31916 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31917 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31918 Likewise.
31919 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31920 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31921 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31922 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31923 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31924 Do not use __unbounded.
31925 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31926 Rename __unboundedrlimits parameter to rlimits in prototype.
31927 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31928 Do not use __unbounded.
31929 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31930 not use __ptrvalue.
31931 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31932 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31934 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31935 __ptrvalue or __unbounded.
31936 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31937 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31938 use __unbounded.
31939 (__new_msgctl): Do not use __ptrvalue.
31940 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31941 __unbounded.
31942 (__libc_msgrcv): Do not use __ptrvalue.
31943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31944 startup_info): Do not use __unbounded.
31945 (__libc_start_main): Likewise. Rename ubp_* variables and
31946 parameters. Remove argv definitions conditional on
31947 [__BOUNDED_POINTERS__].
31948 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31949 __ptrvalue.
31950 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31951 use __unbounded.
31952 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31953 or __ptrvalue.
31954 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31955 use __unbounded.
31956 (__new_shmctl): Do not use __ptrvalue.
31957 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31958 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31959 Likewise.
31960 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31961 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31962 (__libc_sigaction): Likewise.
31963 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31964 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31965 Likewise.
31966 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31967
cc7834d6
OB
319682013-02-13 Ondřej Bílka <neleai@seznam.cz>
31969
ffb1ec7b 31970 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31971
31972 * string/mempcpy.c: Implement by calling memcpy.
31973
bdf02814
SP
319742013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31975
c2af38aa
SP
31976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31977
4e92d59e
SP
31978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31979 evaluation.
31980
909279a5
SP
31981 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31982 values in the mantissa.
31983
bdf02814
SP
31984 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31985 minimize writes to Z.
31986 (sub_magnitudes): Simplify code a bit.
31987
cd525923
RM
319882013-02-12 Roland McGrath <roland@hack.frob.com>
31989
31990 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31991 from the message. The linker prefixes all warnings with that already.
31992
7e2f0d2d
AS
319932013-02-12 Andreas Schwab <schwab@suse.de>
31994
a445af0b
AS
31995 [BZ #15078]
31996 * posix/regexec.c (extend_buffers): Add parameter min_len.
31997 (check_matching): Pass minimum needed length.
31998 (clean_state_log_if_needed): Likewise.
31999 (get_subexp): Likewise.
32000 * posix/Makefile (tests): Add bug-regex34.
32001 (bug-regex34-ENV): Define.
32002 * posix/bug-regex34.c: New file.
32003
7e2f0d2d
AS
32004 [BZ #11561]
32005 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32006 elements compare against the byte sequence of it, not its name.
32007 * posix/Makefile (tests): Add bug-regex35.
32008 (bug-regex35-ENV): Define.
32009 * posix/bug-regex35.c: New file.
32010
a175b684
TV
320112013-02-11 Tom de Vries <tom@codesourcery.com>
32012
32013 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32014 comment.
32015 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32016 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32017 (CHECK_EOL): Add undef.
32018
310998fe 320192013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32020
32021 * bits/stdlib-bsearch.h: New file.
32022 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32023 * stdlib/stdlib.h: Likewise.
41eda41d 32024
8ded91fb
RM
320252013-02-11 Roland McGrath <roland@hack.frob.com>
32026
32027 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32028 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32029 declaration.
32030 * manual/search.texi (Array Search Function): Add missing const in
32031 lfind prototype.
32032 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32033 declaration to use rlim_t.
32034 (Basic Scheduling Functions): Remove erroneous const from
32035 sched_getparam prototype. Remove erroneous * from
32036 sched_get_priority_max and sched_get_priority_min prototypes.
32037 (Resource Usage): Fix summary @comment on vtimes to refer to
32038 sys/vtimes.h rather than vtimes.h.
32039 Add missing *s in vtimes prototype.
32040 (Limits on Resources): Fix ulimit prototype to return long int.
32041 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32042 prototypes to use long int rather than double.
32043 (BSD Random): Fix initstate and setstate to use char *, not void *.
32044 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32045 prototype to make second argument 'struct aiocb64 *const[]'.
32046 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32047 (Status of AIO Operations): Remove erroneous const in aio_return and
32048 aio_return64 prototypes.
32049 (Synchronizing I/O): Fix sync prototype to return void.
32050 * manual/startup.texi (Suboptions): Remove an erroneous const in
32051 getsubopt prototype.
32052 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32053 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32054 use size_t rather than int.
32055 (Scanning All Users): Likewise for getpwent_r.
32056 (Setting Groups): Add missing const to setgroups prototype.
32057 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32058 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32059 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32060 'const void *' rather than 'const char *'.
32061 (Host Address Functions): Likewise for inet_ntop.
32062 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32063 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32064 ssize_t for return value.
32065 (Sending Data): Likewise for send, sendto, sendmsg.
32066 (Socket Option Functions): Add a missing const in setsockopt prototype.
32067 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32068 use wchar_t for the argument.
32069 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32070 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32071 take no arguments.
32072 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32073 double/float/long double for second argument.
32074 Fix return types of significand, significandf, significandl.
32075 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32076 argument in fchmod prototype.
32077 (File Owner): Use uid_t and gid_t in fchown prototype.
32078 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32079 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32080 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32081 use 'const struct dirent **' as argument types to CMP function pointer
32082 argument.
32083 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32084 (File Times): Fix summary magic @comment for struct utimbuf and utime
32085 to refer to utime.h, not time.h.
32086 * manual/string.texi (Argz Functions): Add missing const in
32087 argz_extract and argz_next prototypes.
32088 (Finding Tokens in a String): Likewise for basename.
32089 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32090 (Copying and Concatenation): Fix typo in wmemmove prototype.
32091 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32092 (Signal Stack): Remove erroneous const in sigstack prototype.
32093 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32094 prototype.
32095 (Simple Calendar Time): Likewise for stime.
32096 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32097 prototype.
32098 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32099 say sys/sysctl.h instead.
32100 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32101 and vsyslog prototypes.
32102
fe77fe6d
TV
321032013-02-11 Tom de Vries <tom@codesourcery.com>
32104
32105 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32106 Remove.
32107
3a09b620
RM
321082013-02-11 Roland McGrath <roland@hack.frob.com>
32109
32110 * misc/sys/mman.h: Fix typo in mremap comment.
32111
550a0b89
RM
321122013-02-08 Roland McGrath <roland@hack.frob.com>
32113
32114 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32115 the '\0' terminator.
32116
a2da1673
JM
321172013-02-08 Joseph Myers <joseph@codesourcery.com>
32118
32119 [BZ #13550]
32120 * debug/segfault.c: Don't include <bp-checks.h>.
32121 * sysdeps/generic/bp-checks.h: Remove file.
32122 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32123 (__GETDENTS): Don't use CHECK_N.
32124 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32125 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32126 (__getgroups): Don't use CHECK_N.
32127 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32128 (setgroups): Don't use CHECK_N.
32129 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32130 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32131 (__libc_msgrcv): Don't use CHECK_N.
32132 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32133 (__libc_msgsnd): Don't use CHECK_N.
32134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32135 <bp-checks.h>.
32136 (__libc_pread): Don't use CHECK_N.
32137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32138 include <bp-checks.h>.
32139 (__libc_pread64): Don't use CHECK_N.
32140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32141 include <bp-checks.h>.
32142 (__libc_pwrite): Don't use CHECK_N.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32144 include <bp-checks.h>.
32145 (__libc_pwrite64): Don't use CHECK_N.
32146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32147 <bp-checks.h>.
32148 (__libc_pread): Don't use CHECK_N.
32149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32150 include <bp-checks.h>.
32151 (__libc_pread64): Don't use CHECK_N.
32152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32153 include <bp-checks.h>.
32154 (__libc_pwrite): Don't use CHECK_N.
32155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32156 include <bp-checks.h>.
32157 (__libc_pwrite64): Don't use CHECK_N.
32158 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32159 (do_pread): Don't use CHECK_N.
32160 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32161 (do_pread64): Don't use CHECK_N.
32162 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32163 (do_pwrite): Don't use CHECK_N.
32164 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32165 (do_pwrite64): Don't use CHECK_N.
32166 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32167 (__libc_readv): Don't use CHECK_N.
32168 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32169 (semop): Don't use CHECK_N.
32170 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32171 <bp-checks.h>.
32172 (semtimedop): Don't use CHECK_N.
32173 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32174 (__libc_pread): Don't use CHECK_N.
32175 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32176 <bp-checks.h>.
32177 (__libc_pread64): Don't use CHECK_N.
32178 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32179 <bp-checks.h>.
32180 (__libc_pwrite): Don't use CHECK_N.
32181 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32182 <bp-checks.h>.
32183 (__libc_pwrite64): Don't use CHECK_N.
32184 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32185 <bp-checks.h>.
32186 (__libc_msgrcv): Don't use CHECK_N.
32187 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32188 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32189 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32190 (__libc_writev): Don't use CHECK_N.
32191
b84660a8
RM
321922013-02-08 Roland McGrath <roland@hack.frob.com>
32193
7f3e75f8
RM
32194 * string/strcpy.c: Removed unused variable.
32195
b84660a8
RM
32196 * Makeconfig (+sysdep-includes): Define with := rather than =.
32197 Use an existing include/ subdir of each sysdeps dir before it.
32198
471514d3
CD
321992013-02-08 Carlos O'Donell <carlos@redhat.com>
32200
32201 * nscd/connection.c (register_traced_file): Comment function.
32202 [HAVE_INOTIFY] (union __inev): Define.
32203 [HAVE_INOTIFY] (inotify_check_files): New function.
32204 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32205 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32206 clear_db_cache.
32207 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32208
b2d3c3be
CD
322092013-02-08 Carlos O'Donell <carlos@redhat.com>
32210
32211 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32212 loaded if not already and that a failure is permanent.
32213
b39949d2
CD
322142013-02-08 Carlos O'Donell <carlos@redhat.com>
32215
ddacd1db 32216 [BZ #15006]
b39949d2
CD
32217 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32218 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32219
b2c9eff4
JM
322202013-02-08 Joseph Myers <joseph@codesourcery.com>
32221
f3aae3f3
JM
32222 [BZ #13550]
32223 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32224 (CHECK_1_NULL_OK): Likewise.
32225 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32226 (__fxstat): Do not use CHECK_1.
32227 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32228 <bp-checks.h>.
32229 (___fxstat64): Do not use CHECK_1.
32230 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32231 <bp-checks.h>.
32232 (__fxstatat): Do not use CHECK_1.
32233 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32234 <bp-checks.h>.
32235 (__fxstatat64): Do not use CHECK_1.
32236 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32237 <bp-checks.h>.
32238 (__fxstat): Do not use CHECK_1.
32239 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32240 <bp-checks.h>.
32241 (__fxstatat): Do not use CHECK_1.
32242 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32243 <bp-checks.h>.
32244 (__getresgid): Do not use CHECK_1.
32245 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32246 <bp-checks.h>.
32247 (__getresuid): Do not use CHECK_1.
32248 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32249 <bp-checks.h>.
32250 (__lxstat): Do not use CHECK_1.
32251 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32252 <bp-checks.h>.
32253 (__old_msgctl): Do not use CHECK_1.
32254 (__new_msgctl): Likewise.
32255 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32256 <bp-checks.h>.
32257 (__new_setrlimit): Do not use CHECK_1.
32258 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32259 <bp-checks.h>.
32260 (__old_shmctl): Do not use CHECK_1.
32261 (__new_shmctl): Likewise.
32262 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32263 <bp-checks.h>.
32264 (__xstat): Do not use CHECK_1.
32265 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32266 (__lxstat): Do not use CHECK_1.
32267 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32268 <bp-checks.h>.
32269 (___lxstat64): Do not use CHECK_1.
32270 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32271 (__old_msgctl): Do not use CHECK_1.
32272 (__new_msgctl): Likewise.
32273 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32274 <bp-checks.h>.
32275 (__gettimeofday): Do not use CHECK_1.
32276 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32277 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32278 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32279 <bp-checks.h>.
32280 (__gettimeofday): Do not use CHECK_1.
32281 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32282 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32283 (__new_shmctl): Do not use CHECK_1.
32284 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32285 <bp-checks.h>.
32286 (do_sigtimedwait): Do not use CHECK_1.
32287 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32288 <bp-checks.h>.
32289 (do_sigwaitinfo): Do not use CHECK_1.
32290 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32291 <bp-checks.h>.
32292 (msgctl): Do not use CHECK_1.
32293 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32294 <bp-checks.h>.
32295 (shmctl): Do not use CHECK_1.
32296 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32297 (ustat): Do not use CHECK_1.
32298 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32299 <bp-checks.h>.
32300 (__fxstat): Do not use CHECK_1.
32301 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32302 <bp-checks.h>.
32303 (__fxstatat): Do not use CHECK_1.
32304 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32305 <bp-checks.h>.
32306 (__lxstat): Do not use CHECK_1.
32307 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32308 <bp-checks.h>.
32309 (__xstat): Do not use CHECK_1.
32310 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32311 (__xstat): Do not use CHECK_1.
32312 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32313 (___xstat64): Do not use CHECK_1.
32314
b2c9eff4
JM
32315 [BZ #13550]
32316 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32317 definitions.
32318 (CHECK_BOUNDS_HIGH): Likewise.
32319 * string/strcpy.c: Do not include <bp-checks.h>.
32320 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32321
f1d70dad
RM
323222013-02-07 Roland McGrath <roland@hack.frob.com>
32323
32324 * nscd/nscd-client.h (__nscd_drop_map_ref):
32325 Add __attribute__ ((unused)).
32326 * nis/nss-nisplus.h (niserr2nss): Likewise.
32327
32328 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32329 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32330
32331 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32332 Remove inline keyword.
32333 * include/rounding-mode.h (round_away): Likewise.
32334 * libio/wfileops.c (adjust_wide_data): Likewise.
32335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32336 (__m128i_strloadu_tolower): Likewise.
32337 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32338 (__m128i_strloadu_tolower): Likewise.
32339 * time/mktime.c (ydhms_diff): Likewise.
32340 * locale/elem-hash.h (elem_hash): Likewise.
32341 * locale/setlocale.c (setdata): Likewise.
32342 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32343 (re_string_wchar_at): Likewise.
32344 (bitset_not, bitset_merge, bitset_mask): Likewise.
32345 [!(__GNUC__ > 3)] (inline): Remove macro.
32346 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32347 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32348 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32349 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32350 * string/memcmp.c (memcmp_bytes): Likewise.
32351 * locale/programs/locarchive.c (compute_hashval): Likewise.
32352 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32353 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32354 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32355 * nss/getent.c (print_rpc, print_protocols): Likewise.
32356 (print_passwd, print_group, print_aliases): Likewise.
32357 * nis/nss-nisplus.h (niserr2nss): Likewise.
32358 * nscd/connections.c (restart_p): Likewise.
32359 Change return type to bool.
32360
eab55bfb
RM
323612013-02-05 Roland McGrath <roland@hack.frob.com>
32362
7bd642f5
RM
32363 * Makeconfig (all-Depend-files): Add existing
32364 $(sorted-subdirs:=/Depend) files.
32365 (all-subdirs): Remove nss.
32366 * sysdeps/unix/inet/Subdirs: Add it here instead.
32367 * hesiod/Depend: New file.
32368
573c29b2
RM
32369 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32370 instead of calling alloca.
32371
b2e25af0
RM
32372 * io/lseek.c (__lseek): Rename to __libc_lseek.
32373 Define __lseek as an alias.
32374
eab55bfb
RM
32375 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32376
9a0d1941
CD
323772013-02-04 Carlos O'Donell <carlos@redhat.com>
32378
32379 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32380 else clause and remove check for non-standard endianness.
32381
b83bbec4
DM
323822013-02-04 David S. Miller <davem@davemloft.net>
32383
32384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32385
6277fdab
JM
323862013-02-04 Joseph Myers <joseph@codesourcery.com>
32387
32388 [BZ #13550]
32389 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32390 (__ubp_memchr): Remove prototype.
32391 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32392 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32393 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32394 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32395 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32396 Remove alias.
32397 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32398 (__ubp_memchr): Likewise.
32399 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32400 (__ubp_memchr): Likewise.
32401 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32402 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32403 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32404 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32405 CHECK_STRING.
32406 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32407 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32408 (__getcwd): Do not use CHECK_STRING.
32409 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32410 <bp-checks.h>.
32411 (__real_chown): Do not use CHECK_STRING.
32412 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32413 <bp-checks.h>.
32414 (fchownat): Do not use CHECK_STRING.
32415 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32416 CHECK_STRING.
32417 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32418 <bp-checks.h>.
32419 (__lchown): Do not use CHECK_STRING.
32420 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32421 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32422 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32423 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32425 include <bp-checks.h>.
32426 (truncate64): Do not use CHECK_STRING.
32427 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32428 <bp-checks.h>.
32429 (__real_chown): Do not use CHECK_STRING.
32430 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32431 <bp-checks.h>.
32432 (__lchown): Do not use CHECK_STRING.
32433 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32434 <bp-checks.h>.
32435 (__chown): Do not use CHECK_STRING.
32436 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32437 <bp-checks.h>.
32438 (truncate64): Do not use CHECK_STRING.
32439 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32440 Likewise.
32441 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32442 (__xmknod): Do not use CHECK_STRING.
32443 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32444 <bp-checks.h>.
32445 (__xmknodat): Do not use CHECK_STRING.
32446 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32447 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32448
903ae060
AS
324492013-02-04 Andreas Schwab <schwab@suse.de>
32450
32451 [BZ #14142]
32452 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32453 * include/netdb.h: Likewise for h_errno.
32454 * elf/tst-stackguard1.c: Include <tls.h>.
32455
542f9466
JK
324562013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32457
32458 * elf/link.h (struct link_map): Extend the l_addr comment.
32459 * include/link.h (struct link_map): Likewise.
32460
e782a927
JM
324612013-02-01 Joseph Myers <joseph@codesourcery.com>
32462
32463 [BZ #13550]
32464 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32465 (BOUNDED_1): Remove macro.
32466 * debug/backtrace.c: Don't include <bp-checks.h>.
32467 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32468 (__backtrace): Likewise.
32469 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32470 <bp-checks.h>.
32471 (__backtrace): Don't use BOUNDED_1.
32472 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32473 <bp-checks.h>.
32474 (__backtrace): Don't use BOUNDED_1.
32475 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32476 (__backtrace): Don't use BOUNDED_1.
32477 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32478 (shmat): Don't use BOUNDED_N.
32479
8cf28c5e
JM
324802013-01-31 Joseph Myers <joseph@codesourcery.com>
32481
3a7ac8a0
JM
32482 [BZ #13550]
32483 * sysdeps/generic/bp-start.h: Remove file.
32484 * csu/libc-start.c: Don't include <bp-start.h>.
32485 (LIBC_START_MAIN): Set up __environ directly instead of using
32486 INIT_ARGV_and_ENVIRON.
32487 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32488 <bp-start.h>.
32489
f3499f95
JM
32490 [BZ #13550]
32491 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32492 definitions.
32493 (CHECK_FCNTL): Likewise.
32494 (CHECK_N_PAGES): Likewise.
32495
32a45bea
JM
32496 [BZ #13550]
32497 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32498 definitions.
32499 (CHECK_SIGSET_NULL_OK): Likewise.
32500 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32501 <bp-checks.h>.
32502 (sigpending): Don't use CHECK_SIGSET.
32503 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32504 <bp-checks.h>.
32505 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32506 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32507 <bp-checks.h>.
32508 (do_sigsuspend): Don't use CHECK_SIGSET.
32509 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32510 use CHECK_SIGSET.
32511 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32512 (do_sigwait): Don't use CHECK_SIGSET.
32513 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32514 use CHECK_SIGSET.
32515 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32516 include <bp-checks.h>.
32517 (sigpending): Don't use CHECK_SIGSET.
32518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32519 include <bp-checks.h>.
32520 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32521 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32522 <bp-checks.h>.
32523 (sigpending): Don't use CHECK_SIGSET.
32524 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32525 <bp-checks.h>.
32526 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32527
2e8a5c8c
JM
32528 [BZ #13550]
32529 * sysdeps/generic/bp-semctl.h: Remove file.
32530 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32531 <bp-checks.h> and <bp-semctl.h>.
32532 (__old_semctl): Don't use CHECK_SEMCTL.
32533 (__new_semctl): Likewise.
32534 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32535 and <bp-semctl.h>.
32536 (__old_semctl): Don't use CHECK_SEMCTL.
32537 (__new_semctl): Likewise.
32538 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32539 <bp-checks.h> and <bp-semctl.h>.
32540 (__old_semctl): Don't use CHECK_SEMCTL.
32541 (__new_semctl): Likewise.
32542 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32543 <bp-checks.h> and <bp-semctl.h>.
32544 (semctl): Don't use CHECK_SEMCTL.
32545
c2d54929
JM
32546 [BZ #13550]
32547 * Makerules (elide-bp-thunks): Remove variable.
32548 (elide-routines.oS): Don't use $(elide-bp-thunks).
32549 (elide-routines.os): Likewise.
32550 (elide-routines.o): Likewise.
32551 (elide-routines.op): Likewise.
32552 (elide-routines.og): Likewise.
32553 (objects): Don't use $(bp-thunks).
32554 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32555 include.
32556 (common-generated): Do not add s-proto-bp.d.
32557 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32558 (int): Likewise.
32559 (typ): Likewise.
32560 Do not generate makefile rules for bounded-pointer thunks.
32561 * sysdeps/generic/bp-thunks.h: Remove file.
32562 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32563 * sysdeps/unix/s-proto-bp.S: Likewise.
32564
8cf28c5e
JM
32565 [BZ #15062]
32566 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32567 parts of result separately when argument is not close to line from
32568 -i to i and one part of argument is small.
32569 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32570 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32571 * math/libm-test.inc (cacos_test): Add more tests.
32572 (casin_test): Likewise.
32573 (casinh_test): Likewise.
32574 * sysdeps/i386/fpu/libm-test-ulps: Update.
32575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32576
c4e33b8d
DM
325772013-01-31 David S. Miller <davem@davemloft.net>
32578
32579 * po/de.po: Update from translation team.
32580
3b60b421
MK
325812013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32582
32583 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32584
bb931195
TS
325852013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32586
b5a5da23
TS
32587 * configure.in (_AC_PROG_CC_C89): New definition.
32588 * configure: Regenerate.
32589
bb931195
TS
32590 * configure.in (AC_PROG_CPP): New definition.
32591 * configure: Regenerate.
32592
8c53a12c
JM
325932013-01-23 Joseph Myers <joseph@codesourcery.com>
32594
32595 * debug/tst-backtrace.h: New file.
32596 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32597 (ret): Remove variable.
32598 (x): Likewise.
32599 (FAIL): Remove macro.
32600 (NO_INLINE): Likewise.
32601 (fn1): Use match function instead of strstr.
32602 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32603 (ret): Remove variable.
32604 (x): Likewise.
32605 (FAIL): Remove macro.
32606 (NO_INLINE): Likewise.
32607 (fn): Use match function instead of strstr.
32608 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32609 (ret): Remove variable.
32610 (x): Likewise.
32611 (FAIL): Remove macro.
32612 (NO_INLINE): Likewise.
32613 (handle_signal): Use match function instead of strstr.
32614 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32615 (ret): Remove variable.
32616 (x): Likewise.
32617 (FAIL): Remove macro.
32618 (NO_INLINE): Likewise.
32619 (handle_signal): Use match function instead of strstr.
32620
4858fa2a
RM
326212013-01-23 Roland McGrath <roland@hack.frob.com>
32622
32623 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32624
bae8e7f5
DM
326252013-01-23 David S. Miller <davem@davemloft.net>
32626
32627 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32628 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32629 argument of CAS if possible.
32630 * sysdeps/sparc/sparc64/bits/atomic.h
32631 (__arch_compare_and_exchange_val_32_acq): Likewise.
32632 (__arch_compare_and_exchange_val_64_acq): Likewise.
32633
9cbbc4ae
PT
326342013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32635
32636 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32637 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32638 Include <limits.h>.
67b3f58c 32639 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32640
5655a0b5
AC
326412013-01-23 Adam Conrad <adconrad@0c3.net>
32642
32643 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32644 (LDFLAGS-tst-array5): Likewise.
32645
052aff95
JM
326462013-01-23 Joseph Myers <joseph@codesourcery.com>
32647
32648 [BZ #15036]
32649 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32650 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32651 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32652 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32653
7c1e01aa
DM
326542013-01-21 David S. Miller <davem@davemloft.net>
32655
32656 * sysdeps/sparc/backtrace.c: New file.
32657 * sysdeps/sparc/sparc32/backtrace.h: New file.
32658 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32659 * sysdeps/sparc/sparc64/backtrace.h: New file.
32660 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32661 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32662 -funwind-tables.
32663
ab087e0a
AS
326642013-01-21 Andreas Schwab <schwab@suse.de>
32665
32666 [BZ #15020]
32667 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32668 closed its stdout.
32669
ed689c2f
AS
326702013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32671
32672 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32673 "mpa2.h".
32674 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32675
31d470ac
JM
326762013-01-18 Joseph Myers <joseph@codesourcery.com>
32677 Mark Mitchell <mark@codesourcery.com>
32678 Tom de Vries <tom@codesourcery.com>
32679 Paul Pluzhnikov <ppluzhnikov@google.com>
32680
32681 * debug/tst-backtrace2.c: New file.
32682 * debug/tst-backtrace3.c: Likewise.
32683 * debug/tst-backtrace4.c: Likewise.
32684 * debug/tst-backtrace5.c: Likewise.
32685 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32686 (CFLAGS-tst-backtrace3.c): Likewise.
32687 (CFLAGS-tst-backtrace4.c): Likewise.
32688 (CFLAGS-tst-backtrace5.c): Likewise.
32689 (LDFLAGS-tst-backtrace2): Likewise.
32690 (LDFLAGS-tst-backtrace3): Likewise.
32691 (LDFLAGS-tst-backtrace4): Likewise.
32692 (LDFLAGS-tst-backtrace5): Likewise.
32693 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32694 tst-backtrace4 and tst-backtrace5.
32695
90567f30 326962013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32697 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32698
32699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32700 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32701 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32702 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32704 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32705 "+r" and remove output regs list as redundant. Add explicit inline
32706 asm to specify register of return val to work around compiler codegen
32707 bug. Remove (int) cast on return value. Add return type parameter to
32708 use in macro so that this macro does not truncate return value for
32709 64-bit values.
32710 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32711 pass to INTERNAL_VSYSCALL_NCS.
32712 (INLINE_VSYSCALL): Add 'long int' as return type to
32713 INTERNAL_VSYSCALL_NCS macro invocation.
32714 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32715 INTERNAL_VSYSCALL_NCS macro invocation.
32716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32717
d3b9ea61
SP
327182013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32719
0b57daeb
SP
32720 [BZ #14496]
32721 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32722 Fix application of SIMD FP exception mask.
32723
caa99d06
SP
32724 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32725 mp_no from a power of two.
32726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32727 __mpexp_twomm1. Use __pow_mp.
32728
d3b9ea61
SP
32729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32730 multiplication.
32731
1dbaee3c
DM
327322013-01-17 David S. Miller <davem@davemloft.net>
32733
32734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32735
728d7b43
JM
327362013-01-17 Joseph Myers <joseph@codesourcery.com>
32737
32738 [BZ #15023]
32739 * include/complex.h: Condition contents on [!_COMPLEX_H].
32740 (__kernel_casinhf): New prototype.
32741 (__kernel_casinh): Likewise.
32742 (__kernel_casinhl): Likewise.
32743 * math/Makefile (libm_calls): Add k_casinh.
32744 * math/k_casinh.c: New file.
32745 * math/k_casinhf.c: Likewise.
32746 * math/k_casinhl.c: Likewise.
32747 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32748 finite nonzero arguments.
32749 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32750 finite nonzero arguments.
32751 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32752 finite nonzero arguments.
32753 * math/s_casinh.c: Do not include <float.h>.
32754 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32755 * math/s_casinhf.c: Do not include <float.h>.
32756 (__casinhf): Move code for finite nonzero arguments to
32757 k_casinhf.c.
32758 * math/s_casinhl.c: Do not include <float.h>.
32759 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32760 redefine.
32761 (__casinhl): Move code for finite nonzero arguments to
32762 k_casinhl.c.
32763 * math/libm-test.inc (cacos_test): Add more tests.
32764 * sysdeps/i386/fpu/libm-test-ulps: Update.
32765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32766
2a26ef3a
PT
327672013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32768
32769 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32770 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32771 [!HAVE_MREMAP]: Remove [defined linux] case.
32772 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32773
a897655d
SP
327742013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32775
32776 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32777
881ebe89 327782013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32779
32780 * elf/elf.h (R_386_SIZE32): New relocation.
32781 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32782 R_386_SIZE32.
32783 (elf_machine_rela): Likewise.
32784 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32785 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32786
59981e9b
JM
327872013-01-17 Joseph Myers <joseph@codesourcery.com>
32788
32789 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32790 (FP_FAST_FMA): Do not define.
32791 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32792 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32793 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32794 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32795 !_SOFT_FLOAT]: Likewise.
32796 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32797 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32798 value.
32799 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32800 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32801 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32802 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32803 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32804 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32805 file.
32806
cfa8054f
AS
328072013-01-16 Andreas Schwab <schwab@suse.de>
32808
32809 [BZ #14327]
32810 * include/stdlib.h (__mktemp): Add declaration.
32811 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32812 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32813
dd930cc5
SP
328142013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32815
881ebe89
SP
32816 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32817 definitions.
32818 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32819 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32820 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32821 definitions here.
32822 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32823 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32824 definitions.
32825 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32826 and ONE.
32827 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32828 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32829 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32830 definitions.
32831 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32832 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32833 definitions.
32834 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32835
dd930cc5
SP
32836 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32837
c19a9f89
DM
328382013-01-15 David S. Miller <davem@davemloft.net>
32839
1aa61767
DM
32840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32841 trunc{,f} to libm-sysdep_routes.
32842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32844 file.
32845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32847 file.
32848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32849 file.
32850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32852 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32853 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32854 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32855 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32856 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32857 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32858
c42d5e98
DM
32859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32860 nearbyint{,f} to libm-sysdep_routes.
32861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32863 New file.
32864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32865 file.
32866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32867 New file.
32868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32869 file.
32870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32872 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32873 file.
32874 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32875 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32876 file.
32877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32878 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32879 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32880
c19a9f89
DM
32881 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32882 libc_feholdexcept and libc_fesetenv.
32883
357679d2
MF
328842013-01-15 Mike Frysinger <vapier@gentoo.org>
32885
32886 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32887
65a82e3d
DM
328882013-01-14 David S. Miller <davem@davemloft.net>
32889
8b954ab9
DM
32890 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32891 (SPARC_ASM_VIS2_IFUNC): Likewise.
32892 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32894 use of 'siam' instruction.
32895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32896 Likewise.
32897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32898 Likewise.
32899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32900 Likewise.
32901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32906 file.
32907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32908 file.
32909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32910 file.
32911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32912 file.
32913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32914 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32918 new VIS2 routines.
32919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32922 Likewise.
32923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32928 routines to libm-sysdep_routines.
32929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32930
65a82e3d
DM
32931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32932 fdim/fdimf to libm-sysdep_routines.
32933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32934 file.
32935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32937 file.
32938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32941 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32942 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32943 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32944 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32945
e34ab705
SP
329462013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32947
2a91b573
SP
32948 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32949 to optimize copies.
32950
1066a534
SP
32951 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32954
e34ab705
SP
32955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32956 local variable MPTWO.
32957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32958 Likewise.
32959
aba5e596
MF
329602013-01-13 Mike Frysinger <vapier@gentoo.org>
32961
32962 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32963 GLOB_NOESCAPE.
32964
e557e9e5
MF
329652013-01-13 Mike Frysinger <vapier@gentoo.org>
32966
32967 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32968
0428cec9
MF
329692013-01-13 Mike Frysinger <vapier@gentoo.org>
32970
32971 * manual/pattern.texi (glob_t): Document gl_flags.
32972 (glob64_t): Likewise.
32973
8794a964
DM
329742013-01-11 David S. Miller <davem@davemloft.net>
32975
66438c3f
RM
32976 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32977 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32978 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32979 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32980 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32981 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32982 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32983 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32984 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32985 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32986 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32987 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32988 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32989
4ae4244d
DM
32990 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32991 sparc V9 rather than using V8 code.
32992 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32993 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32994
8794a964
DM
32995 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32996 Move to...
32997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32998 Here.
32999
6270516e
RM
330002013-01-11 Roland McGrath <roland@hack.frob.com>
33001
33002 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33003 not in the main loop.
33004 * configure: Regenerated.
33005
6a57d931
JM
330062013-01-11 Joseph Myers <joseph@codesourcery.com>
33007
33008 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33009 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33010 to just #else.
33011 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33012 [!__GLIBC_HAVE_LONG_LONG] case.
33013 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33014 condition to just #else.
33015 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33016 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33017 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33018 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33019 unconditional.
33020 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33021 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33022 #elif condition to just #else.
33023 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33024 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33025 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33026 #elif condition to just #else.
33027
0e8529e9
SE
330282013-01-11 Steve Ellcey <sellcey@mips.com>
33029
33030 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33031 (EF_MIPS_ARCH_64): Fix value.
33032 (EF_MIPS_ARCH_32R2): New.
33033 (EF_MIPS_ARCH_64R2): New.
33034
740b3dbe
L
330352013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33036
33037 * Makeconfig (+link-pie-before-libc): New.
33038 (+link-pie-after-libc): Likewise.
33039 (+link-pie-tests): Likewise.
33040 (+link-pie): Rewritten.
33041 (link-before-libc): Remove $(config-LDFLAGS).
33042 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33043 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33044 (config-LDFLAGS): Renamed to ...
33045 (rtld-LDFLAGS): This.
33046 (rtld-tests-LDFLAGS): New macro.
33047 (link-libc-rpath-link): Likewise.
33048 (link-libc-tests-rpath-link): Likewise.
33049 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33050 (link-libc): Prepand $(link-libc-rpath-link).
33051 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33052 (test-program-prefix): New macro.
33053 (test-via-rtld-prefix): Likewise.
33054 (test-program-cmd): Likewise.
33055 (host-test-program-cmd): Likewise.
33056 * Makefile ($(common-objpfx)testrun.sh): Replace
33057 $(run-program-prefix) with $(test-program-prefix).
33058 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33059 $(rtld-LDFLAGS).
33060 ($(common-objpfx)shlib.lds): Likewise.
33061 (build-module-helper): Likewise.
33062 ($(common-objpfx)format.lds): Likewise.
33063 * Rules (binaries-pie-tests): New.
33064 (binaries-pie-notests): Likewise.
33065 (binaries-pie): Rewritten.
33066 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33067 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33068 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33069 (make-test-out): Replace $(host-built-program-cmd) with
33070 $(host-test-program-cmd).
33071 * config.make.in (build-hardcoded-path-in-tests): New variable.
33072 * configure.in (--enable-hardcoded-path-in-tests): New configure
33073 option.
33074 (hardcoded_path_in_tests): New AC_SUBST.
33075 * configure: Regenerated.
33076 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33077 $(built-program-cmd) with $(test-program-cmd).
33078 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33079 (test_program_cmd): This.
33080 * elf/Makefile ($(objpfx)order.out): Run test with
33081 $(test-program-prefix).
33082 ($(objpfx)order2.out): Likewise.
33083 ($(objpfx)tst-initorder.out): Likewise.
33084 ($(objpfx)tst-initorder2.out): Likewise.
33085 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33086 $(test-program-cmd).
33087 ($(objpfx)tst-array1-static.out): Likewise.
33088 ($(objpfx)tst-array2.out): Likewise.
33089 ($(objpfx)tst-array3.out): Likewise.
33090 ($(objpfx)tst-array4.out): Likewise.
33091 ($(objpfx)tst-array5.out): Likewise.
33092 ($(objpfx)tst-array5-static.out): Likewise.
33093 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33094 $(test-program-cmd).
33095 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33096 $(run-program-prefix) with $(test-program-prefix).
33097 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33098 (test_program_prefix): This.
33099 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33100 $(run-program-prefix) with $(test-program-prefix).
33101 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33102 (test_program_prefix): This.
33103 * iconvdata/tst-tables.sh: Likewise.
33104 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33105 $(run-program-prefix) with $(test-program-prefix).
33106 ($(objpfx)tst-translit.out): Likewise.
33107 ($(objpfx)tst-gettext2.out): Likewise.
33108 ($(objpfx)tst-gettext4.out): Likewise.
33109 ($(objpfx)tst-gettext6.out): Likewise.
33110 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33111 (test_program_prefix): This.
33112 * intl/tst-gettext2.sh: Likewise.
33113 * intl/tst-gettext4.sh Likewise.
33114 * intl/tst-gettext6.sh: Likewise.
33115 * intl/tst-translit.sh: Likewise.
33116 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33117 with $(test-program-cmd).
33118 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33119 $(run-program-prefix) with $(test-program-prefix).
33120 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33121 (test_program_prefix): This.
33122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33123 $(run-program-prefix) with $(test-program-prefix).
33124 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33125 (test_program_prefix): This.
33126 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33127 * posix/Makefile ($(objpfx)globtest.out): Replace
33128 $(run-via-rtld-prefix) and $(test-wrapper) with
33129 $(test-program-prefix) and $(test-via-rtld-prefix).
33130 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33131 $(test-program-prefix).
33132 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33133 $(host-test-program-cmd).
33134 (tst-spawn-ARGS): Likewise.
33135 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33136 $(test-program-prefix).
33137 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33138 (test_via_rtld_prefix): This.
33139 (test_wrapper): Renamed to ...
33140 (test_program_prefix): This.
33141 (run_program_prefix): Replaced by test_program_prefix.
33142 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33143 (test_program_prefix): This.
33144 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33145 with $(host-test-program-cmd).
33146 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33147 $(run-program-prefix) with $(test-program-prefix).
33148 ($(objpfx)tst-printf.out): Likewise.
33149 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33150 $(test-program-cmd).
33151 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33152 (test_program_prefix): This.
33153 * stdio-common/tst-unbputc.sh: Likewise.
33154 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33155 $(run-program-prefix) with $(test-program-prefix).
33156 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33157 (test_program_prefix): This.
33158 * string/Makefile ($(objpfx)tst-svc.out): Replace
33159 $(built-program-cmd) with $(test-program-cmd).
33160
c6fe55cf
AJ
331612013-01-11 Andreas Jaeger <aj@suse.de>
33162
33163 [BZ #15003]
33164 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33165 value. Sync with Linux 3.7.
33166
9e6919c8
DM
331672013-01-10 David S. Miller <davem@davemloft.net>
33168
33169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33170 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33171 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33172
1c9f1a02
RM
331732013-01-10 Roland McGrath <roland@hack.frob.com>
33174
33175 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33176 never set.
33177 * configure: Regenerated.
33178
b9de2dde
DM
331792013-01-10 David S. Miller <davem@davemloft.net>
33180
33181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33182 sparc V9 rather than using V8 code.
33183 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33184 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33185
e7f68ef4
RM
331862013-01-10 Roland McGrath <roland@hack.frob.com>
33187
33188 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33189 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33190 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33191 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33192 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33193 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33194 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33195 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33196 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33197 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33198 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33199 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33200 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33201 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33202 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33203 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33204 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33205 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33206 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33207 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33208 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33209 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33210 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33211 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33212 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33213 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33214 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33215
5a47cc9c
DM
332162013-01-10 David S. Miller <davem@davemloft.net>
33217
33218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33219
4cf8f209
L
332202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33221
33222 * posix/Makefile (tests-static): New variable.
33223 (tests): Add $(tests-static).
33224 (tst-exec-static-ARGS): New variable.
33225 (tst-spawn-static-ARGS): Likewise.
33226 * posix/tst-exec-static.c: New file.
33227 * posix/tst-spawn-static.c: Likewise.
33228 * posix/tst-exec.c: Support run directly.
33229 * posix/tst-spawn.c: Likewise.
33230
fed0faa1
JM
332312013-01-10 Joseph Myers <joseph@codesourcery.com>
33232
828beb13
JM
33233 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33234 long.
33235 * math/bits/mathcalls.h (llrint): Likewise.
33236 (llround): Likewise.
33237 * stdlib/stdlib.h (struct drand48_data): Likewise.
33238 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33239 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33240 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33241 Likewise.
33242 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33243 Likewise.
33244 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33245 (elf_greg_t): Likewise.
33246 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33247 (__jmp_buf): Likewise.
33248 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33249 definitions.
33250 (llrint): Likewise, for all definitions.
33251 (llrintl): Likewise.
33252
fed0faa1
JM
33253 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33254 Remove [__GNUC__] condition.
33255 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33256 condition to just [__USE_ISOC99].
33257 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33258
1a20cb20
L
332592013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33260
33261 [BZ #14200]
33262 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33263 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33264 defined.
33265 (_POSIX_V6_ILP32_OFF32): Likewise.
33266 (_XBS5_ILP32_OFF32): Likewise.
33267 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33268 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33269
751b85f7
SP
332702013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33271
7490eb81
SP
33272 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33273
751b85f7
SP
33274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33275 doubles __mpexp_twomm1. Adjust usage.
33276 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33277 Remove.
33278
988197f0
AS
332792013-01-10 Andreas Schwab <schwab@suse.de>
33280
33281 [BZ #14964]
33282 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33283 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33284
e83d7298
DM
332852013-01-09 David S. Miller <davem@davemloft.net>
33286
034ed64b 33287 [BZ #15003]
57f41c40
AS
33288 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33289 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33290 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33291 (TCP_FASTOPEN): Define.
e83d7298
DM
33292 (tcp_repair_opt): New structure.
33293 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33294 enum values.
57f41c40
AS
33295 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33296 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33297 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33298 (tcp_cookie_transactions): New structure.
33299
d5e0b9bd
AB
333002013-01-09 Anton Blanchard <anton@samba.org>
33301
33302 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33303 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33304 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33306
0c07e3ea
JM
333072013-01-09 Joseph Myers <joseph@codesourcery.com>
33308
33309 * include/features.h (__USE_ANSI): Remove.
33310
232f7002
RM
333112013-01-09 Roland McGrath <roland@hack.frob.com>
33312
ad98e30c
RM
33313 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33314
232f7002
RM
33315 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33316
950c99ca
SP
333172013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33318
b5792741
SP
33319 * sysdeps/s390/fpu/libm-test-ulps: Update.
33320
47cf2278
SP
33321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33322
950c99ca
SP
33323 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33324 (__acr): Likewise.
33325 (__cpy): Likewise.
33326 (norm): Likewise.
33327 (denorm): Likewise.
33328 (__mp_dbl): Likewise.
33329 (__dbl_mp): Likewise.
33330 (add_magnitudes): Likewise.
33331 (sub_magnitudes): Likewise.
33332 (__add): Likewise.
33333 (__sub): Likewise.
33334 (__mul): Likewise.
33335 (__inv): Likewise.
33336 (__dvd): Likewise.
33337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33338 (__acr): Likewise.
33339 (__cpy): Likewise.
33340 (norm): Likewise.
33341 (denorm): Likewise.
33342 (__mp_dbl): Likewise.
33343 (__dbl_mp): Likewise.
33344 (add_magnitudes): Likewise.
33345 (sub_magnitudes): Likewise.
33346 (__add): Likewise.
33347 (__sub): Likewise.
33348 (__mul): Likewise.
33349 (__inv): Likewise.
33350 (__dvd): Likewise.
33351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33352 (__acr): Likewise.
33353 (__cpy): Likewise.
33354 (norm): Likewise.
33355 (denorm): Likewise.
33356 (__mp_dbl): Likewise.
33357 (__dbl_mp): Likewise.
33358 (add_magnitudes): Likewise.
33359 (sub_magnitudes): Likewise.
33360 (__add): Likewise.
33361 (__sub): Likewise.
33362 (__mul): Likewise.
33363 (__inv): Likewise.
33364 (__dvd): Likewise.
33365
eede9df9
JM
333662013-01-08 Joseph Myers <joseph@codesourcery.com>
33367
33368 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33369 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33370 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33371 2 && __USE_EXTERN_INLINES]: Likewise.
33372
c40ea3d9
AJ
333732013-01-08 Andreas Jaeger <aj@suse.de>
33374
33375 [BZ# 14985]
33376 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33377 Remove.
33378 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33379 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33380
2ccdea26
AB
333812013-01-07 Anton Blanchard <anton@samba.org>
33382
33383 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33384 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33385 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33386 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33387 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33388 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33389 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33390 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33392 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33393 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33394 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33395 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33397 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33399 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33400 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33401 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33402 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33404 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33405 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33406 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33407 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33408 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33409 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33410 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33411 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33412 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33413 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33416 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33417 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33418 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33419 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33422 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33423 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33425 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33426
a9708fed
JM
334272013-01-07 Joseph Myers <joseph@codesourcery.com>
33428
375607b9
JM
33429 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33430 (__MALLOC_PMT): Likewise.
33431 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33432 [__GNUC__], only on [_LIBC].
33433 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33434 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33435 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33436 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33437 forward declaration.
33438 (realloc_hook_ini): Likewise.
33439 (memalign_hook_ini): Likewise.
33440 (__libc_memalign): Do not use __MALLOC_PMT in variable
33441 declaration.
33442 (__libc_valloc): Likewise.
33443 (__libc_pvalloc): Likewise.
33444 (__libc_calloc): Likewise.
33445 (__posix_memalign): Likewise.
33446
a9708fed
JM
33447 [BZ #14996]
33448 * math/s_casinh.c: Include <float.h>.
33449 (__casinh): Do not do computation with squaring and square root
33450 for large arguments.
33451 * math/s_casinhf.c: Include <float.h>.
33452 (__casinhf): Do not do computation with squaring and square root
33453 for large arguments.
33454 * math/s_casinhl.c: Include <float.h>.
33455 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33456 (__casinhl): Do not do computation with squaring and square root
33457 for large arguments.
33458 * math/libm-test.inc (casin_test): Add more tests.
33459 (casinh_test): Likewise.
33460 * sysdeps/i386/fpu/libm-test-ulps: Update.
33461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33462
afec409a
L
334632013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33464
33465 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33466 (__x86_64_raw_data_cache_size): Likewise.
33467 (__x86_64_data_cache_size_half): Likewise.
33468 (__x86_64_raw_data_cache_size_half): Likewise.
33469 (__x86_64_shared_cache_size): Likewise.
33470 (__x86_64_raw_shared_cache_size): Likewise.
33471 (__x86_64_shared_cache_size_half): Likewise.
33472 (__x86_64_raw_shared_cache_size_half): Likewise.
33473 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33474 to ...
33475 (__x86_data_cache_size): This.
33476 (__x86_64_raw_data_cache_size): Renamed to ...
33477 (__x86_raw_data_cache_size): This.
33478 (__x86_64_data_cache_size_half): Renamed to ...
33479 (__x86_data_cache_size_half): This.
33480 (__x86_64_raw_data_cache_size_half): Renamed to ...
33481 (__x86_raw_data_cache_size_half): This.
33482 (__x86_64_shared_cache_size): Renamed to ...
33483 (__x86_shared_cache_size): This.
33484 (__x86_64_raw_shared_cache_size): Renamed to ...
33485 (__x86_raw_shared_cache_size): This.
33486 (__x86_64_shared_cache_size_half): Renamed to ...
33487 (__x86_shared_cache_size_half): This.
33488 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33489 (__x86_raw_shared_cache_size_half): This.
33490 * sysdeps/x86_64/memcpy.S: Updated.
33491 * sysdeps/x86_64/memset.S: Likewise.
33492 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33493 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33494 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33495
0b3986d0
DM
334962013-01-04 David S. Miller <davem@davemloft.net>
33497
33498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33499
e47686e9
AS
335002013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33501
d643bac1
AS
33502 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33503 1 to avoid redefinition warning.
33504 (__USE_GNU): Don't define.
33505 (init_signaling_nan): Protoize.
33506
e47686e9
AS
33507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33508
b18decba
SP
335092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33510
fffb407f
SP
33511 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33513 (__cpymn): Likewise.
33514 (norm): Remove commented code.
33515 (denorm): Likewise.
33516 (__mp_dbl): Likewise.
33517 (__inv): Likewise.
33518 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33519 (__cpymn): Likewise.
33520 (norm): Remove commented code.
33521 (denorm): Likewise.
33522 (__mp_dbl): Likewise.
33523 (__inv): Likewise.
33524
b18decba
SP
33525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33526 mp_no value for 1.0 and 2.0.
33527 (norm): Use RADIXI instead of radixi.d.
33528 (denorm): Likewise.
33529 (__mul): Use 0.0 instead of zero.d.
33530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33531 mp_no value for 1.0 and 2.0.
33532 (norm): Use RADIXI instead of radixi.d.
33533 (denorm): Likewise.
33534 (__mul): Use 0.0 instead of zero.d.
33535
cdc1c96f
JM
335362013-01-04 Joseph Myers <joseph@codesourcery.com>
33537
33538 [BZ #14994]
33539 * math/s_casinh.c (__casinh): Reduce finite argument to first
33540 quadrant then set signs of results at the end.
33541 * math/s_casinhf.c (__casinhf): Likewise.
33542 * math/s_casinhl.c (__casinhl): Likewise.
33543 * math/libm-test.inc (casin_test): Add more tests.
33544 (casinh_test): Likewise.
33545 * sysdeps/i386/fpu/libm-test-ulps: Update.
33546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33547
302913e1
SP
335482013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33549
6420d207
SP
33550 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33551
a9e48ab4
SP
33552 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33553
b7837264
SP
33554 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33555 declarations.
33556 (denorm): Likewise.
33557 (__mp_dbl): Likewise.
33558 (__inv): Likewise.
33559
f8af25d2
SP
33560 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33561 and adjust the header comment.
33562
302913e1
SP
33563 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33564 variable name from declaration.
33565
5d7dd1ca
L
335662013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33567
33568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33569 Initialize COMMON_CPUID_INDEX_7 element.
33570 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33571 (CPUID_RTM): Likewise.
33572 (HAS_RTM): Likewise.
33573 (COMMON_CPUID_INDEX_7): New enum.
33574
2f5f40f4
AS
335752013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33576
33577 [BZ #14981]
33578 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33579 size is zero, record memory as freed.
33580
4056f4a0
AJ
335812013-01-03 Andreas Jaeger <aj@suse.de>
33582
33583 * po/ia.po: Add new Interlingua translation.
33584
ab15736f 335852012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33586
33587 * locale/programs/localedef.c: Fix description of '--posix' flag.
33588
568035b7
JM
335892013-01-02 Joseph Myers <joseph@codesourcery.com>
33590
e6898b8d
JM
33591 * NEWS: Update dates in second copyright notice.
33592 * README: Update copyright dates in example.
33593 * manual/libc.texinfo: Update copyright dates.
33594 * scripts/test-installation.pl: Update copyright date in --version
33595 output.
33596
0e2f9562
JM
33597 * hurd/ctty-input.c: Fix copyright notice formatting.
33598 * hurd/ctty-output.c: Likewise.
33599 * hurd/dtable.c: Likewise.
33600 * hurd/hurd-raise.c: Likewise.
33601 * hurd/hurdprio.c: Likewise.
33602 * hurd/msgportdemux.c: Likewise.
33603 * misc/sys/file.h: Likewise.
33604 * misc/sys/ioctl.h: Likewise.
33605 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33606 * sysdeps/mach/hurd/chdir.c: Likewise.
33607 * sysdeps/mach/hurd/fchdir.c: Likewise.
33608 * sysdeps/mach/hurd/rename.c: Likewise.
33609 * sysdeps/mach/hurd/rmdir.c: Likewise.
33610 * sysdeps/mach/hurd/seekdir.c: Likewise.
33611 * sysdeps/mach/hurd/setsid.c: Likewise.
33612 * sysdeps/posix/wait3.c: Likewise.
33613
568035b7
JM
33614 * All files with FSF copyright notices: Update copyright dates
33615 using scripts/update-copyrights.
33616 * intl/plural.c: Regenerated.
33617 * locale/programs/charmap-kw.h: Likewise.
33618 * locale/programs/locfile-kw.h: Likewise.
33619
da08f647
SP
336202013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33621
0f5477af
SP
33622 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33623 four values.
33624
44e0d4c2
SP
33625 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33626 calculation loop and add branch prediction.
33627
4d55b4e5
SP
33628 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33629 check access beyond bounds of m1np.
33630
da08f647
SP
33631 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33632 MPTWO.
33633 (__inv): Remove local variable MPTWO to use the global
33634 constant.
33635 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33636 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33637 variable MPTWO.
33638 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33639 MP3HALFS static const.
33640
8e051029
DM
336412013-01-01 David S. Miller <davem@davemloft.net>
33642
33643 * po/ca.po: Update from translation team.
33644
f4cf5f2d
JM
336452013-01-01 Joseph Myers <joseph@codesourcery.com>
33646
33647 * scripts/update-copyrights: New file.
33648 * Makeconfig: Reformat copyright notice.
33649 * ctype/ctype.h: Likewise.
33650 * debug/swprintf_chk.c: Likewise.
33651 * elf/dl-cache.c: Likewise.
33652 * elf/dl-debug.c: Likewise.
33653 * elf/dl-object.c: Likewise.
33654 * grp/initgroups.c: Likewise.
33655 * hurd/Makefile: Likewise.
33656 * hurd/hurd/signal.h: Likewise.
33657 * hurd/hurdfault.c: Likewise.
33658 * hurd/hurdioctl.c: Likewise.
33659 * hurd/hurdlookup.c: Likewise.
33660 * hurd/intr-msg.c: Likewise.
33661 * iconv/gconv_open.c: Likewise.
33662 * libio/swprintf.c: Likewise.
33663 * locale/lc-ctype.c: Likewise.
33664 * locale/nl_langinfo.c: Likewise.
33665 * mach/Machrules: Likewise.
33666 * mach/Makefile: Likewise.
33667 * malloc/obstack.h: Likewise.
33668 * manual/Makefile: Likewise.
33669 * manual/tsort.awk: Likewise.
33670 * misc/bits/stab.def: Likewise.
33671 * nis/nis_print_group_entry.c: Likewise.
33672 * nis/nis_table.c: Likewise.
33673 * nis/nss_compat/compat-pwd.c: Likewise.
33674 * nis/nss_compat/compat-spwd.c: Likewise.
33675 * po/Makefile: Likewise.
33676 * posix/fnmatch.c: Likewise.
33677 * posix/regex.h: Likewise.
33678 * resolv/Makefile: Likewise.
33679 * resolv/nss_dns/dns-network.c: Likewise.
33680 * resolv/res_hconf.c: Likewise.
33681 * scripts/gen-sorted.awk: Likewise.
33682 * soft-fp/soft-fp.h: Likewise.
33683 * stdio-common/printf.h: Likewise.
33684 * stdlib/monetary.h: Likewise.
33685 * stdlib/random.c: Likewise.
33686 * stdlib/random_r.c: Likewise.
33687 * sysdeps/generic/Makefile: Likewise.
33688 * sysdeps/gnu/Makefile: Likewise.
33689 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33691 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33692 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33693 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33695 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33696 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33697 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33699 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33700 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33701 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33702 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33703 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33704 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33705 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33706 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33707 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33708 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33709 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33710 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33711 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33717 * sysdeps/mach/hurd/errnos.awk: Likewise.
33718 * sysdeps/mach/hurd/fork.c: Likewise.
33719 * sysdeps/mach/hurd/getcwd.c: Likewise.
33720 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33721 * sysdeps/mach/hurd/mmap.c: Likewise.
33722 * sysdeps/mach/hurd/utimes.c: Likewise.
33723 * sysdeps/mach/hurd/xmknod.c: Likewise.
33724 * sysdeps/posix/profil.c: Likewise.
33725 * sysdeps/posix/readdir_r.c: Likewise.
33726 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33727 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33728 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33729 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33731 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33732 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33733 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33735 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33736 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33737 * sysdeps/pthread/lio_listio.c: Likewise.
33738 * sysdeps/sparc/dl-procinfo.h: Likewise.
33739 * sysdeps/unix/i386/sysdep.S: Likewise.
33740 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33741 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33742 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33743 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33745 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33746 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33747 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33748 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33749 * sysdeps/wordsize-32/divdi3.c: Likewise.
33750 * time/sys/time.h: Likewise.
33751 * wcsmbs/Makefile: Likewise.
33752
0549fbba
DM
337532013-01-01 David S. Miller <davem@davemloft.net>
33754
a141f1a7
DM
33755 * po/fr.po: Update from translation team.
33756
0549fbba
DM
33757 * catgets/gencat.c: Update copyright year.
33758 * csu/version.c: Likewise.
33759 * debug/catchsegv.sh: Likewise.
33760 * debug/pcprofiledump.c: Likewise.
33761 * debug/xtrace.sh: Likewise.
33762 * elf/ldconfig.c: Likewise.
33763 * elf/ldd.bash.in: Likewise.
33764 * elf/pldd.c: Likewise.
33765 * elf/sotruss.ksh: Likewise.
33766 * elf/sprof.c: Likewise.
33767 * iconv/iconv_prog.c: Likewise.
33768 * iconv/iconvconfig.c: Likewise.
33769 * locale/programs/locale.c: Likewise.
33770 * locale/programs/localedef.c: Likewise.
33771 * login/programs/pt_chown.c: Likewise.
33772 * malloc/memusage.sh: Likewise.
33773 * malloc/memusagestat.c: Likewise.
33774 * malloc/mtrace.pl: Likewise.
33775 * nscd/nscd.c: Likewise.
33776 * nss/getent.c: Likewise.
33777 * nss/makedb.c: Likewise.
33778 * posix/getconf.c: Likewise.
33779
18ea052c
SP
337802012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33781
33782 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33783 numbers.
33784
9c89fca6
MF
337852012-12-30 Mike Frysinger <vapier@gentoo.org>
33786
33787 * math/bits/mathcalls.h (modf): Use __nonnull.
33788
085ec079
SP
337892012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33790
33791 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33792 (split): Use macro CN instead of the bare value.
33793 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33794 could be used.
33795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33796 instead of the bare value.
33797 (power1): Likewise.
33798
6d9f97e1
SP
337992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33800
d63f73be
SP
33801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33802 __ATAN_TWOM.
33803 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33804
6d9f97e1
SP
33805 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33806 their values.
33807 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33809 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33810 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33811
4c4febf5
AJ
338122012-12-28 Andreas Jaeger <aj@suse.de>
33813
af5843ef
AJ
33814 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33815 values are from Linux 3.7.
33816
4c4febf5
AJ
33817 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33818 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33819
99136f82
SP
338202012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33821
2f216c3c 33822 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33823 TRUE case.
33824
99136f82
SP
33825 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33826 (norm): Likewise.
33827 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33828 variables with preprocessor constants.
33829 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33830 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33831 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33832
7fffbdff
BH
338332012-12-27 Bruno Haible <bruno@clisp.org>
33834
33835 [BZ #14317]
33836 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33837 only if needed.
33838
b76eb5f0
SP
338392012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33840
31a7fe5c
SP
33841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33842 and use variable directly.
33843 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33844
b76eb5f0
SP
33845 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33846 MPONE.
33847 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33849 variable MPONE.
33850 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33852 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33853 include directive. Remove local variable MPONE.
33854 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33855 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33856 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33857
2c8bfe7d
DM
338582012-12-25 David S. Miller <davem@davemloft.net>
33859
33860 * version.h (RELEASE): Set to "development".
33861 (VERSION): Set to "2.17.90".
33862 * NEWS: Add 2.18 section.
33863
147d03b0
DM
338642012-12-21 David S. Miller <davem@davemloft.net>
33865
33866 * po/hr.po: Update from translation team.
33867
a8ebb2b9
AK
338682012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33869
33870 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33871
95b4f1b6
SE
338722012-12-19 Steve Ellcey <sellcey@mips.com>
33873
b2d94007 33874 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33875
cedb2a90
MS
338762012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33877
33878 * manual/contrib.texi (Contributors): Spelling correction.
33879
bbf527d6
DM
338802012-12-15 David S. Miller <davem@davemloft.net>
33881
33882 * po/ru.po: Update from translation team.
33883
bc38c906
DM
338842012-12-13 David S. Miller <davem@davemloft.net>
33885
85429b1a
DM
33886 * NEWS: Mention IFUNC testsuite enhancements.
33887
d283e353
DM
33888 * po/pl.po: Update from translation team.
33889 * po/bg.po: Likewise.
33890
bc38c906
DM
33891 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33892 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33893
a181b0d7
DM
338942012-12-11 David S. Miller <davem@davemloft.net>
33895
4641d57e
DM
33896 * po/sv.po: Update from translation team.
33897
f7bc6495
DM
33898 * po/vi.po: Update from translation team.
33899
6fc9048f
DM
33900 * po/cs.po: Update from translation team.
33901
a181b0d7
DM
33902 * po/de.po: Update from translation team.
33903 * po/eo.po: Likewise.
33904 * po/nl.po: Likewise.
33905
f70bfe80
SP
339062012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33907
3c8b4190
SP
33908 [BZ #14246]
33909 * manual/argp.texi (Argp Helper Functions): Move node to follow
33910 Argp Parsing State.
33911
f70bfe80
SP
33912 [BZ #14872]
33913 * manual/conf.texi (Limits on File System Capacity): Mention if
33914 terminating null is included in the max size.
33915
188f0adf
AJ
339162012-12-10 Andreas Jaeger <aj@suse.de>
33917
33918 * po/cs.po: Update from translation team.
33919
56e7d3ad
SP
339202012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33921
33922 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33923 void pointer and cast to uintptr_t.
33924 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33925 path.
33926 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33927 * sysdeps/s390/s390-64/memset.S: Likewise.
33928
76f2d2ea 339292012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33930
33931 [BZ #14833]
33932 * menual/message.texi (Message Translation): Fix typos.
33933 (Helper programs for gettext): Likewise.
33934
67cbf9a2
AS
339352012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33936
33937 [BZ #14898]
33938 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33939 Change to -1.
33940
682d0e9a
DM
339412012-12-07 David S. Miller <davem@davemloft.net>
33942
33943 * po/libc.pot: Update.
33944
573cd484
RH
339452012-12-07 Richard Henderson <rth@redhat.com>
33946
7e9da188 33947 [BZ #10114]
573cd484
RH
33948 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33949 normal/normal case to before the switch.
33950 (_FP_DIV): Likewise.
33951
e933a943
MF
339522012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33953 Mike Frysinger <vapier@gentoo.org>
33954
33955 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33956 check for __NR_fadvise64_64.
33957
82123268
CM
339582012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33959
33960 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33961 0, not just to plain "0" as a statement.
33962 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33963 with cw.
33964
d9814526
JM
339652012-12-06 Joseph Myers <joseph@codesourcery.com>
33966
33967 * NEWS: Use sourceware.org in Bugzilla URL.
33968
7728c574
SP
339692012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33970
f16946dd
SP
33971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33972 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33973
5704bbcb
SP
33974 * stdio-common/tst-put-error.c (do_test): Add newline to the
33975 padded test to ensure flush.
33976
17aa0516
JL
339772012-12-05 Jeff Law <law@redhat.com>
33978
33979 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33980
363313b5
JM
339812012-12-05 Joseph Myers <joseph@codesourcery.com>
33982
effbd42a
JM
33983 * README: Don't refer to ports add-on as distributed separately.
33984 Mention AArch64 in list of systems supported in the ports add-on.
33985
87600365
JM
33986 * LICENSES: Add more non-FSF copyright and license notices.
33987
a0d7066a
JM
33988 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33989 ((unused)).
33990
66ca5a5b
JM
33991 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33992
363313b5
JM
33993 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33994 10000 as width of padded output.
33995
b37984ad
JM
339962012-12-04 Joseph Myers <joseph@codesourcery.com>
33997
9003570a
JM
33998 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33999
b37984ad
JM
34000 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34001 variable LX with __attribute__ ((unused)).
34002 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34003 Likewise.
34004 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34007 with __attribute__ ((unused)).
34008
c8df52ec
DM
340092012-12-04 David S. Miller <davem@abraco.davemloft.net>
34010
34011 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34012
b3b099af
JM
340132012-12-04 Joseph Myers <joseph@codesourcery.com>
34014
c33aa6e3
JM
34015 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34016 (CFLAGS-nldbl-acos.c): New variable.
34017 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34018 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34019 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34020 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34021 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34022 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34023 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34024 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34025 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34026 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34027 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34028 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34029 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34030 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34031 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34032 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34033 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34034 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34035 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34036 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34037 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34038 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34039 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34040 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34041 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34042 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34043 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34044 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34045 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34046 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34047 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34048 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34049 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34050 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34051 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34052 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34053 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34054 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34055 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34056 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34057 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34058 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34059 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34060 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34061 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34062 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34063 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34064 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34065 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34066 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34067 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34068 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34069 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34070 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34071 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34072 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34073 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34074 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34075 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34076 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34077 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34078 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34079 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34080 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34081 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34082 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34083 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34084 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34085 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34086 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34087 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34088 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34089 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34090 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34091 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34092 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34093 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34094 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34095 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34096 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34097 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34098 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34099 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34100 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34101 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34102 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34103 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34104 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34105 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34106 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34107 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34108 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34109 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34110 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34111 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34112 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34113 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34114
20f0018d
JM
34115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34116 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34117
b3b099af
JM
34118 [BZ #14914]
34119 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34120 whole low double instead of just low 47 bits when splitting values
34121 into two parts.
34122
029264d1
AM
341232012-12-03 Allan McRae <allan@archlinux.org>
34124
34125 * manual/stdio.texi (Predefined Printf Handlers): Remove
34126 @hsep and @vsep usage.
34127
c9d6789e
MF
341282012-12-03 Mike Frysinger <vapier@gentoo.org>
34129
34130 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34131 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34132
4b7634a5
JL
341332012-12-03 Jeff Law <law@redhat.com>
34134
34135 * time/sys/time.h (settimeofday): Do not mark TV argument
34136 as __nonnull.
34137
eb6cbd24
MF
341382012-12-01 Mike Frysinger <vapier@gentoo.org>
34139
34140 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34141 when currently writing and seek to current position when not.
34142 * libio/Makefile (tests): Remove bug-fclose1.
34143 * libio/bug-fclose1.c: Delete.
34144
f638872a
JM
341452012-12-01 Joseph Myers <joseph@codesourcery.com>
34146
34147 * manual/arith.texi (feenableexcept): Fix typo.
34148 (fedisableexcept): Likewise.
34149
48085d14
RM
341502012-11-30 Roland McGrath <roland@hack.frob.com>
34151
34152 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34153 second, differently-typed declaration, rather than a cast.
34154
1a538b9f
SP
341552012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34156
34157 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34158 * include/rpc/svc.h: ... here.
34159
d07f2ff1 341602012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34161
34162 [BZ #13013]
34163 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34164 depending n and resplen2 to catch cases where answer
34165 equals answerp2.
34166
c93ec1f0
CD
341672012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34168
34169 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34170 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34171
37db69de
MF
341722012-11-29 Mike Frysinger <vapier@gentoo.org>
34173
34174 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34175
e10c4e4f
RM
341762012-11-29 Roland McGrath <roland@hack.frob.com>
34177
34178 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34179
2af1b328
JL
341802012-11-28 Jeff Law <law@redhat.com>
34181
34182 [BZ #13761]
34183 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34184 dataset_temporary. Track alloca usage into alloca_used.
34185 If dataset is large allocate and release it via malloc/free.
34186
111db5b1
FW
341872012-06-04 Florian Weimer <fweimer@redhat.com>
34188
f06cc227 34189 [BZ #14197]
111db5b1
FW
34190 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34191
dd694abd
DM
341922012-11-28 David S. Miller <davem@davemloft.net>
34193
34194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34195
9984dd01
JM
341962012-11-28 Joseph Myers <joseph@codesourcery.com>
34197
34198 [BZ #14803]
34199 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34200 of pi/2 rounded to nearest to 64 bits.
34201 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34202 nearest to 64 bits.
34203 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34204 bits.
34205
14bc93a9
JL
342062012-11-28 Jeff Law <law@redhat.com>
34207 Martin Osvald <mosvald@redhat.com>
34208
34209 [BZ #14889]
34210 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34211 * sunrpc/svc.c: Include time.h.
34212 (__svc_accept_failed): New function.
34213 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34214 any reason other than EINTR, call __svc_accept_failed.
34215 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34216 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34217
e3c6aa3a
AS
342182012-11-28 Andreas Schwab <schwab@suse.de>
34219
34220 * scripts/abilist.awk: Also handle indirect functions in .opd
34221 section.
34222
1bead169
JM
342232012-11-28 Joseph Myers <joseph@codesourcery.com>
34224
34225 [BZ #13881]
34226 * sysdeps/x86/fpu/powl_helper.c: New file.
34227 * sysdeps/x86/fpu/Makefile: Likewise.
34228 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34229 (p3): New object.
34230 (__ieee754_powl): Use __powl_helper for finite arguments except
34231 integer exponents below 8.
34232 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34233 (p3): New object.
34234 (__ieee754_powl): Use __powl_helper for finite arguments except
34235 integer exponents below 8.
34236 * math/libm-test.inc (pow_test): Add more tests and enable some
34237 previously disabled tests.
34238 * sysdeps/i386/fpu/libm-test-ulps: Update.
34239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34240
0817d63d
SP
342412012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34242 Carlos O'Donell <carlos_odonell@mentor.com>
34243
34244 * nss/makedb.c (is_prime): Assert that input is odd and greater
34245 than 4. Note that fact in a comment too.
34246 (next_prime): Add 4 to input.
34247
de2fd463
SP
342482012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34249
34250 [BZ #11741]
34251 * libio/Makefile (tests): Add test case tst-fwrite-error.
34252 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34253 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34254 * libio/tst-fwrite-error.c: New test case.
34255
c515fb51
L
342562012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34257
34258 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34259 before casting to void *.
34260 * include/libc-internal.h (__pointer_type): New macro.
34261 (__integer_if_pointer_type_sub): Likewise.
34262 (__integer_if_pointer_type): Likewise.
34263 (cast_to_integer): Likewise.
34264 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34265 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34266 before casting to atomic64_t.
34267 (atomic_exchange_acq): Likewise.
34268 (__arch_exchange_and_add_body): Likewise.
34269 (__arch_add_body): Likewise.
34270 (atomic_add_negative): Likewise.
34271 (atomic_add_zero): Likewise.
34272
4cf77aa9
JM
342732012-11-26 Joseph Myers <joseph@codesourcery.com>
34274
34275 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34276 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34277 (add_fdes): Likewise.
34278 (linear_search_fdes): Likewise.
34279 (binary_search_unencoded_fdes): Likewise.
34280
d260b3b4
AS
342812012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34282
34283 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34284
67060746
AC
342852012-11-24 Adam Conrad <adconrad@0c3.net>
34286
34287 * configure.in: Autodetect C++ header directories.
34288 * configure: Regenerated.
34289
800938a1
MF
342902012-11-23 Mike Frysinger <vapier@gentoo.org>
34291
34292 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34293
4e6e34e6
AS
342942012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34295
34296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34297
7c7feb47
JM
342982012-11-22 Joseph Myers <joseph@codesourcery.com>
34299
7184dcdf
JM
34300 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34301 LDBL_MANT_DIG == 106]: Disable some tests.
34302 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34303 Likewise.
34304 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34305 Likewise.
34306
0a42601f
JM
34307 [BZ #14871]
34308 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34309 input for small inputs. Return +/- pi/2 for large inputs.
34310 * math/libm-test.inc (atan_test): Add more tests.
34311
79c9b9fe
JM
34312 * sysdeps/generic/unwind-dw2-fde-glibc.c
34313 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34314 __attribute__ ((unused)).
34315
c60d3bf2
JM
34316 [BZ #14645]
34317 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34318 x * y if x and y are nonzero and z is zero.
34319
ef1e0867
JM
34320 [BZ #14811]
34321 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34322 nonzero exponents with absolute value below 0x1p-117 to +/-
34323 0x1p-117.
34324
1468ded3
JM
34325 [BZ #14869]
34326 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34327 up arguments below 2**-450, not just those below 2**-500.
34328 * math/libm-test.inc (hypot_test): Add another test.
34329
8e27e3cc
JM
34330 [BZ #14868]
34331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34332 Return a+b for ratio over 2**120, not 2**60.
34333 * math/libm-test.inc (hypot_test): Add another test.
34334
c9c0279b
JM
34335 * math/libm-test.inc (clog_test): Use
34336 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34337 (clog10_test): Likewise.
34338
7c7feb47
JM
34339 [BZ #6778]
34340 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34341
fff1530e
AS
343422012-11-22 Andreas Schwab <schwab@suse.de>
34343
34344 * sysdeps/i386/fpu/libm-test-ulps: Update.
34345
94558d30
PT
343462012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34347
34348 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34349 printf output with newline.
34350
7e1be741
L
343512012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34352
6bfea974
L
34353 [BZ #14865]
34354 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34355 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34356 -z nodlopen, -z initfirst and -z execstack support.
34357 * configure: Regenerated.
34358
7e1be741
L
34359 * elf/elf.h (DF_1_NODIRECT): New macro.
34360 (DF_1_IGNMULDEF): Likewise.
34361 (DF_1_NOKSYMS): Likewise.
34362 (DF_1_NOHDR): Likewise.
34363 (DF_1_EDITED): Likewise.
34364 (DF_1_NORELOC): Likewise.
34365 (DF_1_SYMINTPOSE): Likewise.
34366 (DF_1_GLOBAUDIT): Likewise.
34367 (DF_1_SINGLETON): Likewise.
34368 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34369 DT_1_SUPPORTED_MASK bits.
34370 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34371
105ce2ce
CD
343722012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34373
34374 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34375
123be9de
TS
343762012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34377
d072f3f7
TS
34378 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34379 macro.
34380
123be9de
TS
34381 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34382 (sendmmsg): Move declarations...
34383 * socket/sys/socket.h: ... here.
34384 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34385 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34386 include it from...
34387 * socket/recvmmsg.c: ... this new file.
34388 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34389 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34390 definition of __sendmmsg hidden.
34391 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34392 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34393 Move ENOSYS stub into and include it from...
34394 * socket/sendmmsg.c: ... this new file.
34395 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34396 (sysdep_routines): Move recvmmsg and sendmmsg...
34397 * socket/Makefile (routines): ... here.
34398 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34399 (GLIBC_PRIVATE): Add __sendmmsg.
34400 * include/sys/socket.h (__sendmmsg): Add declarations.
34401 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34402 sendmmsg.
34403
cf9a5d18
JM
344042012-11-20 Joseph Myers <joseph@codesourcery.com>
34405
34406 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34407 variable I1 with __attribute__ ((unused)).
34408 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34409
ecd4caf9
JM
344102012-11-19 Joseph Myers <joseph@codesourcery.com>
34411
be14d48f
JM
34412 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34413 DUMMY variables with __attribute__ ((unused)).
34414
ecd4caf9
JM
34415 * bits/byteswap.h: Include <bits/types.h>.
34416 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34417
986cab95
PT
344182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34419
34420 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34421 string_t. Do not manually set errno.
34422 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34423 length with __strnlen. Make sure to both set errno and return it on
34424 failure.
34425
6d33cc9d
DM
344262012-11-19 David S. Miller <davem@davemloft.net>
34427
34428 With help from Joseph Myers.
34429 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34430 very large arguments properly.
34431 * math/libm-test.inc (atan_test): New tests.
34432 (atan2_test): New tests.
34433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34435
ee663277
JM
344362012-11-19 Joseph Myers <joseph@codesourcery.com>
34437
877f2d8e
JM
34438 [BZ #14856]
34439 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34440 Define to 3.
34441
116fc08a
JM
34442 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34443 [POSIX] (EADDRNOTAVAIL): Likewise.
34444 [POSIX] (EAFNOSUPPORT): Likewise.
34445 [POSIX] (EALREADY): Likewise.
34446 [POSIX] (ECONNABORTED): Likewise.
34447 [POSIX] (ECONNREFUSED): Likewise.
34448 [POSIX] (ECONNRESET): Likewise.
34449 [POSIX] (EDESTADDRREQ): Likewise.
34450 [POSIX] (EDQUOT): Likewise.
34451 [POSIX] (EHOSTUNREACH): Likewise.
34452 [POSIX] (EIDRM): Likewise.
34453 [POSIX] (EISCONN): Likewise.
34454 [POSIX] (ELOOP): Likewise.
34455 [POSIX] (EMULTIHOP): Likewise.
34456 [POSIX] (ENETDOWN): Likewise.
34457 [POSIX] (ENETUNREACH): Likewise.
34458 [POSIX] (ENOBUFS): Likewise.
34459 [POSIX] (ENODATA): Likewise.
34460 [POSIX] (ENOLINK): Likewise.
34461 [POSIX] (ENOMSG): Likewise.
34462 [POSIX] (ENOPROTOOPT): Likewise.
34463 [POSIX] (ENOSR): Likewise.
34464 [POSIX] (ENOSTR): Likewise.
34465 [POSIX] (ENOTCONN): Likewise.
34466 [POSIX] (ENOTSOCK): Likewise.
34467 [POSIX] (EOPNOTSUPP): Likewise.
34468 [POSIX] (EOVERFLOW): Likewise.
34469 [POSIX] (EPROTO): Likewise.
34470 [POSIX] (EPROTONOSUPPORT): Likewise.
34471 [POSIX] (EPROTOTYPE): Likewise.
34472 [POSIX] (ESTALE): Likewise.
34473 [POSIX] (ETIME): Likewise.
34474 [POSIX] (ETXTBSY): Likewise.
34475 [POSIX] (EWOULDBLOCK): Likewise.
34476 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34477 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34478 [POSIX] (SEEK_CUR): Likewise.
34479 [POSIX] (SEEK_END): Likewise.
34480 [POSIX || UNIX98] (mode_t): Do not require.
34481 [POSIX] (off_t): Likewise.
34482 [POSIX] (pid_t): Likewise.
34483 [POSIX] (sys/stat.h): Do not allow header.
34484 [POSIX] (unistd.h): Likewise.
34485 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34486 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34487 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34488 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34489 require.
34490 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34491 sigevent): Specify elements.
34492 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34493 entry.
34494 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34495 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34496
a483863f
JM
34497 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34498 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34499 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34500 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34501 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34502 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34503 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34504 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34505 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34506 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34507 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34508 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34509 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34510 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34511 Likewise.
34512 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34513 Likewise.
34514 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34515 Likewise.
34516 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34517 Likewise.
34518 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34519 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34520 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34521 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34522 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34523 Specify lower bound on value.
34524 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34525 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34526 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34527 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34528 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34529 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34530 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34531 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34532 value.
34533 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34534 as optional.
34535 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34536 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34537 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34538 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34539 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34540 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34541 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34542 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34543 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34544 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34545 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34546 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34547 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34548 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34549 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34550 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34551 entry.
34552 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34553 optional.
34554 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34555 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34556 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34557 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34558 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34559 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34560 Likewise.
34561 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34562 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34563 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34564 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34565 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34566 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34567 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34568 as optional.
34569 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34570 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34571 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34572 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34573 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34574 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34575 specify as optional.
34576 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34577 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34578 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34579 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34580 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34581 [XPG3] (NL_LANGMAX): Likewise.
34582 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34583 [POSIX || XPG3] (NL_NMAX): Likewise.
34584 [POSIX || XPG3] (NL_SETMAX): Likewise.
34585 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34586 [XPG3] (NZERO): Likewise.
34587 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34588 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34589 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34590 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34591 (REG_ERANGE): Expect.
34592 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34593 optional-constant.
34594 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34595 Use (void) in prototype.
34596 [POSIX] (*_t): Allow.
34597 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34598 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34599 (WRDE_BADVAL): Expect.
34600
5ba924e3
JM
34601 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34602 expect.
34603 [XPG3 || XPG4] (O_RSYNC): Likewise.
34604 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34605 Likewise.
34606 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34607 [XPG3 || XPG4] (sigqueue): Likewise.
34608 [XPG3 || XPG4] (sigtimedwait): Likewise.
34609 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34610 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34611 [XPG3 || XPG4] (vsnprintf): Likewise.
34612 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34613 Likewise.
34614 [XPG3 || XPG4] (blksize_t): Likewise.
34615 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34616 Likewise.
34617 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34618 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34619 [XPG3 || XPG4] (struct itimerspec): Likewise.
34620 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34621 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34622 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34623 [XPG3 || XPG4] (clockid_t): Likewise.
34624 [XPG3 || XPG4] (timer_t): Likewise.
34625 [XPG3 || XPG4] (clock_getres): Likewise.
34626 [XPG3 || XPG4] (clock_gettime): Likewise.
34627 [XPG3 || XPG4] (clock_settime): Likewise.
34628 [XPG3 || XPG4] (nanosleep): Likewise.
34629 [XPG3 || XPG4] (timer_create): Likewise.
34630 [XPG3 || XPG4] (timer_delete): Likewise.
34631 [XPG3 || XPG4] (timer_gettime): Likewise.
34632 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34633 [XPG3 || XPG4] (timer_settime): Likewise.
34634 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34635 [XPG3 || XPG4] (getlogin_r): Likewise.
34636 [XPG3 || XPG4] (pread): Likewise.
34637 [XPG3 || XPG4] (pthread_atfork): Likewise.
34638 [XPG3 || XPG4] (pwrite): Likewise.
34639
ee663277
JM
34640 [BZ #14835]
34641 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34642 <bits/siginfo.h>.
34643
942caa16
PT
346442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34645
e19af380
PT
34646 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34647 finalizing MALLSTREAM.
34648
942caa16
PT
34649 * sysdeps/mach/hurd/syncfs.c: New file.
34650
cfde9b46
SP
346512012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34652
34653 [BZ #14719]
34654 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34655 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34656 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34657 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34658 (_nss_dns_gethostbyname4_r): Likewise.
34659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34660 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34661
f6da27e5
PH
346622012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34663
34664 [BZ #13763]
34665 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34666
6665d4a2
SM
346672012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34668
1f51ee92
SM
34669 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34670 * elf/cache.c (print_entry): Print ",AArch64" for
34671 FLAG_AARCH64_LIB64
34672
6665d4a2
SM
34673 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34674 * elf/cache.c (print_entry): Print ",hard-float" for
34675 FLAG_ARM_LIBHF.
34676
05b227bd
DM
346772012-11-18 David S. Miller <davem@davemloft.net>
34678
34679 With help from Joseph Myers.
34680 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34681 cutoff to 2**-13.
34682 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34683 cutoff to 2**-25.
34684 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34685 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34686 small.
34687 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34688 * math/libm-test.inc (y0_test): New tests.
34689 (y1_test): New tests.
34690 * sysdeps/i386/fpu/libm-test-ulps: Update.
34691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34693
786b0b67
AS
346942012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34695
34696 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34697 64-bit targets.
34698 * configure: Regenerated.
34699
8e18b86d
DM
347002012-11-17 David S. Miller <davem@davemloft.net>
34701
34702 [BZ #14811]
34703 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34704 nonzero exponents with absolute value below 0x1p-128 to +/-
34705 0x1p-128.
34706
531f1ae0
JM
347072012-11-17 Joseph Myers <joseph@codesourcery.com>
34708
12df29e2
JM
34709 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34710
150dc1a0
JM
34711 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34712
531f1ae0
JM
34713 * posix/getconf-speclist.c: New file.
34714 * posix/posix-envs.def: Likewise.
34715 * posix/confstr.c (START_ENV_GROUP): New macro.
34716 (END_ENV_GROUP): Likewise.
34717 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34718 (KNOWN_PRESENT_ENV_STRING): Likewise.
34719 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34720 (UNKNOWN_ENVIRONMENT): Likewise.
34721 (confstr): Include posix-envs.def instead of handling
34722 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34723 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34724 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34725 (END_ENV_GROUP): Likewise.
34726 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34727 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34728 (UNKNOWN_ENVIRONMENT): Likewise.
34729 (__sysconf): Include posix-envs.def instead of handling associated
34730 cases directly here.
34731 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34732 preprocessing getconf-speclist.c rather than running getconf or
34733 generating empty file.
34734
a93f9cbc
PT
347352012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34736
34737 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34738
d64d9f87
AL
347392012-11-16 Andrej Lajovic <natrij@gmail.com>
34740
34741 [BZ #14672]
34742 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34743
447885eb
DM
347442012-11-16 David S. Miller <davem@davemloft.net>
34745
34746 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34747 smaller than LDBL_EPSILON/2.0L, just return xm1.
34748
bcbf9830
L
347492012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34750
34751 * elf/tst-array1.c (init): Set constructor priority to 1000.
34752 (fini): Set destructor priority to 1000.
34753 * elf/tst-array2dep.c: Likewise.
34754
2b766585
SP
347552012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34756
34757 [BZ #11741]
34758 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34759 (_IO_new_file_xsputn): Also return EOF if none of the input
34760 data was written when overflow failed.
34761 * libio/iopadn.c (_IO_padn): Likewise.
34762 * libio/iowpadn.c (_IO_wpadn): Likewise.
34763 * stdio-common/tst-put-error.c: Add copyright notice.
34764 (do_test): Add case for printing padded string.
34765 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34766 _IO_padn returned error.
34767 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34768 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34769 return EOF.
34770
b1848fde
SP
347712012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34772
34773 * libio/libioP.h: Add comment note that the references to C++
34774 bits are now obsolete.
34775
2fd89785
MS
347762012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34777
34778 * math/libm-test.inc (check_complex): Use asprintf.
34779
e3ea5409
JM
347802012-11-14 Joseph Myers <joseph@codesourcery.com>
34781
34782 * debug/pcprofiledump.c (print_version): Update copyright year.
34783 * malloc/memusagestat.c (print_version): Likewise.
34784
2e64d265
L
347852012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34786
34787 [BZ #14831]
34788 * elf/Makefile (tests): Add tst-audit8.
34789 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34790 ($(objpfx)tst-audit8.out): New target.
34791 (tst-audit8-ENV): New variable.
34792 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34793 audit if l_reloc_result is NULL.
34794 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34795 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34796 * elf/tst-audit8.c: New file.
34797
c485e4d2
MS
347982012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34799
34800 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34801 * misc/Makefile (CFLAGS-select.c): Define.
34802 * posix/Makefile (CFLAGS-pause.c): Define.
34803
3a0d900a
DM
348042012-11-13 David S. Miller <davem@davemloft.net>
34805
34806 * crypt/Makefile: Move test targets after toplevel Rules
34807 inclusion. Grab any necessary sysdep routines when linking.
34808 * crypt/md5.c (md5_process_block): Remove define, we will always
34809 name it __md5_process_block.
34810 (md5_finish_ctx): Update md5_process_block call.
34811 (md5_stream): Likewise.
34812 (md5_process_bytes): Likewise.
34813 (md5_process_block): Rename to __md5_process_block and move to ...
34814 * crypt/md5-block.c: ... here.
34815 * crypt/sha256.c (sha256_process_block): Move to ...
34816 * crypt/sha256-block.c: ... here.
34817 * crypt/sha512.c (sha512_process_block): Move to ...
34818 * crypt/sha512-block.c: ... here.
34819 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34820 path.
34821 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34822 * sysdeps/sparc/sparc64/multiarch/Makefile
34823 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34824 crypt subdir.
34825 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34826 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34827 multiarch changes.
34828 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34829 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34830 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34831 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34832 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34833 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34834 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34835 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34836 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34837 file.
34838 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34839 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34840 file.
34841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34842
8ca89318
JM
348432012-11-13 Joseph Myers <joseph@codesourcery.com>
34844
e27d476a
JM
34845 * timezone/tzselect.ksh: Update from tzcode git revision
34846 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34847 * timezone/zdump.c: Likewise.
34848 * timezone/zic.c: Likewise.
34849 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34850 in TZVERSION setting, not $(PKGVERSION).
34851 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34852 REPORT_BUGS_TO settings.
34853
8ca89318
JM
34854 [BZ #14838]
34855 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34856 macro.
34857
47594329
MS
348582012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34859
34860 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34861 detection to immediately after _FP_ROUND().
34862 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34863 bits are 0.
34864
640ac3f1
DM
348652012-11-11 David S. Miller <davem@davemloft.net>
34866
34867 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34868 inttypes.h
34869 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34870 __close rather than their public counterparts.
34871
3d2577bb
JM
348722012-11-10 Joseph Myers <joseph@codesourcery.com>
34873
34874 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34875 file.
34876 [UNIX98] (sem_timedwait): Do not expect.
34877 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34878 [XPG4 || UNIX98] (sockatmark): Do not expect.
34879 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34880 (clock_getcpuclockid): Do not expect.
34881 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34882 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34883 Do not expect.
34884 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34885 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34886 [UNIX98] (vwscanf): Likewise.
34887 [UNIX98] (vswscanf): Likewise.
34888
fb1ae1ee
JM
348892012-11-09 Joseph Myers <joseph@codesourcery.com>
34890
9ec6f8bd
JM
34891 * timezone/version.h: Remove file.
34892 * timezone/README: Do not refer to version.h.
34893 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34894 $(objpfx)version.h.
34895 ($(objpfx)zdump.o): Likewise.
c3f81911 34896 ($(objpfx)version.h): New target.
9ec6f8bd 34897
0aa8f8a1
JM
34898 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34899 2012i.
34900 * timezone/README: Don't mention modification to tzselect.ksh.
34901 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34902 work on unmodified tzselect.ksh. Substitute version numbers in
34903 tzselect.ksh.
34904
4e87147f
JM
34905 * Makefile (format-me): Remove.
34906 (INSTALL): Adjust indentation. Use commands directly instead of
34907 using $(format-me).
34908
8b748aed
JM
34909 * aclocal.m4 (ACX_PKGVERSION): New macro.
34910 (ACX_BUGURL): Likewise.
34911 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34912 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34913 (REPORT_BUGS_TO): Likewise.
34914 * configure: Regenerated.
34915 * config.h.in (PKGVERSION): New macro.
34916 (REPORT_BUGS_TO): Likewise.
34917 * config.make.in (PKGVERSION): New variable.
34918 (PKGVERSION_TEXI): Likewise.
34919 (REPORT_BUGS_TO): Likewise.
34920 (REPORT_BUGS_TEXI): Likewise.
34921 * Makefile (format-me): Use -I$(common-objpfx)manual.
34922 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34923 ($(common-objpfx)manual/%): New target.
34924 (manual/%): Remove target.
34925 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34926 (print_version): Use PKGVERSION.
34927 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34928 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34929 and REPORT_BUGS_TO.
34930 ($(objpfx)xtrace): Likewise.
34931 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34932 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34933 (print_version): Use PKGVERSION.
34934 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34935 (do_version): Use PKGVERSION.
34936 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34937 REPORT_BUGS_TO.
34938 (common-ldd-rewrite): Likewise.
34939 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34940 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34941 (print_version): Use PKGVERSION.
34942 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34943 * elf/pldd.c (argp_program_bug_address): Remove variable.
34944 (more_help): New function.
34945 (argp): Use more_help.
34946 (print_version): Use PKGVERSION.
34947 * elf/sln.c (main): Use PKGVERSION.
34948 (usage): Use REPORT_BUGS_TO.
34949 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34950 (top level): Use PKGVERSION.
34951 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34952 (print_version): Use PKGVERSION.
34953 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34954 (print_version): Use PKGVERSION.
34955 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34956 (print_version): Use PKGVERSION.
34957 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34958 (print_version): Use PKGVERSION.
34959 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34960 (print_version): Use PKGVERSION.
34961 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34962 (print_version): Use PKGVERSION.
34963 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34964 and BUGURL.
34965 ($(objpfx)memusage): Likewise.
34966 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34967 (do_version): Use PKGVERSION.
34968 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34969 (print_version): Use PKGVERSION.
34970 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34971 ($PKGVERSION): New variable.
34972 ($REPORT_BUGS_TO): Likewise.
34973 (usage): Use $REPORT_BUGS_TO.
34974 (top level): Use $PKGVERSION.
34975 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34976 ($(objpfx)pkgvers.texi): New rule.
34977 ($(objpfx)stamp-pkgvers): Likewise.
34978 * manual/install.texi: Include pkgvers.texi.
34979 (--with-pkgversion): Document new configure option.
34980 (--with-bugurl): Likewise.
34981 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34982 than necessarily for this particular distribution. Use
34983 REPORT_BUGS_TO for where to report bugs.
34984 * INSTALL: Regenerated.
34985 * manual/libc.texinfo: Include pkgvers.texi.
34986 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34987 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34988 (print_version): Use PKGVERSION.
34989 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34990 (print_version): Use PKGVERSION.
34991 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34992 (print_version): Use PKGVERSION.
34993 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34994 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34995 macro.
34996 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34997 (print_version): Use PKGVERSION.
34998 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34999 (print_version): Use PKGVERSION.
35000 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35001 and PKGVERSION.
35002
92e4b6a9
JM
35003 * timezone/checktab.awk: Update from tzcode 2012i.
35004 * timezone/ialloc.c: Likewise.
35005 * timezone/private.h: Likewise.
35006 * timezone/scheck.c: Likewise.
35007 * timezone/tzfile.h: Likewise.
35008 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35009 (TZVERSION): Hardcode tzcode version number.
35010 * timezone/zdump.c: Update from tzcode 2012i.
35011 * timezone/zic.c: Likewise.
35012 * timezone/version.h: New file.
35013 * timezone/README: Describe version.h. Update upstream location.
35014
9bde902c
JM
35015 [BZ #14824]
35016 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35017 (mktemp): Enable declaration.
35018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35020 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35022 Likewise.
35023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35024 Likewise.
35025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35026 Likewise.
35027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35028 Likewise.
35029 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35030 Likewise.
35031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35032 Likewise.
35033
fb1ae1ee
JM
35034 [BZ #14821]
35035 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35036 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35037 for copies of such integer values.
35038 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35039 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35040
2c1adbcb
AJ
350412012-11-09 Andreas Jaeger <aj@suse.de>
35042
35043 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35044 definitions and declarations that are provided by
35045 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35046
d0f8457e
AK
350472012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35048
3a235abb 35049 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35050 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35051 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35052 definition.
35053
57241e26
MS
350542012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35055
35056 * elf/elf.h: Update comment before AArch64 relocations.
35057
60e8270d
DM
350582012-11-07 David S. Miller <davem@davemloft.net>
35059
35060 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35061 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35062 (__start_context): Declare.
35063 (__makecontext_ret): Delete.
35064 (__makecontext): Hook up __start_context instead of
35065 __makecontext_ret.
35066 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35067 (sysdep_routines): Add __start_context when in stdlib.
35068
0fbb0fbc
JM
350692012-11-07 Joseph Myers <joseph@codesourcery.com>
35070
35071 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35072 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35073 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35074 hardcoded "nm".
35075 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35076 (READELF): New variable. Use it instead of hardcoded "readelf".
35077
eb48db7e
L
350782012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35079
35080 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35081 * sysdeps/x86/Makefile: Here.
35082 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35083 * sysdeps/x86/tst-xmmymm.sh: This.
35084
05bcf62a
JM
350852012-11-07 Joseph Myers <joseph@codesourcery.com>
35086
c4b6cf53
JM
35087 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35088 expectations.
35089 [UNIX98] (pthread_barrier_t): Do not expect.
35090 [UNIX98] (pthread_barrierattr_t): Likewise.
35091 [UNIX98] (pthread_spinlock_t): Likewise.
35092 [UNIX98] (pthread_barrier_destroy): Likewise.
35093 [UNIX98] (pthread_barrier_init): Likewise.
35094 [UNIX98] (pthread_barrier_wait): Likewise.
35095 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35096 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35097 [UNIX98] (pthread_barrierattr_init): Likewise.
35098 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35099 [UNIX98] (pthread_getcpuclockid): Likewise.
35100 [UNIX98] (pthread_mutex_timedlock): Likewise.
35101 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35102 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35103 [UNIX98] (pthread_sigmask): Likewise.
35104 [UNIX98] (pthread_spin_destroy): Likewise.
35105 [UNIX98] (pthread_spin_init): Likewise.
35106 [UNIX98] (pthread_spin_lock): Likewise.
35107 [UNIX98] (pthread_spin_trylock): Likewise.
35108 [UNIX98] (pthread_spin_unlock): Likewise.
35109 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35110 Do not expect.
35111 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35112 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35113 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35114 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35115 [XPG3 || XPG4] (pthread_key_t): Likewise.
35116 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35117 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35118 [XPG3 || XPG4] (pthread_once_t): Likewise.
35119 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35120 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35121 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35122 [XPG3 || XPG4] (pthread_t): Likewise.
35123
cbe6e120
JM
35124 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35125 not expect.
35126 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35127
1b126443
JM
35128 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35129 Change function return type to int.
35130
b961a573
JM
35131 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35132 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35133 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35134 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35135 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35136 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35137 [!POSIX] (posix_madvise): Likewise.
35138 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35139 && !UNIX98].
35140 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35141 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35142 (mode_t): Likewise.
35143 (posix_mem_offset): Likewise.
35144 (posix_typed_mem_get_info): Likewise.
35145 (posix_typed_mem_open): Likewise.
35146
9e188909
JM
35147 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35148 Change condition to [XOPEN2K8].
35149
05bcf62a
JM
35150 * conform/conformtest.pl: Preprocess allow-header data with -x c
35151 instead of from stdin.
35152 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35153 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35154 [C99-based standards] (cerfc): Likewise.
35155 [C99-based standards] (cexp2): Likewise.
35156 [C99-based standards] (cexpm1): Likewise.
35157 [C99-based standards] (clog10): Likewise.
35158 [C99-based standards] (clog1p): Likewise.
35159 [C99-based standards] (clog2): Likewise.
35160 [C99-based standards] (clgamma): Likewise.
35161 [C99-based standards] (ctgamma): Likewise.
35162 [C99-based standards] (cerff): Likewise.
35163 [C99-based standards] (cerfcf): Likewise.
35164 [C99-based standards] (cexp2f): Likewise.
35165 [C99-based standards] (cexpm1f): Likewise.
35166 [C99-based standards] (clog10f): Likewise.
35167 [C99-based standards] (clog1pf): Likewise.
35168 [C99-based standards] (clog2f): Likewise.
35169 [C99-based standards] (clgammaf): Likewise.
35170 [C99-based standards] (ctgammaf): Likewise.
35171 [C99-based standards] (cerfl): Likewise.
35172 [C99-based standards] (cerfcl): Likewise.
35173 [C99-based standards] (cexp2l): Likewise.
35174 [C99-based standards] (cexpm1l): Likewise.
35175 [C99-based standards] (clog10l): Likewise.
35176 [C99-based standards] (clog1pl): Likewise.
35177 [C99-based standards] (clog2l): Likewise.
35178 [C99-based standards] (clgammal): Likewise.
35179 [C99-based standards] (ctgammal): Likewise.
35180 * conform/data/inttypes.h-data [C99-based standards]: Include
35181 stdint.h-data. Remove all expectations for stdint.h contents.
35182 [C99-based standards] (PRI*): Do not allow.
35183 [C99-based standards] (SCN*): Likewise.
35184 [C99-based standards] (*_t): Likewise.
35185 [C99-based-standards] (PRId8): Expect macro.
35186 [C99-based-standards] (PRIi8): Likewise.
35187 [C99-based-standards] (PRIo8): Likewise.
35188 [C99-based-standards] (PRIu8): Likewise.
35189 [C99-based-standards] (PRIx8): Likewise.
35190 [C99-based-standards] (PRIX8): Likewise.
35191 [C99-based-standards] (SCNd8): Likewise.
35192 [C99-based-standards] (SCNi8): Likewise.
35193 [C99-based-standards] (SCNo8): Likewise.
35194 [C99-based-standards] (SCNu8): Likewise.
35195 [C99-based-standards] (SCNx8): Likewise.
35196 [C99-based-standards] (PRIdLEAST8): Likewise.
35197 [C99-based-standards] (PRIiLEAST8): Likewise.
35198 [C99-based-standards] (PRIoLEAST8): Likewise.
35199 [C99-based-standards] (PRIuLEAST8): Likewise.
35200 [C99-based-standards] (PRIxLEAST8): Likewise.
35201 [C99-based-standards] (PRIXLEAST8): Likewise.
35202 [C99-based-standards] (SCNdLEAST8): Likewise.
35203 [C99-based-standards] (SCNiLEAST8): Likewise.
35204 [C99-based-standards] (SCNoLEAST8): Likewise.
35205 [C99-based-standards] (SCNuLEAST8): Likewise.
35206 [C99-based-standards] (SCNxLEAST8): Likewise.
35207 [C99-based-standards] (PRIdFAST8): Likewise.
35208 [C99-based-standards] (PRIiFAST8): Likewise.
35209 [C99-based-standards] (PRIoFAST8): Likewise.
35210 [C99-based-standards] (PRIuFAST8): Likewise.
35211 [C99-based-standards] (PRIxFAST8): Likewise.
35212 [C99-based-standards] (PRIXFAST8): Likewise.
35213 [C99-based-standards] (SCNdFAST8): Likewise.
35214 [C99-based-standards] (SCNiFAST8): Likewise.
35215 [C99-based-standards] (SCNoFAST8): Likewise.
35216 [C99-based-standards] (SCNuFAST8): Likewise.
35217 [C99-based-standards] (SCNxFAST8): Likewise.
35218 [C99-based-standards] (PRId16): Likewise.
35219 [C99-based-standards] (PRIi16): Likewise.
35220 [C99-based-standards] (PRIo16): Likewise.
35221 [C99-based-standards] (PRIu16): Likewise.
35222 [C99-based-standards] (PRIx16): Likewise.
35223 [C99-based-standards] (PRIX16): Likewise.
35224 [C99-based-standards] (SCNd16): Likewise.
35225 [C99-based-standards] (SCNi16): Likewise.
35226 [C99-based-standards] (SCNo16): Likewise.
35227 [C99-based-standards] (SCNu16): Likewise.
35228 [C99-based-standards] (SCNx16): Likewise.
35229 [C99-based-standards] (PRIdLEAST16): Likewise.
35230 [C99-based-standards] (PRIiLEAST16): Likewise.
35231 [C99-based-standards] (PRIoLEAST16): Likewise.
35232 [C99-based-standards] (PRIuLEAST16): Likewise.
35233 [C99-based-standards] (PRIxLEAST16): Likewise.
35234 [C99-based-standards] (PRIXLEAST16): Likewise.
35235 [C99-based-standards] (SCNdLEAST16): Likewise.
35236 [C99-based-standards] (SCNiLEAST16): Likewise.
35237 [C99-based-standards] (SCNoLEAST16): Likewise.
35238 [C99-based-standards] (SCNuLEAST16): Likewise.
35239 [C99-based-standards] (SCNxLEAST16): Likewise.
35240 [C99-based-standards] (PRIdFAST16): Likewise.
35241 [C99-based-standards] (PRIiFAST16): Likewise.
35242 [C99-based-standards] (PRIoFAST16): Likewise.
35243 [C99-based-standards] (PRIuFAST16): Likewise.
35244 [C99-based-standards] (PRIxFAST16): Likewise.
35245 [C99-based-standards] (PRIXFAST16): Likewise.
35246 [C99-based-standards] (SCNdFAST16): Likewise.
35247 [C99-based-standards] (SCNiFAST16): Likewise.
35248 [C99-based-standards] (SCNoFAST16): Likewise.
35249 [C99-based-standards] (SCNuFAST16): Likewise.
35250 [C99-based-standards] (SCNxFAST16): Likewise.
35251 [C99-based-standards] (PRId32): Likewise.
35252 [C99-based-standards] (PRIi32): Likewise.
35253 [C99-based-standards] (PRIo32): Likewise.
35254 [C99-based-standards] (PRIu32): Likewise.
35255 [C99-based-standards] (PRIx32): Likewise.
35256 [C99-based-standards] (PRIX32): Likewise.
35257 [C99-based-standards] (SCNd32): Likewise.
35258 [C99-based-standards] (SCNi32): Likewise.
35259 [C99-based-standards] (SCNo32): Likewise.
35260 [C99-based-standards] (SCNu32): Likewise.
35261 [C99-based-standards] (SCNx32): Likewise.
35262 [C99-based-standards] (PRIdLEAST32): Likewise.
35263 [C99-based-standards] (PRIiLEAST32): Likewise.
35264 [C99-based-standards] (PRIoLEAST32): Likewise.
35265 [C99-based-standards] (PRIuLEAST32): Likewise.
35266 [C99-based-standards] (PRIxLEAST32): Likewise.
35267 [C99-based-standards] (PRIXLEAST32): Likewise.
35268 [C99-based-standards] (SCNdLEAST32): Likewise.
35269 [C99-based-standards] (SCNiLEAST32): Likewise.
35270 [C99-based-standards] (SCNoLEAST32): Likewise.
35271 [C99-based-standards] (SCNuLEAST32): Likewise.
35272 [C99-based-standards] (SCNxLEAST32): Likewise.
35273 [C99-based-standards] (PRIdFAST32): Likewise.
35274 [C99-based-standards] (PRIiFAST32): Likewise.
35275 [C99-based-standards] (PRIoFAST32): Likewise.
35276 [C99-based-standards] (PRIuFAST32): Likewise.
35277 [C99-based-standards] (PRIxFAST32): Likewise.
35278 [C99-based-standards] (PRIXFAST32): Likewise.
35279 [C99-based-standards] (SCNdFAST32): Likewise.
35280 [C99-based-standards] (SCNiFAST32): Likewise.
35281 [C99-based-standards] (SCNoFAST32): Likewise.
35282 [C99-based-standards] (SCNuFAST32): Likewise.
35283 [C99-based-standards] (SCNxFAST32): Likewise.
35284 [C99-based-standards] (PRId64): Likewise.
35285 [C99-based-standards] (PRIi64): Likewise.
35286 [C99-based-standards] (PRIo64): Likewise.
35287 [C99-based-standards] (PRIu64): Likewise.
35288 [C99-based-standards] (PRIx64): Likewise.
35289 [C99-based-standards] (PRIX64): Likewise.
35290 [C99-based-standards] (SCNd64): Likewise.
35291 [C99-based-standards] (SCNi64): Likewise.
35292 [C99-based-standards] (SCNo64): Likewise.
35293 [C99-based-standards] (SCNu64): Likewise.
35294 [C99-based-standards] (SCNx64): Likewise.
35295 [C99-based-standards] (PRIdLEAST64): Likewise.
35296 [C99-based-standards] (PRIiLEAST64): Likewise.
35297 [C99-based-standards] (PRIoLEAST64): Likewise.
35298 [C99-based-standards] (PRIuLEAST64): Likewise.
35299 [C99-based-standards] (PRIxLEAST64): Likewise.
35300 [C99-based-standards] (PRIXLEAST64): Likewise.
35301 [C99-based-standards] (SCNdLEAST64): Likewise.
35302 [C99-based-standards] (SCNiLEAST64): Likewise.
35303 [C99-based-standards] (SCNoLEAST64): Likewise.
35304 [C99-based-standards] (SCNuLEAST64): Likewise.
35305 [C99-based-standards] (SCNxLEAST64): Likewise.
35306 [C99-based-standards] (PRIdFAST64): Likewise.
35307 [C99-based-standards] (PRIiFAST64): Likewise.
35308 [C99-based-standards] (PRIoFAST64): Likewise.
35309 [C99-based-standards] (PRIuFAST64): Likewise.
35310 [C99-based-standards] (PRIxFAST64): Likewise.
35311 [C99-based-standards] (PRIXFAST64): Likewise.
35312 [C99-based-standards] (SCNdFAST64): Likewise.
35313 [C99-based-standards] (SCNiFAST64): Likewise.
35314 [C99-based-standards] (SCNoFAST64): Likewise.
35315 [C99-based-standards] (SCNuFAST64): Likewise.
35316 [C99-based-standards] (SCNxFAST64): Likewise.
35317 [C99-based-standards] (PRIdMAX): Likewise.
35318 [C99-based-standards] (PRIiMAX): Likewise.
35319 [C99-based-standards] (PRIoMAX): Likewise.
35320 [C99-based-standards] (PRIuMAX): Likewise.
35321 [C99-based-standards] (PRIxMAX): Likewise.
35322 [C99-based-standards] (PRIXMAX): Likewise.
35323 [C99-based-standards] (SCNdMAX): Likewise.
35324 [C99-based-standards] (SCNiMAX): Likewise.
35325 [C99-based-standards] (SCNoMAX): Likewise.
35326 [C99-based-standards] (SCNuMAX): Likewise.
35327 [C99-based-standards] (SCNxMAX): Likewise.
35328 [C99-based-standards] (PRIdPTR): Likewise.
35329 [C99-based-standards] (PRIiPTR): Likewise.
35330 [C99-based-standards] (PRIoPTR): Likewise.
35331 [C99-based-standards] (PRIuPTR): Likewise.
35332 [C99-based-standards] (PRIxPTR): Likewise.
35333 [C99-based-standards] (PRIXPTR): Likewise.
35334 [C99-based-standards] (SCNdPTR): Likewise.
35335 [C99-based-standards] (SCNiPTR): Likewise.
35336 [C99-based-standards] (SCNoPTR): Likewise.
35337 [C99-based-standards] (SCNuPTR): Likewise.
35338 [C99-based-standards] (SCNxPTR): Likewise.
35339 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35340 allow.
35341 * conform/data/stdint.h-data: Update comments to clarify
35342 requirements.
35343 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35344 type.
35345 [C99-based standards] (INT8_MAX): Likewise.
35346 [C99-based standards] (INT16_MIN): Likewise.
35347 [C99-based standards] (INT16_MAX): Likewise.
35348 [C99-based standards] (INT32_MIN): Likewise.
35349 [C99-based standards] (INT32_MAX): Likewise.
35350 [C99-based standards] (INT64_MIN): Likewise.
35351 [C99-based standards] (INT64_MAX): Likewise.
35352 [C99-based standards] (UINT8_MAX): Likewise.
35353 [C99-based standards] (UINT16_MAX): Likewise.
35354 [C99-based standards] (UINT32_MAX): Likewise.
35355 [C99-based standards] (UINT64_MAX): Likewise.
35356 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35357 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35358 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35359 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35360 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35361 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35362 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35363 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35364 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35365 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35366 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35367 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35368 [C99-based standards] (INT_FAST8_MIN): Likewise.
35369 [C99-based standards] (INT_FAST8_MAX): Likewise.
35370 [C99-based standards] (INT_FAST16_MIN): Likewise.
35371 [C99-based standards] (INT_FAST16_MAX): Likewise.
35372 [C99-based standards] (INT_FAST32_MIN): Likewise.
35373 [C99-based standards] (INT_FAST32_MAX): Likewise.
35374 [C99-based standards] (INT_FAST64_MIN): Likewise.
35375 [C99-based standards] (INT_FAST64_MAX): Likewise.
35376 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35377 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35378 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35379 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35380 [C99-based standards] (INTPTR_MIN): Likewise.
35381 [C99-based standards] (INTPTR_MAX): Likewise.
35382 [C99-based standards] (UINTPTR_MAX): Likewise.
35383 [C99-based standards] (INTMAX_MIN): Likewise.
35384 [C99-based standards] (INTMAX_MAX): Likewise.
35385 [C99-based standards] (UINTMAX_MAX): Likewise.
35386 [C99-based standards] (PTRDIFF_MIN): Likewise.
35387 [C99-based standards] (PTRDIFF_MAX): Likewise.
35388 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35389 [C99-based standards] (SIZE_MAX): Likewise.
35390 [C99-based standards] (WCHAR_MAX): Likewise.
35391 [C99-based standards] (WINT_MAX): Likewise.
35392 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35393 constraint on value.
35394 [C99-based standards] (WCHAR_MIN): Likewise.
35395 [C99-based standards] (WINT_MIN): Likewise.
35396 [C99-based standards] (*_t): Allow.
35397 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35398 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35399 Include math.h-data and complex.h-data. Remove all expectations
35400 of math.h and complex.h contents.
35401 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35402 at end of line.
35403 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35404 (struct tm): Expect tag.
35405 [C99-based-standards] (wcstof): Expect function.
35406 [C99-based-standards] (wcstold): Likewise.
35407 [C99-based-standards] (wcstoll): Likewise.
35408 [C99-based-standards] (wcstoull): Likewise.
35409 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35410 macro-int-constant. Specify type.
35411 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35412 constraint on value.
35413 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35414 Specify type.
35415 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35416 Specify value.
35417 [ISO C standards]: Do not allow headers.
35418 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35419 wcs[abcdefghijklmnopqrstuvwxyz]*.
35420 [ISO C standards] (*_t): Do not allow.
35421 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35422 Expect function.
35423 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35424 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35425 Specify type.
35426 [ISO C standards]: Do not allow headers.
35427 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35428 is[abcdefghijklmnopqrstuvwxyz]*.
35429 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35430 to[abcdefghijklmnopqrstuvwxyz]*.
35431 [ISO C standards] (*_t): Do not allow.
35432 * conform/data/stdalign.h-data: New file.
35433 * conform/data/stdbool.h-data: Likewise.
35434 * conform/data/stdnoreturn.h-data: Likewise.
35435
7514feb8
RM
354362012-11-07 Roland McGrath <roland@hack.frob.com>
35437
35438 [BZ #14815]
35439 * manual/filesys.texi (Directory Entries): Typo fix.
35440 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35441
19b2ecfc
MS
354422012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35443
35444 * elf/elf.h (EM_AARCH64): New macro.
35445 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35446 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35447 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35448 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35449 (R_AARCH64_TLSDESC): Likewise.
35450 (NT_ARM_TLS): Likewise.
35451 (NT_ARM_HW_BREAK): Likewise.
35452 (NT_ARM_HW_WATCH): Likewise.
35453
60e235ee
JM
354542012-11-07 Joseph Myers <joseph@codesourcery.com>
35455
35456 [BZ #14811]
35457 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35458 (__ieee754_powl): Saturate nonzero exponents with absolute value
35459 below 0x1p-79 to +/- 0x1p-79.
35460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35461 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35462 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35463 nonzero exponents with absolute value below 0x1p-32 to +/-
35464 0x1p-32.
35465 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35466 (__ieee754_powl): Saturate nonzero exponents with absolute value
35467 below 0x1p-79 to +/- 0x1p-79.
35468 * math/libm-test.inc (pow_test): Add more tests.
35469
0ab234b7
AK
354702012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35471
35472 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35473 _dl_s390_cap_flags with kernel. Increase string length.
35474 (_dl_s390_platforms): Add z196 and zEC12.
35475
45832f74
JM
354762012-11-07 Joseph Myers <joseph@codesourcery.com>
35477
35478 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35479 Change XOPEN21K to XOPEN2K.
35480
19218757
MK
354812012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35482
35483 * string/memmove.c: Use memcpy when possible.
35484
c5f45721
AJ
354852012-11-06 Andreas Jaeger <aj@suse.de>
35486
35487 * po/eo.po: Update from translation team.
35488
82477c28
JM
354892012-11-06 Joseph Myers <joseph@codesourcery.com>
35490
35491 [BZ #14793]
35492 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35493 exponent and small x and y exponents, scale x or y up. Increase
35494 by 2 the exponent used in scaling up.
35495 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35496 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35497 * math/libm-test.inc (fma_test): Add more tests.
35498 (fma_test_towardzero): Likewise.
35499 (fma_test_downward): Likewise.
35500 (fma_test_upward): Likewise.
35501
99252c8c
JM
355022012-11-05 Joseph Myers <joseph@codesourcery.com>
35503
acfa885f
JM
35504 [BZ #14805]
35505 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35506 fenv_t *.
35507
99252c8c
JM
35508 [BZ #14801]
35509 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35510 namespace for names of struct fields.
35511 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35512 fenv_t fields.
35513 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35514 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35515
d6d98dea
ST
355162012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35517
35518 [BZ #3665]
35519 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35520
e10bb107
TS
355212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35522
35523 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35524 PTR_DEMANGLE.
35525
35526 [BZ #5246]
35527 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35528 PTR_DEMANGLE.
35529
a0c2940d
JM
355302012-11-04 Joseph Myers <joseph@codesourcery.com>
35531
35532 [BZ #14797]
35533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35534 definitely overflow as x * y not x * y + z.
35535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35537 * math/libm-test.inc (fma_test): Add more tests.
35538 (fma_test_towardzero): Likewise.
35539 (fma_test_downward): Likewise.
35540 (fma_test_upward): Likewise.
35541
b830319d
TS
355422012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35543
35544 [BZ #157]
35545
35546 * include/stub-tag.h: Remove file.
35547 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35548 '#include' of it.
35549 * manual/maint.texi (Porting): Don't reference it.
35550 * Makerules ($(objpfx)stubs): Likewise.
35551 * dirent/closedir.c: Don't include <stub-tag.h>.
35552 * dirent/dirfd.c: Likewise.
35553 * dirent/fdopendir.c: Likewise.
35554 * dirent/getdents.c: Likewise.
35555 * dirent/getdents64.c: Likewise.
35556 * dirent/opendir.c: Likewise.
35557 * dirent/readdir.c: Likewise.
35558 * dirent/readdir64.c: Likewise.
35559 * dirent/readdir64_r.c: Likewise.
35560 * dirent/readdir_r.c: Likewise.
35561 * dirent/rewinddir.c: Likewise.
35562 * dirent/seekdir.c: Likewise.
35563 * dirent/telldir.c: Likewise.
35564 * gmon/profil.c: Likewise.
35565 * grp/setgroups.c: Likewise.
35566 * inet/if_index.c: Likewise.
35567 * io/access.c: Likewise.
35568 * io/chdir.c: Likewise.
35569 * io/chmod.c: Likewise.
35570 * io/chown.c: Likewise.
35571 * io/close.c: Likewise.
35572 * io/dup.c: Likewise.
35573 * io/dup2.c: Likewise.
35574 * io/dup3.c: Likewise.
35575 * io/euidaccess.c: Likewise.
35576 * io/faccessat.c: Likewise.
35577 * io/fchdir.c: Likewise.
35578 * io/fchmod.c: Likewise.
35579 * io/fchmodat.c: Likewise.
35580 * io/fchown.c: Likewise.
35581 * io/fchownat.c: Likewise.
35582 * io/fcntl.c: Likewise.
35583 * io/flock.c: Likewise.
35584 * io/fstatfs.c: Likewise.
35585 * io/fstatfs64.c: Likewise.
35586 * io/fstatvfs.c: Likewise.
35587 * io/fstatvfs64.c: Likewise.
35588 * io/futimens.c: Likewise.
35589 * io/fxstat.c: Likewise.
35590 * io/fxstat64.c: Likewise.
35591 * io/fxstatat.c: Likewise.
35592 * io/fxstatat64.c: Likewise.
35593 * io/getcwd.c: Likewise.
35594 * io/isatty.c: Likewise.
35595 * io/lchmod.c: Likewise.
35596 * io/lchown.c: Likewise.
35597 * io/link.c: Likewise.
35598 * io/linkat.c: Likewise.
35599 * io/lseek.c: Likewise.
35600 * io/lseek64.c: Likewise.
35601 * io/lxstat64.c: Likewise.
35602 * io/mkdir.c: Likewise.
35603 * io/mkdirat.c: Likewise.
35604 * io/mkfifo.c: Likewise.
35605 * io/mkfifoat.c: Likewise.
35606 * io/open.c: Likewise.
35607 * io/open64.c: Likewise.
35608 * io/openat.c: Likewise.
35609 * io/openat64.c: Likewise.
35610 * io/pipe.c: Likewise.
35611 * io/pipe2.c: Likewise.
35612 * io/poll.c: Likewise.
35613 * io/posix_fadvise.c: Likewise.
35614 * io/posix_fadvise64.c: Likewise.
35615 * io/posix_fallocate.c: Likewise.
35616 * io/posix_fallocate64.c: Likewise.
35617 * io/read.c: Likewise.
35618 * io/readlink.c: Likewise.
35619 * io/readlinkat.c: Likewise.
35620 * io/rmdir.c: Likewise.
35621 * io/sendfile.c: Likewise.
35622 * io/sendfile64.c: Likewise.
35623 * io/statfs.c: Likewise.
35624 * io/statfs64.c: Likewise.
35625 * io/statvfs.c: Likewise.
35626 * io/statvfs64.c: Likewise.
35627 * io/symlink.c: Likewise.
35628 * io/symlinkat.c: Likewise.
35629 * io/ttyname.c: Likewise.
35630 * io/ttyname_r.c: Likewise.
35631 * io/umask.c: Likewise.
35632 * io/unlink.c: Likewise.
35633 * io/unlinkat.c: Likewise.
35634 * io/utime.c: Likewise.
35635 * io/utimensat.c: Likewise.
35636 * io/write.c: Likewise.
35637 * io/xmknod.c: Likewise.
35638 * io/xmknodat.c: Likewise.
35639 * io/xstat.c: Likewise.
35640 * io/xstat64.c: Likewise.
35641 * login/getpt.c: Likewise.
35642 * login/grantpt.c: Likewise.
35643 * login/unlockpt.c: Likewise.
35644 * math/e_acoshl.c: Likewise.
35645 * math/e_acosl.c: Likewise.
35646 * math/e_asinl.c: Likewise.
35647 * math/e_atan2l.c: Likewise.
35648 * math/e_atanhl.c: Likewise.
35649 * math/e_coshl.c: Likewise.
35650 * math/e_expl.c: Likewise.
35651 * math/e_fmodl.c: Likewise.
35652 * math/e_gammal_r.c: Likewise.
35653 * math/e_hypotl.c: Likewise.
35654 * math/e_j0l.c: Likewise.
35655 * math/e_j1l.c: Likewise.
35656 * math/e_jnl.c: Likewise.
35657 * math/e_lgammal_r.c: Likewise.
35658 * math/e_log10l.c: Likewise.
35659 * math/e_log2l.c: Likewise.
35660 * math/e_logl.c: Likewise.
35661 * math/e_powl.c: Likewise.
35662 * math/e_rem_pio2l.c: Likewise.
35663 * math/e_sinhl.c: Likewise.
35664 * math/e_sqrtl.c: Likewise.
35665 * math/fclrexcpt.c: Likewise.
35666 * math/fedisblxcpt.c: Likewise.
35667 * math/feenablxcpt.c: Likewise.
35668 * math/fegetenv.c: Likewise.
35669 * math/fegetexcept.c: Likewise.
35670 * math/fegetround.c: Likewise.
35671 * math/feholdexcpt.c: Likewise.
35672 * math/fesetenv.c: Likewise.
35673 * math/fesetround.c: Likewise.
35674 * math/feupdateenv.c: Likewise.
35675 * math/fgetexcptflg.c: Likewise.
35676 * math/fraiseexcpt.c: Likewise.
35677 * math/fsetexcptflg.c: Likewise.
35678 * math/ftestexcept.c: Likewise.
35679 * math/k_cosl.c: Likewise.
35680 * math/k_rem_pio2l.c: Likewise.
35681 * math/k_sinl.c: Likewise.
35682 * math/k_tanl.c: Likewise.
35683 * math/s_asinhl.c: Likewise.
35684 * math/s_atanl.c: Likewise.
35685 * math/s_cbrtl.c: Likewise.
35686 * math/s_erfl.c: Likewise.
35687 * math/s_expm1l.c: Likewise.
35688 * math/s_log1pl.c: Likewise.
35689 * math/s_tanhl.c: Likewise.
35690 * misc/acct.c: Likewise.
35691 * misc/brk.c: Likewise.
35692 * misc/chflags.c: Likewise.
35693 * misc/chroot.c: Likewise.
35694 * misc/fchflags.c: Likewise.
35695 * misc/fgetxattr.c: Likewise.
35696 * misc/flistxattr.c: Likewise.
35697 * misc/fremovexattr.c: Likewise.
35698 * misc/fsetxattr.c: Likewise.
35699 * misc/fsync.c: Likewise.
35700 * misc/ftruncate.c: Likewise.
35701 * misc/futimes.c: Likewise.
35702 * misc/futimesat.c: Likewise.
35703 * misc/getdomain.c: Likewise.
35704 * misc/getdtsz.c: Likewise.
35705 * misc/gethostid.c: Likewise.
35706 * misc/gethostname.c: Likewise.
35707 * misc/getloadavg.c: Likewise.
35708 * misc/getpagesize.c: Likewise.
35709 * misc/getsysstats.c: Likewise.
35710 * misc/getxattr.c: Likewise.
35711 * misc/gtty.c: Likewise.
35712 * misc/ioctl.c: Likewise.
35713 * misc/lgetxattr.c: Likewise.
35714 * misc/listxattr.c: Likewise.
35715 * misc/llistxattr.c: Likewise.
35716 * misc/lremovexattr.c: Likewise.
35717 * misc/lsetxattr.c: Likewise.
35718 * misc/lutimes.c: Likewise.
35719 * misc/madvise.c: Likewise.
35720 * misc/mincore.c: Likewise.
35721 * misc/mlock.c: Likewise.
35722 * misc/mlockall.c: Likewise.
35723 * misc/mmap.c: Likewise.
35724 * misc/mprotect.c: Likewise.
35725 * misc/msync.c: Likewise.
35726 * misc/munlock.c: Likewise.
35727 * misc/munlockall.c: Likewise.
35728 * misc/munmap.c: Likewise.
35729 * misc/preadv.c: Likewise.
35730 * misc/preadv64.c: Likewise.
35731 * misc/ptrace.c: Likewise.
35732 * misc/pwritev.c: Likewise.
35733 * misc/pwritev64.c: Likewise.
35734 * misc/readv.c: Likewise.
35735 * misc/reboot.c: Likewise.
35736 * misc/remap_file_pages.c: Likewise.
35737 * misc/removexattr.c: Likewise.
35738 * misc/revoke.c: Likewise.
35739 * misc/select.c: Likewise.
35740 * misc/setdomain.c: Likewise.
35741 * misc/setegid.c: Likewise.
35742 * misc/seteuid.c: Likewise.
35743 * misc/sethostid.c: Likewise.
35744 * misc/sethostname.c: Likewise.
35745 * misc/setregid.c: Likewise.
35746 * misc/setreuid.c: Likewise.
35747 * misc/setxattr.c: Likewise.
35748 * misc/sstk.c: Likewise.
35749 * misc/stty.c: Likewise.
35750 * misc/swapoff.c: Likewise.
35751 * misc/swapon.c: Likewise.
35752 * misc/sync.c: Likewise.
35753 * misc/syncfs.c: Likewise.
35754 * misc/syscall.c: Likewise.
35755 * misc/truncate.c: Likewise.
35756 * misc/ualarm.c: Likewise.
35757 * misc/usleep.c: Likewise.
35758 * misc/ustat.c: Likewise.
35759 * misc/utimes.c: Likewise.
35760 * misc/vhangup.c: Likewise.
35761 * misc/writev.c: Likewise.
35762 * posix/_exit.c: Likewise.
35763 * posix/alarm.c: Likewise.
35764 * posix/execve.c: Likewise.
35765 * posix/fexecve.c: Likewise.
35766 * posix/fork.c: Likewise.
35767 * posix/fpathconf.c: Likewise.
35768 * posix/getaddrinfo.c: Likewise.
35769 * posix/getegid.c: Likewise.
35770 * posix/geteuid.c: Likewise.
35771 * posix/getgid.c: Likewise.
35772 * posix/getgroups.c: Likewise.
35773 * posix/getlogin.c: Likewise.
35774 * posix/getlogin_r.c: Likewise.
35775 * posix/getpgid.c: Likewise.
35776 * posix/getpid.c: Likewise.
35777 * posix/getppid.c: Likewise.
35778 * posix/getresgid.c: Likewise.
35779 * posix/getresuid.c: Likewise.
35780 * posix/getsid.c: Likewise.
35781 * posix/getuid.c: Likewise.
35782 * posix/glob64.c: Likewise.
35783 * posix/nanosleep.c: Likewise.
35784 * posix/pathconf.c: Likewise.
35785 * posix/pause.c: Likewise.
35786 * posix/posix_madvise.c: Likewise.
35787 * posix/pread.c: Likewise.
35788 * posix/pread64.c: Likewise.
35789 * posix/pwrite.c: Likewise.
35790 * posix/pwrite64.c: Likewise.
35791 * posix/sched_getaffinity.c: Likewise.
35792 * posix/sched_getp.c: Likewise.
35793 * posix/sched_gets.c: Likewise.
35794 * posix/sched_primax.c: Likewise.
35795 * posix/sched_primin.c: Likewise.
35796 * posix/sched_rr_gi.c: Likewise.
35797 * posix/sched_setaffinity.c: Likewise.
35798 * posix/sched_setp.c: Likewise.
35799 * posix/sched_sets.c: Likewise.
35800 * posix/sched_yield.c: Likewise.
35801 * posix/setgid.c: Likewise.
35802 * posix/setlogin.c: Likewise.
35803 * posix/setpgid.c: Likewise.
35804 * posix/setresgid.c: Likewise.
35805 * posix/setresuid.c: Likewise.
35806 * posix/setsid.c: Likewise.
35807 * posix/setuid.c: Likewise.
35808 * posix/sleep.c: Likewise.
35809 * posix/spawni.c: Likewise.
35810 * posix/sysconf.c: Likewise.
35811 * posix/times.c: Likewise.
35812 * posix/wait.c: Likewise.
35813 * posix/wait3.c: Likewise.
35814 * posix/wait4.c: Likewise.
35815 * posix/waitpid.c: Likewise.
35816 * resolv/gai_sigqueue.c: Likewise.
35817 * resource/getpriority.c: Likewise.
35818 * resource/getrlimit.c: Likewise.
35819 * resource/getrusage.c: Likewise.
35820 * resource/nice.c: Likewise.
35821 * resource/setpriority.c: Likewise.
35822 * resource/setrlimit.c: Likewise.
35823 * resource/ulimit.c: Likewise.
35824 * rt/aio_cancel.c: Likewise.
35825 * rt/aio_fsync.c: Likewise.
35826 * rt/aio_read.c: Likewise.
35827 * rt/aio_sigqueue.c: Likewise.
35828 * rt/aio_suspend.c: Likewise.
35829 * rt/aio_write.c: Likewise.
35830 * rt/clock_getres.c: Likewise.
35831 * rt/clock_gettime.c: Likewise.
35832 * rt/clock_nanosleep.c: Likewise.
35833 * rt/clock_settime.c: Likewise.
35834 * rt/lio_listio.c: Likewise.
35835 * rt/mq_close.c: Likewise.
35836 * rt/mq_getattr.c: Likewise.
35837 * rt/mq_notify.c: Likewise.
35838 * rt/mq_open.c: Likewise.
35839 * rt/mq_receive.c: Likewise.
35840 * rt/mq_send.c: Likewise.
35841 * rt/mq_setattr.c: Likewise.
35842 * rt/mq_timedreceive.c: Likewise.
35843 * rt/mq_timedsend.c: Likewise.
35844 * rt/mq_unlink.c: Likewise.
35845 * rt/shm_open.c: Likewise.
35846 * rt/shm_unlink.c: Likewise.
35847 * rt/timer_create.c: Likewise.
35848 * rt/timer_delete.c: Likewise.
35849 * rt/timer_getoverr.c: Likewise.
35850 * rt/timer_gettime.c: Likewise.
35851 * rt/timer_settime.c: Likewise.
35852 * setjmp/__longjmp.c: Likewise.
35853 * setjmp/setjmp.c: Likewise.
35854 * signal/kill.c: Likewise.
35855 * signal/killpg.c: Likewise.
35856 * signal/raise.c: Likewise.
35857 * signal/sigaction.c: Likewise.
35858 * signal/sigaltstack.c: Likewise.
35859 * signal/sigblock.c: Likewise.
35860 * signal/sigignore.c: Likewise.
35861 * signal/sigintr.c: Likewise.
35862 * signal/signal.c: Likewise.
35863 * signal/sigpause.c: Likewise.
35864 * signal/sigpending.c: Likewise.
35865 * signal/sigqueue.c: Likewise.
35866 * signal/sigreturn.c: Likewise.
35867 * signal/sigset.c: Likewise.
35868 * signal/sigsetmask.c: Likewise.
35869 * signal/sigstack.c: Likewise.
35870 * signal/sigsuspend.c: Likewise.
35871 * signal/sigtimedwait.c: Likewise.
35872 * signal/sigvec.c: Likewise.
35873 * signal/sigwait.c: Likewise.
35874 * signal/sigwaitinfo.c: Likewise.
35875 * signal/sysv_signal.c: Likewise.
35876 * socket/accept.c: Likewise.
35877 * socket/accept4.c: Likewise.
35878 * socket/bind.c: Likewise.
35879 * socket/connect.c: Likewise.
35880 * socket/getpeername.c: Likewise.
35881 * socket/getsockname.c: Likewise.
35882 * socket/getsockopt.c: Likewise.
35883 * socket/isfdtype.c: Likewise.
35884 * socket/listen.c: Likewise.
35885 * socket/recv.c: Likewise.
35886 * socket/recvfrom.c: Likewise.
35887 * socket/recvmsg.c: Likewise.
35888 * socket/send.c: Likewise.
35889 * socket/sendmsg.c: Likewise.
35890 * socket/sendto.c: Likewise.
35891 * socket/setsockopt.c: Likewise.
35892 * socket/shutdown.c: Likewise.
35893 * socket/sockatmark.c: Likewise.
35894 * socket/socket.c: Likewise.
35895 * socket/socketpair.c: Likewise.
35896 * stdio-common/ctermid.c: Likewise.
35897 * stdio-common/cuserid.c: Likewise.
35898 * stdio-common/remove.c: Likewise.
35899 * stdio-common/rename.c: Likewise.
35900 * stdio-common/renameat.c: Likewise.
35901 * stdio-common/tempname.c: Likewise.
35902 * stdlib/getcontext.c: Likewise.
35903 * stdlib/makecontext.c: Likewise.
35904 * stdlib/setcontext.c: Likewise.
35905 * stdlib/swapcontext.c: Likewise.
35906 * stdlib/system.c: Likewise.
35907 * streams/fattach.c: Likewise.
35908 * streams/fdetach.c: Likewise.
35909 * streams/getmsg.c: Likewise.
35910 * streams/getpmsg.c: Likewise.
35911 * streams/putmsg.c: Likewise.
35912 * streams/putpmsg.c: Likewise.
35913 * sysdeps/unix/bsd/getpt.c: Likewise.
35914 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35915 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35916 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35918 Likewise.
35919 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35920 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35921 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35922 * sysvipc/msgctl.c: Likewise.
35923 * sysvipc/msgget.c: Likewise.
35924 * sysvipc/msgrcv.c: Likewise.
35925 * sysvipc/msgsnd.c: Likewise.
35926 * sysvipc/semctl.c: Likewise.
35927 * sysvipc/semget.c: Likewise.
35928 * sysvipc/semop.c: Likewise.
35929 * sysvipc/semtimedop.c: Likewise.
35930 * sysvipc/shmat.c: Likewise.
35931 * sysvipc/shmctl.c: Likewise.
35932 * sysvipc/shmdt.c: Likewise.
35933 * sysvipc/shmget.c: Likewise.
35934 * termios/tcdrain.c: Likewise.
35935 * termios/tcflow.c: Likewise.
35936 * termios/tcflush.c: Likewise.
35937 * termios/tcgetattr.c: Likewise.
35938 * termios/tcgetpgrp.c: Likewise.
35939 * termios/tcsendbrk.c: Likewise.
35940 * termios/tcsetattr.c: Likewise.
35941 * termios/tcsetpgrp.c: Likewise.
35942 * time/adjtime.c: Likewise.
35943 * time/clock.c: Likewise.
35944 * time/getitimer.c: Likewise.
35945 * time/gettimeofday.c: Likewise.
35946 * time/setitimer.c: Likewise.
35947 * time/settimeofday.c: Likewise.
35948 * time/stime.c: Likewise.
35949 * time/time.c: Likewise.
35950
359512012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35952
a20492cf
PT
35953 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35954 /usr/old/bin.
35955
72e182e3
PT
35956 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35957 instead of spaces.
35958 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35959
fbeafede
JM
359602012-11-03 Joseph Myers <joseph@codesourcery.com>
35961
5b5b04d6
JM
35962 [BZ #14796]
35963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35964 FE_TONEAREST before applying Dekker multiplication and Knuth
35965 addition. Clear inexact exceptions and check for exact zero
35966 results afterwards.
35967 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35968 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35969 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35970 * math/libm-test.inc (fma_test): Add more tests.
35971 (fma_test_towardzero): Likewise.
35972 (fma_test_downward): Likewise.
35973 (fma_test_upward): Likewise.
35974 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35975 function.
35976 (libc_fesetround): New macro.
35977 (libc_fesetroundf): Likewise.
35978 (libc_fesetroundl): Likewise.
35979 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35980 function.
35981 (libc_fesetround_387): Likewise.
35982 (libc_fesetroundf): New macro.
35983 (libc_fesetround): Likewise.
35984 (libc_fesetroundl): Likewise.
35985 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35986 function.
35987 (libc_fesetroundf): New macro.
35988 (libc_fesetround): Likewise.
35989 (libc_fesetroundl): Likewise.
35990 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35991 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35992 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35993 libm_hidden_ver.
35994 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35995 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35996 libm_hidden_def.
35997 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35998 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35999 libm_hidden_ver.
36000 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36001 libm_hidden_def.
36002
fbeafede
JM
36003 [BZ #3439]
36004 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36005 integer constant usable in #if and use that to give value to enum
36006 constant.
36007 (FE_DIVBYZERO): Likewise.
36008 (FE_UNDERFLOW): Likewise.
36009 (FE_OVERFLOW): Likewise.
36010 (FE_INVALID): Likewise.
36011 (FE_INVALID_SNAN): Likewise.
36012 (FE_INVALID_ISI): Likewise.
36013 (FE_INVALID_IDI): Likewise.
36014 (FE_INVALID_ZDZ): Likewise.
36015 (FE_INVALID_IMZ): Likewise.
36016 (FE_INVALID_COMPARE): Likewise.
36017 (FE_INVALID_SOFTWARE): Likewise.
36018 (FE_INVALID_SQRT): Likewise.
36019 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36020 (FE_TONEAREST): Likewise.
36021 (FE_TOWARDZERO): Likewise.
36022 (FE_UPWARD): Likewise.
36023 (FE_DOWNWARD): Likewise.
36024 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36025 (FE_DIVBYZERO): Likewise.
36026 (FE_OVERFLOW): Likewise.
36027 (FE_UNDERFLOW): Likewise.
36028 (FE_INEXACT): Likewise.
36029 (FE_TONEAREST): Likewise.
36030 (FE_DOWNWARD): Likewise.
36031 (FE_UPWARD): Likewise.
36032 (FE_TOWARDZERO): Likewise.
36033 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36034 (FE_UNDERFLOW): Likewise.
36035 (FE_OVERFLOW): Likewise.
36036 (FE_DIVBYZERO): Likewise.
36037 (FE_INVALID): Likewise.
36038 (FE_TONEAREST): Likewise.
36039 (FE_TOWARDZERO): Likewise.
36040 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36041 (FE_OVERFLOW): Likewise.
36042 (FE_UNDERFLOW): Likewise.
36043 (FE_DIVBYZERO): Likewise.
36044 (FE_INEXACT): Likewise.
36045 (FE_TONEAREST): Likewise.
36046 (FE_TOWARDZERO): Likewise.
36047 (FE_UPWARD): Likewise.
36048 (FE_DOWNWARD): Likewise.
36049 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36050 (FE_DIVBYZERO): Likewise.
36051 (FE_OVERFLOW): Likewise.
36052 (FE_UNDERFLOW): Likewise.
36053 (FE_INEXACT): Likewise.
36054 (FE_TONEAREST): Likewise.
36055 (FE_DOWNWARD): Likewise.
36056 (FE_UPWARD): Likewise.
36057 (FE_TOWARDZERO): Likewise.
36058
105ca950
CM
360592012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36060
36061 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36062
a542b389
AS
360632012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36064
36065 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36066 commands. Quote $PWD.
36067 (blacklist_exports): Don't use remove_newlines. Replace "declare
36068 -x" by "export".
36069 (remove_newlines): Remove.
36070
f62c8abc
L
360712012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36072
36073 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36074 * stdlib/stdlib.h (atof): Moved to ...
36075 * include/bits/stdlib-float.h: Here. New file.
36076 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36077 * stdlib/bits/stdlib-float.h: New file.
36078 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36079 -mno-sse -mno-mmx.
36080 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36081 <xmmintrin.h>.
36082
0155d5b2
JM
360832012-11-02 Joseph Myers <joseph@codesourcery.com>
36084
a68d0680
JM
36085 * conform/conformtest.pl (@headers): Add fenv.h.
36086 * conform/data/fenv.h-data: New file.
36087 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36088 include of <math/fenv.h>.
36089
caf7f573
JM
36090 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36091 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36092 && !UNIX98]. Enables tests for XOPEN2K8.
36093 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36094 POSIX2008]: Likewise.
36095
6c073ad6
JM
36096 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36097 (struct rusage): Do not expect type or its members.
36098
0155d5b2
JM
36099 [BZ #3439]
36100 * math/math.h (FP_NAN): Define macro to integer constant usable in
36101 #if and use that to give value to enum constant.
36102 (FP_INFINITE): Likewise.
36103 (FP_ZERO): Likewise.
36104 (FP_SUBNORMAL): Likewise.
36105 (FP_NORMAL): Likewise.
36106
b5dcacb4
AS
361072012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36108
36109 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36110 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36111 arguments.
36112
f7934be8
RM
361132012-11-02 Roland McGrath <roland@hack.frob.com>
36114
36115 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36116 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36117 autoconf-time if not.
36118 * configure.in: Remove AC_PREREQ.
36119
d7d08bde
TMQMF
361202012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36121
36122 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36123 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36124 of the internal implementation.
36125
dcdae19a
JM
361262012-11-02 Joseph Myers <joseph@codesourcery.com>
36127
36128 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36129 except include of <misc/sys/syslog.h>.
36130
d6cffd3e
AS
361312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36132
36133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36134 function returns with a NULL context exit with zero.
36135
b3563932
TMQMF
361362012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36137
36138 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36139
b288a93d
L
361402012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36141
36142 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36143 (run_program_cmd): This.
36144 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36145 (tst_langinfo): New variable. Use it.
36146
a2421a68
SAS
361472012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36148
36149 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36150 floating point opcodes.
36151
6f796e1b
TS
361522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36153
7402596b
TS
36154 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36155 variable.
36156
d0d4f868
TS
36157 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36158
6f796e1b
TS
36159 * sysdeps/mach/hurd/powerpc: Remove directory.
36160 * sysdeps/mach/powerpc: Likewise.
36161
4da224a2
AS
361622012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36163
36164 * scripts/check-local-headers.sh: Ignore c++ headers.
36165
341dd673
TS
361662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36167
36168 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36169 __libc_cleanup_region_start argument.
36170
473611b2
JM
361712012-11-01 Joseph Myers <joseph@codesourcery.com>
36172
36173 [BZ #14784]
36174 [BZ #14785]
36175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36176 x * y using scaling, not as x * y + z.
36177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36179 * math/libm-test.inc (fma_test): Add more tests.
36180 (fma_test_towardzero): Likewise.
36181 (fma_test_downward): Likewise.
36182 (fma_test_upward): Likewise.
36183
4078da3d
TS
361842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36185
36186 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36187
903252aa
JM
361882012-10-31 Joseph Myers <joseph@codesourcery.com>
36189
36190 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36191 New variable.
36192
cbc818d0
TS
361932012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36194
36195 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36196
5a03cb1e
AS
361972012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36198
36199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36200 Fix sort order.
36201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36202 Likewise.
36203
90aff2ff
TMQMF
362042012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36205
36206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36207 Fix the order of the list for glibc 2.17.
36208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36209 Likewise.
36210
1818fcb7
AS
362112012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36212
36213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36214
ef82f4da
JM
362152012-10-31 Joseph Myers <joseph@codesourcery.com>
36216
16a0e2ec
JM
36217 [BZ #14610]
36218 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36219 for low part of x being zero before using __atanl (y).
36220 * math/libm-test.inc (atan2_test): Add another test.
36221
0eb69512
JM
36222 * manual/install.texi (Configuring and compiling): Document
36223 general use of test-wrapper and test-wrapper-env.
36224 * INSTALL: Regenerated.
36225
ef82f4da
JM
36226 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36227 (__fma): Do not extract and scale down low bits on after-rounding
36228 systems when result rounded to normal precision would have normal
36229 exponent.
36230 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36231 (__fmal): Do not extract and scale down low bits on after-rounding
36232 systems when result rounded to normal precision would have normal
36233 exponent.
36234 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36235 (__fmal): Do not extract and scale down low bits on after-rounding
36236 systems when result rounded to normal precision would have normal
36237 exponent.
36238 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36239 macro.
36240 (fma_test): Add more tests.
36241 (fma_test_towardzero): Likewise.
36242 (fma_test_downward): Likewise.
36243 (fma_test_upward): Likewise.
36244
954ef0d9
L
362452012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36246
36247 * sysdeps/i386/tininess.h: Renamed to ...
36248 * sysdeps/x86/tininess.h: This.
36249 * sysdeps/x86_64/tininess.h: Removed.
36250
df61ffb2
JM
362512012-10-30 Joseph Myers <joseph@codesourcery.com>
36252
36253 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36254 input. Use $(build-program-cmd).
36255 ($(objpfx)tst-array1-static.out): Likewise.
36256 ($(objpfx)tst-array2.out): Likewise.
36257 ($(objpfx)tst-array3.out): Likewise.
36258 ($(objpfx)tst-array4.out): Likewise.
36259 ($(objpfx)tst-array5.out): Likewise.
36260 ($(objpfx)tst-array5-static.out): Likewise.
36261
01767843
CM
362622012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36263
47cc1490
CM
36264 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36265 if defined.
36266
01767843
CM
36267 * nss/nsswitch.h (nss_interface_function): Provide new
36268 macro for use with NSS functions.
36269 * grp/initgroups.c: Use new macro.
36270 * nss/getXXbyYY.c: Likewise.
36271 * nss/getXXbyYY_r.c: Likewise.
36272 * nss/getXXent.c: Likewise.
36273 * nss/getXXent_r.c: Likewise.
36274 * sysdeps/posix/getaddrinfo.c: Likewise.
36275
8321aa97
AJ
362762012-10-30 Andreas Jaeger <aj@suse.de>
36277
36278 * po/ru.po: Update Russion translation from translation project.
36279
2a27fd6d
JM
362802012-10-30 Joseph Myers <joseph@codesourcery.com>
36281
8627a232
JM
36282 [BZ #14152]
36283 [BZ #14783]
36284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36285 result and shift together with sticky bit instead of replicating
36286 round-to-nearest rounding.
36287 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36289 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36290 missing underflow exceptions.
36291 (fma_test_towardzero): Add more tests.
36292 (fma_test_downward): Likewise.
36293 (fma_test_upward): Likewise.
36294
2a27fd6d
JM
36295 [BZ #14047]
36296 * sysdeps/generic/tininess.h: New file.
36297 * sysdeps/i386/tininess.h: Likewise.
36298 * sysdeps/sh/tininess.h: Likewise.
36299 * sysdeps/x86_64/tininess.h: Likewise.
36300 * stdlib/tst-strtod-underflow.c: Likewise.
36301 * stdlib/tst-tininess.c: Likewise.
36302 * stdlib/strtod_l.c: Include <tininess.h>.
36303 (round_and_return): Do not set errno for exact underflow cases.
36304 Force an underflow exception when setting errno for underflow.
36305 Determine underflow based on rounding to normal precision if
36306 TININESS_AFTER_ROUNDING.
36307 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36308 ERANGE for exact underflow cases.
36309 * stdlib/Makefile (tests): Add tst-tininess and
36310 tst-strtod-underflow.
36311 ($(objpfx)tst-tininess): Use $(link-libm).
36312 ($(objpfx)tst-strtod-underflow): Likewise.
36313
e7170363
AJ
363142012-10-30 Andreas Jaeger <aj@suse.de>
36315
e5088dc6
AJ
36316 [BZ#14767]
36317 * elf/Makefile (tests): Remove conditional for have-initfini-array
36318 since this is now always required and the variable does not exist
36319 anymore.
36320 (tests-static): Likewise.
36321 (modules-names): Likewise.
36322
e7170363 36323 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36324
36325 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36326 merged with constructor/destructor.
36327 (init_array): Likewise.
36328 * elf/tst-array2dep.c (fini_array): Likewise.
36329 (init_array): Likewise.
36330
60457d8a
MF
363312012-10-29 Mike Frysinger <vapier@gentoo.org>
36332
36333 * manual/message.texi: Delete @cartouche tags.
36334
8bece752
PT
363352012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36336
94ce799f
PT
36337 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36338 EOPNOTSUPP.
36339 * sysdeps/mach/hurd/fsync.c: Likewise.
36340
8bece752
PT
36341 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36342 [_POSIX_REALTIME_SIGNALS]: Change condition to
36343 [_POSIX_REALTIME_SIGNALS > 0].
36344
86ebe6b1
AJ
363452012-10-27 Andreas Jaeger <aj@suse.de>
36346
36347 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36348 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36350 [__WORDSIZE != 64]: Likewise.
36351
54399c08
L
363522012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36353
36354 * iconvdata/tst-table.sh: Remove ${SHELL}.
36355 * iconvdata/tst-tables.sh: Likewise.
36356
e2211bed
DM
363572012-10-25 David S. Miller <davem@davemloft.net>
36358
36359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36360 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36361 of strtoull.
36362
f303f97c
DM
36363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36364 ifunc-impl-list.c
36365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36366 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36367 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36368 file.
36369
1e9d84cd
RM
363702012-10-25 Roland McGrath <roland@hack.frob.com>
36371
36372 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36373 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36374 __getdirentries.
36375
df381762
JM
363762012-10-25 Joseph Myers <joseph@codesourcery.com>
36377 Jim Blandy <jimb@codesourcery.com>
36378
36379 * scripts/cross-test-ssh.sh: New file.
36380 * manual/install.texi (Configuring and compiling): Document use of
36381 cross-test-ssh.sh.
36382 * INSTALL: Regenerated.
36383
bff64913
PT
363842012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36385
36386 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36387 EOPNOTSUPP.
36388
25fe8932
JM
363892012-10-25 Joseph Myers <joseph@codesourcery.com>
36390
36391 * Makeconfig (run-program-prefix): Fix comment.
36392
cc1290d0
JM
363932012-10-24 Joseph Myers <joseph@codesourcery.com>
36394 Jim Blandy <jimb@codesourcery.com>
36395
36396 * Makeconfig (test-wrapper): New variable,
36397 (test-wrapper-env): Likewise.
36398 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36399 (run-built-tests): Define to yes.
36400 (run-program-prefix): Use $(test-wrapper).
36401 (built-program-cmd): Likewise.
36402 * Rules (make-test-out): Use $(test-wrapper-env) and
36403 $(host-built-program-cmd).
36404 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36405 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36406 tst-pathopt.sh.
36407 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36408 $(test-wrapper-env) to tst-rtld-load-self.sh.
36409 ($(objpfx)order2.out): Use $(test-wrapper).
36410 ($(objpfx)tst-initorder.out): Likewise.
36411 ($(objpfx)tst-initorder2.out): Likewise.
36412 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36413 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36414 (test_wrapper_env): New variable. Use it to run ld.so.
36415 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36416 Use it to run ld.so.
36417 (test_wrapper_env): Likewise.
36418 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36419 $(test-wrapper) to run-iconv-test.sh.
36420 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36421 (ICONV): Use $test_wrapper.
36422 * posix/Makefile ($(objpfx)globtest.out): Pass
36423 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36424 globtest.sh, not $(run-program-prefix).
36425 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36426 (test_wrapper): Likewise.
36427 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36428 set together with run_via_rtld_prefix.
36429 (run_program_prefix): Define in terms of test_wrapper and
36430 run_via_rtld_prefix.
36431
6e6249d0
RM
364322012-10-24 Roland McGrath <roland@hack.frob.com>
36433
36434 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36435 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36436 Targets removed.
36437
36438 [BZ #14743]
36439 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36440 Declare __clock_getres, __clock_gettime, __clock_settime,
36441 __clock_nanosleep, and __clock_getcpuclockid.
36442 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36443 Remove librt_hidden_def (clock_gettime).
36444 * sysdeps/unix/clock_gettime.c: Likewise.
36445 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36447 * rt/clock_getres.c: Define __clock_getres as an alias.
36448 * sysdeps/posix/clock_getres.c: Likewise.
36449 * rt/clock_settime.c: Define __clock_settime as an alias.
36450 * sysdeps/unix/clock_settime.c: Likewise.
36451 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36452 * sysdeps/unix/clock_nanosleep.c: Likewise.
36453 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36454 * rt/clock-compat.c: New file.
36455 * rt/Makefile (librt-routines): Add clock-compat and move
36456 $(clock-routines) to ...
36457 (routines): ... here, new variable.
36458 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36459 Don't add get_clockfreq here.
36460 * rt/Versions (libc: GLIBC_2.17): New version set.
36461 Add clock_* symbols here.
36462 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36464 (GLIBC_2.17): Add clock_* symbols.
36465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36467 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36469 Likewise.
36470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36471 Likewise.
36472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36476 * NEWS: Mention the move.
36477
36478 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36479 Use __open, __read, __close rather than their public counterparts.
36480 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36481 (__get_clockfreq_via_cpuinfo): Likewise.
36482 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36483 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36484
36485 * config.h.in (HAVE_IFUNC): New #undef.
36486 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36487 was successful.
36488 * configure: Regenerated.
36489
0cae3f4b
MF
364902012-10-24 Mike Frysinger <vapier@gentoo.org>
36491
36492 * configure.in: Move READELF check to start of file.
36493 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36494 libc_cv_asm_gnu_indirect_function in the process.
36495 * configure: Regenerated.
36496
8175a253
MF
364972012-10-24 Mike Frysinger <vapier@gentoo.org>
36498
36499 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36500 send the output to /dev/null.
36501 (libc_cv_cc_with_libunwind): Likewise.
36502 (libc_cv_as_noexecstack): Likewise.
36503 * configure: Regenerate.
36504
0708a7d1
JM
365052012-10-24 Joseph Myers <joseph@codesourcery.com>
36506
10b40d85
JM
36507 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36508
0708a7d1
JM
36509 * posix/globtest.sh (TMPDIR): Do not set.
36510 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36511 (testout): Likewise.
36512
9fddec1a
AJ
365132012-10-24 Andreas Jaeger <aj@suse.de>
36514
3a8db22f
AJ
36515 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36516 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36517 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36518 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36519 posix_fadvise64, posix_fallocate64.
36520
9fddec1a
AJ
36521 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36522 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36523 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36524 Likewise.
36525 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36526 Likewise.
36527 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36528
36529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36530 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36531 <bits/fcntl-linux.h>.
36532 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36533
36534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36535 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36536 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36537 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36538 [__WORDSIZE != 64]: Likewise.
36539
ebfd1bbd
JM
365402012-10-23 Joseph Myers <joseph@codesourcery.com>
36541
03ac099f
JM
36542 * Makeconfig (run-built-tests): New variable.
36543 * Rules [$(cross-compiling) = yes]: Change condition to
36544 [$(run-built-tests) = no].
36545 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36546 to [$(run-built-tests) = yes].
36547 * elf/Makefile [$(cross-compiling) = no]: Likewise
36548 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36549 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36550 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36551 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36552 * io/Makefile [$(cross-compiling) = no]: Likewise.
36553 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36554 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36555 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36556 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36557 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36558 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36559 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36560 * string/Makefile [$(cross-compiling) = no]: Likewise.
36561
ebfd1bbd
JM
36562 * posix/Makefile ($(objpfx)globtest.out): Pass
36563 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36564 $(rtld-installed-name).
36565 * posix/globtest.sh (elf_objpfx): Remove variable.
36566 (rtld_installed_name): Likewise.
36567 (library_path): Likewise.
36568 (run_program_prefix): New variable. Use for running globtest
36569 binary.
36570
166bca24
JB
365712012-10-23 Jim Blandy <jimb@codesourcery.com>
36572 Joseph Myers <joseph@codesourcery.com>
36573
36574 * Makeconfig (host-built-program-cmd): New variable.
36575 * elf/Makefile (tst-stackguard1-ARGS): Use
36576 $(host-built-program-cmd).
36577 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36578 (tst-spawn-ARGS): Likewise.
36579 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36580
88866099
JM
365812012-10-23 Joseph Myers <joseph@codesourcery.com>
36582 Jim Blandy <jimb@codesourcery.com>
36583
36584 * Makeconfig (run-via-rtld-prefix): New variable.
36585 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36586 (built-program-cmd): Likewise.
36587
b4b4c296
AJ
365882012-10-22 Andreas Jaeger <aj@suse.de>
36589
36590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36591 __O_RSYNC if it exists, otherwise to O_SYNC.
36592
6fb54a22
JB
365932012-10-22 Jim Blandy <jimb@codesourcery.com>
36594 Joseph Myers <joseph@codesourcery.com>
36595
36596 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36597 /dev/null.
36598 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36599 from /dev/null
36600 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36601 /dev/null.
36602
481b90b9
AJ
366032012-10-22 Andreas Jaeger <aj@suse.de>
36604
2a0e2669
AJ
36605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36606 Define always.
36607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36608
76e38f9a
AJ
36609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36610 bits/fcntl-linux.h.
36611
7cd37b43
AJ
36612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36613 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36614
481b90b9
AJ
36615 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36616 to __O_LARGEFILE.
36617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36618 to __O_LARGEFILE.
36619
aba75984
JB
366202012-10-21 Jim Blandy <jimb@codesourcery.com>
36621 Joseph Myers <joseph@codesourcery.com>
36622
36623 * config.make.in (NM): New variable.
36624
88d4247f
AJ
366252012-10-21 Andreas Jaeger <aj@suse.de>
36626
36627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36628 definitions and declarations that are provided by
36629 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36630
f2eed205
L
366312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36632
36633 [BZ #14683]
36634 * elf/Makefile (tests-static): Add tst-leaks1-static.
36635 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36636 ($(objpfx)tst-leaks1-static): New rule.
36637 ($(objpfx)tst-leaks1-static-mem): Likewise.
36638 (tst-leaks1-static-ENV): New macro.
36639 * elf/dl-open.c (dl_open_worker): Check the main application
36640 only if SHARED is defined.
36641 * elf/tst-leaks1-static.c: New file.
36642
335e6931
AJ
366432012-10-20 Andreas Jaeger <aj@suse.de>
36644
36645 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36646 generic values for Linux.
36647 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36648 and declarations that are provided by <bits/fcntl-linux.h> and
36649 include <bits/fcntl-linux.h>.
36650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36652
ac5c94d3
RM
366532012-10-20 Roland McGrath <roland@hack.frob.com>
36654
36655 * io/fcntl.h: Move include of <bits/types.h> to the top and
36656 include it unconditionally.
36657
de54b33a
L
366582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36659
228cfb01
L
36660 * wcsmbs/Makefile (tests-ifunc): New variable.
36661 (tests): Add $(tests-ifunc).
36662 * wcsmbs/test-wcschr-ifunc.c: New file.
36663 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36664 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36665 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36666 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36667 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36668
69f07e5f
L
36669 * string/Makefile (tests-ifunc): New variable.
36670 (tests): Add $(tests-ifunc).
36671 * string/test-memccpy.c (TEST_NAME): New macro.
36672 * string/test-memchr.c (TEST_NAME): Likewise.
36673 * string/test-memcmp.c (TEST_NAME): Likewise.
36674 * string/test-memcpy.c (TEST_NAME): Likewise.
36675 * string/test-memmem.c (TEST_NAME): Likewise.
36676 * string/test-memmove.c (TEST_NAME): Likewise.
36677 * string/test-memset.c (TEST_NAME): Likewise.
36678 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36679 * string/test-stpcpy.c (TEST_NAME): Likewise.
36680 * string/test-stpncpy.c (TEST_NAME): Likewise.
36681 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36682 * string/test-strcasestr.c (TEST_NAME): Likewise.
36683 * string/test-strcat.c (TEST_NAME): Likewise.
36684 * string/test-strchr.c (TEST_NAME): Likewise.
36685 * string/test-strcmp.c(TEST_NAME): Likewise.
36686 * string/test-strcpy.c (TEST_NAME): Likewise.
36687 * string/test-strcspn.c (TEST_NAME): Likewise.
36688 * string/test-strlen.c (TEST_NAME): Likewise.
36689 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36690 * string/test-strncmp.c (TEST_NAME): Likewise.
36691 * string/test-strncpy.c (TEST_NAME): Likewise.
36692 * string/test-strnlen.c (TEST_NAME): Likewise.
36693 * string/test-strpbrk.c (TEST_NAME): Likewise.
36694 * string/test-strrchr.c (TEST_NAME): Likewise.
36695 * string/test-strspn.c (TEST_NAME): Likewise.
36696 * string/test-strstr.c (TEST_NAME): Likewise.
36697 * string/test-bcopy-ifunc.c: New file.
36698 * string/test-bzero-ifunc.c: Likewise.
36699 * string/test-memccpy-ifunc.c: Likewise.
36700 * string/test-memchr-ifunc.c: Likewise.
36701 * string/test-memcmp-ifunc.c: Likewise.
36702 * string/test-memcpy-ifunc.c: Likewise.
36703 * string/test-memmem-ifunc.c: Likewise.
36704 * string/test-memmove-ifunc.c: Likewise.
36705 * string/test-mempcpy-ifunc.c: Likewise.
36706 * string/test-memset-ifunc.c: Likewise.
36707 * string/test-rawmemchr-ifunc.c: Likewise.
36708 * string/test-stpcpy-ifunc.c: Likewise.
36709 * string/test-stpncpy-ifunc.c: Likewise.
36710 * string/test-strcasecmp-ifunc.c: Likewise.
36711 * string/test-strcasestr-ifunc.c: Likewise.
36712 * string/test-strcat-ifunc.c: Likewise.
36713 * string/test-strchr-ifunc.c: Likewise.
36714 * string/test-strchrnul-ifunc.c: Likewise.
36715 * string/test-strcmp-ifunc.c: Likewise.
36716 * string/test-strcpy-ifunc.c: Likewise.
36717 * string/test-strcspn-ifunc.c: Likewise.
36718 * string/test-strlen-ifunc.c: Likewise.
36719 * string/test-strncasecmp-ifunc.c: Likewise.
36720 * string/test-strncat-ifunc.c: Likewise.
36721 * string/test-strncmp-ifunc.c: Likewise.
36722 * string/test-strncpy-ifunc.c: Likewise.
36723 * string/test-strnlen-ifunc.c: Likewise.
36724 * string/test-strpbrk-ifunc.c: Likewise.
36725 * string/test-strrchr-ifunc.c: Likewise.
36726 * string/test-strspn-ifunc.c: Likewise.
36727 * string/test-strstr-ifunc.c: Likewise.
36728
de54b33a
L
36729 * debug/Makefile (tests-ifunc): New variable.
36730 (tests): Add $(tests-ifunc).
36731 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36732 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36733 * debug/test-stpcpy_chk-ifunc.c: New file.
36734 * debug/test-strcpy_chk-ifunc.c: Likewise.
36735
88481c16
SP
367362012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36737
36738 [BZ #13601]
36739 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36740 header is not read in.
36741
135948bd
JM
367422012-10-19 Joseph Myers <joseph@codesourcery.com>
36743
89f1c388
JM
36744 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36745 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36746 directly. Pass built executable to script as
36747 $(built-program-cmd).
36748 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36749 $testprogram without using LD_LIBRARY_PATH and $ldso.
36750
e40a0d21
JM
36751 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36752 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36753 $(rtld-installed-name).
36754 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36755 (rtld_installed_name): Likewise.
36756 (library_path): Likewise.
36757 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36758 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36759 $(run-program-prefix) to tst-tables.sh.
36760 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36761 it to run tst-table-from and tst-table-to.
36762 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36763 Pass it to tst-table.sh.
36764 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36765 $(run-program-prefix) to tst-gettext.sh.
36766 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36767 tst-translit.sh.
36768 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36769 tst-gettext2.sh.
36770 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36771 to run tst-gettext.
36772 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36773 to run tst-gettext2.
36774 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36775 to run tst-translit.
36776 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36777 $(run-program-prefix) to tst-mtrace.sh.
36778 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36779 to run tst-mtrace.
36780 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36781 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36782 $(rtld-installed-name).
36783 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36784 (rtld_installed_name): Likewise.
36785 (run_program_prefix): New variable. Use it to run wordexp-test.
36786
728e272a
JM
36787 * Makeconfig (ARCH): Remove all definitions.
36788 (machine): Likewise.
36789 [ARCH]: Remove conditional code.
36790 [!objdir]: Give error.
36791 [!objdir] (objpfx): Remove.
36792 [!objdir] (common-objpfx): Likewise.
36793 [!objdir] (common-objdir): Likewise.
36794 * configure.in (config_makefile): Remove. Hardcode Makefile in
36795 AC_CONFIG_FILES call.
36796 * configure: Regenerated.
36797
d528cdcf
JM
36798 [BZ #13888]
36799 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36800 or TMPDIR.
36801 (testout): Likewise.
36802
135948bd
JM
36803 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36804 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36805 $(rtld-installed-name).
36806 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36807 (rtld_installed_name): Likwise.
36808 (runit): Remove function.
36809 (run_getconf): New variable, Use it for running getconf binary.
36810
38c78296
L
368112012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36812
36813 [BZ #14716]
36814 * string/test-memmem.c (check_result): New function.
36815 (do_one_test): Use it.
36816 (check1): New function.
36817 (test_main): Use it.
36818
d077f65f
MT
368192012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36820
36821 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36822
ced52c71
JM
368232012-10-18 Joseph Myers <joseph@codesourcery.com>
36824
36825 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36826 (_G_LSEEK64): Likewise.
36827 (_G_MMAP64): Likewise.
36828 (_G_FSTAT64): Likewise.
36829 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36830 (_G_LSEEK64): Likewise.
36831 (_G_MMAP64): Likewise.
36832 (_G_FSTAT64): Likewise.
36833 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36834 unconditional. Call __mmap64 directly.
36835 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36836 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36837 __lseek64 directly.
36838 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36839 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36840 __mmap64 directly.
36841 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36842 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36843 __lseek64 directly.
36844 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36845 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36846 __lseek64 directly.
36847 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36848 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36849 __lseek64 directly.
36850 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36851 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36852 __fxstat64 directly.
36853 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36854 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36855 unconditional.
36856 (freopen64) [!_G_OPEN64]: Remove conditional code.
36857 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36858 unconditional.
36859 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36860 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36861 unconditional.
36862 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36863 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36864 unconditional.
36865 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36866 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36867 unconditional.
36868 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36869 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36870 unconditional.
36871 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36872 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36873 unconditional.
36874 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36875 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36876 unconditional.
36877 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36878
b741de23
SP
368792012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36880
36881 [BZ #12140]
36882 * manual/memory.texi (Malloc Tunable Parameters): Add note
36883 about free list pointers overwriting some perturb bytes.
36884 Wording suggested by Roland McGrath.
36885
f9b9d9c9
JM
368862012-10-17 Joseph Myers <joseph@codesourcery.com>
36887
36888 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36889 (lgamma_test): Likewise.
36890 (tgamma_test): Likewise.
36891
172a631a
FW
368922012-10-16 Florian Weimer <fweimer@redhat.com>
36893
36894 [BZ #14700]
36895 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36896 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36897
e9f37252
MK
368982012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36899
36900 * NEWS: Mention BZ #14716.
36901 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36902 when removing AVAILABLE1_USES_J macro.
36903
d394eb74
L
369042012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36905
36906 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36907 (__bswap_64): __uint64_t for unsigned 64-bit int.
36908
ca38dc17
AS
369092012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36910
36911 * include/string.h (memmem): Declare libc hidden alias.
36912 * string/memmem.c (memmem): Define libc hidden alias.
36913 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36914 __read, __close instead of open, read, close.
36915
9a387d1f
L
369162012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36917
ac49ecaf
L
36918 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36919 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36920 global and hidden.
36921 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36922 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36923 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36924 Likewise.
36925 (__rawmemchr_sse2): Likewise.
36926 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36927 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36928 (__strchr_sse2): Likewise.
36929 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36930 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36931 (__strcasecmp_sse2): Likewise.
36932 (__strncasecmp_sse2): Likewise.
36933 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36934 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36935 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36936 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36937 (__strrchr_sse2): Likewise.
36938 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36939 ifunc-impl-list.c.
36940 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36941 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36942 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36943 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36944 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36945 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36946 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36947 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36948 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36949 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36950 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36951 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36952 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36953 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36954 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36955 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36956 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36957 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36958 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36959 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36960 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36961 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36962 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36963 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36964 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36965 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36966 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36967 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36968 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36969 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36970
b090e8ea
L
36971 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36972 global and hidden.
36973 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36974 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36975 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36976 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36977 Likewise.
36978 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36979 Likewise.
36980 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36981 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36982 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36983 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36984 ifunc-impl-list.c.
36985 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36986 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36988 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36989 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36990 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36991 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36992 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36993 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36994 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36995 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36996 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36997 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36998 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36999 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37001 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37002 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37003 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37004 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37005 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37006 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37007 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37008 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37010 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37011 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37012 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37013 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37015 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37016 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37017 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37018 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37019 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37020 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37021 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37022 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37023 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37024 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37025 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37026
11dd4af6
L
37027 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37028 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37029 * include/ifunc-impl-list.h: New file.
37030 * misc/ifunc-impl-list.c: Likewise.
37031 * misc/Makefile (routines): Add ifunc-impl-list.
37032 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37033 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37034 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37035 TEST_NAME]: New variables.
11dd4af6
L
37036 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37037 are defined.
37038 (test_init): Call __libc_ifunc_impl_list to initialize
37039 func_list if TEST_IFUNC and TEST_NAME are defined.
37040
9a387d1f
L
37041 * string/Makefile (strop-tests): Add bcopy and bzero.
37042 * string/test-bcopy.c: New file.
37043 * string/test-bzero.c: Likewise.
37044 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37045 defined.
37046 * string/test-memset.c: Support bzero test if TEST_BZERO is
37047 defined.
37048 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37049 __libc_memmove.
37050 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37051 __libc_memset.
37052 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37053 of memset.
37054
472371b9
JM
370552012-10-10 Joseph Myers <joseph@codesourcery.com>
37056
1e4a9536
JM
37057 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37058 * configure: Regenerated.
37059
d173d12e
JM
37060 * Makeconfig (+link-static-before-libc): Don't include
37061 $(link-static-libc).
37062
472371b9
JM
37063 * libio/libio.h (_IO_pos_t): Remove.
37064
89a3ad0b
AO
370652012-10-10 Alexandre Oliva <aoliva@redhat.com>
37066
37067 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37068 McGrath.
37069
e7451425
AO
370702012-10-10 Alexandre Oliva <aoliva@redhat.com>
37071
37072 * crypt/crypt-entry.c: Include fips-private.h.
37073 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37074 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37075 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37076 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37077
4ba74a35
AO
370782012-10-10 Alexandre Oliva <aoliva@redhat.com>
37079
37080 * crypt/crypt-private.h: Include stdbool.h.
37081 (_ufc_setup_salt_r): Return bool.
37082 * crypt/crypt-entry.c: Include errno.h.
37083 (__crypt_r): Return NULL with EINVAL for bad salt.
37084 * crypt/crypt_util.c (bad_for_salt): New.
37085 (_ufc_setup_salt_r): Check that salt is long enough and within
37086 the specified alphabet.
37087 * crypt/badsalttest.c: New file.
37088 * crypt/Makefile (tests): Add it.
37089 ($(objpfx)badsalttest): New.
37090
f96f1242
MK
370912012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37092
37093 * NEWS: Add entry for BZ #14602.
37094
0e8e0c1c
JM
370952012-10-09 Joseph Myers <joseph@codesourcery.com>
37096
37097 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37098 type-generic.
37099 * math/libm-test.inc: Update comment listing what functions and
37100 macros are tested.
37101 (isgreater_test): New function.
37102 (isgreaterequal_test): Likewise.
37103 (isless_test): Likewise.
37104 (islessequal_test): Likewise.
37105 (islessgreater_test): Likewise.
37106 (isunordered_test): Likewise.
37107 (main): Call the new functions.
37108
273edc5e
RM
371092012-10-09 Roland McGrath <roland@hack.frob.com>
37110
b8493de0
RM
37111 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37112 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37113 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37114 * sysdeps/i386/configure: Regenerated.
37115 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37116 * sysdeps/mach/configure: Regenerated.
37117 * sysdeps/mach/hurd/configure: Regenerated.
37118 * sysdeps/powerpc/configure: Regenerated.
37119 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37120 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37121 * sysdeps/s390/s390-32/configure: Regenerated.
37122 * sysdeps/s390/s390-64/configure: Regenerated.
37123 * sysdeps/sh/configure: Regenerated.
37124 * sysdeps/sparc/configure: Regenerated.
37125 * sysdeps/unix/sysv/linux/configure: Regenerated.
37126 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37127 * sysdeps/x86_64/configure: Regenerated.
37128
273edc5e
RM
37129 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37130 defined. Don't check if MAP is NULL.
37131
c8450f70
JM
371322012-10-09 Joseph Myers <joseph@codesourcery.com>
37133
37134 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37135 (_G_stat64): Likewise.
37136 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37137 (_G_stat64): Likewise.
37138 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37139 instead of struct _G_stat64.
37140 * libio/fileops.c (mmap_remap_check): Likewise.
37141 (decide_maybe_mmap): Likewise.
37142 (_IO_new_file_seekoff): Likewise.
37143 (_IO_file_stat): Likewise.
37144 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37145 _G_off64_t.
37146 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37147 instead of struct _G_stat64.
37148 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37149
57e605ba
MK
371502012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37151
37152 [BZ #14602]
37153 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37154 Replace with ...
37155 (CHECK_EOL): New macro.
37156 (two_way_short_needle): Check beginning of haystack for EOL. Use
37157 CHECK_EOL.
37158 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37159 Replace with CHECK_EOL.
37160 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37161 Replace with CHECK_EOL.
37162
ef1bb361
JM
371632012-10-08 Joseph Myers <joseph@codesourcery.com>
37164
37165 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37166 type-generic.
37167 * math/libm-test.inc: Update comment listing what functions and
37168 macros are tested.
37169 (finite_test): New function.
37170 (isinf_test): Likewise.
37171 (isnan_test): Likewise.
37172 (fpclassify_test): Test subnormal input.
37173 (isfinite_test): Likewise.
37174 (isnormal_test): Likewise.
37175 (main): Call the new functions.
37176
55f11534
JN
371772012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37178
37179 [BZ #14660]
37180 * Makerules (%.dynsym): Force C locale when running
37181 $(OBJDUMP) --dynamic-syms.
37182
1ab29350
AS
371832012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37184
37185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37186 <stdint.h>.
37187
f1ecb7ef
DM
371882012-10-06 David S. Miller <davem@davemloft.net>
37189
37190 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37191 upper 32-bits of the length value in %o2 since we use branch-on-register
37192 tests which consider the entire 64-bit register.
37193
5d41d91a
L
371942012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37195
37196 * string/test-strstr.c (check2): Add a test for page boundary.
37197
3baddb72
DM
371982012-10-05 David S. Miller <davem@davemloft.net>
37199
37200 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37201 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37202 file.
37203 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37204 sysdep_routines.
37205 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37206 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37207 and bzero when HWCAP_SPARC_CRYPTO is present.
37208
9cee5585
L
372092012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37210
d7e0dab9
L
37211 [BZ #14602]
37212 * string/test-strstr.c (check2): New function.
37213 (test_main): Call check2.
37214
03759f47
L
37215 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37216 and bug-strchr1.
37217 * string/bug-strcasestr1.c (do_test): Moved to ...
37218 * string/test-strcasestr.c (check1): Here. New function.
37219 (do_one_test): Break out result checking code into ...
37220 (check_result): This. New function.
37221 (do_one_test): Call check_result.
37222 (test_main): Call check1.
37223 * string/bug-strchr1.c (do_test): Moved to ...
37224 * string/test-strchr.c (check1): Here. New function.
37225 (do_one_test): Break out result checking code into ...
37226 (check_result): This. New function.
37227 (do_one_test): Call check_result.
37228 (test_main): Call check1.
37229 * string/bug-strstr1.c (main): Moved to ...
046f153e 37230 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37231 (do_one_test): Break out result checking code into ...
37232 (check_result): This. New function.
37233 (do_one_test): Call check_result.
37234 (test_main): Call check1.
37235 * string/bug-strcasestr1.c: Removed.
37236 * string/bug-strchr1.c: Likewise.
37237 * string/bug-strstr1.c: Likewise.
37238
53cea63e
L
37239 * elf/Makefile (dl-routines): Add hwcaps.
37240 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37241 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37242 (_dl_important_hwcaps): Moved to ...
37243 * elf/dl-hwcaps.c: Here. New file.
37244 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37245
9cee5585 37246 [BZ #14557]
bb859b06
L
37247 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37248 if IS_IN_rtld isn't defined.
37249
9cee5585
L
37250 * elf/dl-support.c (_dl_sysinfo_map): New.
37251 Include "get-dynamic-info.h" and "setup-vdso.h".
37252 (_dl_non_dynamic_init): Call setup_vdso.
37253 * elf/dynamic-link.h: Don't include <assert.h>.
37254 (elf_get_dynamic_info): Moved to ...
37255 * elf/get-dynamic-info.h: Here. New file.
37256 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37257 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37258 * elf/setup-vdso.h: Here. New file.
37259 * elf/rtld.c: Include "setup-vdso.h".
37260 (dl_main): Call setup_vdso.
37261
23c31b76
JM
372622012-10-05 Joseph Myers <joseph@codesourcery.com>
37263
28234b07
JM
37264 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37265 creal in comment listing functions tested. List finite, isinf,
37266 isnan, isless, islessequal, isgreater, isgreaterequal,
37267 islessgreater, isunordered, lgamma_r and pow10 as functions and
37268 macros not tested. Mention which functions not tested are aliases
37269 for other functions. Fix typo. Note that signs of NaNs are not
37270 tested.
37271
23c31b76
JM
37272 * scripts/config.guess: Update from config.git.
37273 * scripts/config.sub: Likewise.
37274
9043e228
RM
372752012-10-04 Roland McGrath <roland@hack.frob.com>
37276
37277 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37278 * misc/madvise.c (madvise): Renamed to __madvise.
37279 Make madvise a weak alias.
37280 * include/sys/mman.h: Declare __madvise.
37281 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37282 * sysdeps/unix/syscalls.list
37283 (madvise): Make __madvise the strong name, and madvise a weak alias.
37284 * sysdeps/unix/sysv/linux/syscalls.list
37285 (madvise, mmap): Remove redundant entries.
37286 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37287 * malloc/malloc.c (mtrim): Likewise.
37288 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37289
f57f8055
RM
372902012-10-03 Roland McGrath <roland@hack.frob.com>
37291
37292 * sysdeps/mach/hurd/dl-cache.c: File removed.
37293 * config.h.in (USE_LDCONFIG): New #undef.
37294 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37295 * configure: Regenerated.
37296 * elf/Makefile (dl-routines): Add dl-cache only under
37297 [$(use-ldconfig) = yes].
37298 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37299 cache on [USE_LDCONFIG].
37300 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37301 [USE_LDCONFIG].
37302 * elf/rtld.c (dl_main): Likewise.
37303
5bb0c10a
PT
373042012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37305
37306 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37307 _SC_LEVEL4_CACHE_LINESIZE.
37308
010188c6
RM
373092012-10-03 Roland McGrath <roland@hack.frob.com>
37310
37311 * sysdeps/unix/bsd/confstr.h: File removed.
37312
b6c5ec07
AO
373132012-10-02 Alexandre Oliva <aoliva@redhat.com>
37314
37315 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37316 sys/sdt-config.h.
37317
408223d4
RM
373182012-10-02 Roland McGrath <roland@hack.frob.com>
37319
37320 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37321 Make 'mapoff' field ElfW(Off) rather than off_t.
37322
bb9510dc
DL
373232012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37324
fc997c6e
DL
37325 * nscd/Makefile: Remove nscd-cflags and all its users.
37326 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37327 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37328
bb9510dc
DL
37329 [BZ #10631]
37330 * malloc.c (malloc_printerr): Clarify error message.
37331
05699367
L
373322012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37333
37334 [BZ #14648]
37335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37336 Set bit_FMA_Usable if FMA is supported.
37337 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37338 macro.
37339 (bit_FMA4_Usable): Updated.
37340 (index_FMA_Usable): New macro.
37341 (CPUID_FMA): Likewise
37342 (HAS_FMA): Defined with bit_FMA_Usable.
37343
51367701
RM
373442012-10-01 Roland McGrath <roland@hack.frob.com>
37345
37346 * bits/types.h (__swblk_t): Type removed.
37347 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37348 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37350 (__SWBLK_T_TYPE): Likewise.
37351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37352 (__SWBLK_T_TYPE): Likewise.
37353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37354 (__SWBLK_T_TYPE): Likewise.
37355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37356 (__SWBLK_T_TYPE): Likewise.
37357
4d57bf63 373582012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37359 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37360
37361 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37362 (xdr_mapname): Use YPMAXMAP as maxsize.
37363 (xdr_peername): Use YPMAXPEER as maxsize.
37364 (xdr_keydat): Use YPAXRECORD as maxsize.
37365 (xdr_valdat): Use YPMAXRECORD as maxsize.
37366
93c65d43
RM
373672012-10-01 Roland McGrath <roland@hack.frob.com>
37368
497a03d6
RM
37369 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37370
93c65d43
RM
37371 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37372 * csu/init-first.c: ... here.
37373 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37374 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37375 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37376 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37377 * sysdeps/i386/init-first.c: File removed.
37378 * sysdeps/sh/init-first.c: File removed.
37379
bec749fd
JM
373802012-10-01 Joseph Myers <joseph@codesourcery.com>
37381
37382 [BZ #14645]
37383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37384 if x * y might underflow to zero and z is zero.
37385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37387 * math/libm-test.inc (min_subnorm_value): New variable.
37388 (fma_test): Add more tests.
37389 (fma_test_towardzero): Likewise.
37390 (fma_test_downward): Likewise
37391 (fma_test_upward): Likewise.
37392 (initialize): Set min_subnorm_value.
37393
8ec5b013
JM
373942012-09-29 Joseph Myers <joseph@codesourcery.com>
37395
37396 [BZ #14638]
37397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37398 0 + 0.
37399 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37400 mode for addition resulting in exact zero.
37401 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37403 exact 0 + 0.
37404 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37406 * math/libm-test.inc (fma_test): Add more tests.
37407 (fma_test_towardzero): New function.
37408 (fma_test_downward): Likewise.
37409 (fma_test_upward): Likewise.
37410 (main): Call the new functions.
37411
b1fa802e
DM
374122012-09-28 David S. Miller <davem@davemloft.net>
37413
37414 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37415
d3b9fd9e
RM
374162012-09-28 Roland McGrath <roland@hack.frob.com>
37417
ea4d37b3
RM
37418 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37419 instead of SIGALRM.
37420
ac51c949
RM
37421 * sysdeps/gnu/_G_config.h: Moved to ...
37422 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37423 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37424 * sysdeps/generic/_G_config.h: ... here.
37425
28c195f7
RM
37426 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37427
848917f9
RM
37428 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37429
6bacf05b
RM
37430 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37431 Conditionalize target on [libnss_test1.so-version].
37432
91363dbb
RM
37433 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37434
cc87f7d8
RM
37435 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37436 (elfobjdir): Move out of conditionals.
37437
b1c608fe
RM
37438 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37439 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37440 (__nss_lookup_function): Conditionalize label remove_from_tree on
37441 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37442
1d9a6d96
DM
374432012-09-28 David S. Miller <davem@davemloft.net>
37444
37445 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37446 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37447 file.
37448 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37449 sysdep_routines.
37450 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37451 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37452 when HWCAP_SPARC_CRYPTO is present.
37453
72581615
PT
374542012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37455
37456 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37457
715a900c
JL
374582012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37459
37460 [BZ #6530]
37461 * stdio-common/vfprintf.c (process_string_arg): Revert
37462 2000-07-22 change.
37463
374642011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37465
37466 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37467 for testcase.
37468 * stdio-common/tst-sprintf.c: Include <locale.h>
37469 (main): Test sprintf's handling of incomplete multibyte
37470 characters.
37471
9bac1d86
L
374722012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37473
37474 * elf/dl-runtime.c (VERSYMIDX): Removed.
37475 * elf/dl-version.c (VERSYMIDX): Likewise.
37476 * elf/do-rel.h (VERSYMIDX): Likewise.
37477 (VALIDX): Likewise.
37478 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37479 * elf/rtld.c (VALIDX): Likewise.
37480 (ADDRIDX): Likewise.
9bac1d86
L
37481 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37482 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37483 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37484 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37485 (VALIDX): Likewise.
37486 (ADDRIDX): Likewise.
9bac1d86 37487
b31606c0
PT
374882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37489
37490 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37491
11541177
JL
374922012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37493
37494 [BZ #11438]
37495 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37496 to global scope.
37497 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37498 addresses are in the same scope as 192.0.2/24.
37499 * posix/gai.conf: Document new scope table defaults.
37500
adb26fae
SP
375012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37502
37503 [BZ #5298]
37504 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37505 for ftell. Compute offsets from write pointers instead.
37506 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37507
4573c6b0
SP
375082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37509
37510 [BZ #14543]
37511 * libio/Makefile (tests): New test case tst-fseek.
37512 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37513 combination works in wide mode.
37514 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37515 state when the external buffer state changes.
37516
aa9bbfe6
DM
375172012-09-27 David S. Miller <davem@davemloft.net>
37518
37519 [BZ #14376]
37520 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37521 pass reloc->r_addend in as the 'high' argument to
37522 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37523
784421e7
DM
37524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37525
c39bc8b8
PT
375262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37527
37528 * rt/tst-aio2.c: Include <pthread.h>.
37529 * rt/tst-aio3.c: Likewise.
37530
1ccc2399
SE
375312012-09-27 Steve Ellcey <sellcey@mips.com>
37532
37533 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37534
31ed4153
L
375352012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37536
25f5f885
L
37537 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37538 contents on [SHARED].
31ed4153 37539
b7bfe116
MP
375402012-09-26 Marek Polacek <polacek@redhat.com>
37541
37542 [BZ #14530]
37543 [BZ #13741]
37544 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37545 for C++ and GCC <4.3 as well as for non GCC compilers.
37546
43c4edba
MT
375472012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37548
37549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37550
6a1bf82f
RM
375512012-09-25 Roland McGrath <roland@hack.frob.com>
37552
37553 * Makefile.in (all, install): Declare with .PHONY.
37554 Reported by Michael Hope <michael.hope@linaro.org>.
37555
8ad11b9a
TMQMF
375562012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37557
37558 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37559 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37560 system header.
37561 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37562 Likewise.
37563 (sydep_routines): Add the new and the internal functions.
37564 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37565 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37567 (GLIBC_2.17): Add the new function.
37568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37569 (GLIBC_2.17): Likewise.
37570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37571 (GLIBC_2.17): Likewise.
37572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37573 (GLIBC_2.17): Likewise.
37574 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37575
7e2fca8d
AM
375762012-09-25 Alan Modra <amodra@gmail.com>
37577
37578 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37579 Add release barrier before setting once_control to say
37580 initialisation is done. Add hints on lwarx. Use macro in
37581 place of isync.
37582 (clear_once_control): Add release barrier.
37583
b87c4b24
JM
375842012-09-25 Joseph Myers <joseph@codesourcery.com>
37585
d032e0d2
JM
37586 [BZ #13629]
37587 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37588 specially.
37589 * math/s_clog10.c (__clog10): Likewise.
37590 * math/s_clog10f.c (__clog10f): Likewise.
37591 * math/s_clog10l.c (__clog10l): Likewise.
37592 * math/s_clogf.c (__clogf): Likewise.
37593 * math/s_clogl.c (__clogl): Likewise.
37594 * math/Makefile (libm-calls): Add x2y2m1.
37595 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37596 (__x2y2m1): Likewise.
37597 (__x2y2m1l): Likewise.
37598 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37599 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37600 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37601 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37602 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37603 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37604 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37605 * sysdeps/i386/fpu/libm-test-ulps: Update.
37606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37607
b87c4b24
JM
37608 [BZ #14621]
37609 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37610 int as type of variable DEPTH.
37611 (glob): Use size_t instead of int as type of variables NEWCOUNT
37612 and OLD_PATHC.
37613
6d3bf199
LD
376142012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37615
22bf5c17
LD
37616 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37617 Add s_sincosf-sse2.
37618 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37619 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37620 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37621 macros for using routine as __sincosf_ia32.
37622 Use macro for function declaration and weak_alias.
37623 * sysdeps/i386/fpu/libm-test-ulps: Update.
37624
37625 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37627
37628 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37629 subnormal argument.
37630 * math/s_cexpf.c (__cexpf): Likewise.
37631 * math/s_csinf.c (__csinf): Likewise.
37632 * math/s_csinhf.c (__csinhf): Likewise.
37633 * math/s_ctanf.c (__ctanf): Likewise.
37634 * math/s_ctanhf.c (__ctanhf): Likewise.
37635 * math/s_ccosh.c (__ccoshf): Likewise.
37636 * math/s_cexp.c (__cexpl): Likewise.
37637 * math/s_csin.c (__csin): Likewise.
37638 * math/s_csinh.c (__csinh): Likewise.
37639 * math/s_ctan.c (__ctan): Likewise.
37640 * math/s_ctanh.c (ctanh): Likewise.
37641 * math/s_ccoshl.c (__ccoshl): Likewise.
37642 * math/s_cexpl.c (__cexpl): Likewise.
37643 * math/s_csinl.c (__csinl): Likewise.
37644 * math/s_csinhl.c (__csinhl): Likewise.
37645 * math/s_ctanl.c (__ctanl): Likewise.
37646 * math/s_ctanhl.c (__ctanhl): Likewise.
37647
203e5603
JM
376482012-09-25 Joseph Myers <joseph@codesourcery.com>
37649
37650 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37651 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37652 (_IO_off_t): Define to __off_t, not _G_off_t.
37653 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37654 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37655 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37656 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37657 type of __dummy and __dummy2 fields.
37658 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37659 (_G_ssize_t): Likewise.
37660 (_G_off_t): Likewise.
37661 (_G_pid_t): Likewise.
37662 (_G_uid_t): Likewise.
37663 (_G_wchar_t): Likewise.
37664 (_G_wint_t): Likewise.
37665 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37666 (_G_ssize_t): Likewise.
37667 (_G_off_t): Likewise.
37668 (_G_pid_t): Likewise.
37669 (_G_uid_t): Likewise.
37670 (_G_wchar_t): Likewise.
37671 (_G_wint_t): Likewise.
37672 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37673 (_G_ssize_t): Likewise.
37674 (_G_off_t): Likewise.
37675 (_G_pid_t): Likewise.
37676 (_G_uid_t): Likewise.
37677 (_G_wchar_t): Likewise.
37678 (_G_wint_t): Likewise.
37679
9fab36eb
SP
376802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37681
37682 * malloc/arena.c: Include malloc-sysdep.h.
37683 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37684 is sufficient to shrink the heap or an unmap is needed.
37685 * sysdeps/generic/malloc-sysdep.h: New file. Define
37686 new function check_may_shrink_heap.
37687 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37688 new function check_may_shrink_heap.
37689
2b4f00d1
SP
376902012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37691
37692 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37693 comments.
37694
9a9028b1
DL
376952012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37696
57c69bef
DL
37697 * catgets/test-gencat.sh: Add "set -e".
37698 * elf/tst-pathopt.sh: Likewise.
37699 * grp/tst_fgetgrent.sh: Likewise.
37700 * iconvdata/run-iconv-test.sh: Likewise.
37701 * intl/tst-gettext.sh: Likewise.
37702 * intl/tst-gettext2.sh: Likewise.
37703 * intl/tst-gettext4.sh: Likewise.
37704 * intl/tst-gettext6.sh: Likewise.
37705 * intl/tst-translit.sh: Likewise.
37706 * io/ftwtest-sh: Likewise.
37707 * libio/test-freopen.sh: Likewise.
37708 * malloc/tst-mtrace.sh: Likewise.
37709 * posix/globtest.sh: Likewise.
37710 * posix/tst-getconf.sh: Likewise.
37711 * posix/wordexp-tst.sh: Likewise.
37712 * stdio-common/tst-printf.sh: Likewise.
37713 * stdio-common/tst-unbputc.sh: Likewise.
37714 * stdlib/tst-fmtmsg.sh: Likewise.
37715 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37716 * catgets/Makefile: Do not specify -e option when running
37717 testsuite shell scripts.
37718 * elf/Makefile: Likewise.
37719 * grp/Makefile: Likewise.
37720 * iconvdata/Makefile: Likewise.
37721 * intl/Makefile: Likewise.
37722 * io/Makefile: Likewise.
37723 * libio/Makefile: Likewise.
37724 * malloc/Makefile: Likewise.
37725 * posix/Makefile: Likewise.
37726 * stdio-common/Makefile: Likewise.
37727 * stdlib/Makefile: Likewise.
37728 * sysdeps/x86_64/Makefile: Likewise.
37729
9a9028b1
DL
37730 * io/ftwtest-sh: Add copyright header.
37731 * posix/globtest.sh: Likewise.
37732 * posix/tst-getconf.sh: Likewise.
37733 * posix/wordexp-tst.sh: Likewise.
37734 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37735
ced6f16e
L
377362012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37737
94b32c39
L
37738 [BZ #13679]
37739 * Makeconfig (+link): Defined as $(+link-static) if
37740 $(build-shared) isn't yes.
37741 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37742 isn't yes.
37743 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37744
189e935b
L
37745 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37746
ced6f16e
L
37747 [BZ #14562]
37748 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37749 new chunk size with MALLOC_ALIGN_MASK.
37750
a9f8e53a
JM
377512012-09-24 Joseph Myers <joseph@codesourcery.com>
37752
37753 [BZ #5044]
37754 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37755 <rounding-mode.h>.
37756 (__printf_fphex): Determine rounding using get_rounding_mode and
37757 round_away.
37758 * stdio-common/tst-printf-round.c (struct hex_test): New
37759 structure.
37760 (hex_tests): New variable.
37761 (test_hex_in_one_mode): New function.
37762 (do_test): Also run tests for hex float output.
37763
43153109
JM
377642012-09-21 Joseph Myers <joseph@codesourcery.com>
37765
37766 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37767 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37768 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37769 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37770 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37771 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37772 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37773 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37774
8a26625d
JM
377752012-09-20 Joseph Myers <joseph@codesourcery.com>
37776
37777 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37778 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37779 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37780 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37781
f3fd569c
DL
377822012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37783
37784 [BZ #14579]
37785 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37786 mode only.
37787 * elf/tst-rtld-load-self.sh: New test.
37788 * elf/Makefile: Run it.
37789
63bbedd4
JM
377902012-09-18 Joseph Myers <joseph@codesourcery.com>
37791
37792 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37793 (tst-writev-ENV): Remove.
37794 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37795
626f8b6a
CM
377962012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37797
37798 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37799
b7aaa4d6
JM
378002012-09-17 Joseph Myers <joseph@codesourcery.com>
37801
37802 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37803 unconditional.
37804 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37805 Likewise.
37806 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37807 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37808 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37809 Likewise.
37810
65513990
L
378112012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37812
37813 [BZ #14587]
37814 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37815 * config.make.in (have-cpp-asm-debuginfo): Removed.
37816 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37817 * configure: Regenerated.
37818
784761be
JM
378192012-09-14 Joseph Myers <joseph@codesourcery.com>
37820
37821 [BZ #5044]
37822 * stdio-common/printf_fp.c: Include <stdbool.h> and
37823 <rounding-mode.h>.
37824 (___printf_fp): Determine rounding using get_rounding_mode and
37825 round_away.
37826 * stdio-common/tst-printf-round.c: New file.
37827 * stdio-common/Makefile (tests): Add tst-printf-round.
37828 (link-libm): New variable.
37829 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37830
9503345f
L
378312012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37832
37833 [BZ #14576]
37834 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37835 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37836 Likewise.
37837 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37838 Likewise.
37839
ad35fc00
JM
378402012-09-13 Joseph Myers <joseph@codesourcery.com>
37841
37842 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37843 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37844 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37846
6c9b0f68
JM
378472012-09-12 Joseph Myers <joseph@codesourcery.com>
37848
37849 [BZ #14518]
37850 * include/rounding-mode.h: New file.
37851 * sysdeps/generic/get-rounding-mode.h: Likewise.
37852 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37853 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37854 (MAX_VALUE): New macro.
37855 (MIN_VALUE): Likewise.
37856 (overflow_value): New function.
37857 (underflow_value): Likewise.
37858 (round_and_return): Use overflow_value and underflow_value to
37859 determine return values in overflow and underflow cases. Use
37860 round_away to determine rounding depending on rounding mode.
37861 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37862 determine return values in overflow and underflow cases.
37863 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37864 (struct test_results): New structure.
37865 (struct test): Use struct test_results to store expected results
37866 for all rounding modes.
37867 (TEST): Include expected results for all rounding modes.
37868 (test_in_one_mode): New function.
37869 (do_test): Use test_in_one_mode to compute and check results.
37870 Check results for all rounding modes.
37871 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37872 $(link-libm).
37873
19fcedd5
AM
378742012-12-09 Allan McRae <allan@archlinux.org>
37875
1e9d84cd 37876 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37877
8bbfd2f1
JM
378782012-09-11 Joseph Myers <joseph@codesourcery.com>
37879
37880 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37881 (_G_int32_t): Likewise.
37882 (_G_uint16_t): Likewise.
37883 (_G_uint32_t): Likewise.
37884 (_G_HAVE_BOOL): Likewise.
37885 (_G_HAVE_ATEXIT): Likewise.
37886 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37887 (_G_HAVE_IO_FILE_OPEN): Likewise.
37888 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37889 (_G_int32_t): Likewise.
37890 (_G_uint16_t): Likewise.
37891 (_G_uint32_t): Likewise.
37892 (_G_HAVE_BOOL): Likewise.
37893 (_G_HAVE_ATEXIT): Likewise.
37894 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37895 (_G_HAVE_IO_FILE_OPEN): Likewise.
37896 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37897 (_G_int32_t): Likewise.
37898 (_G_uint16_t): Likewise.
37899 (_G_uint32_t): Likewise.
37900 (_G_HAVE_BOOL): Likewise.
37901 (_G_HAVE_ATEXIT): Likewise.
37902 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37903 (_G_HAVE_IO_FILE_OPEN): Likewise.
37904
b1dc5912
L
379052012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37906
37907 * csu/libc-tls.c: Update copyright years.
37908
0e886ef9
JM
379092012-09-10 Joseph Myers <joseph@codesourcery.com>
37910
28361c5e
JM
37911 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37912 [!_G_USING_THUNKS]: Remove conditional code.
37913 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37914 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37915
0e886ef9
JM
37916 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37917 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37918 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37919 (_G_VTABLE_LABEL_PREFIX): Likewise.
37920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37921 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37922 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37923 (_G_VTABLE_LABEL_PREFIX): Likewise.
37924 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37925 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37926 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37927 (_G_VTABLE_LABEL_PREFIX): Likewise.
37928 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37929
bcba7aa2
L
379302012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37931
37932 * libio/Makefile: Include ../Makeconfig before tests.
37933 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37934 only if $(build-shared) is yes.
37935
06585ee8
L
37936 * iconv/gconv_db.c: Update copyright years.
37937
80ccd52c
LD
379382012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37939
37940 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37941 unwind info if defined PIC. Fix special cases description.
37942 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37943
37944 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37945 DP_HI_MASK entry.
37946 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37947
691bc9c1
L
379482012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37949
3d9b46b3
L
37950 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37951
de2139a9
L
37952 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37953 is NULL.
37954
5ca78dd0
L
37955 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37956 (LDLIBS-tst-chk4): This.
37957 (LDFLAGS-tst-chk5): Renamed to ...
37958 (LDLIBS-tst-chk5): This.
37959 (LDFLAGS-tst-chk6): Renamed to ...
37960 (LDLIBS-tst-chk6): This.
37961 (LDFLAGS-tst-lfschk4): Renamed to ...
37962 (LDLIBS-tst-lfschk4): This.
37963 (LDFLAGS-tst-lfschk5): Renamed to ...
37964 (LDLIBS-tst-lfschk5): This.
37965 (LDFLAGS-tst-lfschk6): Renamed to ...
37966 (LDLIBS-tst-lfschk6): This.
37967
691bc9c1
L
37968 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37969 on $(common-objpfx)soversions.mk.
37970
65cafb1c
JM
379712012-09-07 Joseph Myers <joseph@codesourcery.com>
37972
37973 [BZ #10014]
37974 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37975 example host name.
37976
c78ab094
SP
379772012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37978
37979 * malloc/arena.c (arena_get_retry): New function that gets
37980 another arena for the caller to try its request on.
37981 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37982 current arena cannot fulfill the request.
37983 (__libc_memalign): Likewise.
37984 (__libc_memalign): Likewise.
37985 (__libc_pvalloc): Likewise.
37986 (__libc_calloc): Likewise.
37987
01f49f59
JT
379882012-09-05 John Tobey <john.tobey@gmail.com>
37989
37990 [BZ #13542]
37991 * manual/arith.texi (Operations on Complex): Fix description
37992 of carg branch cut.
37993
4c23fed5
JM
379942012-09-06 Joseph Myers <joseph@codesourcery.com>
37995
1d3c8572
JM
37996 [BZ #10014]
37997 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37998 host name.
37999
4c23fed5
JM
38000 [BZ #10038]
38001 * manual/memory.texi (Memory): Make order of menu items match
38002 order of sections.
38003
04570aaa
L
380042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38005
38006 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38007 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38008 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38009
b80af2f4
L
380102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38011
38012 * csu/libc-tls.c (static_dtv): Renamed to ...
38013 (_dl_static_dtv): This. Make it global.
38014 (_dl_initial_dtv): Removed.
38015 (__libc_setup_tls): Updated.
38016 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38017 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38018 DL_INITIAL_DTV.
38019
2abe9f15
PM
380202012-09-06 Petr Machata <pmachata@redhat.com>
38021
38022 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38023 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38024 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38025 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38026
0948c3af
L
380272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38028
38029 [BZ #14545]
38030 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38031 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38032 freeing dtv[-1].
38033
a5055ad1
L
380342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38035
38036 [BZ #14544]
38037 * Makeconfig (link-static-before-libc): Replace $(+prector)
38038 with $(+prectorT).
38039 (link-static-after-libc): Replace $(+postctor) with
38040 $(+postctorT).
38041 (link-bounded): Replace $(+prector)/$(+postctor) with
38042 $(+prectorT)/$(+postctorT).
38043 (+prectorT): New macro.
38044 (+postctorT): Likewise.
38045
ed8c2ecd
JM
380462012-09-06 Joseph Myers <joseph@codesourcery.com>
38047
38048 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38049 (round_str): Handle values above the maximum for IBM long double
38050 as inexact.
38051 * stdlib/tst-strtod-round.c (tests): Regenerated.
38052
14c996c8
AK
380532012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38054
38055 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38056 assembler flag.
38057 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38058 zarch_nohighgprs around the zarch optimized routines.
38059 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38060 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38062 for zarch.
38063
430d6ce6
DM
380642012-09-05 David S. Miller <davem@davemloft.net>
38065
38066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38067
57f41c40
AS
38068 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38069 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38070 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38071 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38072 entries.
38073
24d4e01b
AO
380742012-09-05 Alexandre Oliva <aoliva@redhat.com>
38075
38076 * malloc/arena.c: Fold copyright years.
38077 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38078
61d58174
AO
380792012-09-05 Alexandre Oliva <aoliva@redhat.com>
38080
38081 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38082
20196a5e
AO
380832012-09-05 Alexandre Oliva <aoliva@redhat.com>
38084
38085 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38086
5c447383
AO
380872012-09-05 Alexandre Oliva <aoliva@redhat.com>
38088
38089 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38090 change internal state upon failure.
38091
fad64255
AO
380922012-09-05 Alexandre Oliva <aoliva@redhat.com>
38093
38094 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38095 * malloc/memusage.c (mmap): Likewise.
38096 (mmap64, mremap): Likewise. Adjust name in comment.
38097
1ffb8c90
SP
380982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38099
38100 * libio/fileops.c: Fix typos in comments.
38101 * libio/oldfileops.c: Likewise.
38102 * libio/wfileops.c: Likewise.
38103
6ef9cc37
SP
381042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38105
38106 [BZ #1349]
38107 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38108 (tst-malloc-usable-ENV): Set environment for test case.
38109 * malloc/hooks.c (malloc_check_get_size): New function to get
38110 requested size.
38111 * malloc/malloc.c (musable): Use malloc_check_get_size.
38112 * malloc/tst-malloc-usable.c: New test case.
38113
4d038ae3
AS
381142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38115
38116 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38117
c4e85184
AM
381182012-09-05 Allan McRae <allan@archlinux.org>
38119
b9dafc56 38120 [BZ #13966]
c4e85184
AM
38121 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38122 determine header location.
38123 * configure: Regenerated.
38124
e1343020
AS
381252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38126
38127 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38128 float format.
38129 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38130 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38131 format.
e1343020
AS
38132 (test): Regenerate.
38133
0a9f1987
DM
381342012-09-04 David S. Miller <davem@davemloft.net>
38135
38136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38138 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38139
29237804
FW
381402012-09-04 Florian Weimer <fweimer@redhat.com>
38141
38142 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38143 failures.
38144
edb3cb88
FW
38145 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38146
60160d83
JM
381472012-09-04 Joseph Myers <joseph@codesourcery.com>
38148
38149 [BZ #9914]
38150 * libio/iogetdelim.c: Include <limits.h>.
38151 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38152 + len + 1 would overflow.
38153
bcd6c8dc
AJ
381542012-09-03 Andreas Jaeger <aj@suse.de>
38155
38156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38157 * sysdeps/i386/fpu/libm-test-ulps: Update.
38158
4ffffbd2
LD
381592012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38160
38161 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38162 Add s_sinf-sse2, s_conf-sse2.
38163
38164 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38165 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38166 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38167 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38168
38169 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38170 for using routine as __sinf_ia32.
38171 Use macro for function declaration and weak_alias.
38172 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38173 for using routine as __cosf_ia32.
38174 Use macro for function declaration and weak_alias.
38175
38176 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38177 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38178
38179 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38180 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38182
38183 * math/libm-test.inc (cos_test): Add more test cases.
38184 (sin_test): Likewise.
38185 (sincos_test): Likewise.
38186
511fa286
AK
381872012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38188
38189 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38190 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38191 hidden.
38192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38193
5f30cfec
L
381942012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38195
38196 [BZ #14538]
38197 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38198 first element of the GOT.
38199 (elf_machine_load_address): Return the difference between
38200 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38201
0786794f
AM
382022012-09-01 Allan McRae <allan@archlinux.org>
38203
5f30cfec
L
38204 [BZ #13412]
38205 * configure.in (AWK): Require gawk version 3.0 or later.
38206 * configure: Regenerated.
0786794f 38207
26889eac
JM
382082012-09-01 Joseph Myers <joseph@codesourcery.com>
38209
38210 * sysdeps/unix/sysv/linux/kernel-features.h
38211 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38213 [__NR_clock_getres]: Make code unconditional.
38214 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38215 (clock_getcpuclockid): Remove code left unreachable by removal of
38216 conditionals.
38217 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38218 code unconditional.
38219 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38220 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38221 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38222 Make code unconditional.
38223 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38224 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38225 * sysdeps/unix/sysv/linux/clock_settime.c
38226 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38227 conditional code.
38228 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38229 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38230
d22e28b0
L
382312012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38232
38233 [BZ #14476]
38234 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38235 scripts/test-installation.pl.
38236
38237 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38238 and $ld_so_version if it is set.
38239
050af9c4
SP
382402012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38241
38242 [BZ #14516]
38243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38244 failure if reading from procfs failed.
38245 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38246
ad845c0b
JM
382472012-08-27 Joseph Myers <joseph@codesourcery.com>
38248
38249 * sysdeps/unix/sysv/linux/kernel-features.h
38250 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38251 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38252 Remove conditional code.
38253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38254 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38255 Remove conditional code.
38256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38257 * sysdeps/unix/sysv/linux/i386/fxstat.c
38258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38260 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38263 * sysdeps/unix/sysv/linux/i386/lxstat.c
38264 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38266 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38267 Remove conditional code.
38268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38269 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38270 Remove conditional code.
38271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38272 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38273 <kernel-features.h>.
38274 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38275 Remove.
38276 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38277 Remove conditional code.
38278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38279 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38280 Remove conditional.
38281
5dbf56af
MF
382822012-08-27 Mike Frysinger <vapier@gentoo.org>
38283
38284 [BZ #5400]
38285 * NEWS: Add fixed bug number.
38286
d6e70f43
JM
382872012-08-27 Joseph Myers <joseph@codesourcery.com>
38288
7efb4737
JM
38289 [BZ #14519]
38290 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38291 underflowing exponent in case of negative sign.
38292 * stdlib/tst-strtod-round-data: Add more tests.
38293 * stdlib/tst-strtod-round.c (tests): Regenerated.
38294
af92131a
JM
38295 [BZ #3479]
38296 * stdlib/strtod_l.c (NDIG): Remove.
38297 (HEXNDIG): Likewise.
38298 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38299 smallest representable value.
38300 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38301 lie within an exact representation of 1/2 ulp of the result.
38302 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38303 unconditionally.
38304 (TENS_P9_IDX): Define unconditionally.
38305 (TENS_P9_SIZE): Likewise.
38306 (TENS_P10_IDX): Likewise.
38307 (TENS_P10_SIZE): Likewise.
38308 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38309 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38310 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38311 entries for 10^2^13 and 10^2^14.
38312 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38313 (TENS_P13_IDX): Define.
38314 (TENS_P13_SIZE): Likewise.
38315 (TENS_P14_IDX): Likewise.
38316 (TENS_P14_SIZE): Likewise.
38317 (_fpioconst_pow10): Change array size to
38318 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38319 unconditional.
38320 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38321 1024]: Add entries for 10^2^13 and 10^2^14.
38322 [LAST_POW10 > _LAST_POW10]: Remove #error.
38323 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38324 (_fpioconst_pow10): Change array size to
38325 FPIOCONST_POW10_ARRAY_SIZE.
38326 * stdlib/gen-fpioconst.c: New file.
38327 * stdlib/gen-tst-strtod-round.c: Likewise.
38328 * stdlib/tst-strtod-round-data: Likewise.
38329 * stdlib/tst-strtod-round.c: Likewise.
38330 * stdlib/Makefile (tests): Add tst-strtod-round.
38331
d6e70f43
JM
38332 [BZ #14459]
38333 * stdlib/strtod_l.c: Include <stdint.h>.
38334 (NDEBUG): Do not define.
38335 (round_and_return): Change EXPONENT parameter to type intmax_t.
38336 Rearrange calculations to avoid internal overflow possibilities.
38337 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38338 Rearrange calculations to avoid internal overflow possibilities.
38339 Assert that number fits inside MPNSIZE limbs.
38340 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38341 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38342 calculations and add assertions to avoid internal overflow
38343 possibilities. Add casts to avoid signed/unsigned operations.
38344 * stdlib/tst-strtod-overflow.c: New file.
38345 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38346
1f529f7d
MP
383472012-08-25 Marek Polacek <polacek@redhat.com>
38348
38349 * time/time.h: Fix some typos in comments.
38350
59a629f1
RM
383512012-08-23 Roland McGrath <roland@hack.frob.com>
38352
38353 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38354 * posix/tst-rfc3484-2.c: Likewise.
38355 * posix/tst-rfc3484-3.c: Likewise.
38356
d3bafbc9
SM
383572012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38358
38359 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38360 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38361
4efcc022
JM
383622012-08-23 Joseph Myers <joseph@codesourcery.com>
38363
38364 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38365 #include of fxstatat64.c.
38366
3cc3ef96
RM
383672012-08-22 Roland McGrath <roland@hack.frob.com>
38368
f04e2132
RM
38369 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38370 * shadow/getspent_r.c: Likewise.
38371 * shadow/getspnam.c: Likewise.
38372 * shadow/getspnam_r.c: Likewise.
38373 * gshadow/getsgent.c: Likewise.
38374 * gshadow/getsgent_r.c: Likewise.
38375 * gshadow/getsgnam.c: Likewise.
38376 * gshadow/getsgnam_r.c: Likewise.
38377 * inet/getnetbyad.c: Likewise.
38378 * inet/getnetbyad_r.c: Likewise.
38379 * inet/getnetbynm.c: Likewise.
38380 * inet/getnetbynm_r.c: Likewise.
38381 * inet/getnetent.c: Likewise.
38382 * inet/getnetent_r.c: Likewise.
38383 * inet/getproto.c: Likewise.
38384 * inet/getproto_r.c: Likewise.
38385 * inet/getprtent.c: Likewise.
38386 * inet/getprtent_r.c: Likewise.
38387 * inet/getprtname.c: Likewise.
38388 * inet/getprtname_r.c: Likewise.
38389 * inet/getrpcbyname.c: Likewise.
38390 * inet/getrpcbyname_r.c: Likewise.
38391 * inet/getrpcbynumber.c: Likewise.
38392 * inet/getrpcbynumber_r.c: Likewise.
38393 * inet/getrpcent.c: Likewise.
38394 * inet/getrpcent_r.c: Likewise.
38395 * inet/getaliasent.c: Likewise.
38396 * inet/getaliasent_r.c: Likewise.
38397 * inet/getaliasname.c: Likewise.
38398 * inet/getaliasname_r.c: Likewise.
38399 * nscd/getgrgid_r.c: Likewise.
38400 * nscd/getgrnam_r.c: Likewise.
38401 * nscd/gethstbyad_r.c: Likewise.
38402 * nscd/gethstbynm3_r.c: Likewise.
38403 * nscd/getpwnam_r.c: Likewise.
38404 * nscd/getpwuid_r.c: Likewise.
38405 * nscd/getsrvbynm_r.c: Likewise.
38406 * nscd/getsrvbypt_r.c: Likewise.
38407 * nscd/gai.c: Likewise.
38408
c53d909c
RM
38409 * configure.in (build_nscd): New substituted variable, set
38410 by --disable-build-nscd and defaults to $use_nscd.
38411 * configure: Regenerated.
38412 * config.make.in (build-nscd): New substituted variable.
38413 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38414 Change conditional to require [$(build-nscd) = yes] as well.
38415 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38416
3cc3ef96
RM
38417 [BZ# 13696]
38418 * configure.in (use_nscd): New substituted variable, set by
38419 --disable-nscd. If enabled, define USE_NSCD.
38420 * configure: Regenerated.
38421 * config.h.in: Add USE_NSCD.
38422 * config.make.in (use-nscd): New substituted variable.
38423 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38424 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38425 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38426 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38427 (CFLAGS-getgrnam_r.c): Likewise.
38428 (CFLAGS-initgroups.c): Likewise.
38429 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38430 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38431 Variables removed.
38432 * inet/getnetgrent_r.c
38433 (nscd_setnetgrent): New function, broken out of ...
38434 (setnetgrent): ... here. Call it.
38435 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38436 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38437 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38438 * nscd/Makefile (routines, aux): Move definitions after include of
38439 Makeconfig. Conditionalize on [$(use-nscd) != no].
38440 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38441 Conditionalize on [USE_NSCD].
38442 (is_nscd, nscd_init_cb): Likewise.
38443 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38444 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38445 * nss/nss_db/db-init.c: Likewise.
38446 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38447 [USE_NSCD].
38448 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38449 (make_request): Use it.
38450 (cache_valid_p): New function.
38451 (__check_pf): Use it.
38452 * NEWS: Add item for --disable-nscd.
38453
07e51550
DL
384542012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38455
38456 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38457 to support sed >= 4.2.1-20-ga9bf076.
38458 * configure: Regenerated.
38459
35a5b08b
RM
384602012-08-22 Roland McGrath <roland@hack.frob.com>
38461
38462 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38463 Conditionalize whole body on [IREL].
38464
8479f23a
JL
384652012-08-22 Jeff Law <law@redhat.com>
38466
38467 [BZ #14505]
38468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38469 if the family is PF_UNSPEC.
38470
48da0b21
MF
384712012-08-22 Mike Frysinger <vapier@gentoo.org>
38472
38473 * Makerules (lib-version): Rename from V.
38474 (install-lib-nosubdir): Change V to lib-version.
38475
15d0da8c
WS
384762012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38477
38478 [BZ #14252]
38479 * powerpc32/power6/wcschr.c: New file.
38480 * powerpc32/power6/wcscpy.c: New file.
38481 * powerpc32/power6/wcsrchr.c: New file.
38482 * powerpc64/power6/wcschr.c: New file.
38483 * powerpc64/power6/wcscpy.c: New file.
38484 * powerpc64/power6/wcsrchr.c: New file.
38485
bcca0895
MK
384862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38487
38488 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38489 (two_way_short_needle): Use it.
5a4aaa33
RM
38490 * string/strstr.c (AVAILABLE1_USES_J): Define.
38491 * string/strcasestr.c: Likewise.
99677e57
MK
38492
38493 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38494 array references.
38495 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38496
400726de
MK
38497 [BZ #11607]
38498 * NEWS: Add an entry.
38499 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38500 define their defaults.
38501 (two_way_short_needle): Detect end-of-string on-the-fly.
38502 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38503 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38504 * string/bug-strcasestr1.c: New test.
38505 * string/Makefile: Run it.
38506
20a71f2c
MK
385072012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38508
38509 [BZ #11607]
38510 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38511 the first character.
38512
21ad0558
RM
385132012-08-21 Roland McGrath <roland@hack.frob.com>
38514
38515 * csu/elf-init.c (__libc_csu_irel): Function removed.
38516 * csu/libc-start.c (apply_irel): New function.
38517 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38518
0e1d9911
JM
385192012-08-21 Joseph Myers <joseph@codesourcery.com>
38520
38521 * sysdeps/unix/sysv/linux/kernel-features.h
38522 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38523 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38524 <kernel-features.h>.
38525 [__NR_fadvise64_64]: Make code unconditional.
38526 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38527 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38528 !__NR_fadvise64_64)]: Likewise.
38529 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38530 !__NR_fadvise64_64))]: Likewise.
38531 [__NR_fadvise64]: Make code unconditional.
38532 [!__NR_fadvise64]: Remove conditional code.
38533 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38534 <kernel-features.h>.
38535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38536 unconditional.
38537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38538 conditional code.
38539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38540 not include <kernel-features.h>.
38541 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38542 unconditional.
38543 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38544 conditional code.
38545 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38546 include <kernel-features.h>.
38547 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38548 unconditional.
38549 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38550 conditional code.
38551
14a50c9d
WS
385522012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38553
38554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38555 slight instruction rearrangements per scrollpipe analysis.
38556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38557
c0f4faf0
RM
385582012-08-20 Roland McGrath <roland@hack.frob.com>
38559
696da859
RM
38560 * manual/syslog.texi (syslog; vsyslog, closelog):
38561 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38562 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38563
c0f4faf0
RM
38564 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38565 DSOCAPS to match condition on defining it.
38566
348363b2
JM
385672012-08-20 Joseph Myers <joseph@codesourcery.com>
38568
a35cbf28
JM
38569 * sysdeps/unix/sysv/linux/kernel-features.h
38570 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38578 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38579 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38580
445f7ecd
JM
38581 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38582 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38583
348363b2
JM
38584 * sysdeps/unix/sysv/linux/kernel-features.h
38585 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38586 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38587 unconditional.
38588 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38589 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38590 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38591 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38592 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38593 Make code unconditional.
38594 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38595 (__mmap64) [!__NR_mmap2]: Likewise.
38596 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38597 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38598 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38600 [__NR_mmap2]: Make code unconditional.
38601 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38602 (__mmap64) [!__NR_mmap2]: Likewise.
38603
bc5bc0e5
AK
386042012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38605
38606 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38607
88d506de
AJ
386082012-08-18 Andreas Jaeger <aj@suse.de>
38609
38610 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38611
493387d2
MF
386122012-08-18 Mike Frysinger <vapier@gentoo.org>
38613
38614 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38615 * include/unistd.h (__have_sock_cloexec): Likewise.
38616 (__have_pipe2): Likewise.
38617 (__have_dup3): Likewise.
38618
a277af22
MF
386192012-08-18 Mike Frysinger <vapier@gentoo.org>
38620
38621 [BZ #9685]
38622 * include/unistd.h (__have_pipe2): Change define into an extern int.
38623 (__have_dup3): Likewise.
38624 * socket/have_sock_cloexec.c: Include fcntl.h.
38625 (__have_pipe2): New variable.
38626 (__have_dup3): Likewise.
38627
fdab8fd3
MF
386282012-08-17 Mike Frysinger <vapier@gentoo.org>
38629
38630 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38631
31035e80
MP
386322012-08-17 Marek Polacek <polacek@redhat.com>
38633
38634 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38635 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38636
3bd9e993
RM
386372012-08-17 Roland McGrath <roland@hack.frob.com>
38638
c91c505f
RM
38639 * configure.in: Add AC_SUBST for sysheaders.
38640 * configure: Regenerated.
38641 * config.make.in (sysheaders): New substituted variable.
38642
7c6f9d53
RM
38643 * sysdeps/unix/mkfifo.c: Moved ...
38644 * sysdeps/posix/mkfifo.c: ... here.
38645 * sysdeps/unix/mkfifoat.c: Moved ...
38646 * sysdeps/posix/mkfifoat.c: ... here.
38647
38648 * sysdeps/unix/utime.c: Moved ...
38649 * sysdeps/posix/utime.c: ... here.
38650
38651 * sysdeps/unix/time.c: Moved ...
38652 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38653 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38654 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38655
38656 * sysdeps/unix/nice.c: Moved ...
38657 * sysdeps/posix/nice.c: ... here.
38658
38659 * sysdeps/unix/alarm.c: Moved ...
38660 * sysdeps/posix/alarm.c: ... here.
38661
3bd9e993
RM
38662 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38663
d1f09384
JL
386642012-08-17 Jeff Law <law@redhat.com>
38665
38666 * intl/Makefile (codeset_mo): New variable.
38667 ($(codeset_mo)): New target.
38668 (tst-codeset.out): Depend on that. Remove explicit rule.
38669 (tst-gettext3.out, tst-gettext5.out): Likewise.
38670 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38671 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38672 * intl/tst-codeset.sh: Remove.
38673 * intl/tst-gettext3.sh: Likewise.
38674 * intl/tst-gettext5.sh: Likewise.
38675
2ae1ae5c
RM
386762012-08-17 Roland McGrath <roland@hack.frob.com>
38677
c31fdb83
RM
38678 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38679 * sysdeps/unix/syscalls.list: ... here.
38680
a0844057
RM
38681 * sysdeps/posix/getaddrinfo.c
38682 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38683 (gaiconf_init, gaiconf_reload): Use them.
38684 [!_STATBUF_ST_NSEC]
38685 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38686 Define using time_t rather than struct timespec.
38687
750c1f2a
RM
38688 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38689 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38690 Macros removed.
38691 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38692 [!NO_THREADS].
38693 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38694 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38695 Likewise.
38696
2ae1ae5c
RM
38697 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38698 __libc_cleanup_push argument.
38699
e66a42f5
RM
38700 * bits/param.h: New file.
38701 * misc/sys/param.h: New file.
38702 * include/sys/param.h: New file.
38703 * misc/Makefile (headers): Add bits/param.h.
38704 * sysdeps/generic/sys/param.h: File removed.
38705 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38706 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38707 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38708 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38709
b7c08a66
RM
38710 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38711 last change.
38712
b2e1c562
RM
38713 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38714 [_IO_MTSAFE_IO].
38715 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38716 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38717 New macros.
38718
c75ccd4c
RM
38719 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38720 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38721 rather than -D_IO_MTSAFE_IO conditionally.
38722 * stdio-common/Makefile (CPPFLAGS): Likewise.
38723 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38724 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38725 Use $(libio-mtsafe).
38726 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38727 of -D_IO_MTSAFE_IO.
38728 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38729 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38730 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38731 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38732 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38733 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38734 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38735 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38736 (CFLAGS-fread_u_chk.c): Likewise.
38737 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38738 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38739 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38740 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38741 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38742 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38743 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38744 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38745 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38746
38747 * libio/Makefile: Test [$(libc-reentrant) = yes]
38748 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38749
38750 * Makeconfig
38751 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38752 * sysdeps/pthread/configure: File removed.
38753 * sysdeps/pthread/Makeconfig: New file.
38754 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38755 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38756
d9195db8
GB
387572012-08-16 Gary Benson <gbenson@redhat.com>
38758
38759 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38760 unmapping the first object in a namespace.
38761
86466cd9
RM
387622012-08-16 Roland McGrath <roland@hack.frob.com>
38763
38764 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38765 (__internal_setnetgrent): ... this. Add internal_function to
38766 definition. Add libc_hidden_def.
38767 (setnetgrent): Update caller.
38768 (internal_endnetgrent): Renamed to ...
38769 (__internal_endnetgrent): ... this. Add internal_function to
38770 definition. Add libc_hidden_def.
38771 (endnetgrent): Update caller.
38772 (internal_getnetgrent_r): Renamed to ...
38773 (__internal_getnetgrent_r): ... this. Add internal_function to
38774 definition. Add libc_hidden_def.
38775 (__getnetgrent_r): Update caller.
38776 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38777
c3c8283c
JM
387782012-08-16 Joseph Myers <joseph@codesourcery.com>
38779
38780 * stdlib/longlong.h: Update from GCC.
38781
db1ee0a8
RM
387822012-08-16 Roland McGrath <roland@hack.frob.com>
38783
38784 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38785 on _QL, which is set by umul_ppmm but never used.
38786 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38787 variables, which are set by GMP macros but never used.
38788 * stdio-common/_itowa.c (_itowa): Likewise.
38789 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38790 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38791
30f69637
CD
387922012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38793
38794 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38795 struct La_sh_regs is not constant.
38796 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38797 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38798 and struct La_sparc64_regs are not constant.
38799
93a78ac4
JM
388002012-08-16 Joseph Myers <joseph@codesourcery.com>
38801
38802 * sysdeps/unix/sysv/linux/kernel-features.h
38803 (__ASSUME_POSIX_TIMERS): Remove.
38804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38806 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38807 Make code unconditional.
38808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38809 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38810 Make code unconditional.
38811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38812 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38813 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38815 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38816 Make code unconditional.
38817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38818 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38819 (__libc_missing_posix_timers): Remove.
38820
dd924cd7
RM
388212012-08-15 Roland McGrath <roland@hack.frob.com>
38822
4b4f2771
RM
38823 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38824 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38825
601c888b
RM
38826 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38827
176790a7
RM
38828 * elf/dl-sym.c: Include <stdlib.h>.
38829
329bc018
RM
38830 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38831 constants, which avoids warnings in 32-bit builds.
38832
e04e272d
RM
38833 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38834 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38835
952bf94a
RM
38836 * misc/lseek.c: File moved to ...
38837 * io/lseek.c: ... here.
38838
7c99b50a
RM
38839 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38840
dd924cd7
RM
38841 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38842 shifting LEN more than 31 bits at once.
38843
b3f479a8
LD
388442012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38845
38846 [BZ #14195]
8c4ae0d4
RM
38847 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38848 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38849 * string/test-strncasecmp.c (check1): Renamed to...
38850 (bz12205): ...this.
38851 (bz14195): Add new testcase for two empty input strings and N > 0.
38852 (test_main): Call new testcase, adapt for renamed function.
38853
9c55864e
AJ
388542012-08-15 Andreas Jaeger <aj@suse.de>
38855
38856 [BZ #14090]
38857 * crypt/md5test2.c: New test, based on test supplied by Serge
38858 Belyshev <belyshev@depni.sinp.msu.ru>.
38859 * crypt/Makefile (xtests): Add md5test-giant..
38860 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38861
02dcb6c5
PE
388622012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38863
38864 [BZ #14090]
38865 * crypt/md5.c (md5_process_block): Don't assume the buffer
38866 length is less than 2**32.
38867 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38868 length is less than 2**64.
38869
a3f95dcc
RM
388702012-08-15 Roland McGrath <roland@hack.frob.com>
38871
be75d758
RM
38872 * string/str-two-way.h: Include <sys/param.h>.
38873 (MAX): Macro removed.
38874
7312ca90
RM
38875 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38876 Move #define and #undef of memmove to just before and after
38877 including <string.h>.
38878
9a0a5486
RM
38879 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38880 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38881 and after including <string.h>. Move declarations of
38882 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38883 to before #include "string/memmove.c".
38884
67cc348d
RM
38885 * include/dirent.h: Declare __getdirentries.
38886
a3f95dcc
RM
38887 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38888 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38889
ca98e171
MF
388902012-08-14 Mike Frysinger <vapier@gentoo.org>
38891
38892 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38893 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38894 * sysdeps/i386/configure: Regenerated.
38895 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38896 STABS_CURRENT_FILE, and STABS_FUN.
38897 (END): Remove call to STABS_FUN_END.
38898 (STABS_CURRENT_FILE1): Delete.
38899 (STABS_CURRENT_FILE): Likewise.
38900 (STABS_FUN): Likewise.
38901 (STABS_FUN_END): Likewise.
38902 (STABS_FUN2): Likewise.
38903 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38904 * sysdeps/x86_64/configure: Regenerated.
38905
5908bf46
RM
389062012-08-14 Roland McGrath <roland@hack.frob.com>
38907
38908 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38909 * elf/dl-lookup.c: Likewise.
5908bf46 38910
f2c05b9e
JM
389112012-08-14 Joseph Myers <joseph@codesourcery.com>
38912
38913 * sysdeps/unix/sysv/linux/kernel-features.h
38914 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38915 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38916 unconditionally.
38917 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38918 unconditionally.
38919 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38920 condition on __ASSUME_CLONE_THREAD_FLAGS.
38921
e11f5155
AJ
389222012-08-14 Andreas Jaeger <aj@suse.de>
38923
38924 * sysdeps/i386/fpu/libm-test-ulps: Update.
38925
51a9ba86
MK
389262012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38927
2fdd4f78
AJ
38928 * include/atomic.h (atomic_exchange_and_add): Split into ...
38929 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38930 New atomic macros.
51a9ba86 38931
ba6cba9e
MT
389322012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38933
38934 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38935
42443a47
JL
389362012-08-13 Jeff Law <law@redhat.com>
38937
38938 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38939 null byte in the output string.
38940
121dce05
JM
389412012-08-10 Joseph Myers <joseph@codesourcery.com>
38942
38943 * sysdeps/unix/sysv/linux/kernel-features.h
38944 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38945 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38946 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38947 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38948 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38949 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38950 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38951
bf51f568
JL
389522012-08-09 Jeff Law <law@redhat.com>
38953
38954 [BZ #13939]
38955 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38956 When avoid_arena is set, don't retry in the that arena. Pick the
38957 next one, whatever it might be.
38958 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38959 (arena_lock): Pass in new parameter to arena_get2.
38960 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38961 arena_get2.
38962 (__libc_malloc): Unify retrying after main arena failure with
38963 __libc_memalign version.
38964 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38965
f85fa270
L
389662012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38967
38968 [BZ #14166]
38969 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38970 to __redirect_strstr.
38971 (__strstr_sse42): Use typeof __redirect_strstr.
38972 (__strstr_ia32): Likewise.
38973 (__libc_strstr): New prototype.
38974 (strstr): Renamed to ...
38975 (__libc_strstr): This.
38976 (strstr): New strong alias of __libc_strstr.
38977 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38978 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38979 __redirect_time.
38980 Include <time.h>.
38981 (__libc_time): New prototype.
38982 (time_ifunc): Replace time with __libc_time.
38983 (time): New strong alias and hidden definition of __libc_time.
38984 (__GI_time): Remove strong alias.
38985 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38986 Include <stddef.h>.
38987 (memmove): Redefined to __redirect_memmove.
38988 (__memmove_sse2): Use typeof __redirect_memmove.
38989 (__memmove_ssse3): Likewise.
38990 (__memmove_ssse3_back): Likewise.
38991 (__libc_memmove): New prototype.
38992 (memmove): Renamed to ...
38993 (__libc_memmove): This.
38994 (memmove): New strong alias of __libc_memmove.
38995
33b4a91e
MS
389962012-08-08 Mark Salter <msalter@redhat.com>
38997
38998 * elf/elf.h
38999 (R_MN10300_TLS_GD): Define.
39000 (R_MN10300_TLS_LD): Likewise.
39001 (R_MN10300_TLS_LDO): Likewise.
39002 (R_MN10300_TLS_GOTIE): Likewise.
39003 (R_MN10300_TLS_IE): Likewise.
39004 (R_MN10300_TLS_LE): Likewise.
39005 (R_MN10300_TLS_DTPMOD): Likewise.
39006 (R_MN10300_TLS_DTPOFF): Likewise.
39007 (R_MN10300_TLS_TPOFF): Likewise.
39008 (R_MN10300_SYM_DIFF): Likewise.
39009 (R_MN10300_ALIGN): Likewise.
39010 (R_MN10300_NUM): Update.
39011
b36137f1
JM
390122012-08-08 Joseph Myers <joseph@codesourcery.com>
39013
39014 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39015 Remove.
39016
cdd915fd
RM
390172012-08-08 Roland McGrath <roland@hack.frob.com>
39018
a2433aac
RM
39019 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39020
cdd915fd
RM
39021 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39022 sysdeps/unix -> sysdeps/posix move.
39023 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39024
bf9b740a
AM
390252012-08-07 Allan McRae <allan@archlinux.org>
39026
39027 [BZ #14303]
39028 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39029 (SUNOS_CPP): Likewise.
39030 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39031 not found.
39032 (open_input): Call CPP using execvp.
39033
93df14ee
JM
390342012-08-07 Joseph Myers <joseph@codesourcery.com>
39035
39036 * sysdeps/unix/sysv/linux/kernel-features.h
39037 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39038 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39039 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39040 (__ASSUME_WAITID_SYSCALL): Likewise.
39041 * sysdeps/unix/sysv/linux/dl-execstack.c
39042 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39043 code unconditional.
39044 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39045 conditional code.
39046 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39047 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39048 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39049 code.
39050 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39051 unconditional.
39052 [__ASSUME_WAITID_SYSCALL]: Likewise.
39053 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39054
d34689de
RM
390552012-08-07 Roland McGrath <roland@hack.frob.com>
39056
a281decc
RM
39057 * sysdeps/unix/closedir.c: Renamed to ...
39058 * sysdeps/posix/closedir.c: ... here.
39059 * sysdeps/unix/dirfd.c: Renamed to ...
39060 * sysdeps/posix/dirfd.c: ... here.
39061 * sysdeps/unix/dirstream.h: Renamed to ...
39062 * sysdeps/posix/dirstream.h: ... here.
39063 * sysdeps/unix/fdopendir.c: Renamed to ...
39064 * sysdeps/posix/fdopendir.c: ... here.
39065 * sysdeps/unix/opendir.c: Renamed to ...
39066 * sysdeps/posix/opendir.c: ... here.
39067 * sysdeps/unix/readdir.c: Renamed to ...
39068 * sysdeps/posix/readdir.c: ... here.
39069 * sysdeps/unix/readdir_r.c: Renamed to ...
39070 * sysdeps/posix/readdir_r.c: ... here.
39071 * sysdeps/unix/rewinddir.c: Renamed to ...
39072 * sysdeps/posix/rewinddir.c: ... here.
39073 * sysdeps/unix/seekdir.c: Renamed to ...
39074 * sysdeps/posix/seekdir.c: ... here.
39075 * sysdeps/unix/telldir.c: Renamed to ...
39076 * sysdeps/posix/telldir.c: ... here.
39077 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39078 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39079 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39080 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39081
22895b47
RM
39082 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39083 * bits/fcntl.h: ... here.
39084
707a53b6
RM
39085 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39086 not 0.
39087 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39088 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39089 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39090 (struct flock): Move l_start, l_len to the beginning.
39091 Use __pid_t for l_pid.
39092 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39093 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39094 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39095 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39096 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39097 [__USE_LARGEFILE64] (struct flock64): New type.
39098 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39099
f0bd3e25
RM
39100 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39101 * bits/dirent.h: ... here.
39102
d34689de
RM
39103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39104 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39105
6dad2c06
JM
391062012-08-07 Joseph Myers <joseph@codesourcery.com>
39107
39108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39109 Change from 2.6.0 to 2.6.16.
39110 * sysdeps/unix/sysv/linux/configure: Regenerated.
39111 * sysdeps/unix/sysv/linux/kernel-features.h
39112 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39113 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39114 version.
39115 (__ASSUME_UTIMES): Likewise.
39116 (__ASSUME_CLONE_STOPPED): Remove.
39117 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39118 architectures, not kernel version.
39119 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39120 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39121 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39122 (__ASSUME_WAITID_SYSCALL): Likewise.
39123 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39124 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39125 * README: State 2.6.16 as minimum Linux kernel version. Do not
39126 refer to older versions.
39127
03af9520
RM
391282012-08-06 Roland McGrath <roland@hack.frob.com>
39129
8e49df1d
RM
39130 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39131 Define alphasort64 as an alias.
39132 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39133 Define versionsort64 as an alias.
39134 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39135 Define scandir64 as an alias.
39136 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39137 Define scandirat64 as an alias.
39138 * dirent/alphasort64.c (alphasort64):
39139 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39140 * dirent/versionsort64.c: Likewise.
39141 * dirent/scandir64.c: Likewise.
39142 * dirent/scandirat64.c: Likewise.
39143 * sysdeps/wordsize-64/alphasort.c: File removed.
39144 * sysdeps/wordsize-64/alphasort64.c: File removed.
39145 * sysdeps/wordsize-64/scandir.c: File removed.
39146 * sysdeps/wordsize-64/scandir64.c: File removed.
39147 * sysdeps/wordsize-64/scandirat.c: File removed.
39148 * sysdeps/wordsize-64/scandirat64.c: File removed.
39149 * sysdeps/wordsize-64/versionsort.c: File removed.
39150 * sysdeps/wordsize-64/versionsort64.c: File removed.
39151 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39152 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39153 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39154 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39155 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39156 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39157 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39158 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39159
39160 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39161 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39162 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39163 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39164 [defined __arch64__ || defined __sparcv9]
39165 (__INO_T_MATCHES_INO64_T): New macro.
39166 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39167 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39168 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39169 * sysdeps/unix/sysv/linux/bits/dirent.h
39170 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39171 (_DIRENT_MATCHES_DIRENT64): New macro.
39172
03af9520
RM
39173 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39174 Define lockf64 as an alias.
39175 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39176 Define fseeko64 as an alias.
39177 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39178 Define ftello64 as an alias.
39179 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39180 Define _IO_fgetpos64 and fgetpos64 as aliases.
39181 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39182 Define _IO_fsetpos64 and fsetpos64 as aliases.
39183 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39184 Conditionalize body on this.
39185 * libio/fseeko64.c: Likewise.
39186 * libio/ftello64.c: Likewise.
39187 * libio/iofgetpos64.c: Likewise.
39188 * libio/iofsetpos64.c: Likewise.
39189 * sysdeps/wordsize-64/lockf.c: File removed.
39190 * sysdeps/wordsize-64/lockf64.c: File removed.
39191 * sysdeps/wordsize-64/fseeko.c: File removed.
39192 * sysdeps/wordsize-64/fseeko64.c: File removed.
39193 * sysdeps/wordsize-64/ftello.c: File removed.
39194 * sysdeps/wordsize-64/ftello64.c: File removed.
39195 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39196 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39197 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39198 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39199 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39200 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39201 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39202 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39203 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39204 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39205 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39206 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39207 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39208 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39209
39210 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39211 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39212 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39213 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39214 [defined __arch64__ || defined __sparcv9]
39215 (__OFF_T_MATCHES_OFF64_T): New macro.
39216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39217 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39219 (__OFF_T_MATCHES_OFF64_T): New macro.
39220
c5757acd
L
392212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39222
39223 * stdlib/secure-getenv.c (__secure_getenv): Replace
39224 GLIBC_2_16 with GLIBC_2_17.
39225
3a31811e
L
392262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39227
39228 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39229 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39230
faa2bccb
DM
392312012-08-03 David S. Miller <davem@davemloft.net>
39232
39233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39234
85fe1997
JM
392352012-08-03 Joseph Myers <joseph@codesourcery.com>
39236
39237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39238 Remove.
39239 (__ASSUME_CORRECT_SI_PID): Likewise.
39240 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39241 (__ASSUME_TMPFS_NAME): Likewise.
39242 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39243 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39244 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39245 (HAVE_AUX_SECURE): Make definition unconditional.
39246 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39247 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39248
4f75b7a0
RM
392492012-08-03 Roland McGrath <roland@hack.frob.com>
39250
39251 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39252 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39253 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39254 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39255 __eloop_threshold instead of SYMLOOP_MAX.
39256
39257 * sysdeps/generic/eloop-threshold.h: New file.
39258 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39259 of MAXSYMLINKS.
39260 * elf/chroot_canon.c (chroot_canon): Likewise.
39261
7aab07e4
JM
392622012-08-03 Joseph Myers <joseph@codesourcery.com>
39263
39264 [BZ #13717]
39265 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39266 Change to 2.6.0 everywhere.
39267 * sysdeps/unix/sysv/linux/configure: Regenerated.
39268 * sysdeps/unix/sysv/linux/kernel-features.h
39269 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39270 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39271 kernel versions.
39272 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39273 (__ASSUME_FUTEX_REQUEUE): Remove.
39274 (__ASSUME_STATFS64): Define unconditionally.
39275 (__ASSUME_AT_SECURE): Likewise.
39276 (__ASSUME_CORRECT_SI_PID): Likewise.
39277 (__ASSUME_TGKILL): Define without depending on kernel version for
39278 i386.
39279 (__ASSUME_UTIMES): Likewise.
39280 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39281 kernel version.
39282 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39283 (__ASSUME_TMPFS_NAME): Likewise.
39284 * README: Update reference to Linux kernel versions.
39285
b67e9372
MP
392862012-08-02 Marek Polacek <polacek@redhat.com>
39287
1f529f7d 39288 [BZ# 14150]
b67e9372
MP
39289 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39290 libc_cv_asm_type_prefix with %.
39291 * configure: Regenerated.
d2441631
RM
39292 * include/libc-symbols.h: Remove comment about
39293 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39294 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39295 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39296 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39297 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39298 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39299 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39300 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39301 * elf/tst-unique2mod1.c: Likewise.
39302 * elf/tst-unique1mod2.c: Likewise.
39303 * elf/tst-unique1mod1.c: Likewise.
39304 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39305 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39306 Replace ASM_TYPE_DIRECTIVE with .type.
39307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39308 * sysdeps/i386/sysdep.h: Likewise.
39309 * sysdeps/x86_64/sysdep.h: Likewise.
39310 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39312 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39313 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39314 * sysdeps/powerpc/powerpc32/sysdep.h:
39315 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39316 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39317 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39318 * sysdeps/i386/fpu/e_powf.S: Likewise.
39319 * sysdeps/i386/fpu/e_expl.S: Likewise.
39320 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39321 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39322 * sysdeps/i386/fpu/e_pow.S: Likewise.
39323 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39324 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39325 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39326 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39327 * sysdeps/i386/fpu/e_log2.S: Likewise.
39328 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39330 * sysdeps/i386/fpu/e_powl.S: Likewise.
39331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39332 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39333 * sysdeps/i386/fpu/e_logl.S: Likewise.
39334 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39335 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39336 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39337 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39338 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39339 * sysdeps/i386/fpu/e_log.S: Likewise.
39340 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39341 * sysdeps/i386/fpu/e_logf.S: Likewise.
39342 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39343 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39344 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39345 * sysdeps/i386/fpu/e_log10.S: Likewise.
39346 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39347 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39348 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39349 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39350 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39351 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39352 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39353 * sysdeps/i386/i686/strtok.S: Likewise.
39354 * sysdeps/i386/i386-mcount.S: Likewise.
39355 * sysdeps/i386/strtok.S: Likewise.
39356 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39357 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39358 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39359 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39360 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39361 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39362 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39363 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39364 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39365 * sysdeps/x86_64/_mcount.S: Likewise.
39366 * sysdeps/x86_64/strtok.S: Likewise.
39367 * sysdeps/sh/_mcount.S: Likewise.
39368
2747bf9a
RM
393692012-08-01 Roland McGrath <roland@hack.frob.com>
39370
39371 * libio/iofopen.c: Include <fcntl.h>.
39372 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39373 (_IO_fopen64, fopen64): Define as aliases.
39374 * libio/iofopen64.c: Include <fcntl.h>.
39375 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39376 Conditionalize body on this.
39377 * sysdeps/wordsize-64/iofopen.c: File removed.
39378 * sysdeps/wordsize-64/iofopen64.c: File removed.
39379
3fb791b8
MP
393802012-08-01 Marek Polacek <polacek@redhat.com>
39381
39382 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39383 Use dlfcn directly instead of a variable.
39384 (binfmt-subdir): Do not define.
39385 (dlfcn): Likewise.
39386
a9f1039f
JM
393872012-08-01 Joseph Myers <joseph@codesourcery.com>
39388
23bddc06
JM
39389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39390 Remove all definitions.
39391 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39392 <kernel-features.h>.
39393 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39394 (miss_F_GETOWN_EX): Remove all definitions.
39395 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39396 macro definition.
39397 [!__ASSUME_FCNTL64]: Remove conditional code.
39398 [__ASSUME_FCNTL64]: Make code unconditional.
39399 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39400 <kernel-features.h>.
39401 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39402 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39403 (lockf64) [__NR_fcntl64]: Make code unconditional.
39404 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39405
a9f1039f
JM
39406 * sysdeps/unix/sysv/linux/kernel-features.h
39407 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39408 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39409 Make code unconditional.
39410 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39411 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39413 [__NR_vfork]: Make code unconditional.
39414 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39415 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39417 [__NR_vfork]: Make code unconditional.
39418 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39419 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39420
09c0ee5f
RM
394212012-08-01 Roland McGrath <roland@hack.frob.com>
39422
48aec5b9
RM
39423 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39424 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39425
cd97c966
RM
39426 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39427 Define mkstemp64 as an alias.
3f55550c
RM
39428 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39429 Define mkstemps64 as an alias.
cd97c966
RM
39430 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39431 Define mkostemp64 as an alias.
b8625cfc
RM
39432 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39433 Define mkostemps64 as an alias.
cd97c966
RM
39434 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39435 Conditionalize body on this.
39436 * misc/mkostemp64.c: Likewise.
b8625cfc 39437 * misc/mkostemps64.c: Likewise.
3f55550c 39438 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39439 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39440 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39441 * sysdeps/wordsize-64/mkostemp.c: File removed.
39442 * sysdeps/wordsize-64/mkstemp.c: File removed.
39443 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39444 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39445 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39447
09c0ee5f
RM
39448 [BZ #14138]
39449 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39450 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39451 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39452 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39453
39454 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39455 compat_symbol macros from <shlib-compat.h> rather than the underlying
39456 default_symbol_version and symbol_version macros, so that DEFAULT
39457 lines in shlib-versions are respected.
39458 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39459
7e66ee51
FW
394602012-08-01 Florian Weimer <fweimer@redhat.com>
39461
39462 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39463 Declare with warn_unused_result.
39464 (setgid, setregid, setegid, setresgid): Likewise.
39465 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39466 Likewise.
39467 * WUR-REPORT: Remove set*id functions.
39468
d2a54255
PT
394692012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39470
39471 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39472
7ecdb005
RM
394732012-07-31 Roland McGrath <roland@hack.frob.com>
39474
b4180a5e 39475 [BZ #10191]
789bd351
RM
39476 * include/sys/socket.h (__libc_accept, __libc_accept4):
39477 Add attribute_hidden.
39478 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39479
40ce302d
RM
39480 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39481 use of PTR_MANGLE.
39482 * inet/getnetgrent_r.c (setup): Likewise.
39483
7ecdb005
RM
39484 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39485
e2eabb2c
DM
394862012-07-31 David S. Miller <davem@davemloft.net>
39487
39488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39489
d0419dbf
JM
394902012-07-31 Joseph Myers <joseph@codesourcery.com>
39491
39492 [BZ #13629]
39493 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39494 value between 1.0 and 2.0 and smaller part has absolute value less
39495 than 1.0.
39496 * math/s_clog10.c (__clog10): Likewise.
39497 * math/s_clog10f.c (__clog10f): Likewise.
39498 * math/s_clog10l.c (__clog10l): Likewise.
39499 * math/s_clogf.c (__clogf): Likewise.
39500 * math/s_clogl.c (__clogl): Likewise.
39501 * math/libm-test.inc (clog_test): Add more tests.
39502 (clog10_test): Likewise.
39503 * sysdeps/i386/fpu/libm-test-ulps: Update.
39504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39505
2bc13872
FW
395062012-07-31 Florian Weimer <fweimer@redhat.com>
39507
39508 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39509 Exit with zero in case no suitable GID is found, and write a
39510 message to standard error.
39511
bea9b193
RM
395122012-07-30 Roland McGrath <roland@hack.frob.com>
39513
39514 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39515 rather than to 1.
39516 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39517 (MAXPATHLEN): Removed.
39518 (NOGROUP, NODEV): New macros.
39519 (setbit, clrbit, isset, isclr): New macros.
39520 (howmany, roundup, powerof2): New macros.
39521 (DEV_BSIZE): New macro.
39522
39523 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39524 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39525
39526 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39527 definition on [!__NO_LONG_DOUBLE_MATH].
39528
39529 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39530 PTR_MANGLE and PTR_DEMANGLE.
39531
39532 * socket/accept4.c (accept4): Rename to __libc_accept4.
39533 Define accept4 as a weak alias.
39534
39535 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39536 on [_DIRENT_HAVE_D_TYPE].
39537 * io/ftw.c (ftw_dir): Likewise.
39538
39539 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39540
39541 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39542
39543 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39544 Use the BSD numbers rather than the arbitrary ones we had.
39545 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39546 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39547 (SIGXCPU, SIGXFSZ): New macros.
39548 (_NSIG): Now 32.
39549
39550 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39551 initializer on [_LIBC_REENTRANT].
39552
39553 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39554 definitions inside [_POSIX_MAPPED_FILES].
39555
39556 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39557
39558 * dirent/opendir.c: Include <fcntl.h>.
39559
39560 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39561 (__libc_getspecific): Likewise.
39562 (__libc_key_create): Likewise.
39563
39564 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39565 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39566 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39567 (tmpfile64): Define as alias.
39568 * sysdeps/wordsize-64/tmpfile.c: File removed.
39569 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39570 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39571 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39572
39573 * stdio-common/vfscanf.c: Include <stdbool.h>.
39574 * nss/makedb.c: Likewise.
39575 * stdio-common/_i18n_number.h: Likewise.
39576 * argp/argp-help.c: Likewise.
39577 * posix/wordexp.c: Likewise.
39578 * sysdeps/posix/spawni.c: Likewise.
39579 * nss/nss_files/files-initgroups.c: Likewise.
39580 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39581 * nss/nss_files/files-initgroups.c: Likewise.
39582 * nss/nss_db/db-netgrp.c: Likewise.
39583 * nss/nss_db/db-initgroups.c: Likewise.
39584 * io/fchmodat.c: Include <sys/stat.h>.
39585
39586 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39587 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39588
39589 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39590 [HAVE_MMAP].
39591
39592 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39593 Add multiple inclusion protection.
39594
e5abc686
DM
395952012-07-27 David S. Miller <davem@davemloft.net>
39596
39597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39598
815e6fa3
GB
395992012-07-27 Gary Benson <gbenson@redhat.com>
39600
39601 [BZ #14298]
39602 * elf/rtld.c: Include <stap-probe.h>.
39603 (dl_main): Added static probes "init_start" and "init_complete".
39604 * elf/dl-load.c: Include <stap-probe.h>.
39605 (lose): Take new parameter "nsid".
39606 Added static probe "map_failed".
39607 (_dl_map_object_from_fd): Pass namespace id to lose.
39608 Added static probe "map_start".
39609 (open_verify): Pass namespace id to lose.
39610 * elf/dl-open.c: Include <stap-probe.h>.
39611 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39612 and "reloc_complete".
39613 * elf/dl-close.c: Include <stap-probe.h>.
39614 (_dl_close_worker): Added static probes "unmap_start" and
39615 "unmap_complete".
39616 * elf/rtld-debugger-interface.txt: New file documenting the above.
39617
9f98c16c
RM
396182012-07-26 Roland McGrath <roland@hack.frob.com>
39619
39620 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39621 rather than a string variable.
39622 * sunrpc/rpc_main.c (h_output): Likewise.
39623 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39624
f3c22df3
PT
396252012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39626
39627 * inet/check_native.c: New file.
39628
3129cfc6
JM
396292012-07-26 Joseph Myers <joseph@codesourcery.com>
39630
da865e95
JM
39631 [BZ #13629]
39632 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39633 if larger part has absolute value 1.0.
39634 * math/s_clog10.c (__clog10): Likewise.
39635 * math/s_clog10f.c (__clog10f): Likewise.
39636 * math/s_clog10l.c (__clog10l): Likewise.
39637 * math/s_clogf.c (__clogf): Likewise.
39638 * math/s_clogl.c (__clogl): Likewise.
39639 * math/libm-test.inc (clog_test): Add more tests.
39640 (clog10_test): Likewise.
39641 * sysdeps/i386/fpu/libm-test-ulps: Update.
39642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39643
3129cfc6
JM
39644 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39645 (pltexit): Likewise.
39646 (La_regs): Likewise.
39647 (La_retval): Likewise.
39648 (int_retval): Likewise.
39649 Update #error for removed macros to refer only to definitions in
39650 tst-audit.h.
39651 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39652 macro.
39653 (pltexit): Likewise.
39654 (La_regs): Likewise.
39655 (La_retval): Likewise.
39656 (int_retval): Likewise.
39657 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39658 macro.
39659 (pltexit): Likewise.
39660 (La_regs): Likewise.
39661 (La_retval): Likewise.
39662 (int_retval): Likewise.
39663 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39664 macro.
39665 (pltexit): Likewise.
39666 (La_regs): Likewise.
39667 (La_retval): Likewise.
39668 (int_retval): Likewise.
39669 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39670 macro.
39671 (pltexit): Likewise.
39672 (La_regs): Likewise.
39673 (La_retval): Likewise.
39674 (int_retval): Likewise.
39675 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39676 macro.
39677 (pltexit): Likewise.
39678 (La_regs): Likewise.
39679 (La_retval): Likewise.
39680 (int_retval): Likewise.
39681 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39682 macro.
39683 (pltexit): Likewise.
39684 (La_regs): Likewise.
39685 (La_retval): Likewise.
39686 (int_retval): Likewise.
39687 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39688 macro definitions in tst-audit.h.
39689 * sysdeps/i386/tst-audit.h: New file.
39690 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39691 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39692 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39693 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39694 * sysdeps/sh/tst-audit.h: Likewise.
39695 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39696 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39697 * sysdeps/x86_64/tst-audit.h: Likewise.
39698
bfc07087
AJ
396992012-07-26 Andreas Jaeger <aj@suse.de>
39700
b1b2aaf8
AJ
39701 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39702 ptrace.
39703
39704 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39705 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39706 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39707 PTRACE_O_MASK.
39708 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39709 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39710 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39711
bfc07087
AJ
39712 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39713 value.
39714
39715 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39716 _sigsys.
39717 (si_call_addr, si_syscall, si_arch): Define new macro.
39718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39719 _sigsys.
39720 (si_call_addr, si_syscall, si_arch): Define new marcro.
39721 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39722 _sigsys.
39723 (si_call_addr, si_syscall, si_arch): Define new macro.
39724 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39725 _sigsys.
39726 (si_call_addr, si_syscall, si_arch): Define new macro.
39727
89b4b02f
JM
397282012-07-25 Joseph Myers <joseph@codesourcery.com>
39729
39730 [BZ #13717]
39731 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39732 Change to 2.4.21 where previously 2.4.1.
39733 * sysdeps/unix/sysv/linux/configure: Regenerated.
39734 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39735 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39736 Linux kernel version.
39737 (__ASSUME_STD_AUXV): Remove.
39738 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39739 kernel version.
39740 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39741 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39742 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39743 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39744 (__ASSUME_NETLINK_SUPPORT): Likewise.
39745 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39746 (__no_netlink_support): Remove conditional definition.
39747 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39748 Remove.
39749 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39750 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39751 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39752 (if_nameindex_ioctl): Remove.
39753 (if_nameindex_netlink): Do not handle __no_netlink_support.
39754 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39755 code.
39756 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39757 Remove conditional code.
39758 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39759 code.
39760 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39761 unconditional.
39762 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39763 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39764 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39765 Remove.
39766 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39767 [!__ASSUME_STD_AUXV]: Remove conditional code.
39768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39769 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39770 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39772 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39773 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39774 code.
39775 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39777 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39778 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39779 conditional code.
39780 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39782 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39783 code.
39784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39785 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39786 conditional code.
39787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39788 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39789 code unconditional.
39790 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39791 conditional code.
39792 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39793 unconditional.
39794 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39795 conditional code.
39796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39797 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39798 unconditional.
39799 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39800 conditional code.
39801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39802 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39803 code unconditional.
39804 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39805 conditional code.
39806 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39807 unconditional.
39808 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39809 conditional code.
39810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39811 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39812 code unconditional.
39813 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39814 conditional code.
39815 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39816 unconditional.
39817 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39818 conditional code.
39819
842a39cd
AS
398202012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39821
39822 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39823 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39824 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39825 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39826 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39827 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39828 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39829 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39830 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39831 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39832 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39833 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39834 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39835 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39836 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39837 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39838 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39839 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39840 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39842 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39843 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39845
84b3fd84
FW
398462012-07-25 Florian Weimer <fweimer@redhat.com>
39847
39848 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39849 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39850 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39851 Introduce __libc_secure_getenv.
0c7936d5
FW
39852 * stdlib/Versions (2.17): Add secure_getenv
39853 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39854 * stdlib/secure-getenv.c: Rename __secure_getenv to
39855 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39856 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39857 * stdlib/tst-secure-getenv.c: New.
39858 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39859 * manual/startup.texi (Environment Access): Document
39860 secure_getenv.
84b3fd84
FW
39861 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39862 __libc_secure_getenv.
39863 * inet/ruserpass.c (ruserpass): Likewise.
39864 * malloc/mtrace.c (mtrace): Likewise.
39865 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39866 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39867 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39868 * sysdeps/posix/tempname.c: Likewise. Evaluate
39869 HAVE_SECURE_GETENV.
39870 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39871 __secure_getenv to __libc_secure_getenv.
84b3fd84 39872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39874 Likewise.
39875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39876 Likewise.
39877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39879 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39880 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39884
56e49b71
JM
398852012-07-25 Joseph Myers <joseph@codesourcery.com>
39886
39887 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39888 (struct La_i86_retval): Likewise.
39889 (struct La_x86_64_regs): Likewise.
39890 (struct La_x86_64_retval): Likewise.
39891 (struct La_x32_regs): Likewise.
39892 (struct La_x32_retval): Likewise.
39893 (struct La_ppc32_regs): Likewise.
39894 (struct La_ppc32_retval): Likewise.
39895 (struct La_ppc64_regs): Likewise.
39896 (struct La_ppc64_retval): Likewise.
39897 (struct La_sh_regs): Likewise.
39898 (struct La_sh_retval): Likewise.
39899 (struct La_s390_32_regs): Likewise.
39900 (struct La_s390_32_retval): Likewise.
39901 (struct La_s390_64_regs): Likewise.
39902 (struct La_s390_64_retval): Likewise.
39903 (struct La_sparc32_regs): Likewise.
39904 (struct La_sparc32_retval): Likewise.
39905 (struct La_sparc64_regs): Likewise.
39906 (struct La_sparc64_retval): Likewise.
39907 (struct audit_ifaces): Remove architecture-specific pltenter and
39908 pltexit members.
39909 * sysdeps/i386/ldsodefs.h: New file.
39910 * sysdeps/powerpc/ldsodefs.h: Likewise.
39911 * sysdeps/s390/ldsodefs.h: Likewise.
39912 * sysdeps/sh/ldsodefs.h: Likewise.
39913 * sysdeps/sparc/ldsodefs.h: Likewise.
39914 * sysdeps/x86_64/ldsodefs.h: Likewise.
39915
354691b7
MP
399162012-07-25 Marek Polacek <polacek@redhat.com>
39917
39918 [BZ #6808]
39919 * math/libm-test.inc (yn_test): Add another test.
39920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39921 to ERANGE when the result is +-Inf.
39922 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39923 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39924 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39925 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39926
bf9e2071
JM
399272012-07-24 Joseph Myers <joseph@codesourcery.com>
39928
39929 * conform/data/time.h-data (NULL): Use macro-constant. Require
39930 equal to 0.
39931 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39932 clock_t.
39933 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39934
57633811
TS
399352012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39936
39937 * configure.in <sysdeps resolving>: Correct printing
39938 Implies_before.
39939 * configure: Regenerate.
39940
c23c33b0
TS
399412012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39942
39943 * math/w_ilogb.c: Include <limits.h>.
39944 * math/w_ilogbl.c: Likewise.
39945
b5982523
JM
399462012-07-20 Joseph Myers <joseph@codesourcery.com>
39947
39948 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39949 va_copy. Document allowing for unavailable va_copy only as
39950 pre-C99 compatibility.
39951 * manual/string.texi (Copying and Concatenation): Use va_copy
39952 instead of __va_copy in concat example.
39953
ac4ea442
PT
399542012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39955
39956 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39957 (__sendto): Use create_address_port. Initialize APORT and deallocate
39958 it if not null.
39959
f98eafbd
PT
39960 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39961 with O_NOLINK passed to __file_name_lookup.
39962
898c7aab
PT
39963 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39964 with O_NOLINK passed to __file_name_lookup.
39965
0ced335a
PT
39966 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39967 negative N or less than NGIDS.
39968
b3404dbd
PT
39969 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39970 type to string_t. Set ERANGE as errno and return it if NAME is not big
39971 enough. Use memcpy instead of strncpy.
39972
0f48659e
JM
399732012-07-20 Joseph Myers <joseph@codesourcery.com>
39974
39975 * elf/Makefile (check-data): Remove.
39976 (localplt.data): New vpath directive.
39977 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39978 instead of $(check-data).
39979 * scripts/data/localplt-generic.data: Move to ...
39980 * sysdeps/generic/localplt.data: ... here.
39981 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39982 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39983 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39985 ... here.
39986 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39988 ... here.
39989 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39991 ... here.
39992 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39994 ... here.
39995 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39997 ... here.
39998 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40000 ... here.
40001
d37cbdaa
AZ
400022012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40003
40004 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40005 PPC32 and PPC64 files.
40006 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40007 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40008
46f85fc2
AK
400092012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40010
40011 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40012 __makecontext_ret to ...
40013 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40014 ... here and call exit if uc_link is NULL. New file.
40015 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40016 __makecontext_ret.S.
40017 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40018 __makecontext_ret to ...
40019 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40020 ... here and call exit if uc_link is NULL. New file.
40021 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40022 __makecontext_ret.S.
40023
08f43f9b
AK
400242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40025
40026 * elf/elf.h (R_390_IRELATIVE): New definition.
40027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40028 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40029 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40031 (elf_machine_lazy_rel): Likewise.
40032 * sysdeps/s390/dl-irel.h: New file.
40033 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40034 * sysdeps/s390/s390-64/memset.S: New asm code.
40035 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40036 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40037 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40038 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40039 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40040 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40041 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40042 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40043 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40044 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40045 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40046 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40047 * sysdeps/s390/s390-32/memset.S: New asm code.
40048 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40049
3b05db33
MP
400502012-07-17 Marek Polacek <polacek@redhat.com>
40051
40052 [BZ #14349]
40053 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40054 * sysdeps/s390/s390-64/configure.in: Likewise.
40055 * sysdeps/sparc/configure.in: Likewise.
40056 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40057 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40058 * sysdeps/i386/configure.in: Likewise.
40059 * sysdeps/x86_64/configure.in: Likewise.
40060 * sysdeps/sh/configure.in: Likewise.
40061 * sysdeps/s390/s390-32/configure: Regenerated.
40062 * sysdeps/s390/s390-64/configure: Likewise.
40063 * sysdeps/x86_64/configure: Likewise.
40064 * sysdeps/sh/configure: Likewise.
40065 * sysdeps/powerpc/powerpc64/configure: Likewise.
40066 * sysdeps/powerpc/powerpc32/configure: Likewise.
40067 * sysdeps/sparc/configure: Likwise.
40068 * sysdeps/i386/configure: Likewise.
40069
a66877c6
MP
40070 * elf/dl-open.c: Comment fixes.
40071
cfc82fd8
JM
400722012-07-17 Joseph Myers <joseph@codesourcery.com>
40073
bd29910a
JM
40074 * Makefile [CXX] (check-data): Remove.
40075 [CXX] (c++-types.data): New vpath directive.
40076 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40077 vpath. Do not allow for C++ type data being missing.
40078 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40079 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40080 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40081 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40082 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40083 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40084 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40086 ... here.
40087 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40089 ... here.
40090 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40092 ... here.
40093 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40095 ... here.
40096 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40098 ... here.
40099 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40101 ... here.
40102 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40103 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40104 ... here.
40105 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40107
cfc82fd8
JM
40108 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40109 definitions to architecture-specific files.
40110 (TLS_IE): Likewise.
40111 (TLS_LD): Likewise.
40112 (TLS_GD): Likewise.
40113 * sysdeps/i386/tls-macros.h: New file.
40114 * sysdeps/powerpc/tls-macros.h: Likewise.
40115 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40116 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40117 * sysdeps/sh/tls-macros.h: Likewise.
40118 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40119 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40120 * sysdeps/x86_64/tls-macros.h: Likewise.
40121
f7db3170
TS
401222012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40123
07cbfc23
TS
40124 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40125 zero value for regular exit case.
40126
f7db3170
TS
40127 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40128 (__start_context): Preserve zero value for regular exit case.
40129
dc97c227
TS
401302012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40131 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40132
40133 * manual/setjmp.texi (setcontext): Clarify normal process
40134 termination when uc_link is the null pointer.
40135 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40136 exit call.
40137
d0cd7d02
AS
401382012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40139
40140 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40141 preprocessor. Test for each exception mask separately.
40142
dd318934
AJ
401432012-07-16 Andreas Jaeger <aj@suse.de>
40144
40145 * po/ru.po: Update from translation team.
40146
8048311a
JM
401472012-07-15 Joseph Myers <joseph@codesourcery.com>
40148
40149 * conform/data/string.h-data (NULL): Use macro-constant. Require
40150 equal to 0.
40151 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40152 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40153 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40154 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40156
b637d46e
AJ
401572012-07-13 Andreas Jaeger <aj@suse.de>
40158
40159 * po/fr.po: Update from translation team.
40160
541428fe
MP
401612012-07-12 Marek Polacek <polacek@redhat.com>
40162
40163 [BZ #14173]
40164 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40165 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40166 loop condition.
40167
ec332e94
JM
401682012-07-12 Joseph Myers <joseph@codesourcery.com>
40169
40170 [BZ #13717]
40171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40172 Change to 2.4.1 where previously 2.4.0.
40173 * sysdeps/unix/sysv/linux/configure: Regenerated.
40174 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40175 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40176 version.
40177 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40178 (__ASSUME_AT_CLKTCK): Remove.
40179 (__ASSUME_AT_PAGESIZE): Likewise.
40180 (__ASSUME_AT_XID): Likewise.
40181 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40182 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40183 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40184 unconditionally.
40185 (HAVE_AUX_PAGESIZE): Likewise.
40186 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40187 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40188 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40189
7b6e99be
JB
401902012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40191
40192 [BZ #14307]
40193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40194 the temporary buffer used to invoke __gethostbyname2_r,
40195 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40196 host_data / struct gaih_addrtuple.
40197 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40198 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40199 header file nss/nsswitch.h.
40200 * nss/nsswitch.h (global scope): Add definition of implementation
40201 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40202 resolv/nss_dns/dns-host.c).
40203
608404eb
AJ
402042012-07-11 Andreas Jaeger <aj@suse.de>
40205
40206 * po/fr.po: Update from translation team.
40207
71220aca
AJ
40208 * po/sv.po: Update from translation team
40209 * po/fr.po: Another update from translation team.
40210
28cfe843
AZ
402112012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40212
40213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40214 for subnormals or multiply small sinh result by itself.
40215 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40217
6b90f981
DM
402182012-07-11 David S. Miller <davem@davemloft.net>
40219
40220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40221
c6825772
AS
402222012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40223
40224 [BZ #14347]
40225 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40226 (INTERNAL_MARK): Shift it here.
40227
7b8e0d49
MP
402282012-07-10 Marek Polacek <polacek@redhat.com>
40229
40230 [BZ #14151]
40231 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40232 libc_cv_asm_global_directive with .globl.
40233 * configure: Regenerated.
40234 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40235 with .globl.
40236 * sysdeps/i386/configure: Regenerated.
40237 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40238 with .globl.
40239 * sysdeps/x86_64/configure: Regenerated.
40240 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40241 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40242 * elf/tst-unique2mod2.c: Likewise.
40243 * elf/tst-unique2mod1.c: Likewise.
40244 * elf/tst-unique1mod2.c: Likewise.
40245 * elf/tst-unique1mod1.c: Likewise.
40246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40247 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40248 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40249 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40250 * sysdeps/mach/sysdep.h: Likewise.
40251 * sysdeps/i386/sysdep.h: Likewise.
40252 * sysdeps/i386/i386-mcount.S: Likewise.
40253 * sysdeps/x86_64/_mcount.S: Likewise.
40254 * sysdeps/x86_64/sysdep.h: Likewise.
40255 * sysdeps/sh/_mcount.S: Likewise.
40256 * sysdeps/sh/sysdep.h: Likewise.
40257 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40258 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40259 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40260 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40261 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40262 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40263 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40264 * locale/localeinfo.h: Likewise.
40265 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40266 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40267
6c55cda3
RM
402682012-07-09 Roland McGrath <roland@hack.frob.com>
40269
40270 [BZ #14336]
40271 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40272 system".
40273 * manual/message.texi (The Uniforum approach): Likewise.
40274 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40275 (glibc iconv Implementation): Likewise.
40276
638a572e
JM
402772012-07-09 Joseph Myers <joseph@codesourcery.com>
40278
40279 [BZ #14337]
40280 * math/s_clog.c (__clog): Avoid scaling a value down where that
40281 could result in underflow.
40282 * math/s_clog10.c (__clog10): Likewise.
40283 * math/s_clog10f.c (__clog10f): Likewise.
40284 * math/s_clog10l.c (__clog10l): Likewise.
40285 * math/s_clogf.c (__clogf): Likewise.
40286 * math/s_clogl.c (__clogl): Likewise.
40287 * math/libm-test.inc (clog_test): Add more tests.
40288 (clog10_test): Likewise.
40289 * sysdeps/i386/fpu/libm-test-ulps: Update.
40290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40291
261f4859
AS
402922012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40293
0abaf3e4
AS
40294 [BZ #14283]
40295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40296 by 7 not 8 to examine high bit of fractional part.
40297
261f4859
AS
40298 [BZ #14042]
40299 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40300 for call to __mcount_internal.
40301 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40302 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40303 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40304
f17ac40d
JM
403052012-07-06 Joseph Myers <joseph@codesourcery.com>
40306
9ad63c23
JM
40307 [BZ #14154]
40308 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40309 approximation for values within 0x1p-13f of an odd multiple of
40310 pi/4.
40311 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40312 exception. Add more tests.
40313 * sysdeps/i386/fpu/libm-test-ulps: Update.
40314
f17ac40d
JM
40315 [BZ #6778]
40316 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40317 inputs and return -1 for them. Do not check for +Inf in case not
40318 reachable for +Inf.
40319 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40320 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40321 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40322 and return -1 for them. Do not check for +Inf in case not
40323 reachable for +Inf.
40324 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40325 define.
40326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40327 and return -1 for them. Do not check for +Inf in case not
40328 reachable for +Inf.
40329 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40330 spurious underflow.
40331 * sysdeps/i386/fpu/libm-test-ulps: Update.
40332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40333
fb21f89b
MF
403342012-07-06 Mike Frysinger <vapier@gentoo.org>
40335
40336 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40337
cdfe2c5e
JM
403382012-07-05 Joseph Myers <joseph@codesourcery.com>
40339
40340 [BZ #14157]
40341 [BZ #14331]
40342 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40343 could result in spurious underflow. Scale down values above
40344 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40345 * math/s_csqrtf.c (__csqrtf): Likewise.
40346 * math/s_csqrtl.c (__csqrtl): Likewise.
40347 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40348 spurious underflow.
40349 * sysdeps/i386/fpu/libm-test-ulps: Update.
40350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40351
70d35b67
AS
403522012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40353
704bc459
AS
40354 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40355 xopen-msg.sed.
40356 * catgets/xopen-msg.awk: New file.
40357 * catgets/xopen-msg.sed: Removed.
40358
70d35b67
AS
40359 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40360 po2text.sed.
40361 * intl/po2test.awk: New file.
40362 * intl/po2test.sed: Removed.
40363
ca61cf32
JM
403642012-07-04 Joseph Myers <joseph@codesourcery.com>
40365
40366 [BZ #14328]
40367 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40368 or multiply small sinh result by itself.
40369 * math/s_ctanf.c (__ctanf): Likewise.
40370 * math/s_ctanh.c (__ctanh): Likewise.
40371 * math/s_ctanhf.c (__ctanhf): Likewise.
40372 * math/s_ctanhl.c (__ctanhl): Likewise.
40373 * math/s_ctanl.c (__ctanl): Likewise.
40374 * math/libm-test.inc (ctan_test_tonearest): New function.
40375 (ctan_test_towardzero): Likewise.
40376 (ctan_test_downward): Likewise.
40377 (ctan_test_upward): Likewise.
40378 (ctanh_test_tonearest): Likewise.
40379 (ctanh_test_towardzero): Likewise.
40380 (ctanh_test_downward): Likewise.
40381 (ctanh_test_upward): Likewise.
40382 (main): Call these new functions.
40383 * sysdeps/i386/fpu/libm-test-ulps: Update.
40384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40385
ca48a46a
MF
403862012-07-03 Mike Frysinger <vapier@gentoo.org>
40387
40388 * .gitignore: Delete /ports entry.
40389
9d63d37d
AJ
403902012-07-03 Andreas Jaeger <aj@suse.de>
40391
40392 * po/bg.po: Update from translation team.
40393 * po/cs.po: Likewise.
40394 * po/de.po: Likewise.
40395 * po/hr.po: Likewise.
40396 * po/nl.pl: Likewise.
40397 * po/pl.po: Likewise.
40398 * po/vi.po: Likewise.
40399
370ca3d2
JM
404002012-07-03 Joseph Myers <joseph@codesourcery.com>
40401
95f5a9a8
JM
40402 * Makeconfig [!+link] (+link-before-libc): New variable.
40403 [!+link] (+link-after-libc): Likewise.
40404 [!+link] (+link-tests): Likewise.
40405 [!+link] (+link): Define in terms of $(+link-before-libc) and
40406 $(+link-after-libc).
40407 [!+link-static] (+link-static-before-libc): New variable.
40408 [!+link-static] (+link-static-after-libc): Likewise.
40409 [!+link-static] (+link-static-tests): Likewise.
40410 [!+link-static] (+link-static): Define in terms of
40411 $(+link-static-before-libc) and $(+link-static-after-libc).
40412 [build-shared] (link-libc-before-gnulib): New variable.
40413 [build-shared] (link-libc-tests): Likewise.
40414 [build-shared] (link-libc): Define in terms of
40415 $(link-libc-before-gnulib).
40416 [!build-shared] (link-libc-tests): New variable.
40417 (link-libc-static-tests): New variable.
40418 [!gnulib] (gnulib-arch): New variable.
40419 [!gnulib] (gnulib-tests): Likewise.
40420 [!gnulib] (static-gnulib-arch): Likewise.
40421 [!gnulib] (static-gnulib-tests): Likewise.
40422 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40423 Define with "=" instead of ":=".
40424 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40425 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40426 * Rules (binaries-all-notests): New variable.
40427 (binaries-all-tests): Likewise.
40428 (binaries-static-notests): Likewise.
40429 (binaries-static-tests): Likewise.
40430 (binaries-all): Define using $(binaries-all-notests) and
40431 $(binaries-all-tests).
40432 (binaries-static): Define using $(binaries-static-notests) and
40433 $(binaries-static-tests).
40434 (binaries-shared-tests): New variable.
40435 (binaries-shared-notests): Likewise.
40436 (binaries-shared): Remove variable.
40437 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40438 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40439 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40440 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40441 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40442 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40443 * elf/Makefile (sln-modules): New variable.
40444 (extra-objs): Add $(sln-modules:=.o).
40445 (ldconfig-modules): Add static-stubs.
40446 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40447 * elf/static-stubs.c: New file.
40448
7a845b2c
JM
40449 [BZ #14283]
40450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40451 by 7 not 8 to examine high bit of fractional part. Use volatile
40452 variables when splitting into final array of floats if
40453 __FLT_EVAL_METHOD__ != 0.
40454 * math/libm-test.inc (cos_test): Add another test.
40455 (sin_test): Likewise.
40456 * sysdeps/i386/fpu/libm-test-ulps: Update.
40457
e2283f38
JM
40458 [BZ #14273]
40459 * math/libm-test.inc (cosh_test): Add more tests.
40460
370ca3d2
JM
40461 * version.h (RELEASE): Set to "development".
40462 (VERSION): Set to "2.16.90".
40463
ee9247c3
CD
404642012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40465
40466 * NEWS: Update copyright. Remove last-updated date.
40467 Mention math library bug fixes and timezone data changes.
40468 * README: Mention GNU/Hurd, x32, and HPPA support status.
40469
4648c381
TS
404702012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40471
40472 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40473
aac78a43
AJ
404742012-06-27 Andreas Jaeger <aj@suse.de>
40475
40476 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40477
ed3dbfad
AJ
404782012-06-25 Andreas Jaeger <aj@suse.de>
40479
40480 * sysdeps/s390/fpu/libm-test-ulps: Update.
40481
4d0ee855
AS
404822012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40483 Thomas Schwinge <thomas@codesourcery.com>
40484
40485 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40486 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40488 fanotify_mark.
40489
af1bce34
TS
404902012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40491
a9fa33ba
TS
40492 * sysdeps/mach/start.c: Remove file.
40493 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40494 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40495 * sysdeps/sh/init-first.c: Likewise.
40496
58f902b8
TS
40497 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40498 registers for frame unwinding purposes, add CFI directives.
40499 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40500 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40501 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40502 Likewise.
40503
1518f58b
TS
40504 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40505 __fortify_fail returning.
40506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40507
db9b5059
TS
40508 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40509 sysdeps/sh/____longjmp_chk.S.
40510 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40511 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40512 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40513 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40514
967705fe
TS
40515 * sysdeps/sh/abort-instr.h: New file.
40516 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40517 process in case exit returns.
40518
a9def8c4
TS
40519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40520 initialize the GOT register before use.
40521
2a649725
TS
40522 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40523 calculation of ARGC > 4.
40524
af1bce34
TS
40525 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40526 meaningful names to some local labels.
40527
d230f50a
KK
405282012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40529 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40530
40531 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40532 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40533 (__arch_compare_and_exchange_val_16_acq): Likewise.
40534 (__arch_compare_and_exchange_val_32_acq): Likewise.
40535 (atomic_exchange_and_add): Fix gUSA sequence.
40536 (atomic_add): Likewise.
40537 (atomic_add_negative): Likewise.
40538 (atomic_add_zero): Likewise.
40539 (atomic_bit_test_set): Likewise.
40540
0479b305
AS
405412012-06-22 Andreas Schwab <schwab@redhat.com>
40542
40543 [BZ #13579]
40544 * include/link.h (struct link_map): Add l_free_initfini.
40545 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40546 l_initfini.
40547 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40548 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40549 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40550 set.
40551
0e3933b9
CD
405522012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40553
40554 * configure.in: Use AC_LANG_SOURCE.
40555 * configure: Regenerate.
40556
4248b1b1
RM
405572012-06-22 Roland McGrath <roland@hack.frob.com>
40558
40559 * configure.in (libc_cv_localstatedir): New substituted variable.
40560 * configure: Regenerated.
40561 * config.make.in (localstatedir): New variable, substituted from
40562 libc_cv_localstatedir.
40563 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40564 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40565 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40566 * sysdeps/gnu/configure: Regenerated.
40567
006dd861
JL
405682012-06-21 Jeff Law <law@redhat.com>
40569
40570 [BZ #14277]
40571 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40572 free. Simplify list management for _LIBC case.
40573
79662d42
JM
405742012-06-21 Joseph Myers <joseph@codesourcery.com>
40575
b7abb4bf
JM
40576 [BZ #14273]
40577 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40578 Clear sign bit of 64-bit integer value before comparing against
40579 overflow value.
40580
79662d42
JM
40581 * sysdeps/mach/configure: Regenerated.
40582
1f150908
L
405832012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40584
40585 [BZ #14278]
40586 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40587
28363bbf
JL
405882012-06-21 Jeff Law <law@redhat.com>
40589
40590 [BZ #13882]
40591 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40592 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40593 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40594 * elf/dl-open.c (dl_open_worker): Likewise.
40595
09615db4
CD
405962012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40597
40598 * scripts/list-sources.sh: Scan PORTS for translations.
40599 * po/libc.pot: Regenerated.
40600
2174c6dd
AJ
406012012-06-21 Andreas Jaeger <aj@suse.de>
40602
40603 [BZ #12194]
40604 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40605 warning.
40606 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40607 * bits/byteswap-16.h (__bswap_16): Likewise.
40608 * bits/byteswap.h (__bswap_constant_16): Likewise.
40609
3ee947b1
L
406102012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40611
40612 [BZ #14117]
a2f34833
L
40613 * sysdeps/i386/fpu_control.h: Removed.
40614 * sysdeps/x86_64/fpu_control.h: Moved to ...
40615 * sysdeps/x86/fpu_control.h: Here.
40616
3ee947b1
L
40617 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40618 (_FPU_SETCW): Likewise.
40619
ed1825f8
L
406202012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40621
25f1282a
L
40622 [BZ #14117]
40623 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40624 * sysdeps/x86/fpu/bits/mathinline.h: This.
40625 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40626
ed1825f8
L
40627 [BZ #14050]
40628 [BZ #14117]
40629 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40630 functions if __x86_64__ is defined.
40631
36d54b74
CLT
406322012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40633
40634 * string/endian.h: Add !__ASSEMBLER__ condition for including
40635 conversion interfaces.
40636
10285c21
JM
406372012-06-15 Joseph Myers <joseph@codesourcery.com>
40638
40639 [BZ #14241]
40640 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40641 of ABS(x) in calculating zero to negative powers other than odd
40642 integers.
40643 * math/libm-test.inc (pow_test): Add more tests.
40644
06c5abbd
AJ
406452012-06-15 Andreas Jaeger <aj@suse.de>
40646
40647 * manual/contrib.texi (Contributors): Update entry of Liubov
40648 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40649 Machado Filho.
40650
a3aeac40
CH
406512012-06-15 Cyril Hrubis <metan@ucw.cz>
40652
40653 * string/string.h: Add __wur to GNU version of strerror_r.
40654
49bdf4c1
L
406552012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40656
40657 [BZ #14229]
40658 * string/Makefile (tests): Add tst-strtok_r.
40659 * string/tst-strtok_r.c: New file.
40660 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40661 RAX_LP/RDX_LP on SAVE_PTR.
40662
834f9b8d
RM
406632012-06-14 Roland McGrath <roland@hack.frob.com>
40664
40665 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40666
75fa1921
JM
406672012-06-14 Joseph Myers <joseph@codesourcery.com>
40668
40669 * libm_test.inc (csqrt_test): Allow more spurious underflow
40670 exceptions.
40671 (j0_test): Likewise.
40672 (j1_test): Likewise.
40673 (y0_test): Likewise.
40674 (y1_test): Likewise.
40675
771766df
CD
406762012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40677
40678 * po/Makefile (libc.pot): Use UTF-8 charset.
40679
ceb9e56b
PP
406802012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40681
40682 [BZ #14210]
40683 Suppress sign-conversion warning from FD_SET.
40684 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40685 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40686 not unsigned long int.
40687 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40688
ddb28975
L
406892012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40690
40691 [BZ #14050]
40692 [BZ #14117]
40693 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40694 __extern_always_inline instead of __extern_inline.
40695 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40696 (__signbit): Likewise.
40697 (__signbitl): Support C++ namespace.
40698 (lrintf): New inline function.
40699 (lrint): Likewise.
40700 (llrintf): Likewise.
40701 (llrint): Likewise.
40702 (fmaxf): Likewise.
40703 (fmax): Likewise.
40704 (fminf): Likewise.
40705 (fmin): Likewise.
40706 (rint): Likewise.
40707 (rintf): Likewise.
40708 (ceil): Likewise.
40709 (ceilf): Likewise.
40710 (floor): Likewise.
40711 (floorf): Likewise.
40712 (nearbyint): Likewise.
40713 (nearbyintf): Likewise.
40714
d7b4fb26
TS
407152012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40716
40717 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40718 non-default versions.
40719
eb55f5c2
RM
407202012-06-11 Roland McGrath <roland@hack.frob.com>
40721
40722 [BZ #14218]
40723 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40724
366af02c
TS
407252012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40726
99ff6e5c
TS
40727 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40728 (FE_UPWARD, FE_DOWNWARD): Don't define.
40729 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40730 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40731
366af02c
TS
40732 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40733 reading it.
40734 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40735 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40736
793ea851
KK
407372012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40738
40739 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40741 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40742 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40743
a728a38f
L
407442012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40745
40746 [BZ #14117]
c08010c7
L
40747 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40748 * sysdeps/i386/fpu/Implies: New file.
40749 * sysdeps/x86_64/fpu/Implies: Likewise.
40750 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40751 * sysdeps/x86/fpu/bits/fenv.h: This.
40752
a728a38f
L
40753 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40754 __SSE_MATH__.
40755
6e230d11
SP
407562012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40757
40758 [BZ #14134]
40759 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40760 character 0xffff that matches the last element of the
40761 conversion table.
40762
1b671feb
AZ
407632012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40764
40765 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40766 fmodl commit.
40767
6043738b
AZ
407682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40769
40770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40771 values higher than 25.6283.
40772
34ae0b32
AZ
407732012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40774
40775 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40776 subnormal exponent extraction and add some __builtin_expect.
40777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40778 Fix for subnormal mantissa calculation.
40779
1214ec8f
MF
407802012-06-04 Mike Frysinger <vapier@gentoo.org>
40781
40782 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40783 cpu2 is -1 and errno is not ENOSYS.
40784
f3d1f93c
L
407852012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40786
40787 [BZ #14117]
0e4a3cd7
L
40788 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40789 * sysdeps/x86/bits/string.h: This.
40790 * sysdeps/x86_64/bits/string.h: Removed.
40791
6704c645
L
40792 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40793 if not compiling for x86-64, but compiling for >= i486.
40794
48495318
L
40795 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40796 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40797
14adcbfc
L
40798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40799 New macro from Linux kernel 3.4.0.
40800 (FP_XSTATE_MAGIC2): Likewise.
40801 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40802 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40803 (struct _fpx_sw_bytes): New struct.
40804 (struct _xsave_hdr): Likewise.
40805 (struct _ymmh_state): Likewise.
40806 (struct _xstate): Likewise.
40807
68e408ab
L
40808 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40809 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40810 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40811 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40812 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40813 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40814
f3d1f93c
L
40815 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40816 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40817 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40818 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40819 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40820 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40821
d9dc34cd
TMQMF
408222012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40823
40824 [BZ #13743]
40825 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40826 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40827 (sysdep_headers): Include sys/platform/ppc.h.
40828 * sysdeps/powerpc/test-gettimebase.c: Test for
40829 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40830 * manual/Makefile (appendices): Include platform.texi.
40831 * manual/contrib.texi (Contributors): Update @node pointers.
40832 * manual/maint.texi (Maintenance): Likewise.
40833 (Platform): New node.
40834 * manual/platform.texi: New file. Document the new features.
40835
4af3879c
SP
408362012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40837 Jakub Jelinek <jakub@redhat.com>
40838
40839 [BZ #14188]
40840 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40841 where __builtin_expect is unavailable.
40842
2fd6ff13
DM
408432012-06-03 David S. Miller <davem@davemloft.net>
40844
40845 * stdlib/longlong.h: Updated from GCC.
40846
173f7220
AS
408472012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40848
40849 [BZ #14042]
40850 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40851 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40852 __mcount_internal.
40853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40854 (GLIBC_2.16): Likewise.
40855
f34a1c6f
L
408562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40857
40858 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40859
88a4576f
JM
408602012-06-01 Joseph Myers <joseph@codesourcery.com>
40861
ea32bcdd
JM
40862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40863 (default-abi): New variable.
40864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40865 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40866 variable.
40867 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40868 Likewise.
40869 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40870 Likewise.
40871 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40872 Likewise.
40873
88a4576f
JM
40874 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40875 definition. Document in comment.
40876
402fe938
DM
408772012-06-01 David S. Miller <davem@davemloft.net>
40878
40879 * stdlib/longlong.h: Updated from GCC.
40880
3553723f
L
408812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40882
40883 [BZ #14117]
3bd872c4
L
40884 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40885 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40886 sys/debugreg.h sys/io.h here.
40887 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40888 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40889 sys/io.h.
40890 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40891 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40892 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40893 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40894 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40895 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40896
3553723f
L
40897 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40898 Define only if __x86_64__ is defined.
40899
4842e4fe
JM
409002012-06-01 Joseph Myers <joseph@codesourcery.com>
40901
c5bfe3d5
JM
40902 [BZ #14048]
40903 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40904 Use int64_t for variable i.
40905 * math/libm-test.inc (fmod_test): Add more tests.
40906
4842e4fe
JM
40907 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40908 z computation is not scheduled after fetestexcept.
40909 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40910 Use math_force_eval instead of asm to ensure calculation scheduled
40911 before exception test.
40912 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40913 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40914
efb73488
AJ
409152012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40916
40917 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40918 computation is not scheduled after fetestexcept.
40919
29bcce7c
L
409202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40921
40922 [BZ #14117]
40923 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40924 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40925
73a68f94
AZ
409262012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40927
40928 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40929 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40930
67b6df78
L
409312012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40932
edf2933a 40933 [BZ #14117]
ebc64a18
L
40934 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40935 <bits/wordsize.h>.
40936 (__WCHAR_MIN): Support __WORDSIZE == 64.
40937 (__WCHAR_MAX): Likewise.
40938
edf2933a
L
40939 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40940 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40941
57c6cf40
L
40942 [BZ #14183]
40943 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40944 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40945
67b6df78 40946 [BZ #14117]
8eb6281e
L
40947 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40948 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40949
aac639f4
L
40950 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40951 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40952
67b6df78
L
40953 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40954 Defined to 1 if __x86_64__ isn't defined.
40955 (_STAT_VER_LINUX_OLD): New.
40956 (st_atime): Remove duplicate.
40957 (st_mtime): Likewise.
40958 (st_ctime): Likewise.
40959
1c2cfe81
DM
409602012-05-31 David S. Miller <davem@davemloft.net>
40961
40962 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40963 entries.
40964
5be8418c
AS
409652012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40966
e7725326
AS
40967 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40968 gen-libm-test.pl.
40969
5be8418c
AS
40970 [BZ #14132]
40971 * elf/dl-reloc.c: Include <_itoa.h>.
40972 (_dl_reloc_bad_type): Remove use of INTUSE.
40973 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40974 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40975 * stdio-common/psiginfo.c (psiginfo): Likewise.
40976 * stdio-common/psignal.c (psignal): Likewise.
40977 * string/strsignal.c (strsignal): Likewise.
40978 * include/signal.h (_sys_siglist): Declare hidden proto.
40979 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40980 INTVARDEF with libc_hidden_data_def.
40981 * stdio-common/itoa-udigits.c: Likewise.
40982 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40983 (_itoa_lower_digits_internal): Remove declaration.
40984 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40985 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40986 (_sys_sigabbrev_internal): Remove aliases.
40987 (_sys_siglist): Define hidden alias.
40988
507352f1
MT
409892012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40990
40991 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40992 bits/sysctl.h.
40993
42bbb1c3
L
409942012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40995
40996 [BZ #14117]
6bd784b6
L
40997 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40998 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40999
8bca20f0
L
41000 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41001 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41002 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41003 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41004 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41005 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41006
f9e890a9
L
41007 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41008 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41009 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41010
471101a1
L
41011 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41012 with __addr.
41013 (insw): Likewise.
41014 (insl): Likewise.
41015 (outsb): Likewise.
41016 (outsw): Likewise.
41017 (outsl): Likewise.
41018
6451c862
L
41019 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41020 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41021 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41022
a254b8c9
L
41023 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41024 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41025 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41026 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41027 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41028 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41029
b8dfdd92
L
41030 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41031 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41032
578cd270
L
41033 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41034 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41035
de662f5f
L
41036 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41037 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41038 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41039
25653439
L
41040 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41041 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41042 to ...
41043 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41044
6bad24a0
L
41045 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41046 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41047 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41048
42bbb1c3
L
41049 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41050 for x86-64.
41051 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41052
2d10d547
JM
410532012-05-31 Joseph Myers <joseph@codesourcery.com>
41054
41055 * math/math.h (M_El): Use two more decimal places.
41056 (M_LOG2El): Likewise.
41057 (M_LOG10El): Likewise.
41058 (M_LN2l): Likewise.
41059 (M_LN10l): Likewise.
41060 (M_PIl): Likewise.
41061 (M_PI_2l): Likewise.
41062 (M_PI_4l): Likewise.
41063 (M_1_PIl): Likewise.
41064 (M_2_PIl): Likewise.
41065 (M_2_SQRTPIl): Likewise.
41066 (M_SQRT2l): Likewise.
41067 (M_SQRT1_2l): Likewise.
41068
f230c29b
DM
410692012-05-31 David S. Miller <davem@davemloft.net>
41070
41071 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41072 values between float registers.
41073 * sysdeps/sparc/sparc64/memset.S: Likewise.
41074 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41075
fed806c3
MF
410762012-05-31 Mike Frysinger <vapier@gentoo.org>
41077
41078 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41079 -D_FORTIFY_SOURCE=1.
41080 (CPPFLAGS-tst-longjmp_chk.c): Define.
41081 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41082 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41083 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41084 CFLAGS-tst-wchar-h.c.
41085
30917259
MP
410862012-05-31 Marek Polacek <polacek@redhat.com>
41087
41088 [BZ #14132]
41089 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41090 __endmntent_internal): Remove declaration.
41091 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41092 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41093 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41094
1c58d5dc
DM
410952012-05-30 David S. Miller <davem@davemloft.net>
41096
41097 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41098 (___Q_simulate_exceptions): Use real FP ops rather than writing
41099 into the %fsr.
41100 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41101 Likewise.
41102
7dc00e0d
L
411032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41104
41105 [BZ #14117]
0bd53985
L
41106 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41107 * sysdeps/x86/bits/xtitypes.h: This.
41108
3a257e66
L
41109 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41110 * sysdeps/x86/bits/wordsize.h: This.
41111
62f62904
L
41112 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41113 * sysdeps/x86/bits/huge_vall.h: This.
41114
404fe9d9
L
41115 * sysdeps/i386/bits/select.h: Removed.
41116 * sysdeps/x86_64/bits/select.h: Renamed to ...
41117 * sysdeps/x86/bits/select.h: This.
41118
d48d0446
L
41119 * sysdeps/i386/bits/setjmp.h: Removed.
41120 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41121 * sysdeps/x86/bits/setjmp.h: This.
41122
7dc00e0d
L
41123 * sysdeps/i386/bits/mathdef.h: Removed.
41124 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41125 * sysdeps/x86/bits/mathdef.h: This.
41126
03277f8f
AS
411272012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41128
41129 [BZ #14132]
41130 * include/sys/socket.h (__connect_internal)
41131 (__libc_sa_len_internal): Remove declaration.
41132 (__connect, __libc_sa_len): Declare hidden_proto.
41133 (SA_LEN): Remove use of INTUSE.
41134 * socket/connect.c: Add libc_hidden_def.
41135 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41136 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41137 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41138 alias.
41139 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41140 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41141 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41142 of adding _internal alias.
41143
13764867
L
411442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41145
41146 [BZ #14117]
6bd97696
L
41147 * sysdeps/i386/bits/link.h: Removed.
41148 * sysdeps/i386/bits/linkmap.h: Likewise.
41149 * sysdeps/x86_64/bits/link.h: Renamed to ...
41150 * sysdeps/x86/bits/link.h: This.
41151 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41152 * sysdeps/x86/bits/linkmap.h: This.
41153
f726f0bb
L
41154 * sysdeps/i386/bits/endian.h: Removed.
41155 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41156 * sysdeps/x86/bits/endian.h: This.
41157
13764867
L
41158 * sysdeps/i386/bits/byteswap.h: Removed.
41159 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41160 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41161 * sysdeps/x86/bits/byteswap.h: This.
41162 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41163 * sysdeps/x86/bits/byteswap-16.h: This.
41164 * sysdeps/i386/Implies: Add x86.
41165 * sysdeps/x86_64/Implies: Likewise.
41166
ae251b0b
DM
411672012-05-30 David S. Miller <davem@davemloft.net>
41168
41169 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41170 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41171 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41172 (FP_TRAPPING_EXCEPTIONS): Define.
41173 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41174 (FP_TRAPPING_EXCEPTIONS): Define.
41175 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41176 subnormals only when inexact has been signalled or underflow
41177 exceptions are enabled.
41178 (_FP_PACK_CANONICAL): Likewise.
41179
d5c90867
L
411802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41181
41182 [BZ #14183]
41183 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41184 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41185
63f1549e
RH
411862012-05-30 Richard Henderson <rth@twiddle.net>
41187
8d8f2279
RH
41188 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41189 with #ifndef NOT_IN_libc.
41190
63f1549e
RH
41191 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41192 marked to avoid plt entry.
41193
0ab0291b
L
411942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41195
41196 [BZ #14112]
41197 * Makeconfig (default-abi): New macro.
41198 (abi-includes): Likewise.
41199 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41200 $(abi-$(default-abi)-lib-soname) for soname if defined.
41201 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41202 abi-variants.
41203 * Makefile (installed-stubs): Likewise.
41204 * include/stubs-biarch.h: Removed.
41205 * scripts/lib-names.awk: Only handle one library at a time.
41206 * scripts/soversions.awk: Remove WORDSIZE support.
41207 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41208 entries.
41209 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41210 Removed.
41211 (syscall-list-default-condition): Likewise.
41212 (syscall-list-default-condition): Likewise.
41213 (syscall-list-includes): Likewise.
41214 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41215 syscall-list-* with abi-*. Handle undefined abi-variants.
41216 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41217 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41218 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41219 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41220 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41221 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41222 Removed.
41223 (syscall-list-32-options): Likewise.
41224 (syscall-list-32-condition): Likewise.
41225 (syscall-list-64-options): Likewise.
41226 (syscall-list-64-condition): Likewise.
41227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41228 macro.
41229 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41230 Renamed to ...
41231 (abi-*): This.
41232 (abi-64-ld-soname): New macro.
41233 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41234 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41235 Renamed to ...
41236 (abi-*): This.
41237 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41238 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41239
4da0431d
JM
412402012-05-30 Joseph Myers <joseph@codesourcery.com>
41241
3a85279c
JM
41242 * sysdeps/unix/sysv/linux/kernel-features.h
41243 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41244 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41245 include <kernel-features.h>.
41246 [!__NR_ftruncate64]: Remove conditional code.
41247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41248 [__NR_ftruncate64]: Make code unconditional.
41249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41250 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41251 include <kernel-features.h>.
41252 [!__NR_ftruncate64]: Remove conditional code.
41253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41254 [__NR_ftruncate64]: Make code unconditional.
41255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41257 include <kernel-features.h>.
41258 [!__NR_ftruncate64]: Remove conditional code.
41259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41260 [__NR_ftruncate64]: Make code unconditional.
41261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41263 include <kernel-features.h>.
41264 [!__NR_ftruncate64]: Remove conditional code.
41265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41266 [__NR_ftruncate64]: Make code unconditional.
41267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41268
4da0431d
JM
41269 * configure.in (libc_cv_fpie): Weaken to a compile test using
41270 LIBC_TRY_CC_OPTION.
41271 * configure: Regenerated.
41272
11ef492c
AK
412732012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41274
41275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41279 Refreshed.
41280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41282 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41286 Refreshed.
41287
d66ef399
DM
412882012-05-27 David S. Miller <davem@davemloft.net>
41289
41290 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41291 (___Q_zero): New.
41292 (__Q_simulate_exceptions): Return void. Change to simulate
41293 exceptions by writing into the %fsr.
41294 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41295 (__Qp_handle_exceptions): Likewise.
41296 (numbers): Delete.
41297 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41298 __Qp_handle_exceptions.
41299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41300 __Qp_handle_exceptions.
41301 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41302 as unused and give dummy FP_RND_NEAREST initializer.
41303 (FP_INHIBIT_RESULTS): Define.
41304 (___Q_simulate_exceptions): Update declaration.
41305 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41306 formatting.
41307 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41308 as unused and give dummy FP_RND_NEAREST initializer.
41309 (__Qp_handle_exceptions): Update declaration.
41310 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41311 formatting.
41312
04fb54b5
TS
413132012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41314
41315 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41316 the temporary FPU control word.
41317 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41318 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41319 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41320 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41321 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41322 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41323 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41324 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41325 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41326 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41327 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41328
3f99608f
KK
413292012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41330
41331 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41332 fields.
41333
65a4de4e
CLT
413342012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41335
41336 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41337 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41338 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41339 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41340 Likewise.
41341 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41342 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41343 Likewise.
41344
15749d40
UD
413452012-05-27 Ulrich Drepper <drepper@gmail.com>
41346
41347 * po/h.po: Update from translation team.
41348
25dbcb27
AS
413492012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41350
3d3f8e55
AS
41351 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41352
25dbcb27
AS
41353 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41354 handling of denormals.
41355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41356 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41357 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41358 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41359 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41360 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41361 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41362 Likewise.
41363
7ad47a80 413642012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41365
41366 [BZ #14152]
41367 * math/libm-test.inc (fma_test): Don't always expect underflow
41368 exception.
41369
9c6ea9fa
SP
413702012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41371
41372 [BZ #12416]
41373 * elf/tst-execstack.c: Include stackinfo.h.
41374 (do_test): Adjust test case to ensure that pthread_getattr_np
41375 behaviour remains the same after marking stack executable.
41376
a8239222
JM
413772012-05-25 Joseph Myers <joseph@codesourcery.com>
41378
41379 * sysdeps/unix/sysv/linux/kernel-features.h
41380 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41381 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41382 kernel-features.h.
41383 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41384 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41385 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41386 kernel-features.h.
41387 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41388 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41389
918b5606
L
413902012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41391
41392 * configure.in: Define the default includes to being none.
41393 * configure: Regenerated.
41394
3a097cc7
RM
413952012-05-25 Roland McGrath <roland@hack.frob.com>
41396
8422c9a5
RM
41397 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41398 * sysdeps/x86_64/setjmp.S: Likewise.
41399 * sysdeps/i386/bsd-setjmp.S: Likewise.
41400 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41401 * sysdeps/i386/setjmp.S: Likewise.
41402 * sysdeps/i386/__longjmp.S: Likewise.
41403 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41404 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41405
3a097cc7
RM
41406 * include/stap-probe.h: New file.
41407 * configure.in: Handle --enable-systemtap.
41408 * configure: Regenerated.
41409 * config.h.in (USE_STAP_PROBE): New #undef.
41410 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41411 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41412 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41413
21708942
JM
414142012-05-25 Joseph Myers <joseph@codesourcery.com>
41415
41416 [BZ #13717]
41417 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41418 to 2.4.0 where earlier.
41419 * sysdeps/unix/sysv/linux/configure: Regenerated.
41420 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41421 <kernel-features.h>.
41422 [__ASSUME_32BITUIDS]: Make code unconditional.
41423 [!__ASSUME_32BITUIDS]: Remove conditional code.
41424 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41425 <kernel-features.h>.
41426 [__ASSUME_32BITUIDS]: Make code unconditional.
41427 [!__ASSUME_32BITUIDS]: Remove conditional code.
41428 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41429 [__ASSUME_32BITUIDS]: Make code unconditional.
41430 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41431 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41432 <kernel-features.h>.
41433 [__ASSUME_32BITUIDS]: Make code unconditional.
41434 [!__ASSUME_32BITUIDS]: Remove conditional code.
41435 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41436 <kernel-features.h>.
41437 [__ASSUME_32BITUIDS]: Make code unconditional.
41438 [!__ASSUME_32BITUIDS]: Remove conditional code.
41439 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41440 <kernel-features.h>.
41441 [__ASSUME_32BITUIDS]: Make code unconditional.
41442 [!__ASSUME_32BITUIDS]: Remove conditional code.
41443 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41444 <kernel-features.h>.
41445 [__ASSUME_32BITUIDS]: Make code unconditional.
41446 [!__ASSUME_32BITUIDS]: Remove conditional code.
41447 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41448 <kernel-features.h>.
41449 [__ASSUME_32BITUIDS]: Make code unconditional.
41450 [!__ASSUME_32BITUIDS]: Remove conditional code.
41451 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41452 <kernel-features.h>.
41453 [__ASSUME_32BITUIDS]: Make code unconditional.
41454 [!__ASSUME_32BITUIDS]: Remove conditional code.
41455 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41456 <kernel-features.h>.
41457 [__ASSUME_32BITUIDS]: Make code unconditional.
41458 [!__ASSUME_32BITUIDS]: Remove conditional code.
41459 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41460 <kernel-features.h>.
41461 [__ASSUME_32BITUIDS]: Make code unconditional.
41462 [!__ASSUME_32BITUIDS]: Remove conditional code.
41463 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41464 <kernel-features.h>.
41465 [__ASSUME_32BITUIDS]: Make code unconditional.
41466 [!__ASSUME_32BITUIDS]: Remove conditional code.
41467 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41468 <kernel-features.h>.
41469 [__ASSUME_32BITUIDS]: Make code unconditional.
41470 [!__ASSUME_32BITUIDS]: Remove conditional code.
41471 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41472 <kernel-features.h>.
41473 [__NR_setresgid] (__setresgid): Do not declare.
41474 [__ASSUME_32BITUIDS]: Make code unconditional.
41475 [!__ASSUME_32BITUIDS]: Remove conditional code.
41476 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41477 <kernel-features.h>.
41478 [__NR_setresuid] (__setresuid): Do not declare.
41479 [__ASSUME_32BITUIDS]: Make code unconditional.
41480 [!__ASSUME_32BITUIDS]: Remove conditional code.
41481 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41482 <kernel-features.h>.
41483 [__ASSUME_32BITUIDS]: Make code unconditional.
41484 [!__ASSUME_32BITUIDS]: Remove conditional code.
41485 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41486 <kernel-features.h>.
41487 [__ASSUME_32BITUIDS]: Make code unconditional.
41488 [!__ASSUME_32BITUIDS]: Remove conditional code.
41489 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41490 <kernel-features.h>.
41491 [__ASSUME_32BITUIDS]: Make code unconditional.
41492 [!__ASSUME_32BITUIDS]: Remove conditional code.
41493 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41494 <kernel-features.h>.
41495 [__ASSUME_32BITUIDS]: Make code unconditional.
41496 [!__ASSUME_32BITUIDS]: Remove conditional code.
41497 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41498 <kernel-features.h>.
41499 [__ASSUME_32BITUIDS]: Make code unconditional.
41500 [!__ASSUME_32BITUIDS]: Remove conditional code.
41501 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41502 <kernel-features.h>.
41503 [__ASSUME_32BITUIDS]: Make code unconditional.
41504 [!__ASSUME_32BITUIDS]: Remove conditional code.
41505 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41506 <kernel-features.h>.
41507 [__ASSUME_32BITUIDS]: Make code unconditional.
41508 [!__ASSUME_32BITUIDS]: Remove conditional code.
41509 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41510 <kernel-features.h>.
41511 [__ASSUME_32BITUIDS]: Make code unconditional.
41512 [!__ASSUME_32BITUIDS]: Remove conditional code.
41513 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41514 <kernel-features.h>.
41515 [__ASSUME_32BITUIDS]: Make code unconditional.
41516 [!__ASSUME_32BITUIDS]: Remove conditional code.
41517 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
41522 (__ASSUME_SETRESUID_SYSCALL): Remove.
41523 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41524 (__ASSUME_32BITUIDS): Likewise.
41525 (__ASSUME_LDT_WORKS): Likewise.
41526 (__ASSUME_O_DIRECTORY): Likewise.
41527 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41528 architecture but not kernel version.
41529 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41530 (__ASSUME_MMAP2_SYSCALL): Likewise.
41531 (__ASSUME_STAT64_SYSCALL): Likewise.
41532 (__ASSUME_IPC64): Likewise.
41533 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41534 <kernel-features.h>.
41535 [__ASSUME_32BITUIDS]: Make code unconditional.
41536 [!__ASSUME_32BITUIDS]: Remove conditional code.
41537 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41538 <kernel-features.h>.
41539 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41540 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41541 132096]: Remove conditional code.
41542 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41543 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41544 <kernel-features.h>.
41545 [__ASSUME_32BITUIDS]: Make code unconditional.
41546 [!__ASSUME_32BITUIDS]: Remove conditional code.
41547 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41548 <kernel-features.h>.
41549 [__ASSUME_32BITUIDS]: Make code unconditional.
41550 [!__ASSUME_32BITUIDS]: Remove conditional code.
41551 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41552 <kernel-features.h>.
41553 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41554 unconditional.
41555 (__setresgid): Do not declare.
41556 [__ASSUME_32BITUIDS]: Make code unconditional.
41557 [!__ASSUME_32BITUIDS]: Remove conditional code.
41558 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41559 <kernel-features.h>.
41560 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41561 unconditional.
41562 (__setresuid): Do not declare.
41563 [__ASSUME_32BITUIDS]: Make code unconditional.
41564 [!__ASSUME_32BITUIDS]: Remove conditional code.
41565 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41566 <kernel-features.h>.
41567 [__ASSUME_32BITUIDS]: Make code unconditional.
41568 [!__ASSUME_32BITUIDS]: Remove conditional code.
41569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41570 <kernel-features.h>.
41571 [__ASSUME_32BITUIDS]: Make code unconditional.
41572 [!__ASSUME_32BITUIDS]: Remove conditional code.
41573
a386f1cc
RH
415742012-05-25 Richard Henderson <rth@twiddle.net>
41575
41576 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41577 dl_hwcap to ifunc resolver.
41578 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41579 elf_ifunc_invoke.
41580 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41581 dl_hwcap to ifunc resolver.
41582 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41583
b6550497
JM
415842012-05-24 Joseph Myers <joseph@codesourcery.com>
41585
41586 [BZ #14153]
41587 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41588 for |x| <= 2**-26, not 2**-57.
41589 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41590 exception.
41591
b0bc23a1
JL
415922012-05-24 Jeff Law <law@redhat.com>
41593
41594 * stdio-common/Makefile (tests): Add bug25.
41595 * stdio-common/bug25.c: New test.
41596
347c92e9
L
415972012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41598
41599 [BZ #13576]
41600 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41601 multiple of MALLOC_ALIGNMENT in size.
41602 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41603
6bcc8b3f
JM
416042012-05-24 Joseph Myers <joseph@codesourcery.com>
41605
41606 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41607 Require >= 256.
41608 (FILENAME_MAX): Use macro-int-constant.
41609 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41610 (_IOFBF): Use macro-int-constant.
41611 (_IOLBF): Likewise.
41612 (_IONBF): Likewise.
41613 (SEEK_CUR): Likewise.
41614 (SEEK_END): Likewise.
41615 (SEEK_SET): Likewise.
41616 (TMP_MAX): Likewise.
41617 (EOF): Use macro-int-constant. Require < 0.
41618 (NULL): Use macro-constant. Require == 0.
41619 (stdin): Require type to be FILE *.
41620 (stdout): Likewise.
41621 (stderr): Likewise.
41622 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41623 macro-int-constant.
41624 (EXIT_SUCCESS): Likewise.
41625 (NULL): Use macro-constant. Require == 0.
41626 (RAND_MAX): Use macro-int-constant.
41627 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41628 [C99-based standards] (strtof): Require function.
41629 [C99-based standards] (strtold): Likewise.
41630 [C99-based standards] (strtoll): Likewise.
41631 [C99-based standards] (strtoull): Likewise.
41632 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41633 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41634 [ISO || ISO99 || ISO11] (math.h): Likewise.
41635 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41636 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41637 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41638
d18ea0c5
AS
416392012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41640
41641 [BZ #14132]
56d25bb8
AS
41642 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41643 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41644 * intl/dgettext.c (DCGETTEXT): Likewise.
41645 * intl/gettext.c (DCGETTEXT): Likewise.
41646 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41647 * posix/regex_internal.h (gettext): Likewise.
41648 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41649 Remove declaration.
41650 * include/argz.h (__argz_count_internal)
41651 (__argz_stringify_internal): Remove declaration.
41652 (__argz_count, __argz_stringify): Declare hidden proto.
41653 * intl/dcgettext.c: Remove use of INTDEF.
41654 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41655 * string/argz-stringify.c: Likewise.
41656 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41657 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41658 Declare hidden proto.
d18ea0c5
AS
41659 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41660 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41661 Declare hidden proto.
41662 * include/stdio.h (__asprintf_internal): Don't declare.
41663 (__asprintf): Don't define as macro. Declare hidden proto.
41664 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41665 (__fsetlocking): Declare hidden proto.
41666 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41667 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41668 hidden proto.
41669 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41670 (_IO_setlinebuf): Remove use of INTUSE.
41671 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41672 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41673 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41674 Remove declaration.
41675 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41676 (_IO_do_flush): Remove use of INTUSE.
41677 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41678 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41679 (_IO_adjust_column, _IO_least_wmarker)
41680 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41681 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41682 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41683 (_IO_default_doallocate, _IO_wdefault_doallocate)
41684 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41685 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41686 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41687 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41688 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41689 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41690 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41691 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41692 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41693 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41694 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41695 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41696 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41697 proto.
41698 (_IO_flush_all_internal, _IO_adjust_column_internal)
41699 (_IO_default_uflow_internal, _IO_default_finish_internal)
41700 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41701 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41702 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41703 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41704 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41705 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41706 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41707 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41708 (_IO_file_close_internal, _IO_file_close_it_internal)
41709 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41710 (_IO_file_init_internal, _IO_file_attach_internal)
41711 (_IO_file_fopen_internal, _IO_file_read_internal)
41712 (_IO_file_sync_internal, _IO_file_seek_internal)
41713 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41714 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41715 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41716 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41717 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41718 (_IO_list_all_internal, _IO_link_in_internal)
41719 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41720 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41721 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41722 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41723 (_IO_do_write_internal, _IO_padn_internal)
41724 (_IO_getline_info_internal, _IO_getline_internal)
41725 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41726 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41727 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41728 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41729 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41730 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41731 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41732 with libc_hidden_ver, remove use of INTUSE.
41733 * libio/genops.c: Likewise.
41734 * libio/freopen.c: Likewise.
41735 * libio/freopen64.c: Likewise.
41736 * libio/iofclose.c: Likewise.
41737 * libio/iofdopen.c: Likewise.
41738 * libio/iofflush.c: Likewise.
41739 * libio/iofflush_u.c: Likewise.
41740 * libio/iofgets.c: Likewise.
41741 * libio/iofgets_u.c: Likewise.
41742 * libio/iofopen.c: Likewise.
41743 * libio/iofopncook.c: Likewise.
41744 * libio/iofread.c: Likewise.
41745 * libio/iofread_u.c: Likewise.
41746 * libio/ioftell.c: Likewise.
41747 * libio/iofwrite.c: Likewise.
41748 * libio/iogetline.c: Likewise.
41749 * libio/iogets.c: Likewise.
41750 * libio/iogetwline.c: Likewise.
41751 * libio/iopadn.c: Likewise.
41752 * libio/iopopen.c: Likewise.
41753 * libio/ioseekoff.c: Likewise.
41754 * libio/ioseekpos.c: Likewise.
41755 * libio/iosetbuffer.c: Likewise.
41756 * libio/iosetvbuf.c: Likewise.
41757 * libio/ioungetc.c: Likewise.
41758 * libio/ioungetwc.c: Likewise.
41759 * libio/iovdprintf.c: Likewise.
41760 * libio/iovsprintf.c: Likewise.
41761 * libio/iovsscanf.c: Likewise.
41762 * libio/memstream.c: Likewise.
41763 * libio/obprintf.c: Likewise.
41764 * libio/oldfileops.c: Likewise.
41765 * libio/oldiofclose.c: Likewise.
41766 * libio/oldiofdopen.c: Likewise.
41767 * libio/oldiofopen.c: Likewise.
41768 * libio/oldiopopen.c: Likewise.
41769 * libio/oldstdfiles.c: Likewise.
41770 * libio/putc.c: Likewise.
41771 * libio/setbuf.c: Likewise.
41772 * libio/setlinebuf.c: Likewise.
41773 * libio/stdfiles.c: Likewise.
41774 * libio/strops.c: Likewise.
41775 * libio/vasprintf.c: Likewise.
41776 * libio/vscanf.c: Likewise.
41777 * libio/vsnprintf.c: Likewise.
41778 * libio/vswprintf.c: Likewise.
41779 * libio/wfiledoalloc.c: Likewise.
41780 * libio/wfileops.c: Likewise.
41781 * libio/wgenops.c: Likewise.
41782 * libio/wmemstream.c: Likewise.
41783 * libio/wstrops.c: Likewise.
41784 * libio/__fpurge.c: Likewise.
41785 * libio/__fsetlocking.c: Likewise.
41786 * assert/assert.c: Likewise.
41787 * debug/fgets_chk.c: Likewise.
41788 * debug/fgets_u_chk.c: Likewise.
41789 * debug/fread_chk.c: Likewise.
41790 * debug/fread_u_chk.c: Likewise.
41791 * debug/gets_chk.c: Likewise.
41792 * debug/obprintf_chk.c: Likewise.
41793 * debug/vasprintf_chk.c: Likewise.
41794 * debug/vdprintf_chk.c: Likewise.
41795 * debug/vsnprintf_chk.c: Likewise.
41796 * debug/vsprintf_chk.c: Likewise.
41797 * malloc/mtrace.c: Likewise.
41798 * misc/error.c: Likewise.
41799 * misc/syslog.c: Likewise.
41800 * stdio-common/asprintf.c: Likewise.
41801 * stdio-common/fxprintf.c: Likewise.
41802 * stdio-common/getw.c: Likewise.
41803 * stdio-common/isoc99_fscanf.c: Likewise.
41804 * stdio-common/isoc99_scanf.c: Likewise.
41805 * stdio-common/isoc99_vfscanf.c: Likewise.
41806 * stdio-common/isoc99_vscanf.c: Likewise.
41807 * stdio-common/isoc99_vsscanf.c: Likewise.
41808 * stdio-common/printf-prs.c: Likewise.
41809 * stdio-common/printf_fp.c: Likewise.
41810 * stdio-common/printf_fphex.c: Likewise.
41811 * stdio-common/printf_size.c: Likewise.
41812 * stdio-common/putw.c: Likewise.
41813 * stdio-common/scanf.c: Likewise.
41814 * stdio-common/sprintf.c: Likewise.
41815 * stdio-common/tmpfile.c: Likewise.
41816 * stdio-common/vfprintf.c: Likewise.
41817 * stdio-common/vfscanf.c: Likewise.
41818 * stdlib/strfmon_l.c: Likewise.
41819 * sunrpc/openchild.c: Likewise.
41820 * sunrpc/xdr_stdio.c: Likewise.
41821 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41822 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41823
d6c33fda
RM
418242012-05-24 Roland McGrath <roland@hack.frob.com>
41825
c1487492
RM
41826 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41827
41828 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41829 in the third column, to generate for the shared library an IFUNC
41830 that uses _dl_vdso_vsym.
41831 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41832 * Makeconfig (object-suffixes-noshared): New variable.
41833
41834 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41835 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41836 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41837 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41838
d6c33fda
RM
41839 [BZ #14132]
41840 * include/sys/time.h (__gettimeofday): Remove macro.
41841 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41842 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41843 Remove INTDEF.
41844 (__gettimeofday): Add libc_hidden_def.
41845 (gettimeofday): Add libc_hidden_weak.
41846 * sysdeps/mach/gettimeofday.c: Likewise.
41847 * sysdeps/posix/gettimeofday.c: Likewise.
41848 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41849 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41850 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41851 (__gettimeofday_internal): Remove strong_alias.
41852 (__gettimeofday): Add libc_hidden_def.
41853 (gettimeofday): Add libc_hidden_weak.
41854 * sysdeps/unix/syscalls.list (gettimeofday):
41855 Remove __gettimeofday_internal alias.
41856
b5a2bbe6
L
418572012-05-24 Daniel Jacobowitz <drow@false.org>
41858 H.J. Lu <hongjiu.lu@intel.com>
41859
41860 [BZ #12495]
41861 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41862 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41863 (largebin_index_32_big): New.
41864 (largebin_index): Use it for 16-byte alignment.
41865 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41866 correction with front_misalign.
41867
cfba4fda
L
418682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41869
7f907421
L
41870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41872 Likewise.
41873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41874 Likewise.
41875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41876 Likewise.
41877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41878 Likewise.
41879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41880 Likewise.
41881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41882 Likewise.
41883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41884 Likewise.
41885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41886 Likewise.
41887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41888 Likewise.
41889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41890 Likewise.
41891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41892 Likewise.
41893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41894 Likewise.
41895
cfba4fda
L
41896 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41897 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41898
80bad0cc
JM
418992012-05-24 Joseph Myers <joseph@codesourcery.com>
41900
7a25eb06
JM
41901 [BZ #10846]
41902 [BZ #14036]
41903 * math/libm-test.inc (exp_test): Add test from bug 14036.
41904 (pow_test): Add test from bug 10846.
41905
795405f9
JM
41906 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41907 and other flags.
41908 (special_function): Do not include flags in test name.
41909 (parse_args): Likewise.
41910 * sysdeps/i386/fpu/libm-test-ulps: Update.
41911 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41912 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41913 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41915
80bad0cc
JM
41916 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41917 exceptions.
41918 * math/libm-test.inc ("Philosophy"): Update comment about
41919 exception testing.
41920 (UNDERFLOW_EXCEPTION): New macro.
41921 (UNDERFLOW_EXCEPTION_OK): Likewise.
41922 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41923 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41924 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41925 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41926 (INVALID_EXCEPTION_OK): Update value.
41927 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41928 (OVERFLOW_EXCEPTION_OK): Likewise.
41929 (IGNORE_ZERO_INF_SIGN): Likewise.
41930 (test_exceptions): Handle underflow exceptions.
41931 (acos_test): Update for underflow exception expectations.
41932 (cexp_test): Likewise.
41933 (clog_test): Likewise.
41934 (clog10_test): Likewise.
41935 (csqrt_test): Likewise.
41936 (ctan_test): Likewise.
41937 (ctanh_test): Likewise.
41938 (exp_test): Likewise.
41939 (exp10_test): Likewise.
41940 (exp2_test): Likewise.
41941 (expm1_test): Likewise.
41942 (fma_test): Likewise.
41943 (j0_test): Likewise.
41944 (jn_test): Likewise.
41945 (nexttoward_test): Likewise.
41946 (pow_test): Likewise.
41947 (scalbn_test): Likewise.
41948 (scalbln_test): Likewise.
41949 (tan_test): Likewise.
41950 (y1_test): Likewise.
41951 * sysdeps/i386/fpu/libm-test-ulps: Update.
41952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41953
9e0e3d0b
DM
419542012-05-23 David S. Miller <davem@davemloft.net>
41955
41956 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41957 (__libc_sigaction): Remove unused local variables.
41958
ccd0a08f
L
419592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41960
41961 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41962
62bdf9a6
PE
419632012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41964
f8591f80
PE
41965 mktime: avoid signed integer overflow
41966 * time/mktime.c (__mktime_internal): Do not mishandle the case
41967 where diff == INT_MIN.
41968
94c7d826
PE
41969 mktime: simplify computation of average
41970 * time/mktime.c (ranged_convert): Use new time_t_avg function
41971 instead of rolling our own (probably-slower) code.
41972
ce73d683
PE
41973 mktime: do not assume signed right shift propagates sign bit
41974 * time/mktime.c (isdst_differ): New static function.
41975 (__mktime_internal): No need to normalize tm_isdst now.
41976 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41977 tm_isdst values.
41978
72a22e59
PE
41979 mktime: merge another wrapv change from gnulib
41980 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41981 from some compilers.
41982
68605433
PE
41983 mktime: remove incorrect attempt at unusual arithmetics
41984 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41985 The code didn't really work on such machines anyway.
41986 (TYPE_MINIMUM): Assume two's complement.
41987 (twos_complement_arithmetic): Verify that long_int and time_t
41988 are two's complement (or unsigned, in the latter case).
41989
03cf7fe3
PE
41990 mktime: check signed shifts on long_int and time_t, too
41991 * time/mktime.c (SHR): Check that shifts work as desired
41992 on the types long_int and time_t too, as SHR is used on
41993 such types.
41994
f04dfbc2
PE
41995 mktime: do not assume 'long' is wide enough
41996 * time/mktime.c (verify): Move decl up.
41997 (long_int): New type.
41998 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41999 to remove assumption in the code that 'long' is wide enough to
42000 store year values. This assumption is not true on x32 and on
42001 some non-glibc platforms.
42002
62bdf9a6
PE
42003 mktime: merge wrapv change from gnulib
42004 * time/mktime.c (WRAPV): New macro.
42005 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42006 (guess_time_tm, __mktime_internal): Do not assume that signed
42007 integer overflow wraps around; modern compilers generate code
42008 where this assumption is no longer valid.
42009
5e292e4f
L
420102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42011
42012 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42013 Replace "jmp L(pseudo_end)" with "ret".
42014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42015 Likewise.
42016
8caf8c87
AJ
420172012-05-23 Andreas Jaeger <aj@suse.de>
42018
42019 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42020 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42021
1a09dc56
AJ
420222012-05-23 Andreas Jaeger <aj@suse.de>
42023 Maximilian Attems <max@stro.at>
42024
42025 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42026 New macros.
42027
1c87aba0
L
420282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42029
42030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42031 code so that pseudo_end is just ret and the stack pointer is
42032 correct also for static library in error case.
42033
40e45bd5
JM
420342012-05-23 Joseph Myers <joseph@codesourcery.com>
42035
c2670533
JM
42036 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42037 move to syscalls.list.
42038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42042
40e45bd5
JM
42043 * manual/install.texi (Running make install): Do not mention Linux
42044 kernel version for which pt_chown is not needed.
42045 (Linux): Do not mention problems with nscd with 2.0 kernels.
42046 * INSTALL: Regenerated.
42047
be08eda5
AJ
420482012-05-23 Andreas Jaeger <aj@suse.de>
42049
42050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42051 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42052 macro.
42053 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42055 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42057 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42058 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42059 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42060 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42061 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42062 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42063 * sysdeps/unix/sysv/linux/bits/in.h
42064 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42065
a6a056bb
RM
420662012-05-22 Roland McGrath <roland@hack.frob.com>
42067
42068 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42069 (PREPARE_VERSION): Just use assert instead, it will be elided
42070 under [NDEBUG] anyway.
42071
c9009328
L
420722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42073
42074 * sysdeps/unix/sysv/linux/Makefile: Include
42075 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42076 (sysdep_routines): Remove sysctl.
c9009328
L
42077 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42078 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42079 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42080 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42081 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42082
73338355
AJ
420832012-05-22 Andreas Jaeger <aj@suse.de>
42084
42085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42086 that pseudo_end is just ret and the stack pointer is correct also
42087 for static library in error case.
42088
d44638b0
PP
420892012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42090
42091 [BZ #14122]
42092 * nss/nsswitch.c (defconfig_entries): New variable.
42093 (__nss_database_lookup): Don't leak defconfig entries.
42094 (nss_parse_service_list): Don't leak on error paths.
42095 (free_database_entries): New function.
42096 (free_defconfig): New function.
42097 (free_mem): Move common code to free_database_entries.
42098
31a39bd8
L
420992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42100
da0331a8
L
42101 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42102 Add arch_prctl.
42103 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42104
31a39bd8
L
42105 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42106 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42108 New macro.
42109 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42110 (INTERNAL_SYSCALL_TYPES): Likewise.
42111 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42112 (LOAD_REGS_TYPES_[1-6]): Likewise.
42113 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42114 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42115
45470df3
AZ
421162012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42117
42118 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42119 copysignl for GLIBC_2_0.
42120 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42121 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42123 logbl for GLIBC_2_0.
42124 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42125 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42126
98a61bcb
L
421272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42128
a4f6e481
L
42129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42130 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42131
f63d5db6
L
42132 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42133 Use "neg %eax".
42134
98a61bcb
L
42135 * time/mktime.c: Update copyright years.
42136
95770f14
PE
421372012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42138
6226efbd
PE
42139 mktime: merge comment-quoting-style change from gnulib
42140 * time/mktime.c: Quote 'like this' in comments.
42141 The GNU coding standards suggest that we no longer quote `like this',
42142 as "`" and "'" are typically rendered asymmetrically nowadays.
42143 The typical gnulib style is to quote 'like this' when quoting
42144 code, and "like this" when quoting English.
42145
b99e4f78
PE
42146 * time/mktime.c (compile-command): Add "-I.".
42147
643e01e6
PE
42148 mktime: merge mktime-internal.h change from gnulib
42149 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42150
2554247d
PE
42151 mktime: merge time_r change from gnulib
42152 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42153
826dd0ab
PE
42154 mktime: merge DEBUG change from gnulib
42155 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42156 case system <time.h> has a #define.
42157
bd83aabe
PE
42158 mktime: merge <sys/types.h> change from gnulib
42159 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42160 since <time.t> is now guaranteed to define time_t.
42161
95770f14
PE
42162 mktime: merge HAVE_CONFIG_H change from gnulib
42163 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42164
5e1a27a9
L
421652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42166
0e44a77e
L
42167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42168 Use "neg %eax".
42169
5e1a27a9
L
42170 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42171 __rlim_t cast.
42172 (struct rusage): Use anonymous union to pad each field to
42173 __syscall_slong_t.
42174
46259bec
DM
421752012-05-21 David S. Miller <davem@davemloft.net>
42176
42177 * Makefules (o-iterator): Remove .s cases.
42178 (compile-command.s): Delete.
42179 (COMPILE.s): Delete.
42180 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42181
59f0c22e
JM
421822012-05-21 Joseph Myers <joseph@codesourcery.com>
42183
42184 * configure.in (libc_cv_predef_stack_protector): Only consider
42185 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42186 * configure: Regenerated.
42187
20c07380
L
421882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42189
bbb3154b
L
42190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42191 New macro. Use R*LP on int and pointer.
42192 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42193 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42194 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42195 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42196
20c07380
L
42197 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42198 [__WORDSIZE_TIME64_COMPAT32] instead of
42199 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42200 (struct utmp): Likewise.
42201 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42202 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42203 Renamed to ...
42204 (__WORDSIZE_TIME64_COMPAT32): This.
42205 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42206 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42207 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42208 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42209 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42210 (__WORDSIZE_TIME64_COMPAT32): New macro.
42211
d8d1017e
AJ
422122012-05-21 Andreas Jaeger <aj@suse.de>
42213
42214 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42215 only if [SHARED]. Add prototype for __wcschr_ia32.
42216
6c7fb145
RM
422172012-05-21 Roland McGrath <roland@hack.frob.com>
42218
42219 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42220 of %rbp unmolested in the jmp_buf while mangling the low bits.
42221 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42222 unmolested high bits of %rbp while demangling the low bits.
42223 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42224
66274218
AJ
422252012-05-21 Andreas Jaeger <aj@suse.de>
42226
07c58f8f
AJ
42227 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42228 * sunrpc/svc_simple.c: Use it for registerrpc.
42229 * sunrpc/xcrypt.c: Use it for passwd2des.
42230
66274218
AJ
42231 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42232
61f65140
L
422332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42234
42235 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42236 Don't define if [__SYSCALL_WORDSIZE != 32].
42237 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42238 New macro.
42239
5fefb436
AJ
422402012-05-21 Bruno Haible <bruno@clisp.org>
42241 Andreas Jaeger <aj@suse.de>
42242
42243 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42244 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42245 inptr and inend for must_buffer_ch.
42246 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42247 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42248 * stdio-common/Makefile (tests): Remove bug15.
42249 (bug15-ENV): Remove macro.
42250 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42251 anymore.
42252
d8e272ab
AJ
422532012-05-19 Andreas Jaeger <aj@suse.de>
42254 Roland McGrath <roland@hack.frob.com>
42255
42256 * manual/contrib.texi: Completely rewritten. It contains now an
42257 alphabetical list of contributors and their contributions.
42258
4a56a162
RH
422592012-05-21 Richard Henderson <rth@twiddle.net>
42260
42261 * misc/getauxval.c (__getauxval): Use unsigned long int.
42262 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42263 (getauxval): Use unsigned long int.
42264
d024d23c
L
422652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42266
42267 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42268
cbc00a03
RM
422692012-05-21 Roland McGrath <roland@hack.frob.com>
42270
42271 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42272 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42273 __alignof__ (long double).
42274
478143fa
AZ
422752012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42276
42277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42278
c7683a6d
RH
422792012-05-20 Richard Henderson <rth@twiddle.net>
42280
42281 * misc/getauxval.c: New file.
42282 * misc/sys/auxv.h: New file.
42283 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42284 (routines): Add getauxval.
42285 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42286 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42287 * elf/dl-sysdep.c (_dl_auxv): Remove.
42288 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42289 * elf/dl-support.c (_dl_auxv): New variable.
42290 (_dl_aux_init): Initialize it.
42291 * manual/startup.texi (Auxiliary Vector): New node.
42292 * sysdeps/generic/bits/hwcap.h: New file.
42293 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42294 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42295 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42296 * sysdeps/sparc/sysdep.h: ... here. Include it.
42297 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42298 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42300 Update.
c7683a6d
RH
42301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42304 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42306 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42307 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42309
a6f1845d
AZ
423102012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42311
42312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42313
cbcbe830
DM
423142012-05-19 David S. Miller <davem@davemloft.net>
42315
42316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42317
e0b16cc2
JM
423182012-05-19 Joseph Myers <joseph@codesourcery.com>
42319
42320 [BZ #14123]
42321 * math/s_ccosh.c: Include <float.h>
42322 (__ccosh): Avoid internal overflow calculating sinh and cosh
42323 values before multiplying by sin and cos values.
42324 * math/s_ccoshf.c: Likewise.
42325 * math/s_ccoshl.c: Likewise.
42326 * math/s_csin.c: Likewise.
42327 * math/s_csinf.c: Likewise.
42328 * math/s_csinl.c: Likewise.
42329 * math/s_csinh.c: Likewise.
42330 * math/s_csinhf.c: Likewise.
42331 * math/s_csinhl.c: Likewise.
42332 * math/libm-test.inc (ccos_test): Add more tests.
42333 (ccosh_test): Likewise.
42334 (csin_test): Likewise.
42335 (csinh_test): Likewise.
42336 * sysdeps/i386/fpu/libm-test-ulps: Update.
42337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42338
6ad13e08
L
423392012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42340
f66f0ce8
L
42341 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42342 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42343
6ad13e08
L
42344 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42345
b1d072a7
JM
423462012-05-19 Joseph Myers <joseph@codesourcery.com>
42347
42348 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42349 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42350 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42351 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42352 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42353 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42354 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42355 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42356 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42357 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42358 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42359 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42360 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42361 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42362 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42363 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42364 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42365 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42366 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42367 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42368 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42369 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42370 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42371 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42372 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42373 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42374 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42375 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42376 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42377 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42378 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42379
9eae47cb
AJ
423802012-05-18 Andreas Jaeger <aj@suse.de>
42381
42382 * csu/.gitignore: Delete.
42383
bb07f69f
L
423842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42385
42386 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42387 (timex): Use __syscall_slong_t.
42388
e6bdb741
AJ
423892012-05-18 Andreas Jaeger <aj@suse.de>
42390 Carlos O'Donell <carlos_odonell@mentor.com>
42391
42392 * manual/install.texi (Configuring and compiling): Update
42393 description about files modified in the source directory.
d6c33fda 42394 * INSTALL: Regenerated.
e6bdb741 42395
1b74487e
L
423962012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42397
42398 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42399 value. Use "or" to set return value to -1.
42400 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42401 negate return value.
42402
a88b64b9
TMQMF
424032012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42404
57f41c40
AS
42405 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42406 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42407 failure if the compiler has Graphite support disabled.
42408 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42409 Likewise.
57f41c40
AS
42410 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42411 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42412 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42413 Likewise.
42414
3707636e
L
424152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42416
610b8622
L
42417 * sysdeps/x86_64/x32/_itoa.h: New file.
42418
7cd195df
L
42419 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42420 getdents system call only if kernel and user dirents have the
42421 same d_ino and d_off.
42422
94b07d20
L
42423 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42424 LLONG_MAX != LONG_MAX.
42425 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42426 (_fitoa_word): Likewise.
42427
18298070
L
42428 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42429 years.
42430 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42431 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42432 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42433
553c7ea4
L
42434 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42435 include <bits/wordsize.h>. Check __x86_64__ instead of
42436 __WORDSIZE.
42437 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42438 if __x86_64__ is defined. Use anonymous union on fpstate.
42439
3707636e
L
42440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42441 anonymous union.
42442
b53ef01a
AS
424432012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42444
37fb1dc0
AS
42445 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42446 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42447 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42448 Refer to _rtld_local_ro instead of _rtld_global_ro.
42449 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42450 Likewise.
42451 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42452 Likewise.
42453 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42454 Likewise.
42455 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42456 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42457 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42458
b53ef01a
AS
42459 * sysdeps/powerpc/powerpc32/dl-machine.c
42460 (__elf_machine_runtime_setup) [PROF]: Don't reference
42461 _dl_prof_resolve.
42462
7a185db2
AJ
424632012-05-18 Andreas Jaeger <aj@suse.de>
42464
42465 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42466 function only available for GCCs before 3.4 since GCC 3.4
42467 introduced a builtin.
42468 (lrint): Likewise.
42469 (llrintf): Likewise.
42470 (llrint): Likewise.
42471 (fmaxf): Likewise.
42472 (fmax): Likewise.
42473 (fminf): Likewise.
42474 (fmin): Likewise.
42475 (rint): Likewise.
42476 (rintf): Likewise.
42477 (nearbyint): Likewise.
42478 (nearbyintf): Likewise.
42479 (ceil): Likewise.
42480 (ceilf): Likewise.
42481 (floor): Likewise.
42482 (floorf): Likewise.
42483
3e5aef87
L
424842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42485
428bd707
L
42486 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42487 on both fields and cast pointer to __syscall_ulong_t.
42488
3e5aef87
L
42489 * bits/types.h (__fsword_t): New type.
42490 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42491 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42492 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42493 (__FSWORD_T_TYPE): Likewise.
42494 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42495 (__FSWORD_T_TYPE): Likewise.
42496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42497 (__FSWORD_T_TYPE): Likewise.
42498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42499 (__FSWORD_T_TYPE): Likewise.
42500 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42501 __SWORD_TYPE with __fsword_t.
42502 (statfs64): Likewise.
42503
1ba7c3dc
DM
425042012-05-17 David S. Miller <davem@davemloft.net>
42505
42506 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42507
59910343
AJ
425082012-05-17 Andreas Jaeger <aj@suse.de>
42509
42510 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42511 warning.
42512
2e4c1e9e
L
425132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42514
42515 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42516
de7f5ce7
AJ
425172012-05-17 Andreas Jaeger <aj@suse.de>
42518
42519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42520 when it is used.
42521
286abc3d
CM
425222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42523
42524 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42525
477cc68e
L
425262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42527
42528 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42529 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42530
1a0994f5
CD
425312012-05-17 Andreas Jaeger <aj@suse.de>
42532 Carlos O'Donell <carlos_odonell@mentor.com>
42533
42534 [BZ #14059]
42535 * sysdeps/x86_64/multiarch/init-arch.h
42536 (bit_YMM_Usable): Rename to...
42537 (bit_AVX_Usable): ... this.
42538 (bit_FMA4_Usable): New macro.
42539 (bit_XMM_state): New macro.
42540 (bit_YMM_state): New macro.
42541 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42542 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42543 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42544 (CPUID_OSXSAVE): New macro.
42545 (CPUID_AVX): New macro.
42546 (CPUID_FMA4): New macro.
42547 (index_YMM_Usable): Rename to...
42548 (index_AVX_Usable): ... this.
42549 (HAS_AVX): Use HAS_ARCH_FEATURE.
42550 (HAS_FMA4): Likewise.
42551 (HAS_YMM_USABLE): Remove.
42552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42553 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42554 are present.
42555 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42556 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42557 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42558 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42559 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42560
0af797de
CM
425612012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42562
42563 * math/libm-test.c: Support platforms without multiple rounding modes.
42564 * math/bug-nextafter.c: Support platforms without FP exceptions.
42565 * math/bug-nexttoward.c: Likewise.
42566 * math/test-fenv.c: Likewise.
42567 * math/test-misc.c: Likewise.
42568 * stdlib/bug-getcontext.c: Likewise.
42569
e39745ff
AJ
425702012-05-17 Andreas Jaeger <aj@suse.de>
42571
42572 * manual/examples/search.c (critter_cmp): Change signature to
42573 avoid warnings.
42574 * manual/string.texi (Collation Functions): Likewise.
42575
48970aba
L
425762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42577
42578 * bits/types.h: Fold copyright years.
42579 * bits/typesizes.h: Likewise.
42580 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42581 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42582 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42584 * time/time.h: Likewise.
42585
bedee953
PP
425862012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42587
42588 [BZ #208]
42589 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42590 in instead of returning them. Return void.
42591 (__libc_mallinfo): Accumulate over all arenas.
42592 (__malloc_stats): Adjust for change in int_mallinfo interface.
42593
61653dfb
RM
425942012-05-16 Roland McGrath <roland@hack.frob.com>
42595
30b99d79
RM
42596 [BZ #10375]
42597 * configure.in (NM): Add AC_CHECK_TOOL for it.
42598 (libc_extra_cflags): New substituted variable.
42599 Check for -fstack-protector being used implicitly.
42600 * configure: Regenerated.
42601 * config.make.in (config-extra-cflags): New variable,
42602 gets @libc_extra_cflags@.
42603 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42604
61653dfb
RM
42605 [BZ #10375]
42606 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42607 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42608 * configure: Regenerated.
42609 * config.make.in (CPPUNDEFS): New substituted variable.
42610 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42611 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42612 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42613
661768bb
L
426142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42615
42616 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42617 (mq_attr): Use __syscall_slong_t.
42618
d4261567
L
426192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42620
42621 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42622 Check __x86_64__ instead of __WORDSIZE.
42623 (_STAT_VER_LINUX): Likewise.
42624 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42625 __syscall_ulong_t and __syscall_slong_t.
42626 (stat64): Likewise.
42627
cf3ff365
L
426282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42629
42630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42631
76cf3e4d
L
426322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42633
42634 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42635
a637753a
L
426362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42637
42638 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42639 __syscall_ulong_t.
42640
d5e05119
L
42641 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42642 include <bits/wordsize.h>. Check __x86_64__ instead of
42643 __WORDSIZE.
42644 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42645 defined.
42646 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42647
f62ee380
L
42648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42649 include <bits/wordsize.h>. Check __x86_64__ instead of
42650 __WORDSIZE.
42651 (user_regs_struct): Use "__extension__ unsigned long long"
42652 instead of "unsigned long" if __x86_64__ is defined.
42653 (user): Likewise. Pad after pointer field if __ILP32__ is
42654 defined.
42655
4e124ced
JM
426562012-05-16 Joseph Myers <joseph@codesourcery.com>
42657
6a3951a0
JM
42658 * configure.in (makeinfo): Require version 4.5 or later. Allow
42659 versions 5 to 9.
42660 * configure: Regenerated.
42661 * manual/install.texi (texinfo): Increase version requirement to
42662 4.5 or later.
42663 * INSTALL: Regenerated.
42664
4e124ced
JM
42665 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42666
953ca31a
L
426672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42668
42669 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42670
617aca05
L
42671 * sysdeps/x86_64/x32/ffs.c: New file.
42672
5762f7ae
L
42673 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42674 __syscall_ulong_t.
42675 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42676 defined. Use __syscall_ulong_t.
42677 (shminfo): Use __syscall_ulong_t.
42678 (shm_info): Likewise.
42679
a26b6856
L
42680 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42681 __syscall_ulong_t.
42682
cb2b9ef7
L
42683 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42684 <bits/wordsize.h>.
42685 (msgqnum_t): Use __syscall_ulong_t.
42686 (msglen_t): Likewise.
42687 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42688 __syscall_ulong_t.
42689
34683bb0
L
42690 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42691 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42692
84a68786
L
42693 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42694
48baa5f1
L
42695 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42696 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42697
180be88b
L
42698 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42699 __syscall_slong_t.
42700
5e90c8ad
L
42701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42702 include <bits/wordsize.h>. Check __x86_64__ instead of
42703 __WORDSIZE.
42704
23dfb58b
L
42705 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42706 "unsigned long long int" if __x86_64__ is defined.
42707 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42708
ce5d54b0
L
42709 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42710 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42711 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42712
13dc9eac
L
42713 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42714 <stdint.h>.
42715 (GET_PC): Cast to uintptr_t first.
42716 (GET_FRAME): Likewise.
42717 (GET_STACK): Likewise.
42718
a7895d15
L
42719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42721 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42722 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42723 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42724 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42725 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42726 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42727 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42728 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42729 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42730 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42731 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42733 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42735 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42736 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42737 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42738 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42739 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42740 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42741 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42742 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42743 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42744 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42745 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42746 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42747 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42748
656416c9
AS
427492012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42750
5bd66283
AS
42751 * Makerules (+depfiles): Also collect depfiles from .oS in
42752 $(extra-objs).
42753 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42754 .oS, $(libnldbl-routines)).
42755
656416c9
AS
42756 * Makerules (native-compile-mkdep-flags): Define.
42757 * sunrpc/Makefile (extra-objs): Add $(addprefix
42758 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42759 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42760 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42761 calling $(make-target-directory).
42762
a46f2169
L
427632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42764
42765 * bits/types.h (__snseconds_t): Removed.
42766 * time/time.h (struct timespec): Replace __snseconds_t with
42767 __syscall_slong_t.
42768 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42769 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42770 Likewise.
42771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42772 (__SNSECONDS_T_TYPE): Likewise.
42773 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42774 (__SNSECONDS_T_TYPE): Likewise.
42775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42776 (__SNSECONDS_T_TYPE): Likewise.
42777
6af6528b
L
427782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42779
42780 * sysdeps/mach/hurd/bits/typesizes.h
42781 (__SYSCALL_SLONG_TYPE): New macro.
42782 (__SYSCALL_ULONG_TYPE): Likewise.
42783
de986b56
L
427842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42785
42786 * bits/types.h (__syscall_slong_t): New type.
42787 (__syscall_ulong_t): Likewise.
42788
42789 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42790 (__SYSCALL_ULONG_TYPE): Likewise.
42791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42792 (__SYSCALL_SLONG_TYPE): Likewise.
42793 (__SYSCALL_ULONG_TYPE): Likewise.
42794 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42795 (__SYSCALL_SLONG_TYPE): Likewise.
42796 (__SYSCALL_ULONG_TYPE): Likewise.
42797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42798 (__SYSCALL_SLONG_TYPE): Likewise.
42799 (__SYSCALL_ULONG_TYPE): Likewise.
42800
85736dc7
L
428012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42802
42803 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42804 Add sigaltstack-offsets.sym.
42805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42806 <sigaltstack-offsets.h>.
42807 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42808 longjmp_msg pointer.
42809 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42810 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42811 signal stack.
42812 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42813
cc03b296
JM
428142012-05-15 Joseph Myers <joseph@codesourcery.com>
42815
a9538892
JM
42816 * elf/stackguard-macros.h: Remove file.
42817 * sysdeps/generic/stackguard-macros.h: New file.
42818 * sysdeps/i386/stackguard-macros.h: Likewise.
42819 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42820 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42821 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42822 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42823 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42824 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42825 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42826 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42827 <elf/stackguard-macros.h>.
42828
cc03b296
JM
42829 [BZ #14109]
42830 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42831 __aligned__ in attribute.
42832 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42833 (gregset_t): Likewise.
42834
93171016
L
428352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42836
42837 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42838 * sysdeps/x86_64/64/Implies-after: Here. New file.
42839 * sysdeps/x86_64/x32/Implies-after: New file.
42840
d86813a0
L
428412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42842
42843 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42844 and access return value for _dl_profile_fixup. Use R10_LP to
42845 load frame size.
42846
2953ec75
L
428472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42848
42849 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42850
3b550e9e
L
428512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42852
42853 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42854 * sysdeps/x86_64/x32/sysdep.h: New file.
42855
eda41706
L
428562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42857
42858 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42859 * sysdeps/x86_64/setjmp.S: Likewise.
42860
9ea01d93
AZ
428612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42862
42863 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42864 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42865 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42866 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42867 remove unused global constant.
42868
02a91938
CM
428692012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42870
42871 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42872 include of <not-cancel.h>.
42873
6540185f
RM
428742012-05-15 Roland McGrath <roland@hack.frob.com>
42875
42876 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42877
509072a0
AJ
428782012-05-15 Jeff Law <law@redhat.com>
42879 Andreas Jaeger <aj@suse.de>
42880
42881 [BZ #13594]
42882 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42883 out from...
42884 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42885 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42886 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42887 code changing __hst_map_handle.map.
42888
ba75122d
RM
428892012-05-15 Roland McGrath <roland@hack.frob.com>
42890
42891 * configure.in (sysnames): Look for Implies-before and Implies-after
42892 files.
42893 * configure: Regenerated.
42894
890d8bd8
L
428952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42896
42897 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42898 8-byte data alignment with LP_SIZE alignment.
42899
f6ee6623
L
429002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42901
42902 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42903 into R10_LP.
42904
ea2626f6
L
429052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42906
42907 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42908
085f715e
L
429092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42910
42911 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42912 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42914 Likewise.
42915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42916
be8498fc
L
429172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42918
42919 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42920 (stackinfo_sub_sp): Likewise.
42921
70bc83b9
L
429222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42923
42924 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42925 RAX_LP.
42926
9bc0b730
L
429272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42928
42929 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42930 into R*_LP.
42931
6d2850e7
L
429322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42933
42934 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42935 sizes into R*_LP.
42936
3cb84561
L
429372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42938
42939 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42940
54e2ed81
L
429412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42942
42943 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42944 into R11_LP and load __x86_64_shared_cache_size_half into
42945 R8_LP.
42946
8a17f349
L
429472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42948
42949 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42950 R8_LP.
42951
777b1eea
AZ
429522012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42953
42954 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42955 logb for POWER7.
42956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42957 logbf for POWER7.
42958 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42959 logbl for POWER7.
42960 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42961 powerpc32/power7/fpu/s_logb.c via #include.
42962 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42963 powerpc32/power7/fpu/s_logbf.c via #include.
42964 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42965 powerpc32/power7/fpu/s_logbl.c via #include.
42966
d20d4ac2
JM
429672012-05-15 Joseph Myers <joseph@codesourcery.com>
42968
42969 * README.libm: Remove file.
42970
6cdef1ab
L
429712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42972
42973 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42974 count for x32. Use R*_LP and omit operand-size suffix.
42975
0b254d8f
L
429762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42977
42978 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42979 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42980 * sysdeps/x86_64/x32/shlib-versions: New file.
42981
ceb809dc
RM
429822012-05-14 Roland McGrath <roland@hack.frob.com>
42983
42984 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42985 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42986 Use _dl_fatal_printf instead.
42987
37f1abd4
JM
429882012-05-14 Joseph Myers <joseph@codesourcery.com>
42989
42990 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42991 set if not set by the user. Do not allow for being unset.
42992 * sysdeps/unix/sysv/linux/configure: Regenerated.
42993
11de3a33
L
429942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42995
42996 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42997 the `q' suffix from lea and replace .quad with ASM_ADDR.
42998
e02f153a
L
429992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43000
43001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43002 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43003 instead of $17.
43004 (PTR_DEMANGLE): Likewise.
43005
520ae0fd
L
430062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43007
43008 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43009 (LP_OP): Likewise.
43010 (ASM_ADDR): Likewise.
43011 (RAX_LP): Likewise.
43012 (RBP_LP): Likewise.
43013 (RBX_LP): Likewise.
43014 (RCX_LP): Likewise.
43015 (RDI_LP): Likewise.
43016 (RSI_LP): Likewise.
43017 (RSP_LP): Likewise.
43018 (R8_LP): Likewise.
43019 (R9_LP): Likewise.
43020 (R10_LP): Likewise.
43021 (R10_LP): Likewise.
43022 (R11_LP): Likewise.
43023 (R12_LP): Likewise.
43024 (R13_LP): Likewise.
43025 (R14_LP): Likewise.
43026 (R15_LP): Likewise.
43027
b985be81
L
430282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43029
43030 * sysdeps/x86_64/x32/dl-machine.h: New file.
43031
6a4888ff
AJ
430322012-05-14 Andreas Jaeger <aj@suse.de>
43033
43034 * manual/Makefile (subdir): Remove export of subdir.
43035 (all): Remove target.
43036 (.PHONY): Remove all from list.
43037 (mkinstalldirs): Remove.
43038 (.PHONY): Remove installdirs from list.
43039 ($(inst_infodir)/libc.info): Use make-target-directory.
43040 (installdirs): Remove.
43041 (subdir_%): Remove.
43042 (glibc-targets): Remove.
43043 (lib): Remove.
43044 (stubs): Remove.
43045 ($(objpfx)stubs ../po/manual.pot): Remove.
43046 ($(objpfx)stamp%): Remove.
43047 (make-target-directory): Remove.
43048 (subdir_install): Remove.
43049 (routines): Remove.
43050 (aux): Remove.
43051 (sources): Remove.
43052 (objects): Remove.
43053 (headers): Remove.
43054
43055 [BZ #13750]
43056 * manual/.gitignore: Remove, it's not needed anymore.
43057 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43058 all files in it.
43059 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43060 directory.
43061 (texis): Renamed to $(objpfx)texis.
43062 (texis-path): New, contains path to generated files.
43063 (chapters.%): Use texis-path for complete path, add extra argument
43064 libc-texinfo.sh.
43065 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43066 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43067 (summary,texi, stamp-summary): Use complete path of
43068 files. Generate files in build dir.
43069 (dir-add.texi): Build in build dir.
43070 (libm-err.texi,stamp-libm-err): Likewise.
43071 (version.texi, stamp-version): Likewise.
43072 (.%c.texi): Likewise.
43073 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43074 (mostlyclean): Remove target.
43075 (realclean): Remove target.
43076 (generated): Add new variable with contents from mostlyclean and
43077 realclean, remove entries duplicated in common-mostlyclean, add
43078 stamp-libm-err and stamp-version.
43079 (generated-dirs): Add libc directory.
43080 ($(inst_infodir)/libc.info): Install files from build dir.
43081
43082 * manual/install.texi (Configuring and compiling): Adjust since
43083 the info files are not part of the tar ball anymore.
43084
7ac77294
AJ
430852012-05-14 Andreas Jaeger <aj@suse.de>
43086
43087 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43088 variable.
43089
ffb7875d
JM
430902012-05-14 Joseph Myers <joseph@codesourcery.com>
43091
43092 [BZ #13717]
43093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43094 to 2.2.0 where earlier.
43095 * sysdeps/unix/sysv/linux/configure: Regenerated.
43096 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43097 Remove conditional code.
43098 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43099 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43100 Remove conditional code.
43101 [!__NR_lchown]: Likewise.
43102 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43103 [__NR_lchown]: Likewise.
43104 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43105 comment referencing __ASSUME_LCHOWN_SYSCALL.
43106 * sysdeps/unix/sysv/linux/i386/sigaction.c
43107 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43108 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43109 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43110 Remove conditional code.
43111 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43112 (__protocol_available): Remove #if 0 code.
43113 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43114 conditional code.
43115 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43116 * sysdeps/unix/sysv/linux/kernel-features.h
43117 (__ASSUME_GETCWD_SYSCALL): Don't define.
43118 (__ASSUME_REALTIME_SIGNALS): Likewise.
43119 (__ASSUME_PREAD_SYSCALL): Likewise.
43120 (__ASSUME_PWRITE_SYSCALL): Likewise.
43121 (__ASSUME_POLL_SYSCALL): Likewise.
43122 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43123 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43124 non-SPARC.
43125 (__ASSUME_SIOCGIFNAME): Don't define.
43126 (__ASSUME_MSG_NOSIGNAL): Likewise.
43127 (__ASSUME_SENDFILE): Define unconditionally.
43128 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43129 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43130 conditional code.
43131 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43132 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43133 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43134 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43135 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43136 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43137 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43139 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43162 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43163 Remove conditional code.
43164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43165 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43166 Remove conditional code.
43167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43168 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43169 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43170 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43171 Remove conditional code.
43172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43173 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43174 Remove conditional code.
43175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43176 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43177 Remove conditional code.
43178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43179 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43180 Remove conditional code.
43181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43182 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43183 Remove conditional code.
43184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43185 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43188 * sysdeps/unix/sysv/linux/sigaction.c
43189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43191 * sysdeps/unix/sysv/linux/sigpending.c
43192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43194 * sysdeps/unix/sysv/linux/sigprocmask.c
43195 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43196 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43197 * sysdeps/unix/sysv/linux/sigsuspend.c
43198 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43199 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43200 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43201 (__libc_missing_rt_sigs): Remove.
43202 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43203 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43204 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43205 Remove conditional code.
43206 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43207 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43208 return 1.
43209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43210 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43212 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43213
1bfb7291
AJ
432142012-05-14 Andreas Jaeger <aj@suse.de>
43215
caae5a81
AJ
43216 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43217 it's not used in glibc.
43218 (__coshm1): Likewise.
43219 (__acosh1p): Likewise.
43220 (__sgn): Likewise.
43221
1bfb7291
AJ
43222 * manual/string.texi (Copying and Concatenation): Add missing
43223 variable in concat example.
43224 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43225
c044d724
L
432262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43227
144c5467 43228 [BZ #14103]
c044d724
L
43229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43230 __builtin_clzl with __builtin_clzll.
43231
2523c62b
L
432322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43233
43234 [BZ #14104]
43235 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43236 libc_freeres_ptr.
43237
d7bb4c42
LD
432382012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43239
43240 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43241 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43242 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43243 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43244
9dc4e1fb
MF
432452012-05-14 Mike Frysinger <vapier@gentoo.org>
43246
43247 * NEWS: Update ia64 info.
43248
c7df0112
AS
432492012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43250
43251 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43252 used as bcopy.
43253
dc70356c
TS
432542012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43255
43256 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43257 * sysdeps/unix/syscalls.list (dup3): Likewise.
43258 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43259 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43260
9fb1a21f
L
432612012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43262
43263 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43264 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43265
4822a2a5
L
432662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43267
43268 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43269 thread pointer.
43270 (TLS_IE): Use mov/add instead of movq/addq to load thread
43271 pointer.
43272 (TLS_GD_PREFIX): New.
43273 (TLS_GD): Use it.
43274
842b81d6
DM
432752012-05-11 David S. Miller <davem@davemloft.net>
43276
43277 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43278 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43279 (_FPU_SETCW): Likewise.
43280
1cf463cd
L
432812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43282
43283 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43284 is 32-byte aligned.
43285
60cc4a18
AS
432862012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43287
43288 [BZ #11837]
43289 * iconvdata/gb18030.c: Update tables.
43290 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43291 characters specially.
43292 (BODY for TO_LOOP): Add encoding of missing ranges.
43293
febb44a4
TS
432942012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43295
43296 [BZ #13673]
43297 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43298 * sysdeps/mach/hurd/dup3.c: Likewise.
43299 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43300 * sysdeps/powerpc/memmove.c:: Likewise.
43301
0a10fb9e
L
433022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43303
43304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43305 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43306
df8a552f
L
433072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43308
43309 * elf/elf.h (R_X86_64_RELATIVE64): New.
43310 (R_X86_64_NUM): Updated.
43311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43312 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43313 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43314 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43315 tst-quad1pie tst-quad2pie
43316 (modules-names): Add tst-quadmod1 tst-quadmod2.
43317 ($(objpfx)tst-quad1): New dependency.
43318 ($(objpfx)tst-quad2): Likewise.
43319 ($(objpfx)tst-quad1pie): Likewise.
43320 ($(objpfx)tst-quad2pie): Likewise.
43321 * sysdeps/x86_64/tst-quad1.c: New file.
43322 * sysdeps/x86_64/tst-quad1pie.c: New file.
43323 * sysdeps/x86_64/tst-quad2.c: Likewise.
43324 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43325 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43326 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43327 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43328 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43329
f34d6f84
ST
433302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43331
f42d41d1
ST
43332 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43333 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43334 * streams/stropts.h (t_scalar_t): Define type.
43335
3c3571fc
ST
43336 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43337 (_PATH_PRESERVE): Set to "/var/lib".
43338 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43339
61f06bd3
ST
43340 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43341 instead of int.
43342
918d4d71
ST
43343 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43344 if __dir_mkfile succeeded.
43345
f34d6f84
ST
43346 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43347 checking for _hurd_dtablesize. Unlock it right after having
43348 finished _hurd_dtable allocation.
43349
10589b4a
TS
433502012-05-10 Thomas Schwinge <thomas@schwinge.name>
43351
674cdbc7
TS
43352 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43353 * sysdeps/mach/hurd/configure: Regenerated.
43354 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43355 special-casing to...
43356 * sysdeps/gnu/configure.in: ... this new file.
43357 * sysdeps/unix/sysv/linux/configure: Regenerated.
43358 * sysdeps/gnu/configure: New generated file.
43359
8e41b99f
TS
43360 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43361 for Linux: use nsec instead of usec, as well as:
43362 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43363 members of type struct timespec.
43364 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43365 New macros.
43366 (struct stat64): Likewise.
43367 (_STATBUF_ST_NSEC): New macro.
43368 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43369
10589b4a
TS
43370 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43371 __strtoul_internal rather than strtoul.
43372
63643c85
PT
433732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43374
43375 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43376 and reject them.
43377
3faebe6a
ST
433782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43379
43380 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43381 which preserves existing values.
43382 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43383
c6474b07
PT
433842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43385
43386 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43387 TIMEOUT values. Return EINVAL for NFDS values either negative or
43388 greater than FD_SETSIZE.
43389
1043890b
ST
433902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43391
43392 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43393 allocated, call __vm_protect to finish enabling the existing space, and
43394 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43395 allocate the remainder.
43396
37ed8b9b
PT
433972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43398
43399 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43400 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43401
db653660
ST
434022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43403
37ed8b9b
PT
43404 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43405 sysdeps/mach/hurd/readlink.c.
b29d4053 43406
db653660
ST
43407 * posix/tst-sysconf.c (posix_options): Only use
43408 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43409 _POSIX_SYNCHRONIZED_IO when they are defined
43410 * sysdeps/mach/hurd/bits/posix_opt.h:
43411 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43412 (_XOPEN_REALTIME): Undefine macro.
43413 (_XOPEN_REALTIME_THREADS): Undefine macro.
43414 (_XOPEN_SHM): Undefine macro.
43415 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43416 macro to -1.
43417 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43418 macro to -1.
43419 (_POSIX_ASYNC_IO): Undefine macro.
43420 (_POSIX_PRIORITIZED_IO): Undefine macro.
43421 (_POSIX_SPIN_LOCKS): Define macro to -1.
43422
ee16e894
ST
43423 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43424 SA_NODEFER, SA_RESETHAND.
43425 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43426 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43427 F_DUPFD_CLOEXEC.
43428
6103ae3b
TS
434292012-05-10 Thomas Schwinge <thomas@schwinge.name>
43430
43431 * elf/Makefile (pldd-modules): Define unconditionally.
43432
80b4e5f3
TS
434332012-05-10 Thomas Schwinge <thomas@schwinge.name>
43434
43435 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43436
edadcbd6
ST
434372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43438
43439 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43440 Return ENOENT when name is empty.
43441 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43442
80694780
TS
434432012-05-10 Thomas Schwinge <thomas@schwinge.name>
43444
1792c087
TS
43445 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43446
80694780
TS
43447 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43448
6b645f0d
ST
434492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43450
80694780
TS
43451 Fix mlock in all cases except non-readable pages.
43452 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43453 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43454
6b645f0d
ST
43455 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43456 (__mkdir): When path is `/', just fail with EEXIST.
43457 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43458
e468f8a3
TS
434592012-05-10 Thomas Schwinge <thomas@schwinge.name>
43460
43461 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43462 <sys/uio.h> (for writev).
43463 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43464 and <sys/param.h> (for MIN).
43465
a4186cff
PT
434662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43467
43468 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43469 REQUESTED_TIME. Properly set the remaining time and return EINTR
43470 if interrupted.
43471
510bbf14
TS
434722012-05-10 Thomas Schwinge <thomas@schwinge.name>
43473
43474 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43475 Depend on against $(link-rpcuserlibs).
43476
5d5722e8
ST
434772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43478
a4186cff
PT
43479 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43480 (__libc_stack_end): Do not use attribute_relro.
43481 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43482 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43483 to libthread-provided value.
a4186cff
PT
43484 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43485 attribute_relro.
5d5722e8 43486
37233df9
TS
434872012-05-10 Thomas Schwinge <thomas@schwinge.name>
43488
be971a2b
TS
43489 [BZ #3748]
43490 * bits/libc-lock.h (__libc_once_get): New macro.
43491 * sysdeps/mach/bits/libc-lock.h: Likewise.
43492 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43493 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43494 instead of using implementation details.
43495
37233df9
TS
43496 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43497 * libio/freopen.c: Likewise.
43498 * libio/freopen64.c: Likewise.
43499 * misc/syslog.c: Likewise.
43500 * nscd/connections.c: Likewise.
43501 * nscd/netgroupcache.c: Likewise.
43502 * sysdeps/posix/getcwd.c: Likewise.
43503
38de94a5
RM
435042012-05-10 Roland McGrath <roland@hack.frob.com>
43505
43506 * math/w_ilogbf.c: Add #include <limits.h>.
43507
67530489
ST
435082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43509
a4186cff 43510 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43511 path instead of returning without unlocking.
43512
67530489
ST
43513 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43514 immediate-write ioctls.
43515 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43516
5aa3a74a
TS
435172012-05-10 Thomas Schwinge <thomas@schwinge.name>
43518
18bad2ae
TS
43519 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43520 __builtin_frame_address instead of making assumptions about the
43521 location of the return address relative to DATA. Force early load of
43522 the return address.
43523 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43524 __builtin_frame_address.
43525
5aa3a74a
TS
43526 dup3 for GNU Hurd.
43527 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43528 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43529 implement dup3 and do some further code clean-ups.
43530 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43531 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43532
ecd0de9a
ST
435332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43534
cd9fa985
ST
43535 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43536
a4186cff
PT
43537 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43538 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43539 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43540 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43541 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43542 d->port.lock.
802ca5a5 43543
a4186cff
PT
43544 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43545 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43546 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43547
bcf55240
TS
435482012-05-10 Thomas Schwinge <thomas@schwinge.name>
43549
6960eb42
TS
43550 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43551 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43552 definitions.
43553
eb43375f
TS
43554 accept4 for GNU Hurd.
43555 * include/sys/socket.h (__libc_accept4): New prototype.
43556 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43557 to implement __libc_accept4.
43558 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43559 __libc_accept4.
43560 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43561
bcf55240
TS
43562 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43563 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43564 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43565 signal-defines.sym.
43566
6178c55b
ST
435672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43568
a4186cff 43569 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43570
6f080c2f
TS
435712012-05-10 Thomas Schwinge <thomas@schwinge.name>
43572
43573 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43574 assertion on O_CLOEXEC flag.
43575 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43576 * hurd/intern-fd.c: Likewise.
43577 * hurd/port2fd.c: Likewise.
43578
bcfe3a54
ST
435792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43580
43581 [BZ #3906]
43582 * bits/in.h (IPV6_PKTINFO): Define new macro.
43583 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43584
89c9aa49
AZ
435852012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43586
43587 [BZ #13954]
43588 [BZ #13955]
43589 [BZ #13956]
43590 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43591 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43592 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43593 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43594 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43595 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43596 * math/libm-test.inc (logb_test) : Additional logb tests.
43597
021db4be
AJ
435982012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43599 Andreas Jaeger <aj@suse.de>
43600
43601 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43602 * configure: Regenerated.
43603 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43604 * config.make.in (link-obsolete-rpc): New substituted variable.
43605 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43606 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43607 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43608 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43609 so that libc.a contains the symbols.
43610 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43611 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43612 * sunrpc/auth_none.c: Likewise.
43613 * sunrpc/auth_unix.c: Likewise.
43614 * sunrpc/authdes_prot.c: Likewise.
43615 * sunrpc/authuxprot.c: Likewise.
43616 * sunrpc/clnt_gen.c: Likewise.
43617 * sunrpc/clnt_perr.c: Likewise.
43618 * sunrpc/clnt_raw.c: Likewise.
43619 * sunrpc/clnt_simp.c: Likewise.
43620 * sunrpc/clnt_tcp.c: Likewise.
43621 * sunrpc/clnt_udp.c: Likewise.
43622 * sunrpc/clnt_unix.c: Likewise.
43623 * sunrpc/des_crypt.c: Likewise.
43624 * sunrpc/des_soft.c: Likewise.
43625 * sunrpc/get_myaddr.c: Likewise.
43626 * sunrpc/key_call.c: Likewise.
43627 * sunrpc/key_prot.c: Likewise.
43628 * sunrpc/netname.c: Likewise.
43629 * sunrpc/pm_getmaps.c: Likewise.
43630 * sunrpc/pm_getport.c: Likewise.
43631 * sunrpc/pmap_clnt.c: Likewise.
43632 * sunrpc/pmap_prot.c: Likewise.
43633 * sunrpc/pmap_prot2.c: Likewise.
43634 * sunrpc/pmap_rmt.c: Likewise.
43635 * sunrpc/publickey.c: Likewise.
43636 * sunrpc/rpc_cmsg.c: Likewise.
43637 * sunrpc/rpc_common.c: Likewise.
43638 * sunrpc/rpc_dtable.c: Likewise.
43639 * sunrpc/rpc_prot.c: Likewise.
43640 * sunrpc/rpc_thread.c: Likewise.
43641 * sunrpc/rtime.c: Likewise.
43642 * sunrpc/svc.c: Likewise.
43643 * sunrpc/svc_auth.c: Likewise.
43644 * sunrpc/svc_raw.c: Likewise.
43645 * sunrpc/svc_run.c: Likewise.
43646 * sunrpc/svc_tcp.c: Likewise.
43647 * sunrpc/svc_udp.c: Likewise.
43648 * sunrpc/svc_unix.c: Likewise.
43649 * sunrpc/svcauth_des.c: Likewise.
43650 * sunrpc/xcrypt.c: Likewise.
43651 * sunrpc/xdr.c: Likewise.
43652 * sunrpc/xdr_array.c: Likewise.
43653 * sunrpc/xdr_float.c: Likewise.
43654 * sunrpc/xdr_intXX_t.c: Likewise.
43655 * sunrpc/xdr_mem.c: Likewise.
43656 * sunrpc/xdr_rec.c: Likewise.
43657 * sunrpc/xdr_ref.c: Likewise.
43658 * sunrpc/xdr_sizeof.c: Likewise.
43659 * sunrpc/xdr_stdio.c: Likewise.
43660
b5c086a2
RM
436612012-05-10 Roland McGrath <roland@hack.frob.com>
43662
43663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43664 change. Update copyright years.
43665
6d74dd09
JM
436662012-05-10 Joseph Myers <joseph@codesourcery.com>
43667
43668 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43669
28e72501
MK
436702012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43671 Joseph Myers <joseph@codesourcery.com>
43672 Paul Pluzhnikov <ppluzhnikov@google.com>
43673
43674 [BZ #14012]
43675 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43676 requiring rpcgen.
43677 [cross-compiling] (extra-libs): Likewise.
43678 [cross-compiling] (extra-libs-others): Likewise.
43679 [cross-compiling] (librpcsvc-routines): Likewise.
43680 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43681 [cross-compiling] (omit-deps): Likewise.
43682 (sunrpc-CPPFLAGS): New variable.
43683 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43684 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43685 (cross-rpcgen-objs): New variable.
43686 (extra-objs): Append $(cross-rpcgen-objs).
43687 ($(cross-rpcgen-objs)): New rule.
43688 ($(objpfx)cross-rpcgen): Likewise.
43689 (rpcgen-cmd): Define to use $(built-program-file). Expand
43690 comment.
43691 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43692 ($(objpfx)x%.stmp): Likewise.
43693 * sunrpc/proto.h [IS_IN_build] (_): Define.
43694 [IS_IN_build] (_libc_intl_domainname): Likewise.
43695
c8c59454
L
436962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43697
43698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43699 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43700 and R_X86_64_TPOFF64.
43701
6f27cd16
JM
437022012-05-10 Joseph Myers <joseph@codesourcery.com>
43703
43704 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43705 sysdeps/unix/sysv/syscalls.list.
43706 (stime): Likewise.
43707 (utime): Likewise.
43708 * sysdeps/unix/sysv/syscalls.list: Remove file.
43709
02467e1c
PE
437102012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43711
43712 [BZ #3440]
43713 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43714 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43715 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43716 (__LC_IDENTIFICATION): Make these macros useful in #if
43717 expressions, as required by C99.
43718
da392631
AS
437192012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43720
43721 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43722 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43723 after this.
43724
8115f29b
L
437252012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43726
43727 * stdlib/longlong.h: Updated from GCC.
43728
bdd74070
AJ
437292012-05-09 Andreas Jaeger <aj@suse.de>
43730
edfe0dbe
AJ
43731 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43732 default is first entry.
43733 (run_mode): Set type.
43734 (main): Remove informal message about syslog.
43735 (options): Fix typo.
43736
bcfe3a54
ST
43737 [BZ #14053]
43738 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43739 to asm.
bcfe3a54
ST
43740 (lrint): Likewise.
43741 (llrintf): Likewise.
43742 (llrint): Likewise.
43743 (rint): Likewise.
43744 (rintf): Likewise.
43745 (nearbyint): Likewise.
43746 (nearbyintf): Likewise.
bdd74070 43747
91d8d69e
AJ
437482012-05-09 Andreas Jaeger <aj@suse.de>
43749 Pedro Alves <palves@redhat.com>
43750
43751 * nscd/nscd.c (run_mode): Use enum.
43752 (main): Cleanup coding style issue.
43753
bb90b80b
AJ
437542012-05-09 Alexandre Oliva <aoliva@redhat.com>
43755 Andreas Jaeger <aj@suse.de>
43756
bcfe3a54
ST
43757 * nscd/nscd.c (go_background): Replaced with...
43758 (run_mode): ... this.
bb90b80b 43759 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43760 (options): Add -F --foreground.
43761 (main): Implement it.
43762 (parse_opt): Parse it.
bb90b80b 43763
1a4b75a1
AJ
437642012-05-09 Andreas Jaeger <aj@suse.de>
43765
43766 [BZ #14083]
43767 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43768 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43769 -Wconversion warning.
43770 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43771 Likewise.
43772
b1cc2472
JM
437732012-05-09 Joseph Myers <joseph@codesourcery.com>
43774
43775 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43776 == 0.
43777 (LC_ALL): Use macro-int-constant.
43778 (LC_COLLATE): Likewise.
43779 (LC_CTYPE): Likewise.
43780 (LC_MESSAGES): Likewise.
43781 (LC_MONETARY): Likewise.
43782 (LC_NUMERIC): Likewise.
43783 (LC_TIME): Likewise.
43784 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43785 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43787 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43788 Specify type.
43789 [C99-based standards] (float_t): Expect type.
43790 [C99-based standards] (double_t): Expect type.
43791 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43792 type.
43793 [C99-based standards] (HUGE_VALL): Likewise.
43794 [C99-based standards] (INFINITY): Likewise.
43795 [C99-based standards] (NAN): Likewise.
43796 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43797 [C99-based standards] (FP_NAN): Likewise.
43798 [C99-based standards] (FP_NORMAL): Likewise.
43799 [C99-based standards] (FP_SUBNORMAL): Likewise.
43800 [C99-based standards] (FP_ZERO): Likewise.
43801 [C99-based standards] (FP_FAST_FMA): Use
43802 optional-macro-int-constant. Specify type. Require == 1.
43803 [C99-based standards] (FP_FAST_FMAF): Likewise.
43804 [C99-based standards] (FP_FAST_FMAL): Likewise.
43805 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43806 [C99-based standards] (FP_ILOGBNAN): Likewise.
43807 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43808 Specify type.
43809 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43810 [C99-based standards] (math_errhandling): Specify type.
43811 [ISO99 || ISO11] (signgam): Do not allow.
43812 [non-C99-based standards] (copysignf): Do not allow.
43813 [non-C99-based standards] (exp2f): Likewise.
43814 [non-C99-based standards] (log2f): Likewise.
43815 [non-C99-based standards] (modff): Allow.
43816 [non-C99-based standards] (erff): Do not allow.
43817 [non-C99-based standards] (erfcf): Likewise.
43818 [non-C99-based standards] (gammaf): Likewise.
43819 [non-C99-based standards] (hypotf): Likewise.
43820 [non-C99-based standards] (j0f): Likewise.
43821 [non-C99-based standards] (j1f): Likewise.
43822 [non-C99-based standards] (jnf): Likewise.
43823 [non-C99-based standards] (lgammaf): Likewise.
43824 [non-C99-based standards] (tgammaf): Likewise.
43825 [non-C99-based standards] (y0f): Likewise.
43826 [non-C99-based standards] (y1f): Likewise.
43827 [non-C99-based standards] (ynf): Likewise.
43828 [non-C99-based standards] (isnanf): Likewise.
43829 [non-C99-based standards] (acoshf): Likewise.
43830 [non-C99-based standards] (asinhf): Likewise.
43831 [non-C99-based standards] (atanhf): Likewise.
43832 [non-C99-based standards] (cbrtf): Likewise.
43833 [non-C99-based standards] (expm1f): Likewise.
43834 [non-C99-based standards] (ilogbf): Likewise.
43835 [non-C99-based standards] (log1pf): Likewise.
43836 [non-C99-based standards] (logbf): Likewise.
43837 [non-C99-based standards] (nextafterf): Likewise.
43838 [non-C99-based standards] (remainderf): Likewise.
43839 [non-C99-based standards] (rintf): Likewise.
43840 [non-C99-based standards] (scalbf): Likewise.
43841 [non-C99-based standards] (copysignl): Likewise.
43842 [non-C99-based standards] (exp2l): Likewise.
43843 [non-C99-based standards] (log2l): Likewise.
43844 [non-C99-based standards] (modfl): Allow.
43845 [non-C99-based standards] (erfl): Do not allow.
43846 [non-C99-based standards] (erfcl): Likewise.
43847 [non-C99-based standards] (gammal): Likewise.
43848 [non-C99-based standards] (hypotl): Likewise.
43849 [non-C99-based standards] (j0l): Likewise.
43850 [non-C99-based standards] (j1l): Likewise.
43851 [non-C99-based standards] (jnl): Likewise.
43852 [non-C99-based standards] (lgammal): Likewise.
43853 [non-C99-based standards] (tgammal): Likewise.
43854 [non-C99-based standards] (y0l): Likewise.
43855 [non-C99-based standards] (y1l): Likewise.
43856 [non-C99-based standards] (ynl): Likewise.
43857 [non-C99-based standards] (isnanl): Likewise.
43858 [non-C99-based standards] (acoshl): Likewise.
43859 [non-C99-based standards] (asinhl): Likewise.
43860 [non-C99-based standards] (atanhl): Likewise.
43861 [non-C99-based standards] (cbrtl): Likewise.
43862 [non-C99-based standards] (expm1l): Likewise.
43863 [non-C99-based standards] (ilogbl): Likewise.
43864 [non-C99-based standards] (log1pl): Likewise.
43865 [non-C99-based standards] (logbl): Likewise.
43866 [non-C99-based standards] (nextafterl): Likewise.
43867 [non-C99-based standards] (remainderl): Likewise.
43868 [non-C99-based standards] (rintl): Likewise.
43869 [non-C99-based standards] (scalbl): Likewise.
43870 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43871 [non-C99-based standards] (FP_*): Do not allow.
43872 [C99-based standards] (FP_*): Change to
43873 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43874 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43875 allow.
43876 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43877 (SIG_ERR): Likewise.
43878 [X/Open-based standards] (SIG_HOLD): Likewise.
43879 (SIG_IGN): Likewise.
43880 (SIGABRT): Use macro-int-constant. Specify type. Require
43881 positive value.
43882 (SIGFPE): Likewise.
43883 (SIGILL): Likewise.
43884 (SIGINT): Likewise.
43885 (SIGSEGV): Likewise.
43886 (SIGTER): Likewise.
43887 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43888 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43889 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43890 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43891 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43892 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43893 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43894 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43895 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43896 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43897 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43898 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43899 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43900 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43901 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43902 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43903 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43904 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43905 [X/Open-based standards] (SIGTRAP): Likewise.
43906 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43907 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43908 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43909 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43910 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43911 allow.
43912
b9f1922d
IW
439132012-05-08 Ian Wienand <ianw@vmware.com>
43914
43915 [BZ #14080]
43916 * time/tzset.c (__tzset_parse_tz): Update default rules for
43917 daylight time changes in the Energy Policy Act of 2005.
43918
1db86e88
AJ
439192012-05-09 Andreas Jaeger <aj@suse.de>
43920
43921 [BZ #13983]
43922 * elf/ldconfig.c (parse_conf): Change string to make clear that
43923 ldconfig only issued a warning if ld.so.conf does not exist.
43924
dee4a4e3
DM
439252012-05-08 David S. Miller <davem@davemloft.net>
43926
ee0db190
DM
43927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43928 movxtod instead of popping the value on the stack.
43929
dee4a4e3
DM
43930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43931
6a43ec98
CD
439322012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43933
43934 * config.h.in: Add HAVE_ARM_PCS_VFP.
43935
05c2c961
RMG
439362012-05-08 Roland Mc Grath <roland@hack.frob.com>
43937
bcfe3a54
ST
43938 [BZ #13979]
43939 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43940 checking but the checks are disabled for any reason.
05c2c961 43941
4b30f61a
L
439422012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43943
43944 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43945 and ELF64_R_TYPE with ELFW(R_TYPE).
43946
eee2bc67
JM
439472012-05-08 Joseph Myers <joseph@codesourcery.com>
43948
7ea5391a
JM
43949 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43950 (ulimit): Likewise.
43951
eee2bc67
JM
43952 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43953 (settimeofday): Likewise.
43954
abb66a67
MF
439552012-05-08 Mike Frysinger <vapier@gentoo.org>
43956
43957 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43958 a struct th_u2 inside the union, and move tu_block/tu_code into
43959 a new th_u3 union of tu_block/tu_code inside of that. Move
43960 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43961 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43962 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43963 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43964 (th_stuff): Change to th_u1.tu_stuff.
43965 (th_data): Define.
43966 (th_msg): Change to th_u1.th_u2.tu_data.
43967
7f18b530
DM
439682012-05-07 David S. Miller <davem@davemloft.net>
43969
05760585
DM
43970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43971
7f18b530
DM
43972 [BZ #14074]
43973 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43974 (SETUP_PIC_REG): Use it.
43975 (SETUP_PIC_REG_LEAF): Use it.
43976
495fd99f
JM
439772012-05-07 Joseph Myers <joseph@codesourcery.com>
43978
43979 [BZ #13885]
43980 [BZ #13923]
43981 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43982 USE_AS_EXPM1L.
43983 (EXPL_FINITE): Likewise.
43984 (FLDLOG): Likewise.
43985 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43986 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43987 e_expl.S.
43988 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43989 USE_AS_EXPM1L.
43990 (EXPL_FINITE): Likewise.
43991 (FLDLOG): Likewise.
43992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43993 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43994 e_expl.S.
43995 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43996 test of -max_value argument for long double.
43997 * sysdeps/i386/fpu/libm-test-ulps: Update.
43998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43999
6693d694
DM
440002012-05-06 David S. Miller <davem@davemloft.net>
44001
44002 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44003 quad soft-float symbols whose references which are compiler
44004 generated.
44005 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44006
6c23e11c
JM
440072012-05-06 Joseph Myers <joseph@codesourcery.com>
44008
d8b82cad
JM
44009 [BZ #13884]
44010 [BZ #13914]
44011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44012 USE_AS_EXP10L.
44013 (EXPL_FINITE): Likewise.
44014 (FLDLOG): Likewise.
44015 (c0): Likewise.
44016 (c1): Likewise.
44017 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44018 Adjust comments for base varying.
44019 (__expl_finite): Change alias to EXPL_FINITE.
44020 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44021 e_expl.S.
44022 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44023 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44024 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44025 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44027 USE_AS_EXP10L.
44028 (EXPL_FINITE): Likewise.
44029 (FLDLOG): Likewise.
44030 (c0): Likewise.
44031 (c1): Likewise.
44032 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44033 Adjust comments for base varying.
44034 (__expl_finite): Change alias to EXPL_FINITE.
44035 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44036 tests for bugs.
44037 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44038
6c23e11c
JM
44039 [BZ #14064]
44040 * math/libm-test.inc (check_float_internal): Correct ulp
44041 calculation for subnormal expected results.
44042
29ba805c
AJ
440432012-05-06 Andreas Jaeger <aj@suse.de>
44044
44045 * Makeconfig (+math-flags): New, set to -frounding-math.
44046 (+cflags): Add +math-flags so that all of glibc gets compiled with
44047 it.
44048
44049 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44050
7b17aeda
JM
440512012-05-05 Joseph Myers <joseph@codesourcery.com>
44052
5779f134
JM
44053 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44054 Disable one test.
44055
41498f4d
JM
44056 [BZ #13787]
44057 [BZ #13922]
44058 [BZ #14036]
44059 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44060 (__ieee754_expl): Allow for and saturate large arguments.
44061 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44062 (u_threshold): Likewise.
44063 (__exp): Call __ieee754_exp before checking for overflow and
44064 underflow.
44065 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44066 (u_threshold): Likewise.
44067 (__expf): Call __ieee754_expf before checking for overflow and
44068 underflow.
44069 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44070 (u_threshold): Likewise.
44071 (__expl): Call __ieee754_expl before checking for overflow and
44072 underflow.
44073 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44074 (__ieee754_expl): Allow for and saturate large arguments.
44075 * math/libm-test.inc (exp_test): Add another test. Do not allow
44076 missing overflow exception on overflow.
44077 (expm1_test): Do not allow missing overflow exception on overflow.
44078
6698b8bf
JM
44079 * sysdeps/i386/fpu/e_expl.c: Move to ...
44080 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44081 rather than using inline asm.
44082 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44083 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44084 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44085
7b17aeda
JM
44086 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44087 (nice): Likewise.
44088 (poll): Likewise.
44089 (signal): Likewise.
44090 (time): Likewise.
44091 (times): Likewise.
44092
f7c85819
JM
440932012-05-04 Joseph Myers <joseph@codesourcery.com>
44094
44095 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44096 sysdeps/unix/common/syscalls.list.
44097 (fchmod): Likewise.
44098 (fchown): Likewise.
44099 (ftruncate): Likewise.
44100 (getrusage): Likewise.
44101 (gettimeofday): Likewise.
44102 (setpgid): Likewise.
44103 (setregid): Likewise.
44104 (setreuid): Likewise.
44105 (sigaction): Likewise.
44106 (truncate): Likewise.
44107 (vhangup): Likewise.
44108 * sysdeps/unix/common/syscalls.list: Remove file.
44109 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44110 * sysdeps/unix/sysv/linux/Implies: Likewise.
44111
336270d0
L
441122012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44113
44114 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44116 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44117 Moved to ...
44118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44119 Here.
44120 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44121 to ...
44122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44123 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44124 to ...
44125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44126 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44127 to ...
44128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44129 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44130 to ...
44131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44132 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44133 to ...
44134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44135 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44136 to ...
44137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44138 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44139 to ...
44140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44141 Here.
44142 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44143 to ...
44144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44145 Here.
44146 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44147 to ...
44148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44149 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44150 Moved to ...
44151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44152 Here.
44153 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44154 to ...
44155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44156
d128e450
JM
441572012-05-04 Joseph Myers <joseph@codesourcery.com>
44158
fa8ee516
JM
44159 * sysdeps/unix/common/bits/dirent.h: Remove file.
44160 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44161
d128e450
JM
44162 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44163 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44164 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44165 * sysdeps/unix/bsd/isatty.c: Likewise.
44166 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44167 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44168 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44169
ff8faaf0 441702012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44171
62881be4 44172 [BZ #13563]
31dc8730
AZ
44173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44174 long double comparison inaccuracies.
44175 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44177
6fef930c
AS
441782012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44179
44180 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44181 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44182
8f203e6c
JM
441832012-05-04 Joseph Myers <joseph@codesourcery.com>
44184
44185 [BZ #14049]
44186 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44187 nonzero digits before rounding a hex value.
44188 * stdlib/tst-strtod.c (tests): Add another test.
44189
5197d9c2
AK
441902012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44191
44192 * sysdeps/s390/fpu/libm-test-ulps: Update.
44193
f0c1dedf
AJ
441942012-05-03 Andreas Jaeger <aj@suse.de>
44195
44196 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44197 does not get optimized out.
44198 (malloc_opt_barrier): New.
44199
a65ef2ae 442002012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44201 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44202
2b942cb7 44203 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44204 intermediate file deletion.
2b942cb7 44205 (generated): Add .symlist files.
a65ef2ae 44206
54b71e02
JM
442072012-05-03 Joseph Myers <joseph@codesourcery.com>
44208
44209 [BZ #13775]
44210 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44211 Redirect under this condition.
44212 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44213 [__USE_GNU] (__dprintf_chk): Not under this condition.
44214 [__USE_GNU] (__vdprintf_chk): Likewise.
44215 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44216 under this condition.
44217 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44218 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44219 [__USE_XOPEN2K8] (vdprintf): Likewise.
44220 [__USE_GNU] (__dprintf_chk): Not under this condition.
44221 [__USE_GNU] (__vdprintf_chk): Likewise.
44222 [__USE_GNU] (dprintf): Likewise.
44223 [__USE_GNU] (vdprintf): Likewise.
44224
d3dfcc41
RM
442252012-05-03 Roland McGrath <roland@hack.frob.com>
44226
44227 * elf/Makefile (common-generated): Set this instead of generated for
44228 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44229 $(all-built-dso)-derived lists.
44230
7ac30cc5
AJ
442312012-05-03 Andreas Jaeger <aj@suse.de>
44232
0c51e550
AJ
44233 * sysdeps/i386/fpu/libm-test-ulps: Update.
44234
7ac30cc5
AJ
44235 * FAQ: Removed.
44236 * FAQ.in: Likewise.
44237 * scripts/gen-FAQ.pl: Likewise.
44238 * manual/install.texi (Installation): Point to online location of
44239 FAQ.
44240 * Makefile (files-for-dist): Remove FAQ.
44241 (FAQ): Remove.
44242
d4c2917f
AM
442432012-05-02 Allan McRae <allan@archlinux.org>
44244
44245 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44246 (LDFLAGS-reldepmod5.so): Likewise.
44247 (LDFLAGS-reldep6mod1.so): Likewise.
44248 (LDFLAGS-reldep6mod4.so): Likewise.
44249 (LDFLAGS-reldep8mod3.so): Likewise.
44250 (LDFLAGS-unload4mod1.so): Likewise.
44251 (LDFLAGS-unload4mod2.so): Likewise.
44252 (LDFLAGS-tst-initorder): Likewise.
44253 (LDFLAGS-tst-initordera2.so): Likewise.
44254 (LDFLAGS-tst-initordera3.so): Likewise.
44255 (LDFLAGS-tst-initordera4.so): Likewise.
44256 (LDFLAGS-tst-initorderb2.so): Likewise.
44257 (LDFLAGS-noload): Likewise.
44258 (LDFLAGS-next): Likewise.
44259 (LDFLAGS-order2mod1.so): Likewise.
44260 (LDFLAGS-order2mod2.so): Likewise.
44261 (LDFLAGS-tst-initorder2): Likewise.
44262 (LDFLAGS-tst-initorder2a.so): Likewise.
44263 (LDFLAGS-tst-initorder2b.so): Likewise.
44264 (LDFLAGS-tst-initorder2c.so): Likewise.
44265 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44266
d77f993f
DM
442672012-05-02 David S. Miller <davem@davemloft.net>
44268
44269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44270
171a70b4
PP
442712012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44272
44273 [BZ #14055]
44274 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44275
0be196ad
AJ
442762012-05-02 Andreas Jaeger <aj@suse.de>
44277
44278 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44279 since we manipulate rounding mode.
44280 (CPPFLAGS-test-idouble.c): Likewise.
44281 (CPPFLAGS-test-ifloat.c): Likewise.
44282 (CFLAGS-test-ldouble.c): Likewise.
44283 (CFLAGS-test-double.c): Likewise.
44284 (CFLAGS-test-float.c): Likewise.
44285 (CFLAGS-test-misc.c): Likewise.
44286 (CFLAGS-test-test-fenv.c): Likewise.
44287
4f9d04aa
AZ
442882012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44289
2b942cb7
RM
44290 [BZ #2550]
44291 [BZ #2570]
44292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44293 comparisons to determine direction to adjust input.
4f9d04aa 44294
82a79e7d
RM
442952012-05-01 Roland McGrath <roland@hack.frob.com>
44296
f5a01ca9
RM
44297 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44298 output to the target.
44299
90fe4186
RM
44300 * scripts/localplt.awk: New file.
44301 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44302 (check-localplt-CFLAGS): Variable removed.
44303 ($(all-built-dso:=.jmprel)): New static pattern rule.
44304 (generated): Add those targets.
44305 (localplt-built-dso): New variable.
44306 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44307
44308 * elf/check-localplt.c: File removed.
44309
82397ed6
RM
44310 * scripts/check-execstack.awk: New file.
44311 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44312 (check-execstack-CFLAGS): Variable removed.
44313 ($(objpfx)check-execstack.h): Target removed.
44314 ($(objpfx)execstack-default): New target.
44315 (generated): Add that instead of check-execstack.h.
44316 ($(all-built-dso:=.phdr)): New static pattern rule.
44317 (generated): Add those targets.
44318 * elf/check-execstack.c: File removed.
44319
82a79e7d
RM
44320 * scripts/check-textrel.awk: New file.
44321 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44322 (check-textrel-CFLAGS): Variable removed.
44323 (all-built-dso): Use := to define.o
44324 ($(all-built-dso:=.dyn)): New static pattern rule.
44325 (generated): Add those targets.
44326 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44327 * config.make.in (READELF): New substituted variable.
44328 * elf/check-textrel.c: File removed.
44329
62fde54f 443302012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44331
615605c9
JM
44332 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44333 allow.
44334 * conform/data/ctype.h-data [C99-based standards] (isblank):
44335 Expect function.
44336 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44337 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44338 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44339 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44340 Specify type. Require positive value.
44341 (EILSEQ): Likewise.
44342 (ERANGE): Likewise.
44343 [ISO || POSIX] (EILSEQ): Do not expect.
44344 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44345 Specify type. Require positive value.
44346 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44347 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44348 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44349 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44350 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44351 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44352 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44353 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44354 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44355 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44356 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44357 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44358 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44359 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44360 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44361 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44362 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44363 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44364 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44365 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44366 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44367 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44368 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44369 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44370 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44371 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44372 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44373 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44374 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44375 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44376 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44377 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44378 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44379 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44380 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44381 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44382 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44383 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44384 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44385 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44386 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44387 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44388 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44389 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44390 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44391 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44392 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44393 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44394 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44395 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44396 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44397 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44398 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44399 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44400 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44401 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44402 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44403 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44404 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44405 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44406 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44407 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44408 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44409 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44410 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44411 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44412 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44413 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44414 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44415 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44416 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44417 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44418 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44419 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44420 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44421 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44422 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44423 Require >= 2.
44424 (FLT_ROUNDS): Expect as macro, not constant.
44425 (FLT_MANT_DIG): Use macro-int-constant.
44426 (DBL_MANT_DIG): Likewise.
44427 (LDBL_MANT_DIG): Likewise.
44428 (FLT_DIG): Likewise.
44429 (DBL_DIG): Likewise.
44430 (LDBL_DIG): Likewise.
44431 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44432 (DBL_MIN_EXP): Likewise.
44433 (LDBL_MIN_EXP): Likewise.
44434 (FLT_MAX_EXP): Use macro-int-constant.
44435 (DBL_MAX_EXP): Likewise.
44436 (LDBL_MAX_EXP): Likewise.
44437 (FLT_MAX_10_EXP): Likewise.
44438 (DBL_MAX_10_EXP): Likewise.
44439 (LDBL_MAX_10_EXP): Likewise.
44440 (FLT_MAX): Use macro-constant.
44441 (DBL_MAX): Likewise.
44442 (LDBL_MAX): Likewise.
44443 (FLT_EPSILON): Use macro-constant. Give upper bound.
44444 (DBL_EPSILON): Likewise.
44445 (LDBL_EPSILON): Likewise.
44446 (FLT_MIN): Likewise.
44447 (DBL_MIN): Likewise.
44448 (LDBL_MIN): Likewise.
44449 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44450 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44451 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44452 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44453 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44454 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44455 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44456 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44457 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44458 [ISO11] (FLT_TRUE_MIN): Likewise.
44459 [ISO11] (LDBL_TRUE_MIN): Likewise.
44460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44461 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44462 (SCHAR_MIN): Use macro-int-constant. Specify type.
44463 (SCHAR_MAX): Likewise.
44464 (UCHAR_MAX): Likewise.
44465 (CHAR_MIN): Likewise.
44466 (CHAR_MAX): Likewise.
44467 (MB_LEN_MAX): Use macro-int-constant.
44468 (SHRT_MIN): Use macro-int-constant. Specify type.
44469 (SHRT_MAX): Likewise.
44470 (USHRT_MAX): Likewise.
44471 (INT_MAX): Likewise.
44472 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44473 bound negative.
44474 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44475 bound with "U".
44476 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44477 bound with "L".
44478 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44479 bound negative. Suffix upper bound with "L".
44480 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44481 bound with "UL".
44482 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44483 Specify type.
44484 [C99-based standards] (LLONG_MAX): Likewise.
44485 [C99-based standards] (ULLONG_MAX): Likewise.
44486 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44487 == 0.
44488 [ISO11] (max_align_t): Require type.
44489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44490
c9140a62
JM
44491 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44492 from $CFLAGS, without defining away __attribute__ calls.
44493 (checknamespace): Use $CFLAGS_namespace.
44494
9af0bf29
JM
44495 * conform/conformtest.pl (@keywords): Only include C99 keywords
44496 for standards based on C99 or C11.
44497
343222a2
JM
44498 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44499 Disable tests.
44500 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44501 UNIX98]: Likewise.
44502
661f8cf0
JM
44503 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44504 usability of symbols in #if.
44505
ee74b9cb
JM
44506 * conform/conformtest.pl: If macro or constant types start
44507 "promoted:", expect the symbol to be of the following type
44508 promoted by the integer promotions.
62fde54f 44509
aafc49b3
JM
44510 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44511 in one place. Also handle "macro-constant".
44512
fefdf574
JM
44513 * conform/conformtest.pl: Only accept expected macro values with
44514 "==". Parse all "macro" lines in one place.
44515 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44516
f2d922fe
JM
44517 * conform/conformtest.pl: Handle braced types on "constant" lines
44518 instead of handling "typed-constant".
44519 * conform/data/signal.h-data: Use "constant" instead of
44520 "typed-constant".
44521
d22956c9
JM
44522 * conform/conformtest.pl: Handle "optional-" at start of lines in
44523 one place rather than duplicating several cases. Handle each
44524 format of "macro" line with initial "optional-".
44525
028e2e38
JM
44526 * conform/conformtest.pl: Only accept expected constant or
44527 optional-constant values with "==". Parse all "constant" lines in
44528 one place. Parse all "optional-constant" lines in one place.
44529 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44530 * conform/data/fmtmsg.h-data: Likewise.
44531 * conform/data/netinet/in.h-data: Likewise.
44532 * conform/data/tar.h-data: Likewise.
44533 * conform/data/limits.h-data: Use "==" form on "constant" and
44534 "optional-constant" lines.
44535
1b8f2850
JM
44536 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44537 Use -std=c99 for XOPEN2K.
44538 (@knownproblems): Remove.
44539 (newtoken): Don't check %isknown.
44540
a05a144b
JM
44541 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44542 Do not expect macro.
44543 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44544 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44545 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44546 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44547 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44548 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44549 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44550 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44551 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44552 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44553 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44554 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44555 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44556 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44557 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44558 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44559 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44560 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44561 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44562 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44563 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44564 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44565 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44566 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44567 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44568 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44569 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44570 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44571 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44572 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44573 [XPG3] (acosh): Likewise.
44574 [XPG3] (asinh): Likewise.
44575 [XPG3] (atanh): Likewise.
44576 [XPG3] (cbrt): Likewise.
44577 [XPG3] (expm1): Likewise.
44578 [XPG3] (ilogb): Likewise.
44579 [XPG3] (log1p): Likewise.
44580 [XPG3] (logb): Likewise.
44581 [XPG3] (nextafter): Likewise.
44582 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44583 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44584 [XPG3] (remainder): Likewise.
44585 [XPG3] (rint): Likewise.
44586 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44587 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44588 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44589 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44590 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44591 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44592 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44593 [UNIX98 || XOPEN2K] (scalb): Expect.
44594 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44595 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44596 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44597 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44598 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44599 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44600 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44601 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44602 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44603 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44604 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44605 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44606 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44607 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44608 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44609 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44610 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44611 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44612 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44613 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44614 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44615 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44616 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44617 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44618 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44619 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44620 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44621 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44622 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44623 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44624 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44625 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44626 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44627 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44628 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44629 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44630 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44631 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44632 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44633 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44634 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44635 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44636 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44637 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44638 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44639 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44640 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44641 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44642 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44643 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44644 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44645 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44646 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44647 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44648 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44649 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44650 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44651 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44652 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44653 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44654 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44655 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44656 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44657 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44658 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44659 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44660 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44661 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44662 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44663 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44664 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44665 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44666 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44667 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44668 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44669 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44670 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44671 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44672 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44673 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44674 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44675 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44676 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44677 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44678 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44679 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44680 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44681 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44682 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44683 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44684 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44685 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44686 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44687 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44688 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44689 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44690 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44691 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44692 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44693 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44694 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44695 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44696 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44697 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44698 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44699 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44700 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44701 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44702 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44703 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44704 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44705 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44706 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44707 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44708 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44709 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44710 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44711 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44712 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44713 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44714 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44715 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44716 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44717 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44718 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44719 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44720 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44721 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44722 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44723 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44724 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44725 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44726 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44727 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44728 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44729 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44730 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44731
73c5ebe3
JM
44732 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44733 _XOPEN_SOURCE_EXTENDED for XPG4.
44734
39c33b6c
JM
44735 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44736
62fde54f
JM
44737 * Makeconfig (localtime): Remove variable.
44738 (inst_localtime-file): Likewise.
44739
0741d64c
AS
447402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44741
44742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44743 Update.
44744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44745 Update.
44746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44747 Update.
44748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44749 Update.
44750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44751 Update.
44752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44753 Update.
44754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44755 Update.
44756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44757 Update.
44758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44759 Update.
44760
7cb029ee
JM
447612012-05-01 Joseph Myers <joseph@codesourcery.com>
44762
44763 [BZ #2550]
44764 [BZ #2570]
44765 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44766 comparisons to determine direction to adjust input.
44767 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44768 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44769 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44770 Likewise.
44771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44772 Likewise.
44773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44774 Likewise.
44775 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44777 Likewise.
44778 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44779 Likewise.
44780 * math/libm-test.inc (nexttoward_test): Add more tests.
44781
412bd966
AS
447822012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44783
44784 [BZ #14040]
44785 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44786 in version GLIBC_2.1, not GLIBC_2.0.
44787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44788 Likewise.
44789
9568c0c2
JM
447902012-04-30 Joseph Myers <joseph@codesourcery.com>
44791
adfbc8ac
JM
44792 [BZ #13942]
44793 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44794 (1 - x) * (1 + x).
44795 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44796 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44797 * math/libm-test.inc (acos_test): Add more tests.
44798 (asin_test): Likewise.
44799 * sysdeps/i386/fpu/libm-test-ulps: Update.
44800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44801
5ba3cc69
JM
44802 [BZ #14034]
44803 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44804 of square root.
44805 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44806 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44807 * math/libm-test.inc (acos_test_tonearest): New function.
44808 (acos_test_towardzero): Likewise.
44809 (acos_test_downward): Likewise.
44810 (acos_test_upward): Likewise.
44811 (asin_test_tonearest): Likewise.
44812 (asin_test_towardzero): Likewise.
44813 (asin_test_downward): Likewise.
44814 (asin_test_upward): Likewise.
44815 (main): Call the new functions.
44816 * sysdeps/i386/fpu/libm-test-ulps: Update.
44817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44818
9568c0c2
JM
44819 [BZ #13884]
44820 [BZ #13924]
44821 * math/e_exp10.c: Include <float.h>.
44822 (__ieee754_exp10): Handle underflow here rather than multiplying
44823 large negative argument by M_LN10.
44824 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44825 of __ieee754_expf.
44826 * math/e_exp10l.c: Include <float.h>.
44827 (__ieee754_exp10l): Handle underflow here rather than multiplying
44828 large negative argument by M_LN10l.
44829 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44830 spurious overflow exception on underflow.
44831
5ac3ea17
MP
448322012-04-29 Marek Polacek <polacek@redhat.com>
44833
44834 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44835 (__fortify_function): New macro.
44836 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44837 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44838 __extern_always_inline.
44839 * libio/bits/stdio2.h: Likewise.
44840 * libio/bits/stdio.h: Likewise.
44841 * string/string.h: Likewise.
44842 * string/bits/string3.h: Likewise.
44843 * include/stdio.h: Likewise.
44844 * stdlib/bits/stdlib.h: Likewise.
44845 * stdlib/stdlib.h: Likewise.
44846 * rt/bits/mqueue2.h: Likewise.
44847 * rt/mqueue.h: Likewise.
44848 * posix/bits/unistd.h: Likewise.
44849 * posix/unistd.h: Likewise.
44850 * io/bits/poll2.h: Likewise.
44851 * io/bits/fcntl2.h: Likewise.
44852 * io/fcntl.h: Likewise.
44853 * io/sys/poll.h: Likewise.
44854 * misc/bits/syslog.h: Likewise.
44855 * misc/bits/syslog-ldbl.h: Likewise.
44856 * misc/sys/syslog.h: Likewise.
44857 * socket/bits/socket2.h: Likewise.
44858 * socket/sys/socket.h: Likewise.
44859 * debug/tst-chk1.c: Likewise.
44860 * wcsmbs/bits/wchar2.h: Likewise.
44861 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44862 * wcsmbs/wchar.h: Likewise.
44863
ecf0ebfb
AJ
448642012-04-29 Andreas Jaeger <aj@suse.de>
44865
44866 * Makerules (tests): Remove enable-check-abi protection.
44867 (check-abi-warn): Remove.
44868 (check-abi-%): Remove check-abi-warn usage.
44869
44870 * configure.in: Remove check-abi configure option.
44871 * configure: Regenerated.
44872 * config.make.in (enable-check-abi): Remove.
44873
6d5c57fa
AS
448742012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44875
24c5d07e 44876 [BZ #14033]
ded5180a
AS
44877 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44878 double functions to double *_finite functions.
44879
7e0d315d
AS
44880 [BZ #13941]
44881 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44882 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44883 LDBL_MIN_EXP.
44884 * stdio-common/Makefile (tests): Add tst-sprintf3.
44885 * stdio-common/tst-sprintf3.c: New file.
44886
6d5c57fa
AS
44887 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44888 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44889
0749ff8b
JM
448902012-04-28 Joseph Myers <joseph@codesourcery.com>
44891
44892 * conform/conformtest.pl: Remove duplicate typed-constant
44893 handling.
44894
8dbd5d7b
DM
448952012-04-28 David S. Miller <davem@davemloft.net>
44896
44897 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44898 (check-abi-%): Remove AWK script prerequisite and explicit
44899 abilist directory.
44900 (check-abi): Rewrite to just diff the symlist with the abilist.
44901 (config-tls, config-abi-config): Delete, no longer used.
44902 (update-abi-%): Remove AWK script and explicit abilist directory.
44903 (update-abi): Rewrite to simply compare and conditionally copy the
44904 symlist and the sysdep abilist file. Remove update-abi-config
44905 checks.
44906 * abilist/ld.abilist: Remove.
44907 * abilist/libBrokenLocale.abilist: Remove.
44908 * abilist/libanl.abilist: Remove.
44909 * abilist/libcrypt.abilist: Remove.
44910 * abilist/libdl.abilist: Remove.
44911 * abilist/librt.abilist: Remove.
44912 * abilist/libthread_db.abilist: Remove.
44913 * abilist/libutil.abilist: Remove.
44914 * scripts/extract-abilist.awk: Remove.
44915 * scripts/merge-abilist.awk: Remove.
44916 * sysdeps/generic/libcidn.abilist: New file.
44917 * sysdeps/generic/libnss_compat.abilist: New file.
44918 * sysdeps/generic/libnss_db.abilist: New file.
44919 * sysdeps/generic/libnss_dns.abilist: New file.
44920 * sysdeps/generic/libnss_files.abilist: New file.
44921 * sysdeps/generic/libnss_hesiod.abilist: New file.
44922 * sysdeps/generic/libnss_nis.abilist: New file.
44923 * sysdeps/generic/libnss_nisplus.abilist: New file.
44924 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44925 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44926 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44927 file.
44928 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44929 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44930 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44931 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44932 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44933 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44934 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44935 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44936 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44937 file.
44938 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44939 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44940 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44941 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44942 file.
44943 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44944 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44945 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44946 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44947 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44948 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44949 file.
44950 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44951 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44952 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44953 file.
44954 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44956 New file.
44957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44958 New file.
44959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44960 New file.
44961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44962 New file.
44963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44964 New file.
44965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44966 New file.
44967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44968 New file.
44969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44970 New file.
44971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44972 New file.
44973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44974 New file.
44975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44976 New file.
44977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44978 New file.
44979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44980 New file.
44981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44982 file.
44983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44984 New file.
44985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44986 New file.
44987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44988 file.
44989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44990 New file.
44991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44992 New file.
44993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44994 file.
44995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44996 New file.
44997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44998 New file.
44999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45000 New file.
45001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45002 New file.
45003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45004 New file.
45005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45006 New file.
45007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45009 file.
45010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45011 New file.
45012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45013 file.
45014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45015 file.
45016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45017 file.
45018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45019 file.
45020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45021 file.
45022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45023 New file.
45024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45025 file.
45026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45027 file.
45028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45029 New file.
45030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45031 file.
45032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45034 file.
45035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45036 New file.
45037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45038 file.
45039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45040 file.
45041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45042 file.
45043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45044 file.
45045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45046 file.
45047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45048 New file.
45049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45050 file.
45051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45052 file.
45053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45054 New file.
45055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45056 file.
45057 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45058 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45059 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45060 file.
45061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45062 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45063 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45064 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45065 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45066 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45067 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45068 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45069 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45070 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45073 file.
45074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45075 New file.
45076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45077 file.
45078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45079 file.
45080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45081 file.
45082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45083 file.
45084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45085 file.
45086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45087 New file.
45088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45089 New file.
45090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45091 file.
45092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45093 New file.
45094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45095 file.
45096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45098 file.
45099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45100 New file.
45101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45102 file.
45103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45104 file.
45105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45106 file.
45107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45108 file.
45109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45110 file.
45111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45112 New file.
45113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45114 New file.
45115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45116 file.
45117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45118 New file.
45119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45120 file.
45121
41d73a1b
JM
451222012-04-28 Joseph Myers <joseph@codesourcery.com>
45123
45124 * conform/conformtest.pl: Fix typo in handling typed-constant from
45125 allow-header.
45126
28aeeda4
JM
451272012-04-27 Joseph Myers <joseph@codesourcery.com>
45128
adae8f5e
JM
45129 * README: Cut down references to pre-2.6 Linux kernels and
45130 Linuxthreads. Update lists of configurations in libc and ports
45131 and sort alphabetically. Say "or newer" with Linux kernel version
45132 requirements.
45133
28aeeda4
JM
45134 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45135
a462cb63
RA
451362012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45137
45138 [BZ #887]
45139 * math/libm-test.inc (logb_test_downward): New test to expose
45140 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45141 rounding mode.
45142
6ad3493e
JM
451432012-04-27 Joseph Myers <joseph@codesourcery.com>
45144
45145 [BZ #14027]
45146 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45147 to be done.
45148 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45149 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45150
2ce4f015
JM
451512012-04-26 Joseph Myers <joseph@codesourcery.com>
45152
5aeb141a
JM
45153 * sysdeps/unix/i386/brk.S: Remove file.
45154 * sysdeps/unix/i386/dl-brk.S: Likewise.
45155 * sysdeps/unix/i386/pipe.S: Likewise.
45156 * sysdeps/unix/i386/sigreturn.S: Likewise.
45157 * sysdeps/unix/i386/syscall.S: Likewise.
45158 * sysdeps/unix/i386/vfork.S: Likewise.
45159 * sysdeps/unix/i386/wait.S: Likewise.
45160
7143acae
JM
45161 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45162 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45163
2ce4f015
JM
45164 * configure.in (arm*-none*): Do not allow without
45165 --enable-hacker-mode.
45166 (netbsd*): Remove case setting base_os.
45167 (386bsd*): Likewise.
45168 (freebsd*): Likewise.
45169 (bsdi*): Likewise.
45170 (osf*): Likewise.
45171 (sunos*): Likewise.
45172 (ultrix*): Likewise.
45173 (newsos*): Likewise.
45174 (dynix*): Likewise.
45175 (*bsd*): Likewise.
45176 (sysv*): Likewise.
45177 (isc*): Likewise.
45178 (esix*): Likewise.
45179 (sco*): Likewise.
45180 (minix*): Likewise.
45181 (irix4*): Likewise.
45182 (irix6*): Likewise.
45183 (solaris[2-9]*): Likewise.
45184 (none): Likewise.
45185 * configure: Regenerated.
45186
0ac229c8
AZ
451872012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45188
45189 [BZ #11521]
45190 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45191 overflow or cancellation in calculating denominator.
45192 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45194 down expression to avoid unexpected rounding in newer GCCs.
45195 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45196
33f244f4
DM
451972012-04-26 David S. Miller <davem@davemloft.net>
45198
45199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45200 long-double compat symbols.
45201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45214
cfa1f3e8
DM
452152012-04-25 David S. Miller <davem@davemloft.net>
45216
45217 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45218 HWCAP_* values only after the memory barriers have been defined.
45219 (atomic_full_barrier): Define.
45220 (atomic_read_barrier): Define.
45221 (atomic_write_barrier): Define.
45222
6e236b92
SP
452232012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45224
45225 * shlib-versions: Add libgcc_s version information.
45226 * sysdeps/generic/libgcc_s.h: Remove.
45227 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45228 libgcc_s.h.
45229 * sysdeps/gnu/unwind-resume.c: Likewise.
45230 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45231
aab39a09
DM
452322012-04-25 David S. Miller <davem@davemloft.net>
45233
45234 * sysdeps/unix/sparc/brk.S: Delete.
45235 * sysdeps/unix/sparc/dl-brk.S: Delete.
45236 * sysdeps/unix/sparc/pipe.S: Delete.
45237 * sysdeps/unix/sparc/sysdep.S: Delete.
45238 * sysdeps/unix/sparc/sysdep.h: Delete.
45239 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45240 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45241 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45242 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45243 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45244 (JUMPTARGET): Remove.
45245 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45246 sysdeps/unix/sparc/sysdep.h
45247 (ENTRY, END): Remove.
45248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45249
a3cc4f48
JM
452502012-04-25 Joseph Myers <joseph@codesourcery.com>
45251
2ed8cda2
JM
45252 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45253 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45254 -DIS_IN_build.
45255
35d76d59
JM
45256 * timezone/README: Update upstream location and email address for
45257 tzcode and tzdata.
45258 * timezone/zdump.c: Update from tzcode 2012b.
45259 * timezone/zic.c: Likewise.
45260
a3cc4f48
JM
45261 * configure.in (libc_cv_as_needed): Remove test.
45262 * configure: Regenerated.
45263 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45264 conditional definition.
45265 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45266 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45267 * config.make.in (have-as-needed): Remove variable.
45268
ceab42c3
SP
452692012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45270 Paul Pluzhnikov <ppluzhnikov@google.com>
45271
45272 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45273 strings correctly.
45274
3ce2865f
CLT
452752012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45276
45277 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45278 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45279 * sysdeps/sh/strlen.S: Likewise.
45280
f37e0d68
JM
452812012-04-24 Joseph Myers <joseph@codesourcery.com>
45282
ae186e9a
JM
45283 * sysdeps/unix/fork.S: Remove file.
45284 * sysdeps/unix/i386/fork.S: Likewise.
45285 * sysdeps/unix/sparc/fork.S: Likewise.
45286
b96914af
JM
45287 * sysdeps/unix/system.c: Remove file.
45288 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45289
f37e0d68
JM
45290 * sysdeps/unix/getegid.S: Remove file.
45291 * sysdeps/unix/geteuid.S: Likewise.
45292
87ef29ca
RM
452932012-04-24 Roland McGrath <roland@hack.frob.com>
45294
83bcd236
RM
45295 * scripts/check-localplt.awk: New file.
45296 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45297 of diff.
45298 * scripts/data/localplt-generic.data: Add a comment.
45299
87ef29ca
RM
45300 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45301 NODE when __dir_mkfile failed.
45302 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45303 Reported by Ludovic Courtès <ludo@gnu.org>.
45304
e5a6e567
AJ
453052012-04-24 Andreas Jaeger <aj@suse.de>
45306
45307 * Makerules (common-clean): Also remove gen-as-const-headers
45308 files.
45309
c1820385
JM
453102012-04-24 Joseph Myers <joseph@codesourcery.com>
45311
45312 * Makerules (native-compile): Do not change working directory for
45313 build. Use $(OUTPUT_OPTION) in command.
45314 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45315
94e02fc4
AZ
453162012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45317
45318 [BZ #13886]
45319 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45320 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45321 * math/libm-test.inc (floor_test): Add more tests.
45322 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45323
3a533ca3
JM
453242012-04-24 Joseph Myers <joseph@codesourcery.com>
45325
940ab4b3
JM
45326 * sysdeps/unix/getdents.c: Remove file.
45327 * sysdeps/unix/sysv/getdents.c: Likewise.
45328 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45329
90e037bd
JM
45330 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45331 sysdeps/unix/mman/syscalls.list.
45332 (mmap): Likewise.
45333 (mprotect): Likewise.
45334 (msync): Likewise.
45335 (munmap): Likewise.
45336 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45337 * sysdeps/unix/mman/syscalls.list: Remove.
45338 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45339
3a533ca3
JM
45340 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45341 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45342 * configure: Regenerated.
45343 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45344 $(libgcc_s_suffix).
45345 * config.make.in (libgcc_s_suffix): Remove variable.
45346
1ad743de
JM
453472012-04-23 Joseph Myers <joseph@codesourcery.com>
45348
4ad451e2
JM
45349 * sysdeps/unix/sysv/gethostname.c: Move to ...
45350 * sysdeps/posix/gethostname.c: ... here.
45351
5e37ce39
JM
45352 * sysdeps/unix/execve.S: Remove file.
45353
1ad743de
JM
45354 * sysdeps/unix/_exit.S: Remove file.
45355
4e681b5b
AJ
453562012-04-23 Andreas Jaeger <aj@suse.de>
45357
45358 [BZ #13739]
45359 * manual/Makefile: Remove make dist support, there's no
45360 need for a stand-alone documentation tar ball.
45361 (TEXI2DVI): Define always, it's not in Makeconfig.
45362 (dist): Removed.
45363 (tar-it): Removed.
45364 (edition): Removed.
45365 (glibc-doc-$(edition).tar): Removed
45366 (%.Z): Removed.
45367 (%.gz): Removed.
45368 (%.uu): Removed.
45369 (ETAGS): Remove, it's in Makeconfig.
45370 (move-if-change): Remove, it's in Makeconfig.
45371
38686a03 453722012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45373
45374 [BZ #13970]
45375 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45376 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45377 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45378 (strtod_l, strtof_l, strtold_l): Remove __wur.
45379 It is not necessarily an error to ignore strtol's return value.
45380 One can reliably look at the stored endptr to decide whether
45381 the number had valid syntax.
45382
7c0616fa
AJ
453832012-04-21 Andreas Jaeger <aj@suse.de>
45384
803cb6b7 45385 [BZ #13739]
7c0616fa
AJ
45386 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45387
b0fe253f
JM
453882012-04-21 Joseph Myers <joseph@codesourcery.com>
45389
45390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45391 * sysdeps/unix/sysv/Versions: Remove file.
45392
8280f22d
MT
453932012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45394
45395 [BZ #13927]
45396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45397
75ce411f 453982012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45399
45400 [BZ #7064]
45401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45402 version from __vm86.
45403
097d59fa
JM
454042012-04-20 Joseph Myers <joseph@codesourcery.com>
45405
a90f3bcb
JM
45406 * sysdeps/unix/common/lxstat.c: Remove file.
45407 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45408
edc7ea78
JM
45409 * sysdeps/unix/sysv/Makefile: Remove file.
45410
cb78c221
JM
45411 * sysdeps/unix/sysv/direct.h: Remove file.
45412
efa6a45f
JM
45413 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45414 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45415 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45416 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45417 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45418 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45419 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45420
9c9f2d0c
JM
45421 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45422
4541c83b
JM
45423 * sysdeps/unix/xmknod.c: Remove file.
45424 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45425
f5d153a0
JM
45426 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45427
aa746595
JM
45428 * sysdeps/unix/sysv/i386/time.S: Remove file.
45429
cce5905e
JM
45430 * sysdeps/unix/fxstat.c: Remove file.
45431 * sysdeps/unix/xstat.c: Likewise.
45432 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45433
37fa3841
JM
45434 * sysdeps/unix/sysv/sigaction.c: Remove file.
45435
ff1962a3
JM
45436 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45437 (sysdep_headers): Remove variable.
45438 [termio.h not in sysdep_headers] (generated): Likewise.
45439 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45440 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45441 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45442 * sysdeps/unix/sysv/tcflow.c: Likewise.
45443 * sysdeps/unix/sysv/tcflush.c: Likewise.
45444 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45445 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45446 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45447 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45448 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45449
e7740d31
JM
45450 * sysdeps/unix/siglist.c: Remove file.
45451
ee06f18b
JM
45452 * sysdeps/unix/getppid.S: Remove file.
45453
097d59fa
JM
45454 * sysdeps/unix/mkdir.c: Remove file.
45455 * sysdeps/unix/rmdir.c: Likewise.
45456
ff3d51ec
AS
454572012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45458
45459 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45460 ERR_MAX value.
45461 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45462 errlist-compat value.
45463
50f81fd7
DM
454642012-04-18 David S. Miller <davem@davemloft.net>
45465
45466 * sysdeps/generic/memcopy.h (reg_char): Delete.
45467 * debug/strcat_chk.c: Use char, not reg_char.
45468 * debug/strcpy_chk.c: Likewise.
45469 * debug/strncat_chk.c: Likewise.
45470 * debug/strncpy_chk.c: Likewise.
45471 * string/memchr.c: Likewise.
45472 * string/memrchr.c: Likewise.
45473 * string/rawmemchr.c: Likewise.
45474 * string/strcat.c: Likewise.
45475 * string/strchr.c: Likewise.
45476 * string/strchrnul.c: Likewise.
45477 * string/strcmp.c: Likewise.
45478 * string/strcpy.c: Likewise.
45479 * string/strncat.c: Likewise.
45480 * string/strncmp.c: Likewise.
45481 * string/strncpy.c: Likewise.
45482
8ff41c46
WS
454832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45484
45485 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45486 __builtin_memcopy is called when src and dest ranges are known to not
45487 overlap.
45488
6b652f46
WS
454892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45490
45491 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45492 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45493 fwd_align_merge macro call.
45494 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45495 bwd_align_merge macro call.
45496 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45497
b282631e
WS
454982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45499
45500 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45501 bwd_align_merge macros.
45502 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45503 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45504 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45505
95aa737c
DM
455062012-04-18 David S. Miller <davem@davemloft.net>
45507
45508 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45509
7a99a614
AJ
455102012-04-18 Andreas Jaeger <aj@suse.de>
45511
45512 [BZ# 6794]
45513 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45514 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45515 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45516
45517 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45518 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45519 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45520
45521 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45522 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45523 Adjust for changed ldbl-128 files.
45524
45525 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45526 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45528
e5270c23
DM
455292012-04-17 David S. Miller <davem@davemloft.net>
45530
45531 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45532
fb5e92c9
AS
455332012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45534
45535 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45536 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45537 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45538 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45539 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45540 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45541
76da7265
AZ
455422012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45543
45544 [BZ #6794]
45545 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45546 * math/libm-test.inc: Add ilogb errno and exception tests.
45547 * math/w_ilogb.c: New file: ilogb wrapper.
45548 * math/w_ilogbf.c: New file: ilogbf wrapper.
45549 * math/w_ilogbl.c: New file: ilogbl wrapper.
45550 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45551 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45552 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45553 exception being thrown with 0.0 as argument.
45554 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45555 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45556 exception being thrown with 0.0 as argument.
45557 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45558 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45559 exception being thrown with 0.0 as argument.
45560 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45561 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45562 exception being thrown with 0.0 as argument.
45563 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45564 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45565 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45566 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45568 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45569 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45570 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45571 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45572
0396e69d
PB
455732012-04-17 Petr Baudis <pasky@ucw.cz>
45574
45575 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45576 with altivec.
45577
750b5926
MP
455782012-04-16 Marek Polacek <polacek@redhat.com>
45579
45580 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45581
751728a1
MP
455822012-04-16 Marek Polacek <polacek@redhat.com>
45583
45584 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45585 operands of fdivp instruction.
45586
34a27407
L
455872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45588
45589 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45590 * elf/tst-auditmod3b.c: Likewise.
45591 * elf/tst-auditmod4b.c: Likewise.
45592 * elf/tst-auditmod5b.c: Likewise.
45593 * elf/tst-auditmod6b.c: Likewise.
45594 * elf/tst-auditmod6c.c: Likewise.
45595 * elf/tst-auditmod7b.c: Likewise.
45596 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45597 * sysdeps/x86_64/preconfigure.in: Likewise.
45598 * sysdeps/x86_64/preconfigure: Regenerated.
45599
7e73e17d
L
456002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45601
45602 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45603 __ILP32__.
45604
c7a6ab72
AB
456052012-04-13 Antoine Balestrat <merkil33@gmail.com>
45606
45607 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45608 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45609
a9e8e0e0
CL
456102012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45611
45612 [BZ #13973]
45613 * locale/iso-639.def: Fix gl language name. Spotted by
45614 Yaron Shahrabani.
45615
ec98af7d
RM
456162012-04-12 Roland McGrath <roland@hack.frob.com>
45617
45618 [BZ #2074]
45619 * libio/libio.h (__io_write_fn): Update comment.
45620
247c3ede
PB
456212012-04-12 Petr Baudis <pasky@ucw.cz>
45622
45623 [BZ #2074]
45624 * stdio.texi (Hook Functions): The user provided writer function
45625 is not allowed to return -1.
45626
55939d6d
DM
456272012-04-11 David S. Miller <davem@davemloft.net>
45628
45629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45630
90020f5a
MF
456312012-04-11 Mike Frysinger <vapier@gentoo.org>
45632
45633 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45634 Add a leading slash to rtkaio.
45635
288f9098
JM
456362012-04-11 Jim Meyering <meyering@redhat.com>
45637
90020f5a
MF
45638 [BZ #11959]
45639 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45640 It is not necessarily an error to ignore fwrite's return
45641 value. One can reliably use ferror to test for errors after
45642 the fact.
288f9098 45643
4be2b570
L
456442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45645
45646 * bits/types.h (__snseconds_t): New type.
45647 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45648
45649 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45651 (__SNSECONDS_T_TYPE): Likewise.
45652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45653 (__SNSECONDS_T_TYPE): Likewise.
45654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45655 (__SNSECONDS_T_TYPE): Likewise.
45656
288f9098 456572012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45658
45659 [BZ #2636]
45660 * manual/time.texi (Processor Time): Return type of times is
45661 elapsed real time since an arbitrary point in the past.
45662 (CPU Time): Move CLK_TCK from here...
45663 (Processor Time): ...to here. Correct description.
45664 * manual/conf.texi (Constants for Sysconf): Correct description of
45665 _SC_CLK_TCK.
45666
d7dd4413
DM
456672012-04-10 David S. Miller <davem@davemloft.net>
45668
45669 [BZ #13967]
45670 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45671 where the is a gap between DT_REL(A) and DT_JMPREL.
45672
b46068fc
L
456732012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45674
45675 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45676 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45677 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45678
73d65cc3
SP
456792012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45680
45681 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45682 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45683 (dl_main): Handle --inhibit-cache.
45684 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45685 _dl_inhibit_cache.
45686 * elf/dl-load.c (_dl_map_object): Use it.
45687 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45688
bcc8d661
JM
456892012-04-09 Joseph Myers <joseph@codesourcery.com>
45690
8f9a2fae
JM
45691 [BZ #13872]
45692 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45693 (__ieee754_powl): Saturate large exponents rather than testing for
45694 overflow of y*log2(x).
45695 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45696 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45697 exceptions.
45698
bcc8d661
JM
45699 [BZ #11521]
45700 * math/s_ctan.c: Include <float.h>.
45701 (__ctan): Avoid internal overflow or cancellation in calculating
45702 denominator.
45703 * math/s_ctanf.c: Likewise.
45704 * math/s_ctanl.c: Likewise.
45705 * math/s_ctanh.c: Likewise.
45706 * math/s_ctanhf.c: Likewise.
45707 * math/s_ctanhl.c: Likewise.
45708 * math/libm-test.inc (ctan_test): Add more tests.
45709 (ctanh_test): Likewise.
45710 * sysdeps/i386/fpu/libm-test-ulps: Update.
45711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45712
823fbbb4
AJ
457132012-04-09 Andreas Jaeger <aj@suse.de>
45714
03879793
AJ
45715 [BZ #6894]
45716 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45717 is an optional BSD extension.
45718
823fbbb4
AJ
45719 [BZ #10254]
45720 * manual/stdio.texi (Opening Streams): Document additional fopen
45721 parameters.
45722
8de131cb
RM
457232012-04-09 Roland McGrath <roland@hack.frob.com>
45724
45725 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45726 %eax without telling the compiler.
45727
c0ed9d7d
CD
457282012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45729
45730 [BZ # 13963]
45731 * manual/install.texi: Use sourceware.org.
45732
c483f6b4
JM
457332012-04-09 Joseph Myers <joseph@codesourcery.com>
45734
d7dd9453
JM
45735 [BZ #13873]
45736 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45737 (__ieee754_pow): Generate overflow and underflow using huge*huge
45738 and tiny*tiny rather than just returning constant infinity or zero
45739 for large exponents.
45740 * math/libm-test.inc (pow_test): Require overflow exceptions for
45741 applicable cases of large exponents.
45742
c483f6b4
JM
45743 [BZ #706]
45744 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45745 (__ieee754_pow): Use iterative multiplication algorithm only for
45746 integer exponents with absolute value below 1024. Check for odd
45747 integer exponents when using algorithm for real exponents.
45748 * math/libm-test.inc (pow_test): Add more tests.
45749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45750
d2de7579
JM
457512012-04-08 Joseph Myers <joseph@codesourcery.com>
45752
45753 [BZ #13705]
45754 * math/libm-test.inc (exp_test): Do not allow overflow exception
45755 on underflow test.
45756
f77f1232
AJ
457572012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45758
45759 [BZ #13705]
45760 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45761 instead of __kernel_standard_f.
45762
3884932b
MF
457632012-04-08 Mike Frysinger <vapier@gentoo.org>
45764
45765 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45766 * sysdeps/x86_64/memset_chk.S: Likewise.
45767
54472e9c
AJ
457682012-04-08 Andreas Jaeger <aj@suse.de>
45769
6ab0fbfc
AJ
45770 [BZ #10153]
45771 * manual/startup.texi (Environment Access): Describe return value
45772 for putenv and setenv.
45773
61efba8c
AJ
45774 [BZ #6895]
45775 * manual/filesys.texi (Directory Entries): Add description for
45776 DT_LNK.
45777
95c3f29a
AJ
45778 [BZ #6890]
45779 * manual/filesys.texi (Directory Entries): Clarify that it's file
45780 system not operating system in the description of DT_UNKNOWN.
45781
54472e9c
AJ
45782 [BZ #6578]
45783 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45784
624254b1
SC
457852012-04-08 Stephen Compall <s11@member.fsf.org>
45786
45787 [BZ #6649]
45788 * manual/llio.texi (Opening and Closing Files): Add cross
45789 reference to explain mode argument.
45790
1e4920e0
MF
457912012-04-07 Mike Frysinger <vapier@gentoo.org>
45792
45793 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45794 * sysdeps/x86_64/memset_chk.S: Likewise.
45795
5ed848f3
DM
457962012-04-07 David S. Miller <davem@davemloft.net>
45797
45798 * elf/elf.h (R_SPARC_WDISP10): Define.
45799 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45800 R_SPARC_SIZE32.
45801 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45802 R_SPARC_SIZE64 and R_SPARC_H34.
45803
96154cd8
CD
458042012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45805
45806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45807 conditions and remove no longer applicable assertion.
45808
9904dc47
L
458092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45810
45811 * bits/byteswap.h: Include <features.h>.
45812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45814
f8887d0a
L
458152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45816
45817 * bits/byteswap.h (__bswap_16): Removed.
45818 Include <bits/byteswap-16.h> to get __bswap_16.
45819 * sysdeps/i386/bits/byteswap.h: Likewise.
45820 * sysdeps/s390/bits/byteswap.h: Likewise.
45821 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45822 * bits/byteswap-16.h: New file.
45823 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45824 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45825 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45826 * string/Makefile (headers): Add bits/byteswap-16.h.
45827
62470f60
PP
458282012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45829
45830 [BZ #13895]
45831 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45832 extra indirection.
45833 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45834 * nss/tst-nss-static.c: New.
45835
4dad7bab
RM
458362012-04-06 Robert Millan <rmh@gnu.org>
45837
45838 [BZ #6486]
45839 * manual/llio.texi (File Position Primitive): lseek
45840 refers to WHENCE when it really means OFFSET.
45841
e9142a17
AJ
458422012-04-06 Andreas Jaeger <aj@suse.de>
45843
2c040eff
AJ
45844 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45845 strncmp declarations.
45846
e9142a17
AJ
45847 * abilist/libc.abilist: Add __poll and __ppoll.
45848
ff9f1c5f
DM
458492012-04-05 David S. Miller <davem@davemloft.net>
45850
dcd2ae90
DM
45851 * scripts/check-local-headers.sh: Accept a host triplet in the
45852 path matched by the exclude regexp.
45853
993eb054
DM
45854 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45855 definition.
45856 * sysdeps/powerpc/powerpc32/dl-machine.h
45857 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45858 * sysdeps/s390/s390-32/dl-machine.h
45859 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45860 * sysdeps/sparc/sparc32/dl-machine.h
45861 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45862 * sysdeps/sparc/sparc64/dl-machine.h
45863 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45864
ff9f1c5f
DM
45865 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45866 lazy binding.
48e2e132 45867 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45868 undefined symbol errors.
45869
48e2e132 45870 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45871 DT_NEEDED entries.
45872
e80d6f94
MM
458732012-04-05 Michael Matz <matz@suse.de>
45874
45875 [BZ #13592]
45876 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45877
349fa79f
AJ
458782012-04-05 Andreas Jaeger <aj@suse.de>
45879
45880 [BZ #13908]
45881 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45882 comment.
45883
f402708f
KK
458842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45885
45886 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45887 which ROUND is no valid rounding mode.
45888
2ecccfc9
KK
458892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45890
45891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45892 read again.
45893 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45894
8a53f50f
KK
458952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45896
45897 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45898 an exception using FPU order intentionally.
45899
459002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45901
45902 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45903 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45904 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45905 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45906
d653abb7
SJ
459072012-04-05 Simon Josefsson <simon@josefsson.org>
45908
45909 [BZ #12340]
45910 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45911 EINVAL when BUFLEN is too smal.
45912
c3b1bf7d
TS
459132012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45914
45915 [BZ #13553]
45916 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45917 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45918
b1aa60f3
AJ
459192012-04-03 Andreas Jaeger <aj@suse.de>
45920
c3b1bf7d 45921 [BZ #13938]
67f60a26
AJ
45922 * manual/setjmp.texi (System V contexts): Fix sentence.
45923
b1aa60f3
AJ
45924 [BZ #13926]
45925 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45926 New macro for this case.
45927 [!__GNUC__] (__bswap_64): New inline function for this case.
45928 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45929 * bits/byteswap.h: Likewise.
45930 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45931 ull, guard with __GLIBC_HAVE_LONG_LONG.
45932
45933 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45934 __GLIBC_HAVE_LONG_LONG.
45935
45936 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45937 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45938
39c59c35
TMQMF
459392012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45940
45941 [BZ #13691]
45942 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45943 inptr and inend, rather than using last_ch.
45944
135ffda8
DM
459452012-04-02 David S. Miller <davem@davemloft.net>
45946
45947 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45948 * stdio-common/printf-parse.h (read_int): Change return type to
45949 'int', return -1 on INT_MAX overflow.
45950 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45951 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45952 overflows INT_MAX. Check for overflow of in-format-string precision
45953 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45954 SIZE_MAX not INT_MAX for integer overflow test.
45955 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45956 skip the construct in the format string but do not record anything.
45957 * stdio-common/bug22.c: Adjust to test both width/prevision
45958 INT_MAX overflow as well as total length INT_MAX overflow. Check
45959 explicitly for proper errno values.
45960
228c019e
TS
459612012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45962
302cadd3
TS
45963 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45964 CHAR_MAX.
45965 * string/test-strcmp.c [! WIDE]: Likewise.
45966 * time/tst-mktime2.c: Likewise for INT_MAX.
45967 * string/test-string.h: #include <sys/param.h> for MIN.
45968
228c019e
TS
45969 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45970 * sysdeps/i386/init-first.c (init): Likewise.
45971 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45972 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45973 * sysdeps/sh/init-first.c (init): Likewise.
45974
cfa633f5
UD
459752012-04-01 Ulrich Drepper <drepper@gmail.com>
45976
45977 * po/ru.po: Update from translation team.
d1635ef8 45978 * po/vi.po: Likewise.
cfa633f5 45979
6cd0a5ea
SP
459802012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45981
45982 * resolv/nss_dns/dns-host.c: Merge copyright years.
45983
4b43400f
LD
459842012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45985
45986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45987 Optimize memcpy with prefetch if
45988 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45989 src, dst pointers have unequal 16 byte alignments.
45990
48c41d04
SP
459912012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45992
45993 [BZ #13928]
45994 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45995 from a CNAME entry and return the minimum ttl for the query.
45996 (gaih_getanswer_slice): Likewise.
45997
b8dc394d
JL
459982012-03-30 Jeff Law <law@redhat.com>
45999
46000 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46001 due to long keys.
46002 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46003 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46004
2f5a5ed0
JL
46005 * resolv/nss_dns/dns-host.c: Update copyright year.
46006
1d39e359
UD
460072012-03-30 Ulrich Drepper <drepper@gmail.com>
46008
c030f70c 46009 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46010 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46011
1d39e359
UD
46012 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46013 comments for sendmmsg.
46014
460152012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46016
46017 [BZ #13691]
46018 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46019 with only 1 character between 0x0041 and 0x01b0.
46020 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46021 * wcsmbs/tst-mbsnrtowcs.c: New file.
46022
20fde227
DM
460232012-03-29 David S. Miller <davem@davemloft.net>
46024
46025 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46026 small copies by hand.
46027
984a4237
JL
460282012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46029
46030 [BZ #13761]
57f41c40
AS
46031 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46032 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46033 group memberships.
984a4237 46034
18c9d62b
DM
460352012-03-28 David S. Miller <davem@davemloft.net>
46036
88d85d4f
DM
46037 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46038 that branches into memcpy.
46039 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46042 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46044 bits.
46045 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46046 implementation too.
46047 * sysdeps/sparc/mempcpy.S: New file.
46048
e5aa83e1
DM
46049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46050 the IFUNC routine in the libc case.
46051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46052
88570753
DM
46053 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46054 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46055 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46056 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46057 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46058 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46059 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46060 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46061
249d7567
DM
46062 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46063 loop to 256 bytes instead of 64 bytes and fix test signedness.
46064
18c9d62b
DM
46065 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46066 * sysdeps/sparc/sparc32/Makefile: rather than here...
46067 * sysdeps/sparc/sparc64/Makefile: and here.
46068
05f3d1f6
UD
460692012-03-28 Ulrich Drepper <drepper@gmail.com>
46070
46071 * malloc/mallocbug.c: Avoid warnings about unused variables.
46072
86ae07a8
JL
460732012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46074
46075 [BZ #13760]
46076 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46077 in the right place. Discard and retry query if response is
46078 larger than input buffer size.
46079
41bf21a1
JM
460802012-03-28 Joseph Myers <joseph@codesourcery.com>
46081
d6270972
JM
46082 [BZ #369]
46083 [BZ #2678]
46084 [BZ #3866]
46085 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46086 x for large integer exponent.
46087 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46088 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46089 sign of result as needed afterwards.
46090 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46091 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46092 result for underflowing pow the same as for overflow.
46093 (__kernel_standard_l): Handle powl overflow and underflow here
46094 rather than calling __kernel_standard.
46095 * math/libm-test.inc (pow_test): Add more tests.
46096
414fca03 46097 [BZ #3868]
41bf21a1
JM
46098 [BZ #13879]
46099 [BZ #13910]
46100 [BZ #13911]
46101 [BZ #13912]
46102 [BZ #13913]
46103 [BZ #13915]
46104 [BZ #13916]
46105 [BZ #13917]
46106 [BZ #13918]
46107 [BZ #13919]
46108 [BZ #13920]
46109 [BZ #13921]
46110 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46111 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46112 (__kernel_standard_l): New function.
46113 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46114 __kernel_standard.
46115 * math/w_acosl.c (__acosl): Likewise.
46116 * math/w_asinl.c (__asinl): Likewise.
46117 * math/w_atan2l.c (__atan2l): Likewise.
46118 * math/w_atanhl.c (__atanhl): Likewise.
46119 * math/w_coshl.c (__coshl): Likewise.
46120 * math/w_exp10l.c (__exp10l): Likewise.
46121 * math/w_exp2l.c (__exp2l): Likewise.
46122 * math/w_fmodl.c (__fmodl): Likewise.
46123 * math/w_hypotl.c (__hypotl): Likewise.
46124 * math/w_j0l.c (__j0l, __y0l): Likewise.
46125 * math/w_j1l.c (__j1l, __y1l): Likewise.
46126 * math/w_jnl.c (__jnl, __ynl): Likewise.
46127 * math/w_lgammal.c (__lgammal): Likewise.
46128 * math/w_log10l.c (__log10l): Likewise.
46129 * math/w_log2l.c (__log2l): Likewise.
46130 * math/w_logl.c (__logl): Likewise.
46131 * math/w_powl.c (__powl): Likewise.
46132 * math/w_remainderl.c (__remainderl): Likewise.
46133 * math/w_scalbl.c (sysv_scalbl): Likewise.
46134 * math/w_sinhl.c (__sinhl): Likewise.
46135 * math/w_sqrtl.c (__sqrtl): Likewise.
46136 * math/w_tgammal.c (__tgammal): Likewise.
46137 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46138 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46139 * math/libm-test.inc (acos_test): Add more tests.
46140 (acosh_test): Likewise.
46141 (asin_test): Likewise.
46142 (atanh_test): Likewise.
46143 (exp_test): Likewise.
46144 (exp10_test): Likewise.
46145 (exp2_test): Likewise.
46146 (expm1_test): Likewise.
46147 (lgamma_test): Likewise.
46148 (log_test): Likewise.
46149 (log10_test): Likewise.
46150 (log1p_test): Likewise.
46151 (log2_test): Likewise.
46152 (pow_test): Do not allow some spurious overflow exceptions.
46153 (sqrt_test): Add more tests.
46154 (tgamma_test): Likewise.
46155 (y0_test): Likewise.
46156 (y1_test): Likewise.
46157 (yn_test): Likewise.
46158
dd62fda6
AB
461592012-03-27 Anton Blanchard <anton@samba.org>
46160
46161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46162 MAP_HUGETLB.
46163 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46164 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46165 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46166
1e3cdfda
AJ
461672012-03-27 David S. Miller <davem@davemloft.net>
46168
b855ab85
DM
46169 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46170
1e3cdfda
AJ
46171 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46172 have-as-vis3 check.
46173
461742012-03-27 Andreas Jaeger <aj@suse.de>
46175
46176 * sysdeps/x86_64/elf/configure.in: Moved to ...
46177 * sysdeps/x86_64/configure.in: ... here.
46178 * sysdeps/x86_64/elf/start.S: Moved to ...
46179 * sysdeps/x86_64/start.S: ... here.
46180 * sysdeps/x86_64/elf/configure: Delete.
46181
46182 * sysdeps/x86_64/configure.in: Merge contents from
46183 sysdeps/i386/configure.in (without i686 check).
46184
46185 * sysdeps/i386/elf/Versions: Merge into ...
46186 * sysdeps/i386/Versions: ... this.
46187 * sysdeps/i386/elf/Versions: Delete file.
46188 * sysdeps/i386/elf/start.S: Moved to ...
46189 * sysdeps/i386/start.S: ...here.
46190 * sysdeps/i386/elf/configure.in: Merge into...
46191 * sysdeps/i386/configure.in: ...here.
46192 * sysdeps/i386/elf/configure.in: Delete file.
46193 * sysdeps/i386/elf/configure: Delete file.
46194
46195 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46196 * debug/backtracesyms.c: ... here.
46197 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46198 * debug/backtracesymsfd.c: ... here.
46199 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46200 * sysdeps/generic/ifunc-sel.h: ... here.
46201
46202 * sysdeps/unix/i386/start.c: Delete file.
46203 * sysdeps/unix/sparc/start.c: Delete file.
46204 * sysdeps/unix/start.c: Delete file.
46205
46206 * sysdeps/sh/elf/configure.in: Moved to ...
46207 * sysdeps/sh/configure.in: ... here.
46208 * sysdeps/sh/elf/start.S: Moved to ...
46209 * sysdeps/sh/start.S: ... here.
46210 * sysdeps/sh/elf/configure: Delete file.
46211
46212 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46213 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46214 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46215 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46216 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46217 * sysdeps/powerpc/powerpc64/start.S: here.
46218 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46219 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46220 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46221 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46222 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46223
46224 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46225 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46226 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46227 * sysdeps/powerpc/powerpc32/start.S: ... here.
46228 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46229 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46230 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46231
46232 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46233 * sysdeps/powerpc/ifunc-sel.h: ... here.
46234 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46235 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46236
46237 * sysdeps/sparc/elf/configure.in: Moved to ...
46238 * sysdeps/sparc/configure.in: ... here.
46239 * sysdeps/sparc/elf/configure: Delete file.
46240 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46241 * sysdeps/sparc/sparc32/start.S: ... here.
46242 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46243 * sysdeps/sparc/sparc64/start.S: ... here.
46244 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46245 * sysdeps/sparc/sparc32/Makefile: ... this.
46246 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46247 * sysdeps/sparc/sparc64/Makefile: ... this.
46248
46249 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46250 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46251 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46252 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46253 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46254 * sysdeps/s390/s390-32/setjmp.S: ... here.
46255 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46256 * sysdeps/s390/s390-32/configure.in: ... here.
46257 * sysdeps/s390/s390-32/elf/configure: Delete file.
46258 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46259 * sysdeps/s390/s390-32/start.S: ... here.
46260
46261 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46262 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46263 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46264 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46265 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46266 * sysdeps/s390/s390-64/setjmp.S: ... here.
46267 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46268 * sysdeps/s390/s390-64/configure.in: ... here
46269 * sysdeps/s390/s390-64/elf/configure: Delete file.
46270 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46271 * sysdeps/s390/s390-64/start.S: ... here.
46272 * sysdeps/s390/s390-64/elf/configure: Delete.
46273
46274 * configure.in: Remove support for elf directories in sysdeps.
46275
46276 * configure: Regenerated.
46277 * sysdeps/i386/configure: Regenerated.
46278 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46279 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46280 * sysdeps/s390/s390-32/configure: Regenerated.
46281 * sysdeps/s390/s390-64/configure: Regenerated.
46282 * sysdeps/sh/configure: Regenerated.
46283 * sysdeps/sparc/configure: Regenerated.
46284 * sysdeps/x86_64/configure: Regenerated.
46285
a3f61311
AS
462862012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46287
c876e002
AS
46288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46289
a3f61311
AS
46290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46291 denormal result into account.
46292
ac4c54f0
RM
462932012-03-25 Roland McGrath <roland@hack.frob.com>
46294
46295 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46296 Reported by Allan McRae <allan@archlinux.org>.
46297
6a9b9c02
JL
462982012-03-23 Jeff Law <law@redhat.com>
46299
46300 * nss/getnssent.c (__nss_getent): Fix typo.
46301
4c42a0c1
DM
463022012-03-23 David S. Miller <davem@davemloft.net>
46303
46304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46305
1532c7ac
L
463062012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46307
46308 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46309 to pad to uint64_t for each field.
46310 (dl_tls_index): Replace unsigned long with uint64_t.
46311
3ff42526
PP
463122012-03-23 Daniel Jacobowitz <dmj@google.com>
46313 Paul Pluzhnikov <ppluzhnikov@google.com>
46314
46315 [BZ #6528]
46316 * grp/Makefile (otherlibs): Don't set it.
46317 * inet/Makefile (otherlibs): Likewise.
46318 * login/Makefile (otherlibs): Likewise.
46319 * nscd/Makefile (otherlibs): Likewise.
46320 * posix/Makefile (otherlibs): Likewise.
46321 * pwd/Makefile (otherlibs): Likewise.
46322 * rt/Makefile (otherlibs): Likewise.
46323 * sunrpc/Makefile (otherlibs): Likewise.
46324 * nss/Makefile (otherlibs): Likewise.
46325 Add libnss_files to routines and static-only-routines.
46326 ($(objpfx)getent): Remove rule.
46327 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46328 static-only-routines.
46329
7c69cd14
JM
463302012-03-22 Joseph Myers <joseph@codesourcery.com>
46331
46332 [BZ #13892]
46333 * math/s_cexp.c: Include <float.h>.
46334 (__cexp): Handle exp result overflowing not necessarily
46335 overflowing both real and imaginary parts of result.
46336 * math/s_cexpf.c: Likewise.
46337 * math/s_cexpl.c: Likewise.
46338 * math/libm-test.inc (cexp_test): Add more tests.
46339 * sysdeps/i386/fpu/libm-test-ulps: Update.
46340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46341
81b035fe
L
463422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46343
46344 * include/link.h (ELFW): New macro.
46345 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46346 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46347
1da7940c
L
463482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46349
46350 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46351 with uint64_t.
46352
b749dbb9
L
463532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46354
46355 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46356 declaration.
46357 (struct La_x32_retval): Likewise.
46358
2ff87f3f
L
463592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46360
46361 * sysdeps/x86_64/preconfigure.in: New file.
46362 * sysdeps/x86_64/preconfigure: New generated file.
46363
c0df8e69
JM
463642012-03-22 Joseph Myers <joseph@codesourcery.com>
46365
48e44791
JM
46366 [BZ #13824]
46367 * math/e_exp2l.c: Include <float.h>.
46368 (__ieee754_exp2l): Handle overflow and underflow cases
46369 separately. Only pass fractional part of argument to
46370 __ieee754_expl.
46371 * math/libm-test.inc (exp2_test): Add more tests.
46372
c0df8e69
JM
46373 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46374 negating x to take absolute value.
46375 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46376 Likewise.
46377 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46378 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46379 Likewise.
46380 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46381 computing low part if x was negated.
46382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46383
c8e43ba7
L
463842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46385
46386 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46387 la_x32_gnu_pltexit.
46388 (pltexit): Cast int_retval to ptrdiff_t.
46389 * elf/tst-auditmod3b.c: Likewise.
46390 * elf/tst-auditmod4b.c: Likewise.
46391 * elf/tst-auditmod5b.c: Likewise.
46392 * elf/tst-auditmod6b.c: Likewise.
46393 * elf/tst-auditmod6c.c: Likewise.
46394 * elf/tst-auditmod7b.c: Likewise.
46395
46396 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46397 and x32_gnu_pltexit.
46398
46399 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46400 __ELF_NATIVE_CLASS.
46401 (La_x32_regs): New macro.
46402 (La_x32_retval): Likewise.
46403 (la_x32_gnu_pltenter): New function prototype.
46404 (la_x32_gnu_pltexit): Likewise.
46405
7998fa78
AS
464062012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46407
dcb33988
AS
46408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46409 exponent.
46410
233fc563
AS
46411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46412
7998fa78
AS
46413 * configure.in (libc_cv_cc_nofma): Check for option to disable
46414 generation of FMA instructions.
46415 * configure: Regenerate.
46416 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46417 * sysdeps/ieee754/dbl-64/Makefile: New file.
46418 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46419 Remove brandred-fma4.
46420 (CFLAGS-brandred-fma4.c): Remove.
46421 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46423 define.
46424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46425 define.
46426
8e95c99a
L
464272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46428
46429 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46430 LLONG_MAX != LONG_MAX.
46431 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46432 (_fitoa_word): Likewise.
46433 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46434 LLONG_MAX != LONG_MAX.
46435 * stdio-common/_itowa.h: Include <_itoa.h>.
46436 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46437 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46438 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46439 only if not defined.
46440 (_ITOA_WORD_TYPE): Likewise.
46441 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46442 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46443
6f4db457
DM
464442012-03-21 David S. Miller <davem@davemloft.net>
46445
46446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46447
7785fe5a
L
464482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46449
46450 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46451 of x86_64 when setting libc_cv_slibdir, libdir and
46452 libc_cv_localedir.
46453 * sysdeps/unix/sysv/linux/configure: Regenerated.
46454
4535cd55
JM
464552012-03-21 Joseph Myers <joseph@codesourcery.com>
46456
46457 * manual/lang.texi (Old Varargs): Remove section.
46458 (How Variadic): Update menu.
46459 (va_start): Do not mention varargs.h.
46460
17228132
TS
464612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46462 Joseph Myers <joseph@codesourcery.com>
46463
46464 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46465 link test.
46466 * configure: Regenerated.
46467
8149f976
TS
464682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46469
05f3d1f6
UD
46470 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46471 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46472 conformtest.pl
8149f976 46473
1a4ac776
JM
464742012-03-21 Joseph Myers <joseph@codesourcery.com>
46475
be22ce65
JM
46476 * NOTES: Remove.
46477 * Makefile (files-for-dist): Remove NOTES.
46478 (NOTES): Remove rule.
46479 * README: Don't refer to NOTES.
46480 * manual/creature.texi: Don't include macros.texi.
46481 * manual/intro.texi (creature.texi): Remove comment referring to
46482 NOTES.
46483
40b601fb
JM
46484 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46485 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46486 * configure: Regenerated.
46487 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46488 LIBC_TRY_CC_OPTION.
46489 (libc_cv_as_i686): Likewise.
46490 (libc_cv_cc_avx): Likewise.
46491 (libc_cv_cc_sse2avx): Likewise.
46492 (libc_cv_cc_fma4): Likewise.
46493 (libc_cv_cc_novzeroupper): Likewise.
46494 * sysdeps/i386/configure: Regenerated.
46495
1a4ac776
JM
46496 [BZ #13883]
46497 * sysdeps/i386/fpu/s_cexp.S: Remove.
46498 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46499 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46500 * math/libm-test.inc (cexp_test): Add more tests.
46501 * sysdeps/i386/fpu/libm-test-ulps: Update.
46502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46503
a458e7fe
AM
465042012-03-21 Allan McRae <allan@archlinux.org>
46505
46506 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46507
0cb7efc5
JM
465082012-03-21 Joseph Myers <joseph@codesourcery.com>
46509
46510 [BZ #13871]
46511 * math/w_exp2.c: Do not include <float.h>.
46512 (o_threshold, u_threshold): Remove.
46513 (__exp2): Calculate result before checking finiteness and calling
46514 __kernel_standard.
46515 * math/w_exp2f.c: Likewise.
46516 * math/w_exp2l.c: Likewise.
46517 * math/libm-test.inc (exp2_test): Require overflow exception for
46518 1e6 input.
2460d3aa
JM
46519
46520 [BZ #3866]
46521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46522 range of signed 64-bit integers before using fistpll. Remove
46523 checks for whether integers fit in mantissa bits.
46524 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46525 the range of signed 32-bit integers before using fistpl. Remove
46526 checks for whether integers fit in mantissa bits.
46527 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46528 (__ieee754_powl): Test for y outside the range of signed 64-bit
46529 integers before using fistpll. Reduce 64-bit values to 63-bit
46530 ones as needed.
46531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46532 divide-by-zero is raised for zero to large negative powers.
46533 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46534 (__ieee754_powl): Test for y outside the range of signed 64-bit
46535 integers before using fistpll. Reduce 64-bit values to 63-bit
46536 ones as needed.
46537 * math/libm-test.inc (pow_test): Add more tests.
46538
eb96ffb0
L
465392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46540
46541 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46542 <stdio-common/_itoa.h>.
46543 * debug/segfault.c: Likewise.
46544 * elf/dl-cache.c: Likewise.
46545 * elf/dl-minimal.c: Likewise.
46546 * elf/dl-misc.c: Likewise.
46547 * elf/dl-sysdep.c: Likewise.
46548 * elf/dl-version.c: Likewise.
46549 * elf/rtld.c: Likewise.
46550 * hurd/hurdsock.c: Likewise.
46551 * hurd/lookup-retry.c: Likewise.
46552 * malloc/malloc.c: Likewise.
46553 * malloc/mtrace.c: Likewise.
46554 * nscd/nscd_getgr_r.c: Likewise.
46555 * nscd/nscd_getpw_r.c: Likewise.
46556 * nscd/nscd_getserv_r.c: Likewise.
46557 * posix/getopt_init.c: Likewise.
46558 * posix/wordexp.c: Likewise.
46559 * stdio-common/_itoa.c: Likewise.
46560 * stdio-common/printf_fphex.c: Likewise.
46561 * stdio-common/vfprintf.c: Likewise.
46562 * string/_strerror.c: Likewise.
46563 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46564 * sysdeps/i386/i686/hp-timing.h: Likewise.
46565 * sysdeps/mach/_strerror.c: Likewise.
46566 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46567 * sysdeps/mach/hurd/sethostid.c: Likewise.
46568 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46569 * sysdeps/mach/xpg-strerror.c: Likewise.
46570 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46571 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46572 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46573 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46574 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46575 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46576 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46577 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46578 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46579 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46580 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46581 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46582 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46583 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46584 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46586 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46587 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46588 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46589 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46590 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46591
46592 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46593
46594 * stdio-common/_itoa.h: Moved to ...
46595 * sysdeps/generic/_itoa.h: Here.
46596
46597 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46598
46599 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46600 instead of "_itoa.h" and "_itowa.h".
46601 * stdio-common/vfprintf.: Likewise.
46602
d1af992d
L
466032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46604
46605 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46606 <bits/wordsize.h>.
46607 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46608 (__signbit): Likwise.
46609 (llrintf): Likwise.
46610 (llrint): Likwise.
46611
114883e0
L
466122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46613
46614 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46615 __WORDSIZE != 64.
46616
c135cc1b
JM
466172012-03-20 Joseph Myers <joseph@codesourcery.com>
46618
46619 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46620 OVERFLOW_EXCEPTION_OK.
46621 * math/libm-test.inc ("Philosophy"): Update comment about
46622 exception testing.
46623 (OVERFLOW_EXCEPTION): Define.
46624 (OVERFLOW_EXCEPTION_OK): Likewise.
46625 (INVALID_EXCEPTION_OK): Renumber.
46626 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46627 (IGNORE_ZERO_INF_SIGN): Likewise.
46628 (test_exceptions): Handle FE_OVERFLOW.
46629 (exp10_test): Expect overflow exceptions.
46630 (exp2_test): Likewise.
46631 (expm1_test): Likewise.
46632 (nextafter_test): Likewise.
46633 (pow_test): Likewise.
46634 (scalbn_test): Likewise.
46635 (scalbln_test): Likewise.
46636
95443d88
L
466372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46638
46639 * sysdeps/x86_64/bits/atomic.h
46640 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46641 64bit integer.
46642 (atomic_exchange_acq): Likewise.
46643 (__arch_exchange_and_add_body): Likewise.
46644 (__arch_add_body): Likewise.
46645 (atomic_add_negative): Likewise.
46646 (atomic_add_zero): Likewise.
46647
490df6c4
L
466482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46649
c2722551 46650 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46651 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46652
5e52b189
L
466532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46654
46655 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46656 Check __x86_64__ instead of __WORDSIZE.
46657
a9879d4c
L
466582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46659
46660 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46661
5df98260
DM
466622012-03-19 David S. Miller <davem@davemloft.net>
46663
e1497744
DM
46664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46665
5df98260
DM
46666 * sysdeps/sparc/fpu/fenv_private.h: New file.
46667 * sysdeps/sparc/fpu/math_private.h: Use it.
46668 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46669 Remove.
57f41c40 46670 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46671 (libc_feholdexcept_setroundl): Remove.
46672 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46673 Remove.
46674 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46675 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46676
b4c35121
L
466772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46678
46679 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46680 int64_t instead of long int.
46681 (INSERT_WORDS64): Likwise.
46682
56965fd7
L
466832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46684
46685 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46686 _Unwind_GetCFA return to _Unwind_Ptr first.
46687
83d1aec8
JM
466882012-03-19 Joseph Myers <joseph@codesourcery.com>
46689
1897ad44
JM
46690 [BZ #13629]
46691 * math/s_clog.c: Include <float.h>.
46692 (__clog): Scale large or subnormal inputs.
46693 * math/s_clogf.c: Likewise.
46694 * math/s_clogl.c: Likewise.
46695 * math/s_clog10.c: Include <float.h>.
46696 (M_LOG10_2): Define.
46697 (__clog10): Scale large or subnormal inputs.
46698 * math/s_clog10f.c: Likewise.
46699 * math/s_clog10l.c: Likewise.
46700 * math/libm-test.inc (clog_test): Add more tests.
46701 (clog10_test): Likewise.
46702 * sysdeps/i386/fpu/libm-test-ulps: Update.
46703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46704
7726d6a9
JM
46705 [BZ #11451]
46706 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46707 x and y.
46708 * math/libm-test.inc (atan2_test): Add another test.
46709
83d1aec8
JM
46710 * Makerules (common-objdir-compile): Remove.
46711 * sysdeps/unix/Makefile (config-generated): Do not add
46712 $(unix-generated) to variable.
46713 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46714 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46715 Remove rule.
46716 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46717 Likewise.
46718 [generic bits/local_lim.h] (before-compile): Do not append to
46719 variable.
46720 [generic bits/local_lim.h] (common-generated): Likewise.
46721 [generic sys/param.h] (before-compile): Do not append to variable.
46722 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46723 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46724 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46725 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46726 include.
46727 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46728 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46729 [generic sys/param.h] ($(addprefix
46730 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46731 [generic sys/param.h] (common-generated): Do not append to
46732 variable.
46733 [generic sys/param.h] (sysdep_headers): Likewise.
46734 [generic bits/errno.h] (before-compile): Do not append to
46735 variable.
46736 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46737 rule.
46738 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46739 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46740 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46741 [generic bits/errno.h] (common-generated): Do not append to
46742 variable.
46743 [generic bits/ioctls.h] (before-compile): Do not append to
46744 variable.
46745 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46746 rule.
46747 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46748 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46749 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46750 rule.
46751 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46752 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46753 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46754 [generic bits/ioctls.h] (common-generated): Do not append to
46755 variable.
46756 [generic sys/syscall.h] (syscall.h): Remove variable.
46757 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46758 rule.
46759 [generic sys/syscall.h] (before-compile): Do not append to
46760 variable.
46761 [generic sys/syscall.h] (common-generated): Likewise.
46762 * sysdeps/unix/errnos-tmpl.c: Remove file.
46763 * sysdeps/unix/errnos.awk: Likewise.
46764 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46765 * sysdeps/unix/ioctls.awk: Likewise.
46766 * sysdeps/unix/mk-local_lim.c: Likewise.
46767 * sysdeps/unix/snarf-ioctls: Likewise.
46768
4851a949
RH
467692012-03-19 Richard Henderson <rth@twiddle.net>
46770
bd37f2ee
RH
46771 * sysdeps/i386/fpu/fenv_private.h: New file.
46772 * sysdeps/i386/fpu/math_private.h: Use it.
46773 (math_opt_barrier, math_force_eval): Remove.
46774 (libc_feholdexcept_setround_53bit): Remove.
46775 (libc_feupdateenv_53bit): Remove.
46776 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46777 (math_opt_barrier, math_force_eval): Remove.
46778 (libc_feholdexcept): Remove.
46779 (libc_feholdexcept_setround): Remove.
46780 (libc_fetestexcept, libc_fesetenv): Remove.
46781 (libc_feupdateenv_test): Remove.
46782 (libc_feupdateenv, libc_feholdsetround): Remove.
46783 (libc_feresetround): Remove.
46784
d0adc922
RH
46785 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46786 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46787
0fe0f1f8
RH
46788 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46789 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46790 (libc_feupdateenv_testl): New.
46791 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46792 (libc_feupdateenv_testf): New.
46793 (libc_feupdateenv): Use libc_feupdateenv_test.
46794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46795 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46796
eb92c487
RH
46797 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46798 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46799 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46800 (libc_feresetround_noex): New.
46801 (libc_feresetround_noexf): New.
46802 (libc_feresetround_noexl): New.
46803 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46804 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46805 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46806 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46807 SET_RESTORE_ROUND.
46808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46809 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46810 (__cos): Likewise.
46811 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46812 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46813 SET_RESTORE_ROUND_NOEX.
46814 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46815 SET_RESTORE_ROUND_NOEXF.
46816 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46817 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46818 (libc_feholdsetroundf): New.
46819 (libc_feresetround, libc_feresetroundf): New.
46820
7d2e8012
RH
46821 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46822 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46823 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46824
b4dabbb4
RH
46825 * sysdeps/generic/math_private.h: Include <fenv.h>.
46826 (default_libc_feholdexcept): New.
46827 (default_libc_feholdexcept_setround): New.
46828 (default_libc_fesetenv, default_libc_feupdateenv): New.
46829 (libc_feholdexcept): Only define if undefined.
46830 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46831 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46832 (libc_feholdexcept_setroundl): Likewise.
46833 (libc_feholdexcept_setround_53bit): Likewise.
46834 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46835 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46836 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46837 (libc_feupdateenv_53bit): Likewise.
46838 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46839 (libc_feholdexcept): Convert from macro to inline function.
46840 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46841 (libc_fesetenv, libc_feupdateenv): Likewise.
46842
4851a949
RH
46843 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46844 not previously defined.
46845 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46846 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46847 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46848 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46849 * sysdeps/ieee754/flt-32/math_private.h: New file.
46850 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46851 math_private.h below SET_FLOAT_WORD.
46852 (__isnan, __isinf_ns, __finite): Remove.
46853 (__isnanf, __isinf_nsf, __finitef): Remove.
46854
e79d442e
AS
468552012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46856
46857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46858
90b80344
DM
468592012-03-17 David S. Miller <davem@davemloft.net>
46860
46861 [BZ #6471]
46862 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46863 for 2.16.
46864
edc21804
DM
468652012-03-16 David S. Miller <davem@davemloft.net>
46866
77e927af
DM
46867 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46868 warnings.
46869
374976dd
DM
46870 [BZ #6471]
46871 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46872 properly.
46873 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46874 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46875 sysdep_routines when subdir is sysvipc.
46876 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46877 __getshmlba helper.
46878
edc21804
DM
46879 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46880
473c3ef3
L
468812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46882
46883 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46884 [__LP64__].
46885
eb0f39b6
L
468862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46887
46888 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46889 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46890 (__lround): Renamed to ...
46891 (__llround): This. Replace long int with long long int.
46892 Define lround functions as aliases of llround functions.
46893 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46894
6b6cd74b
L
468952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46896
46897 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46898 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46899 adresses to uintptr_t. Replace "long int" and "unsigned long
46900 int" with "greg_t" on va_arg.
46901
f1a77b01
L
469022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46903
46904 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46905 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46906
46907 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46908 Move e_machine check before EI_CLASS check. Handle x32
46909 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46910 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46911 SKIP_EM_IA_64 and include
46912 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46913
46914 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46915 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46916 (add_system_dir): New macro.
46917
46918 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46919 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46920
11b90b9f
JM
469212012-03-16 Joseph Myers <joseph@codesourcery.com>
46922
c36e1d23
JM
46923 [BZ #2551]
46924 [BZ #2552]
46925 [BZ #2553]
46926 [BZ #2554]
46927 [BZ #2562]
46928 [BZ #2563]
46929 [BZ #2565]
46930 [BZ #2566]
46931 [BZ #2576]
46932 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46933 (y0): Likewise.
46934 * math/w_j0f.c (j0f): Likewise.
46935 (y0f): Likewise.
46936 * math/w_j0l.c (__j0l): Likewise.
46937 (__y0l): Likewise.
46938 * math/w_j1.c (j1): Likewise.
46939 (y1): Likewise.
46940 * math/w_j1f.c (j1f): Likewise.
46941 (y1f): Likewise.
46942 * math/w_j1l.c (__j1l): Likewise.
46943 (__y1l): Likewise.
46944 * math/w_jn.c (jn): Likewise.
46945 (yn): Likewise.
46946 * math/w_jnf.c (jnf): Likewise.
46947 (ynf): Likewise.
46948 * math/w_jnl.c (__jnl): Likewise.
46949 (__ynl): Likewise.
46950 * math/libm-test.inc (j0_test): Add more tests.
46951 (j1_test): Likewise.
46952 (jn_test): Likewise. Add trailing semicolon to existing test.
46953 (y0_test): Likewise.
46954 (y1_test): Likewise.
46955 * sysdeps/i386/fpu/libm-test-ulps: Update.
46956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46957
11b90b9f
JM
46958 [BZ #13851]
46959 [BZ #13854]
46960 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46961 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46962 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46963 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46964 (__tanl): Set errno for infinite argument.
46965 * sysdeps/i386/fpu/mptan.c: Remove.
46966 * sysdeps/i386/fpu/s_tan.S: Likewise.
46967 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46968 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46969 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46970 * math/libm-test.inc (tan_test): Add more tests and enable more
46971 tests for double and long double.
46972 * sysdeps/i386/fpu/libm-test-ulps: Update.
46973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46974
6a1bd2a1
JK
469752012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46976
46977 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46978 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46979
10a803e0
RM
469802012-03-16 Roland McGrath <roland@hack.frob.com>
46981
46982 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46983 * configure.in: Use it for both main tree and add-ons.
46984 * configure: Regenerated.
46985
f196c7f7
L
469862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46987
46988 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46989
8848d99d
JM
469902012-03-16 Joseph Myers <joseph@codesourcery.com>
46991
96cbe7f4
JM
46992 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46993 in comment.
46994
8848d99d
JM
46995 [BZ #13851]
46996 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46997 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46998 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46999 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47000 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47001 infinite argument.
47002 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47003 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47004 != 0 for prec == 2.
47005 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47006 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47007 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47008 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47009 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47010 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47011 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47012 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47013 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47014 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47015 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47016 * math/libm-test.inc (cos_test): Add more tests and enable more
47017 tests for long double.
47018 (sin_test): Likewise.
47019 (sincos_test): Likewise.
47020 * sysdeps/i386/fpu/libm-test-ulps: Update.
47021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47022
dd7f4703
DM
470232012-03-16 David S. Miller <davem@davemloft.net>
47024
47025 * sysdeps/sparc/fpu/math_private.h: New file.
47026
006f1daa
DM
470272012-03-15 David S. Miller <davem@davemloft.net>
47028
c0c83bc8
DM
47029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47030 file.
e6a62e18 47031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47033 file.
e6a62e18
DM
47034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47039 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47040 sysdep routines.
47041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47042
88cb87d9
DM
47043 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47044 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47045
006f1daa 47046 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47048 sparc-ifunc.h
006f1daa 47049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47051 Likewise.
47052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47053 Likewise.
006f1daa
DM
47054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47058 Likewise.
006f1daa
DM
47059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47064 Likewise.
47065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47066 Likewise.
006f1daa
DM
47067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47073 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47075 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47081 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47085 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47089 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47091
11e0098e
AS
470922012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47093
47094 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47095 scaling.
47096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47097
e85b09d0
AJ
470982012-03-15 Andreas Jaeger <aj@suse.de>
47099
47100 [BZ #13852]
47101 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47102 ieee754/flt-32 implementation for sin, cos and sincos.
47103 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47104 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47105 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47106 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47107 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47108 ieee754/flt-32 implementation for tan.
47109
47110 * math/libm-test.inc (cos_test): Enable some large input tests for
47111 float as well
47112 (sin_test): Likewise.
47113 (sincos_test): Likewise.
47114 (tan_test): Add tests for large input.
47115
47116 * sysdeps/i386/fpu/libm-test-ulps: Update.
47117
81c64153
AJ
471182012-03-15 Andreas Jaeger <aj@suse.de>
47119
47120 [BZ #13658]
47121 * math/libm-test.inc (cos_test): Add more test cases.
47122 (sin_test): Likewise.
47123 (sincos_test): Likewise.
47124
7bbfa5c6
AJ
471252012-03-15 Andreas Jaeger <aj@suse.de>
47126
47127 [BZ #13837]
47128 * math/libm-test.inc (cos_test): Add a test case for large input
47129 value.
47130 (sin_test): Likewise.
47131 (sincos_test): Likewise.
47132
57f41c40
AS
471332012-03-15 Andreas Jaeger <aj@suse.de>
47134 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47135
47136 [BZ #13658]
0671f479 47137 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47138 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47139 * sysdeps/i386/fpu/branred.c: Likewise.
47140 * sysdeps/i386/fpu/dosincos.c: Likewise.
47141 * sysdeps/i386/fpu/mpa.c: Likewise.
47142 * sysdeps/i386/fpu/s_cos.S: Likewise.
47143 * sysdeps/i386/fpu/s_sin.S: Likewise.
47144 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47145 * sysdeps/i386/fpu/sincos32.c: Likewise.
47146
47147 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47148 Define.
47149 (libc_feupdateenv_53bit): Define.
47150 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47151 Define.
47152 (libc_feupdateenv_53bit): Define.
47153
47154 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47155 53 bit (without extend i386 double precision).
47156
47157 * math/libm-test.inc (sincos_test): Add tests for large input.
47158 (sin): Likewise.
47159 (cos): Likewise.
47160
47161 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47162
9cad04ea
AS
471632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47164
47165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47166
f7062b9a
DM
471672012-03-15 David S. Miller <davem@davemloft.net>
47168
47169 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47170 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47171 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47172 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47185 file.
f7062b9a 47186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47188 file.
f7062b9a 47189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47191 file.
f7062b9a 47192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47194 file.
f7062b9a
DM
47195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47196 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47197 fmin/fmax sysdep routines.
47198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47199
7bd951ff
DM
472002012-03-14 David S. Miller <davem@davemloft.net>
47201
559398ab
DM
47202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47206 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47230 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47231 routines.
47232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47233 file.
559398ab 47234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47236 file.
559398ab 47237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47239 file.
559398ab 47240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47242 file.
559398ab 47243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47245 file.
559398ab 47246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47248 file.
47249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47250 file.
47251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47252 file.
47253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47254 file.
47255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47256 New file.
47257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47258 file.
47259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47260 file.
559398ab 47261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47263 file.
559398ab 47264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47266 file.
559398ab 47267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47269 file.
559398ab 47270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47272 VIS3 routines.
559398ab
DM
47273
47274 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47275 New file.
47276
5a1c1e32
DM
47277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47278
eae47a36
DM
47279 * sysdeps/sparc/configure.in: New file.
47280 * sysdeps/sparc/configure: Generate.
47281 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47282 * configure: Regenerate.
47283 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47284 * config.make.in (have-as-vis3): New.
47285 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47286 available use -Av9d instead of -Av9a.
47287 * sysdeps/sparc/sparc64/Makefile: Likewise.
47288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47290 New file.
47291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47292 file.
47293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47294 New file.
47295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47296 file.
eae47a36
DM
47297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47298 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47302
c0c83bc8
DM
47303 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47304 fzeros/fnegs to load 0x80000000 into a float register instead of
47305 using the stack.
7bd951ff
DM
47306 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47307
bd951ccb
JM
473082012-03-14 Joseph Myers <joseph@codesourcery.com>
47309
47310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47311 bits/syscall.h.
47312 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47313 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47314 ($(inst_includedir)/bits/syscall.h): Remove rule.
47315 ($(objpfx)bits/syscall.d): Include instead of
47316 $(objpfx)syscall-list.d.
47317 (generated): Change syscall-list.h and syscall-list.d to
47318 bits/syscall.h and bits/syscall.d.
47319
bb4e6db2
RM
473202012-03-14 Roland McGrath <roland@hack.frob.com>
47321
47322 [BZ #13846]
47323 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47324
aa4a2ae1
JM
473252012-03-14 Joseph Myers <joseph@codesourcery.com>
47326
e456826d
JM
47327 [BZ #13841]
47328 * math/s_csqrt.c: Include <float.h>.
47329 (__csqrt): Scale large or subnormal inputs.
47330 * math/s_csqrtf.c: Likewise.
47331 * math/s_csqrtl.c: Likewise.
47332 * math/libm-test.inc (csqrt_test): Add more tests.
47333 * sysdeps/i386/fpu/libm-test-ulps: Update.
47334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47335
aa4a2ae1
JM
47336 [BZ #13840]
47337 * math/libm-test.inc (hypot_test): Add more tests.
47338
7c10fd35
DM
473392012-03-13 David S. Miller <davem@davemloft.net>
47340
47341 [BZ #13840]
47342 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47343 double-precision for the calculation instead of scaling.
47344
f453b98b
JM
473452012-03-13 Joseph Myers <joseph@codesourcery.com>
47346
47347 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47348 manipulate bits before adding and subtracting TWO52[sx].
47349 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47350 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47351 Likewise.
47352 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47353
09a3453f
DM
473542012-03-13 David S. Miller <davem@davemloft.net>
47355
8e59da90
DM
47356 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47357 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47358 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47359 rtld-global-offsets.h
47360 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47361
2a8ab7f2
DM
47362 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47363 large parameters.
47364
10f62770
DM
47365 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47366
5f0bdb18
DM
47367 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47368 'err' in the ifdef scope in which it is actually used.
47369
09a3453f
DM
47370 * nss/nss_db/db-init.c: Include string.h
47371
b4b2eb5e
DM
473722012-03-12 David S. Miller <davem@davemloft.net>
47373
98bb2f1c
DM
47374 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47375 masking out of the most significant byte of random value used.
47376 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47377 Fix coding style in previous change.
47378
b4b2eb5e
DM
47379 * sysdeps/unix/sysv/linux/kernel-features.h
47380 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47381 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47382 expression.
47383 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47384 later.
47385
6e226b09
DM
473862012-03-11 David S. Miller <davem@davemloft.net>
47387
a1bcbd40
DM
47388 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47389 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47390 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47391 for 'resultvar' otherwise things get truncated on 64-bit.
47392
cb9d6174
DM
47393 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47394 Fix masking out of the most significant byte of random value used.
47395
6e226b09
DM
47396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47397
058c132d
AS
473982012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47399
47400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47401
2d2cd515
DM
474022012-03-09 David S. Miller <davem@davemloft.net>
47403
47404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47405 variables with appropriate CPP guards.
57f41c40
AS
47406 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47407 from the frame pointer, not the stack pointer. Correct layout
47408 comments. Fix test on resulting framesize and the management of
47409 the outregs buffer for pltexit. Preserve floating point return
47410 values across _dl_call_pltexit call.
2d2cd515
DM
47411 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47412 framesize and the management of the outregs buffer for pltexit.
47413 Preserve floating point return values across _dl_call_pltexit
47414 call.
57f41c40
AS
47415 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47416 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47417 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47418 (print_exit): Fix format string for return register value.
47419
9a07f9d0
JM
474202012-03-10 Joseph Myers <joseph@codesourcery.com>
47421
47422 * sunrpc/Makefile (others): Add rpcgen.
47423 ($(objpfx)rpcgen): Remove special build rule and dependency on
47424 libc.
47425 * sunrpc/rpcgen.c: New file.
47426
547b5e30
PE
474272012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47428
c524201a
PE
47429 [BZ #13673]
47430 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47431 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47432 * sysdeps/i386/crti.S: Likewise.
47433 * sysdeps/i386/crtn.S: Likewise.
47434 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47435 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47436 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47437 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47438 * sysdeps/sh/crti.S: Likewise.
47439 * sysdeps/sh/crtn.S: Likewise.
47440 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47441
7b6235f2
PE
47442 [BZ #13673]
47443 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47444 with URL.
47445 * locale/programs/locfile-kw.gperf: Likewise.
47446 * locale/programs/charmap-kw.h: Regenerated.
47447 * locale/programs/locfile-kw.h: Likewise.
47448
547b5e30
PE
47449 [BZ #13673]
47450 * intl/plural.y: Replace FSF snail mail address with URL.
47451 * intl/plural.c: Regenerated.
47452
5f0a5dae
RH
474532012-03-09 Richard Henderson <rth@twiddle.net>
47454
47455 * include/math_private.h: Remove file.
47456 * math/math_private.h: Move file ...
47457 * sysdeps/generic/math_private.h: ... here.
47458
b8c03620
RH
47459 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47460 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47461 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47462
4e234f5d 47463 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47464 and <math_private.h>.
47465 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47466 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47467 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47468 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47469 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47470 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47471 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47473 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47474 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47476 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47477 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47479 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47480 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47481 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47482 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47483 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47484 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47486 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47487 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47489 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47490 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47491 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47492 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47493 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47494 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47495 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47497 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47498 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47499 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47500 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47502 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47503 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47504 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47505 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47506 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47507 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47508 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47509 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47510 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47511 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47512 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47513 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47514 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47515 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47516 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47517 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47518 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47519 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47520 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47521 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47523 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47524 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47525 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47526 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47527 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47528 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47529 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47530 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47531 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47532 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47533 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47534 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47535 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47536 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47537 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47538 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47539 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47544 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47545 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47546 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47547 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47548 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47549 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47552 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47557 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47558 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47560 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47561 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47562 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47563 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47564 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47565 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47566 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47567 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47568 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47569 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47573 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47574 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47575 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47576 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47577 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47578 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47579 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47580 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47581 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47582 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47583 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47584 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47585 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47586 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47587 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47588 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47589 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47591 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47592 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47593 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47594 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47595 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47596 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47597 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47598 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47599 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47600 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47601 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47602 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47603 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47604 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47605 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47606 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47607 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47608 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47609 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47610 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47611 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47612 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47613 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47614 * sysdeps/ieee754/k_standard.c: Likewise.
47615 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47616 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47617 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47629 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47632 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47633 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47664 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47665 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47666 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47667 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47668 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47670 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47671 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47679 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47680 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47682 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47683 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47684 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47687 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47688 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47692 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47693 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47694 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47696 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47697 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47698 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47699 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47700 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47701 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47702 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47704 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47706 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47707 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47712 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47714 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47715 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47718 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47719 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47720 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47721 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47722 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47723 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47724 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47725 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47727 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47728 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47729 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47730 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47731 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47732 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47733 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47734 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47735 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47736 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47737 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47738 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47739 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47740 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47741 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47742 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47743 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47744 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47745 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47746 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47747 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47748 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47751 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47752 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47753 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47754 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47755 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47756 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47757 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47758 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47759 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47760 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47761 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47764 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47765 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47766 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47767 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47768 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47769 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47770 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47771 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47772 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47774 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47775 * sysdeps/ieee754/s_lib_version.c: Likewise.
47776 * sysdeps/ieee754/s_matherr.c: Likewise.
47777 * sysdeps/ieee754/s_signgam.c: Likewise.
47778 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47779 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47780 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47781 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47782 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47783 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47784 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47785 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47786 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47787 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47788 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47789 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47790 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47791 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47792 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47793 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47794 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47795 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47796 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47799
1991fa03
JM
478002012-03-09 Joseph Myers <joseph@codesourcery.com>
47801
47802 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47803 * sunrpc/rpc_main.c: Likewise.
47804 * sunrpc/rpc_svcout.c: Likewise.
47805
60d6f5a6
DM
478062012-03-09 David S. Miller <davem@davemloft.net>
47807
47808 * include/math_private.h: New file.
47809
4962050e
JM
478102012-03-09 Joseph Myers <joseph@codesourcery.com>
47811
02a6f887
JM
47812 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47813 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47814 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47815 from <bits/socket_type.h>.
47816 (enum __socket_type): Don't define here.
47817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47819 bits/socket_type.h.
47820
c6e013c1
JM
47821 [BZ #13566]
47822 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47823 checking __USE_GNU.
47824
4962050e
JM
47825 * Makerules ($(inst_includedir)/%.h): New rule.
47826 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47827 (install-others): Remove variable setting.
47828 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47829
38842f45
RH
478302012-03-08 Richard Henderson <rth@twiddle.net>
47831
67bb6da6
RH
47832 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47833 from macro to inline function; merge with the
47834 !__LIBC_INTERNAL_MATH_INLINES version.
47835 (__ieee754_sqrtf): Likewise.
47836
15194b4b
RH
47837 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47838 to inline function.
47839 (__rintf, __floor, __floorf): Likewise.
47840
64e21ede
RH
47841 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47842 macro to inline function.
47843 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47844
38842f45
RH
47845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47846 not <math/math_private.h>.
47847
c64bf5fe
DM
478482012-03-08 David S. Miller <davem@davemloft.net>
47849
47850 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47851 copyright year.
47852 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47853
82d86f28
TS
478542012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47855
47856 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47857 normalization.
47858 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47859 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47860
aea5d727
UD
478612012-03-08 Ulrich Drepper <drepper@gmail.com>
47862
47863 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47864 be defined individually, they must be defined as a block. Define
47865 S for printing a string instead of hidint the different by using a
47866 macro for adding the 'l'.
47867 * stdio-common/tst-fphex-wide.c: Adjust.
47868
70bca0a3
MP
478692012-03-07 Marek Polacek <polacek@redhat.com>
47870
47871 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47872
65b81130
MP
478732012-03-08 Marek Polacek <polacek@redhat.com>
47874
47875 [BZ #13806]
47876 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47877 * stdio-common/tst-fphex.c: Define a few macros to make the
47878 test reusable. Use them.
47879 * stdio-common/tst-fphex-wide.c: New file.
47880
07037eeb
JM
478812012-03-08 Joseph Myers <joseph@codesourcery.com>
47882
a7a93d50
JM
47883 [BZ #6911]
47884 * manual/macros.texi (gnusystems): New macro.
47885 (nongnusystems): Likewise.
47886 (gnulinuxhurdsystems): Likewise.
47887 (gnuhurdsystems): Likewise..
47888 (gnulinuxsystems): Likewise.
47889 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47890 variants of the GNU system, not "GNU system".
47891 * manual/conf.texi: Likewise.
47892 * manual/errno.texi: Likewise. Update example of errno macro
47893 expansion.
47894 * manual/filesys.texi: Likewise.
47895 (getumask): Document as specific to GNU/Hurd.
47896 * manual/install.texi: Likewise. Reword some references to
47897 GNU/Linux.
47898 * manual/intro.texi: Likewise.
47899 * manual/io.texi: Likewise.
47900 (File Name Portability): Detail which constraints are inapplicable
47901 to all GNU systems and which are only inapplicable to GNU/Hurd.
47902 * manual/job.texi: Likewise.
47903 * manual/llio.texi: Likewise.
47904 (O_NOCTTY): Document as present on GNU/Linux.
47905 * manual/maint.texi: Likewise.
47906 * manual/memory.texi: Likewise.
47907 * manual/pattern.texi: Likewise.
47908 * manual/pipe.texi: Likewise.
47909 * manual/process.texi: Likewise.
47910 * manual/resource.texi: Likewise.
47911 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47912 child on GNU/Hurd.
47913 * manual/setjmp.texi: Likewise.
47914 * manual/signal.texi: Likewise.
47915 * manual/startup.texi: Likewise.
47916 * manual/stdio.texi: Likewise.
47917 * manual/terminal.texi: Likewise.
47918 (ONLCR): Document as POSIX.
47919 (OXTABS): Document availability on GNU/Linux as XTABS.
47920 (ONOEOT): Document availability separately from other bits.
47921 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47922 * manual/time.texi: Likewise.
47923 * manual/users.texi: Likewise.
47924 * INSTALL: Regenerated.
47925 * sysdeps/gnu/errlist.c: Regenerated.
47926
07037eeb
JM
47927 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47928 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47929 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47930 puts.
47931 * configure: Regenerated.
47932
d1d3431a
JM
479332012-03-07 Joseph Myers <joseph@codesourcery.com>
47934
af6a1e37
JM
47935 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47936 default includes instead of AC_HEADER_CHECK.
47937 * sysdeps/i386/configure: Regenerated.
47938
d1d3431a
JM
47939 [BZ #10716]
47940 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47941 * math/s_cacoshf.c (__cacoshf): Likewise.
47942 * math/s_cacoshl.c (__cacoshl): Likewise.
47943 * math/s_casinh.c (__casinh): Set signs of result from argument.
47944 * math/s_casinhf.c (__casinhf): Likewise.
47945 * math/s_casinhl.c (__casinhl): Likewise.
47946 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47947 (casinh_test): Add more tests.
47948 * sysdeps/i386/fpu/libm-test-ulps: Update.
47949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47950
482ff4da
UD
479512012-03-07 Ulrich Drepper <drepper@gmail.com>
47952
872fda05
UD
47953 * po/zh_TW.po: Update from translation team.
47954
a4300c7a
UD
47955 * login/Makefile (distribute): Remove variable.
47956 * catgets/Makefile: Likewise.
47957 * mach/Makefile: Likewise.
47958 * malloc/Makefile: Likewise.
47959 * misc/Makefile: Likewise.
47960 * iconv/Makefile: Likewise.
47961 * nscd/Makefile: Likewise.
47962 * hurd/Makefile: Likewise.
47963 * manual/Makefile: Likewise.
47964 * locale/Makefile: Likewise.
47965 * intl/Makefile: Likewise.
47966 * conform/Makefile: Likewise.
47967 * nss/Makefile: Likewise.
47968 * time/Makefile: Likewise.
47969 * soft-fp/Makefile: Likewise.
47970 * dirent/Makefile: Likewise.
47971 * gmon/Makefile: Likewise.
47972 * po/Makefile: Likewise.
47973 * rt/Makefile: Likewise.
47974 * socket/Makefile: Likewise.
47975 * math/Makefile: Likewise.
47976 * signal/Makefile: Likewise.
47977 * debug/Makefile: Likewise.
47978 * elf/Makefile: Likewise.
47979 * timezone/Makefile: Likewise.
47980 * stdlib/Makefile: Likewise.
47981 * iconvdata/Makefile: Likewise.
47982 * sunrpc/Makefile: Likewise.
47983 * io/Makefile: Likewise.
47984 * argp/Makefile: Likewise.
47985 * inet/Makefile: Likewise.
47986 * hesiod/Makefile: Likewise.
47987 * grp/Makefile: Likewise.
47988 * csu/Makefile: Likewise.
47989 * wctype/Makefile: Likewise.
47990 * crypt/Makefile: Likewise.
47991 * libio/Makefile: Likewise.
47992 * string/Makefile: Likewise.
47993 * nis/Makefile: Likewise.
47994 * resolv/Makefile: Likewise.
47995 * stdio-common/Makefile: Likewise.
47996 * wcsmbs/Makefile: Likewise.
47997 * dlfcn/Makefile: Likewise.
47998 * posix/Makefile: Likewise.
47999
3b7c4e74 48000 [BZ #6959]
482ff4da
UD
48001 * timezone/Makefile: Don't install timezone files, just the programs
48002 and scripts.
48003
f72ed77d
UD
480042012-03-06 Ulrich Drepper <drepper@gmail.com>
48005
a000466f
UD
48006 * nss/databases.def: Add missing gshadow entry.
48007
f72ed77d
UD
48008 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48009
a53b7a4e
MP
480102012-03-06 Marek Polacek <polacek@redhat.com>
48011
48012 [BZ #13726]
48013 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48014 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48015 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48016 * stdio-common/tst-long-dbl-fphex.c: New file.
48017
e9258400
DM
480182012-03-06 David S. Miller <davem@davemloft.net>
48019
48020 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48021 (set_obp_int): New function.
48022 (get_obp_int): New function.
48023 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48024 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48025 Avoid unused variable warnings on 'val' and use builtin_expect.
48026 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48027 __builtin_expect.
e9258400
DM
48028 (INLINE_CLONE_SYSCALL): Likewise.
48029
3bd2c723
DM
480302012-03-05 David S. Miller <davem@davemloft.net>
48031
48032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48033
bbb78d03
AS
480342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48035
884c5db4
AS
48036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48037
bbb78d03
AS
48038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48039 only for |x| >= 40.
48040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48041
1c9f702a 480422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48043
48044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48045 Replace gettimeofday with __vdso_gettimeofday.
48046
7be16f82
RM
48047 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48048 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48049 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48050
48051 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48052 time with __vdso_time.
48053
ed58a00f
JM
480542012-03-05 Joseph Myers <joseph@codesourcery.com>
48055
48056 * manual/lang.texi (size_t): Note types to which size_t may be
48057 equivalent with the GNU C Library, but do not describe when
48058 differences between them are significant.
48059
30ee4ced
AJ
480602012-03-05 Andreas Jaeger <aj@suse.de>
48061
48062 * sysdeps/i386/fpu/libm-test-ulps: Update.
48063
b7cd39e8
JM
480642012-03-05 Joseph Myers <joseph@codesourcery.com>
48065
48066 [BZ #3976]
48067 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48068 (__ieee754_pow): Save and restore rounding mode and use
48069 round-to-nearest for main computations.
48070 * math/libm-test.inc (pow_test_tonearest): New function.
48071 (pow_test_towardzero): Likewise.
48072 (pow_test_downward): Likewise.
48073 (pow_test_upward): Likewise.
48074 (main): Call the new functions.
48075 * sysdeps/i386/fpu/libm-test-ulps: Update.
48076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48077
48078 [BZ #3976]
48079 * math/libm-test.inc (cosh_test_tonearest): New function.
48080 (cosh_test_towardzero): Likewise.
48081 (cosh_test_downward): Likewise.
48082 (cosh_test_upward): Likewise.
48083 (sinh_test_tonearest): Likewise.
48084 (sinh_test_towardzero): Likewise.
48085 (sinh_test_downward): Likewise.
48086 (sinh_test_upward): Likewise.
48087 (main): Call the new functions.
48088 * sysdeps/i386/fpu/libm-test-ulps: Update.
48089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48090
6c6a98c9
TV
480912012-03-05 Tom de Vries <tom@codesourcery.com>
48092
48093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48094 default stack guard is set in last bytes.
48095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48096
21bb2d2e 480972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48098
21bb2d2e 48099 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48100
21bb2d2e
AJ
48101 [BZ #13656]
48102 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48103 possibly allocate from heap instead of stack.
48104 * stdio-common/bug-vfprintf-nargs.c: New file.
48105 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48106
c6922934
AS
481072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48108
48109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48110
bc957d53
MP
481112012-03-03 Marek Polacek <polacek@redhat.com>
48112
48113 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48114 * math/math_private.h: Likewise.
48115 * stdlib/tst-strtod.c: Likewise.
48116 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48117 * sysdeps/x86_64/bits/atomic.h: Likewise.
48118
6358490d
DM
481192012-03-02 David S. Miller <davem@davemloft.net>
48120
48121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48125 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48126 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48127 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48128 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48129
01ae168d
RM
481302012-03-02 Roland McGrath <roland@hack.frob.com>
48131
d9a17c07
RM
48132 [BZ #13792]
48133 * manual/examples/README: New file, says the example source files
48134 can be used under GPL>=2.
48135 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48136 line containing just "*/".
48137 * manual/examples/add.c: Add copyright header (GPL>=2).
48138 * manual/examples/argp-ex1.c: Likewise.
48139 * manual/examples/argp-ex2.c: Likewise.
48140 * manual/examples/argp-ex3.c: Likewise.
48141 * manual/examples/argp-ex4.c: Likewise.
48142 * manual/examples/atexit.c: Likewise.
48143 * manual/examples/db.c: Likewise.
48144 * manual/examples/dir.c: Likewise.
48145 * manual/examples/dir2.c: Likewise.
48146 * manual/examples/execinfo.c: Likewise.
48147 * manual/examples/filecli.c: Likewise.
48148 * manual/examples/filesrv.c: Likewise.
48149 * manual/examples/fmtmsgexpl.c: Likewise.
48150 * manual/examples/genpass.c: Likewise.
48151 * manual/examples/inetcli.c: Likewise.
48152 * manual/examples/inetsrv.c: Likewise.
48153 * manual/examples/isockad.c: Likewise.
48154 * manual/examples/longopt.c: Likewise.
48155 * manual/examples/memopen.c: Likewise.
48156 * manual/examples/memstrm.c: Likewise.
48157 * manual/examples/mkfsock.c: Likewise.
48158 * manual/examples/mkisock.c: Likewise.
48159 * manual/examples/mygetpass.c: Likewise.
48160 * manual/examples/pipe.c: Likewise.
48161 * manual/examples/popen.c: Likewise.
48162 * manual/examples/rprintf.c: Likewise.
48163 * manual/examples/search.c: Likewise.
48164 * manual/examples/select.c: Likewise.
48165 * manual/examples/setjmp.c: Likewise.
48166 * manual/examples/sigh1.c: Likewise.
48167 * manual/examples/sigusr.c: Likewise.
48168 * manual/examples/stpcpy.c: Likewise.
48169 * manual/examples/strdupa.c: Likewise.
48170 * manual/examples/strftim.c: Likewise.
48171 * manual/examples/strncat.c: Likewise.
48172 * manual/examples/subopt.c: Likewise.
48173 * manual/examples/swapcontext.c: Likewise.
48174 * manual/examples/termios.c: Likewise.
48175 * manual/examples/testopt.c: Likewise.
48176 * manual/examples/testpass.c: Likewise.
48177 * manual/examples/timeval_subtract.c: Likewise.
48178
01ae168d
RM
48179 [BZ #13792]
48180 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48181 function to ...
48182 * manual/timeval_subtract.c.texi: ... here, new file.
48183
49efa33d
DM
481842012-03-02 David S. Miller <davem@davemloft.net>
48185
48186 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48187
28afd92d
JM
481882012-03-02 Joseph Myers <joseph@codesourcery.com>
48189
804360ed
JM
48190 [BZ #3976]
48191 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48192 (__sin): Save and restore rounding mode and use round-to-nearest
48193 for all computations.
48194 (__cos): Save and restore rounding mode and use round-to-nearest
48195 for all computations.
48196 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48197 <fenv.h>.
48198 (tan): Save and restore rounding mode and use round-to-nearest for
48199 all computations.
48200 * math/libm-test.inc (cos_test_tonearest): New function.
48201 (cos_test_towardzero): Likewise.
48202 (cos_test_downward): Likewise.
48203 (cos_test_upward): Likewise.
48204 (sin_test_tonearest): Likewise.
48205 (sin_test_towardzero): Likewise.
48206 (sin_test_downward): Likewise.
48207 (sin_test_upward): Likewise.
48208 (tan_test_tonearest): Likewise.
48209 (tan_test_towardzero): Likewise.
48210 (tan_test_downward): Likewise.
48211 (tan_test_upward): Likewise.
48212 (main): Call the new functions.
48213 * sysdeps/i386/fpu/libm-test-ulps: Update.
48214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48215
a6d06d7b
JM
48216 [BZ #10135]
48217 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48218 small n, then large n, before computing and testing k+n.
48219 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48221 Likewise.
48222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48223 Likewise.
48224 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48225 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48230 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48231 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48232 * math/libm-test.inc (scalbn_test): Add more tests.
48233 (scalbln_test): Likewise.
48234
07e12bb3
JM
48235 * manual/filesys.texi (mode_t): Describe constraints on size and
48236 signedness, not exact equivalence to a particular type.
48237 (ino_t): Likewise.
48238 (ino64_t): Likewise.
48239 (dev_t): Likewise.
48240 (nlink_t): Likewise.
48241 (blkcnt_t): Likewise.
48242 (blkcnt64_t): Likewise.
48243 * manual/llio.texi (off_t): Likewise.
48244
28afd92d
JM
48245 [BZ #3976]
48246 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48247 (__ieee754_exp): Save and restore rounding mode and use
48248 round-to-nearest for all computations.
48249 * math/libm-test.inc (exp_test_tonearest): New function.
48250 (exp_test_towardzero): Likewise.
48251 (exp_test_downward): Likewise.
48252 (exp_test_upward): Likewise.
48253 (main): Call the new functions.
48254 * sysdeps/i386/fpu/libm-test-ulps: Update.
48255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48256
b1eeb65d
CD
482572012-03-01 Chris Demetriou <cgd@google.com>
48258
48259 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48260 have predictable order.
48261
53362a4b
DM
482622012-03-01 David S. Miller <davem@davemloft.net>
48263
3c969083
DM
48264 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48265
759707de
DM
48266 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48267 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48268 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48269 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48270
dfdb8ff2
DM
48271 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48272 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48273 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48275 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48276 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48277 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48278 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48279 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48280
ead89f96
DM
48281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48282
7f66bd07
DM
48283 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48284 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48285 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48286
53362a4b
DM
48287 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48288 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48289 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48290 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48291 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48294 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48295 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48296 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48297 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48298 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48299 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48300 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48301 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48302 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48303 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48304 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48305 * sysdeps/sparc/elf/configure: Regenerated.
48306
7b1902cb
JM
483072012-03-01 Joseph Myers <joseph@codesourcery.com>
48308
bec039bc
JM
48309 * configure.in (AS, LD): Require binutils 2.20 or later.
48310 * configure: Regenerated.
48311 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48312 as required minimum version.
48313 * INSTALL: Regenerated.
48314
7b1902cb
JM
48315 [BZ #2541]
48316 [BZ #4108]
48317 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48318 before squaring exponent.
48319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48320 bottom long double and 27 bits of top long double before squaring
48321 exponent.
48322 * math/libm-test.inc (erfc_test): Add more tests.
48323 * sysdeps/i386/fpu/libm-test-ulps: Update.
48324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48326
f775c276
KT
483272012-03-01 Kai Tietz <ktietz@redhat.com>
48328
48329 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48330 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48331 containing bit-fields.
48332 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48333 * soft-fp/single.h (_FP_UNION_S): Likewise.
48334 * soft-fp/double.h (_FP_UNION_D): Likewise.
48335
5b8a4d4a
JM
483362012-02-29 Joseph Myers <joseph@codesourcery.com>
48337
0bab47b6
JM
48338 [BZ #13786]
48339 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48340 not include ../strcmp.S.
48341 [USE_AS_STRNCASECMP_L]: Likewise.
48342 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48343 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48344 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48345 (__strncasecmp_l_ia32): Define as alias to
48346 __strncasecmp_l_nonascii.
48347
0fcad3e2
JM
48348 [BZ #5794]
48349 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48350 * sysdeps/i386/fpu/libm-test-ulps: Update.
48351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48352
5b8a4d4a
JM
48353 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48355
8fdceb2e
JL
483562012-02-29 Jeff Law <law@redhat.com>
48357
48358 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48359 out of bounds read.
48360
1f393a11
MP
483612012-02-29 Marek Polacek <polacek@redhat.com>
48362
48363 [BZ #13706]
48364 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48365 * elf/Makefile: Add rules to run tst-unused-dep.out.
48366
8847f037
DM
483672012-02-28 David S. Miller <davem@davemloft.net>
48368
48369 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48370 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48373 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48374 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48375
169d7f11
JM
483762012-02-29 Joseph Myers <joseph@codesourcery.com>
48377
48378 * math/libm-test.inc (llround_test): Move one test from
48379 lround_test. Use TEST_f_L in moved test.
48380 (lround_test): Move misplaced test to llround_test. Add testcase
48381 from bug 2561.
48382
39adf059
UD
483832012-02-28 Ulrich Drepper <drepper@gmail.com>
48384
48385 * sysdeps/x86_64/fpu/e_expf.S: New file.
48386 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48387
71b5d1c5
SB
483882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48389
48390 [BZ #13637]
48391 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48392 of remain_len that may cause incomplete multi-byte character and
48393 false match.
48394 * posix/bug-regex33.c: New file.
48395 * posix/Makefile (tests): Add bug-regex33.
48396
1f77f049
JM
483972012-02-28 Joseph Myers <joseph@codesourcery.com>
48398
48399 * manual/macros.texi: New file.
48400 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48401 * manual/libc.texinfo: Include macros.texi.
48402 * manual/creatute.texi: Likewise.
48403 * manual/install.texi: Likewise.
48404 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48405 @glibcadj{} in references to the GNU C Library.
48406 * manual/charset.texi: Likewise.
48407 * manual/conf.texi: Likewise.
48408 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48409 when not using those macros.
48410 * manual/creature.texi: Likewise.
48411 * manual/crypt.texi: Likewise.
48412 * manual/errno.texi: Likewise.
48413 * manual/filesys.texi: Likewise.
48414 * manual/header.texi: Likewise.
48415 * manual/install.texi: Likewise.
48416 * manual/intro.texi: Likewise.
48417 * manual/io.texi: Likewise.
48418 * manual/job.texi: Likewise.
48419 * manual/lang.texi: Likewise.
48420 * manual/libc.texiinfo: Likewise.
48421 * manual/llio.texi: Likewise.
48422 * manual/locale.texi: Likewise.
48423 * manual/maint.texi: Likewise.
48424 * manual/math.texi: Likewise.
48425 * manual/memory.texi: Likewise.
48426 * manual/message.texi: Likewise.
48427 * manual/nss.texi: Likewise.
48428 * manual/pattern.texi: Likewise.
48429 * manual/process.texi: Likewise.
48430 * manual/resource.texi: Likewise.
48431 * manual/search.texi: Likewise.
48432 * manual/setjmp.texi: Likewise.
48433 * manual/signal.texi: Likewise.
48434 * manual/socket.texi: Likewise.
48435 * manual/startup.texi: Likewise.
48436 * manual/stdio.texi: Likewise.
48437 * manual/string.texi: Likewise.
48438 * manual/sysinfo.texi: Likewise.
48439 * manual/syslog.texi: Likewise.
48440 * manual/terminal.texi: Likewise.
48441 * manual/time.texi: Likewise.
48442 * manual/users.texi: Likewise.
48443 * INSTALL: Regenerated.
48444 * NOTES: Regenerated.
d40c5d54 48445 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48446
450bf206
AS
484472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48448
48449 * include/dirent.h: Include <dirstream.h> before
48450 <dirent/dirent.h>.
48451
741a235b
DM
484522012-02-28 David S. Miller <davem@davemloft.net>
48453
48454 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48455 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48456 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48457 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48458
d6b5aa58
DM
484592012-02-27 David S. Miller <davem@davemloft.net>
48460
1aff59a3
DM
48461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48463 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48464 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48465
d6b5aa58
DM
48466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48467 frame pointer instead of stack pointer relative arg slot.
48468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48471
433f48bf
CD
484722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48473
48474 [BZ #3992]
48475 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48476
d674b76d
DM
484772012-02-27 David S. Miller <davem@davemloft.net>
48478
48479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48483 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48484 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48485 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48486 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48487
0e7727f7
JM
484882012-02-27 Joseph Myers <joseph@codesourcery.com>
48489
48490 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48491 later. Allow versions 5-9.
43be4ca2 48492 * configure: Regenerated.
0e7727f7
JM
48493 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48494 required minimum version and 4.6 as recommended version. Do not
48495 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48496 * INSTALL: Regenerated.
0e7727f7 48497
a78bc654
DM
484982012-02-27 David S. Miller <davem@davemloft.net>
48499
428d5830
DM
48500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48506 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48508
a78bc654
DM
48509 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48510 manipulate bits before adding and subtracting TWO112[sx].
48511 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48512
4579f81c
RM
485132012-02-27 Roland McGrath <roland@hack.frob.com>
48514
36c8acb4
RM
48515 [BZ #13775]
48516 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48517 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48518 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48519 being in POSIX, because they are in 1003.1-2008.
48520
84ad622b
RM
48521 * rt/tst-aio.c: Include <fcntl.h>.
48522 * rt/tst-aio7.c: Likewise.
48523 * rt/tst-aio64.c: Likewise.
48524
4579f81c
RM
48525 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48526
abd923db
JM
485272012-02-27 Joseph Myers <joseph@codesourcery.com>
48528
48529 * manual/install.texi (--with-headers): Describe headers as
48530 interface headers, not private headers.
48531 (Specific advice for GNU/Linux systems): Describe use of headers
48532 from "make headers_install", not private headers from older
48533 kernels.
43be4ca2 48534 * INSTALL: Regenerated.
abd923db
JM
48535 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48536 Change to 2.6.19.
48537 * sysdeps/unix/sysv/linux/configure: Regenerated.
48538
6664049b
JM
48539 * manual/llio.texi (fclean): Remove documentation.
48540
bb8b6697
JM
48541 * manual/Makefile (libc-texi-generated): New variable. Include
48542 version.texi.
48543 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48544 $(libc-texi-generated), not duplicated list of files.
48545 (version.texi, stamp-version): New rules.
48546 (realclean): Remove $(libc-texi-generated), not individual files
48547 from that list. Do not remove dir-add.texinfo.
48548 * manual/libc.texinfo: Comment out uses of edition numbers and
48549 references to printed manual. Remove last-updated dates.
48550 (EDITION): Comment out.
48551 (ISBN): Likewise.
48552 (VERSION, UPDATED): Remove.
48553 (version.texi): Include.
48554
12e5c3b9
AS
485552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48556
48557 * sysdeps/posix/spawni.c: Include <signal.h>.
48558 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48559 * sysdeps/pthread/aio_fsync.c: Likewise.
48560
4efeffc1 485612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48562
ba63ba08
UD
48563 * conform/Makefile (tests): Run only when not cross-compiling and
48564 when fast-check is not defined.
48565
d94a4670
UD
48566 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48567 * conform/data/limits.h-data: Fixes for POSIX2008.
48568 * conform/run-conformtest.sh: Run all tests.
48569 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48570 headers.
48571 * include/bits/dlfcn.h: Likewise.
48572 * include/langinfo.h: Likewise.
48573 * include/monetary.h: Likewise.
48574 * include/sys/poll.h: Likewise.
48575
48576 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48577 for __USE_GNU.
48578 * posix/spawn.h: Define __need_sigset_t.
48579 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48580 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48581 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48582 to get sigevent_t only.
48583 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48584 only for __USE_GNU.
48585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48586 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48587 process_vm_writev only for __USE_GNU.
48588 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48589
48590 * conform/Makefile: For now ignore errors from run-conformtest.
48591 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48592 POSIX to avoid namespace pollution. Don't prepend headers.
48593 * conform/data/aio.h-data: Fixes for POSIX testing.
48594 * conform/data/fcntl.h-data: Likewise.
48595 * conform/data/glob.h-data: Likewise.
48596 * conform/data/grp.h-data: Likewise.
48597 * conform/data/pthread.h-data: Likewise.
48598 * conform/data/pwd.h-data: Likewise.
48599 * conform/data/signal.h-data: Likewise.
48600 * conform/data/spawn.h-data: Likewise.
48601 * conform/data/stdio.h-data: Likewise.
48602 * conform/data/stdlib.h-data: Likewise.
48603 * conform/data/stropts.h-data: Likewise.
48604 * conform/data/sys/mman.h-data: Likewise.
48605 * conform/data/sys/stat.h-data: Likewise.
48606 * conform/data/sys/types.h-data: Likewise.
48607 * conform/data/sys/wait.h-data: Likewise.
48608 * conform/data/time.h-data: Likewise.
48609 * conform/data/unistd.h-data: Likewise.
48610 * conform/data/utime.h-data: Likewise.
48611
48612 * io/sys/stat.h: fchmod was always in POSIX.
48613 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48614 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48615 * rt/aio.h: Define __need_timespec before including <time.h>.
48616 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48617 struct. Add forward declaration of pthread_attr_t and use it in
48618 sigevent.
48619 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48620 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48621 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48622 always remove CLK_TCK definition.
48623
c20105c3
AS
486242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48625
48626 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48627
7a270350
UD
486282012-02-25 Ulrich Drepper <drepper@gmail.com>
48629
31341567
UD
48630 * conform/run-conformtest.sh: New file.
48631 * conform/Makefile: Run run-conformtest for tests.
48632 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48633 support.
48634
48635 * conform/data/uchar.h-data: New file.
48636 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48637 * conform/data/arpa/inet.h-data: Likewise.
48638 * conform/data/assert.h-data: Likewise.
48639 * conform/data/complex.h-data: Likewise.
48640 * conform/data/cpio.h-data: Likewise.
48641 * conform/data/ctype.h-data: Likewise.
48642 * conform/data/dirent.h-data: Likewise.
48643 * conform/data/dlfcn.h-data: Likewise.
48644 * conform/data/errno.h-data: Likewise.
48645 * conform/data/fcntl.h-data: Likewise.
48646 * conform/data/float.h-data: Likewise.
48647 * conform/data/fmtmsg.h-data: Likewise.
48648 * conform/data/fnmatch.h-data: Likewise.
48649 * conform/data/ftw.h-data: Likewise.
48650 * conform/data/glob.h-data: Likewise.
48651 * conform/data/grp.h-data: Likewise.
48652 * conform/data/iconv.h-data: Likewise.
48653 * conform/data/inttypes.h-data: Likewise.
48654 * conform/data/langinfo.h-data: Likewise.
48655 * conform/data/libgen.h-data: Likewise.
48656 * conform/data/limits.h-data: Likewise.
48657 * conform/data/locale.h-data: Likewise.
48658 * conform/data/math.h-data: Likewise.
48659 * conform/data/monetary.h-data: Likewise.
48660 * conform/data/mqueue.h-data: Likewise.
48661 * conform/data/ndbm.h-data: Likewise.
48662 * conform/data/net/if.h-data: Likewise.
48663 * conform/data/netdb.h-data: Likewise.
48664 * conform/data/netinet/in.h-data: Likewise.
48665 * conform/data/nl_types.h-data: Likewise.
48666 * conform/data/poll.h-data: Likewise.
48667 * conform/data/pthread.h-data: Likewise.
48668 * conform/data/pwd.h-data: Likewise.
48669 * conform/data/regex.h-data: Likewise.
48670 * conform/data/sched.h-data: Likewise.
48671 * conform/data/search.h-data: Likewise.
48672 * conform/data/semaphore.h-data: Likewise.
48673 * conform/data/setjmp.h-data: Likewise.
48674 * conform/data/signal.h-data: Likewise.
48675 * conform/data/spawn.h-data: Likewise.
48676 * conform/data/stdarg.h-data: Likewise.
48677 * conform/data/stdio.h-data: Likewise.
48678 * conform/data/stdlib.h-data: Likewise.
48679 * conform/data/string.h-data: Likewise.
48680 * conform/data/strings.h-data: Likewise.
48681 * conform/data/stropts.h-data: Likewise.
48682 * conform/data/sys/ipc.h-data: Likewise.
48683 * conform/data/sys/mman.h-data: Likewise.
48684 * conform/data/sys/msg.h-data: Likewise.
48685 * conform/data/sys/resource.h-data: Likewise.
48686 * conform/data/sys/select.h-data: Likewise.
48687 * conform/data/sys/sem.h-data: Likewise.
48688 * conform/data/sys/shm.h-data: Likewise.
48689 * conform/data/sys/socket.h-data: Likewise.
48690 * conform/data/sys/stat.h-data: Likewise.
48691 * conform/data/sys/statvfs.h-data: Likewise.
48692 * conform/data/sys/time.h-data: Likewise.
48693 * conform/data/sys/timeb.h-data: Likewise.
48694 * conform/data/sys/times.h-data: Likewise.
48695 * conform/data/sys/types.h-data: Likewise.
48696 * conform/data/sys/uio.h-data: Likewise.
48697 * conform/data/sys/un.h-data: Likewise.
48698 * conform/data/sys/utsname.h-data: Likewise.
48699 * conform/data/sys/wait.h-data: Likewise.
48700 * conform/data/syslog.h-data: Likewise.
48701 * conform/data/tar.h-data: Likewise.
48702 * conform/data/termios.h-data: Likewise.
48703 * conform/data/utime.h-data: Likewise.
48704 * conform/data/utmpx.h-data: Likewise.
48705 * conform/data/varargs.h-data: Likewise.
48706 * conform/data/wchar.h-data: Likewise.
48707 * conform/data/wctype.h-data: Likewise.
48708 * conform/data/wordexp.h-data: Likewise.
48709
48710 * include/stropts.h: New file.
48711 * include/uchar.h: New file.
48712 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48713 * include/assert.h: Likewise.
48714 * include/ctype.h: Likewise.
48715 * include/dirent.h: Likewise.
48716 * include/dlfcn.h: Likewise.
48717 * include/fcntl.h: Likewise.
48718 * include/fnmatch.h: Likewise.
48719 * include/glob.h: Likewise.
48720 * include/grp.h: Likewise.
48721 * include/libio.h: Likewise.
48722 * include/locale.h: Likewise.
48723 * include/math.h: Likewise.
48724 * include/net/if.h: Likewise.
48725 * include/netdb.h: Likewise.
48726 * include/netinet/in.h: Likewise.
48727 * include/pthread.h: Likewise.
48728 * include/pwd.h: Likewise.
48729 * include/regex.h: Likewise.
48730 * include/sched.h: Likewise.
48731 * include/search.h: Likewise.
48732 * include/setjmp.h: Likewise.
48733 * include/signal.h: Likewise.
48734 * include/stdio.h: Likewise.
48735 * include/stdlib.h: Likewise.
48736 * include/string.h: Likewise.
48737 * include/sys/cdefs.h: Likewise.
48738 * include/sys/mman.h: Likewise.
48739 * include/sys/msg.h: Likewise.
48740 * include/sys/resource.h: Likewise.
48741 * include/sys/select.h: Likewise.
48742 * include/sys/socket.h: Likewise.
48743 * include/sys/stat.h: Likewise.
48744 * include/sys/statvfs.h: Likewise.
48745 * include/sys/time.h: Likewise.
48746 * include/sys/times.h: Likewise.
48747 * include/sys/uio.h: Likewise.
48748 * include/sys/utsname.h: Likewise.
48749 * include/sys/wait.h: Likewise.
48750 * include/termios.h: Likewise.
48751 * include/time.h: Likewise.
48752 * include/ulimit.h: Likewise.
48753 * include/unistd.h: Likewise.
48754 * include/utime.h: Likewise.
48755 * include/wchar.h: Likewise.
48756 * include/wctype.h: Likewise.
48757 * include/wordexp.h: Likewise.
48758
48759 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48760
7a270350
UD
48761 * time/time.h: TIME_UTC must be a macro.
48762 Make timespec_get available for ISO C11 only as well.
48763
7724defc
UD
487642012-02-24 Ulrich Drepper <drepper@gmail.com>
48765
48766 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48767 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48768
6b1d1d46
JM
487692012-02-24 Joseph Myers <joseph@codesourcery.com>
48770
48771 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48772
0f8bbd69
JM
487732012-02-24 Joseph Myers <joseph@codesourcery.com>
48774
48775 * manual/texinfo.tex: Update to version 2012-01-19.16.
48776
66ab80bc
JM
487772012-02-24 Joseph Myers <joseph@codesourcery.com>
48778
48779 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48780
74981cc5
RM
487812012-02-24 Roland McGrath <roland@hack.frob.com>
48782
ee968201
RM
48783 [BZ #13738]
48784 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48785 * manual/fdl-1.3.texi: New file.
48786 * manual/fdl-1.1.texi: File removed.
48787
74981cc5
RM
48788 [BZ #13738]
48789 * manual/libc.texinfo (FDL_VERSION): New @set.
48790 Use it for mention of FDL in cover text.
48791 (Documentation License): Use it in @include file name.
48792
7bb764bc
JM
487932012-02-22 Joseph Myers <joseph@codesourcery.com>
48794 Roland McGrath <roland@hack.frob.com>
48795
48796 [BZ #5461]
57f41c40
AS
48797 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48798 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48799 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48800 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48801 name.
48802 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48803
6cbeae47
JM
488042012-02-22 Joseph Myers <joseph@codesourcery.com>
48805
48806 [BZ #2547]
48807 [BZ #11365]
48808 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48809 manipulate bits before adding and subtracting TWO23[sx].
48810 * math/libm-test.inc (nearbyint_test): Add more tests.
48811
fe45ce09
JM
488122012-02-22 Joseph Myers <joseph@codesourcery.com>
48813
48814 [BZ #2548]
48815 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48816 bits before adding and subtracting TWO23[sx].
48817 * math/libm-test.inc (rint_test): Add more tests.
48818 (rint_test_tonearest): Likewise.
48819 (rint_test_towardzero): Likewise.
48820 (rint_test_downward): Likewise.
48821 (rint_test_upward: Likewise.
48822
ff3b3d82
JM
488232012-02-22 Joseph Myers <joseph@codesourcery.com>
48824
48825 [BZ #10110]
48826 * include/stdc-predef.h: New file. Extracted from features.h.
48827 * include/features.h: Include stdc-predef.h.
48828 * Makefile (headers): Add stdc-predef.h.
48829 * CONFORMANCE (Compiler limitations): Update.
48830
ef0aab35
JM
488312012-02-22 Joseph Myers <joseph@codesourcery.com>
48832
48833 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48834
58639409
DM
488352012-02-21 David S. Miller <davem@davemloft.net>
48836
48837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48838 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48839
c0e70b25
DM
488402012-02-20 David S. Miller <davem@davemloft.net>
48841
48842 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48843 using a normal save/restore sequence, rather than allocating a
48844 dummy stack frame just to store a frame pointer and restore.
48845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48846
fb06851d
JM
488472012-02-21 Joseph Myers <joseph@codesourcery.com>
48848
48849 * manual/install.texi: Fix stray word in line-wrapped comment.
48850
7a8b71c3
DM
488512012-02-20 David S. Miller <davem@davemloft.net>
48852
d510c123
DM
48853 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48854 both binutils and gcc support GOTDATA.
48855
0722d7c2
DM
48856 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48857 "rd %pc" in the PIC register setup sequences.
48858
3d2b3019
DM
48859 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48860 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48862 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48863 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48865 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48868 (SYSCALL_ERROR_HANDLER): Likewise.
48869 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48870 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48872 (SYSCALL_ERROR_HANDLER): Likewise.
48873
c80098a9
DM
48874 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48875 (HAVE_GCC_GOTDATA): New.
48876 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48877 relocation support in both binutils and gcc.
48878 * sysdeps/sparc/elf/configure: Regenerate.
48879
3a2545a0
DM
48880 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48881 * sysdeps/sparc/sparc32/elf/configure: Delete.
48882 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48883 * sysdeps/sparc/sparc64/elf/configure: Delete.
48884 * sysdeps/sparc/elf/configure.in: New file.
48885 * sysdeps/sparc/elf/configure: Generate.
48886
7a8b71c3
DM
48887 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48888 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48889 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48890 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48891 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48892
f1e86fca
JM
488932012-02-21 Joseph Myers <joseph@codesourcery.com>
48894
48895 * manual/install.texi: Do not mention specific glibc version
48896 numbers.
48897 * manual/libc.texinfo (VERSION, UPDATED): Update.
48898 (@copying): Use @copyright{} and range of years.
48899
0e7dfaef
JM
489002012-02-21 Joseph Myers <joseph@codesourcery.com>
48901
48902 [BZ #13695]
48903 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48904 [crti.S not in sysdirs] (generated): Do not append.
48905 [crti.S not in sysdirs] (omit-deps): Likewise.
48906 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48907 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48908 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48909 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48910 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48911 Likewise.
48912 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48913 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48914 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48915 * csu/defs.awk: Remove file.
48916 * sysdeps/generic/initfini.c: Likewise.
48917 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48918 variable.
48919 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48920 Likewise.
48921
599af3ca
JM
489222012-02-20 Joseph Myers <joseph@codesourcery.com>
48923
48924 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48925 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48926 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48927 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48929 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48930 <bits/epoll.h>.
48931 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48932 (__EPOLL_PACKED): Define to empty if not defined by
48933 <bits/epoll.h>.
48934 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48936 bits/epoll.h.
48937
0e499750
JM
489382012-02-20 Joseph Myers <joseph@codesourcery.com>
48939
48940 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48941 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48942 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48943 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48944 <bits/timerfd.h>.
48945 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48947 bits/timerfd.h.
48948
5ad91f6e
JM
489492012-02-20 Joseph Myers <joseph@codesourcery.com>
48950
48951 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48952 in C locale.
48953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48954 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48955 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48957
06b99b02
AJ
489582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48959
48960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48961 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48962
7638c0fd
AS
489632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48964
48965 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48966 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48967 defined.
48968 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48969 Likewise.
48970 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48971 entry for 2.16.
48972
92221550
AJ
489732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48974
48975 * math/w_acos.c: Use non-signaling floating-point comparisons.
48976 * math/w_acosf.c: Likewise.
48977 * math/w_acosh.c: Likewise.
48978 * math/w_acoshf.c: Likewise.
48979 * math/w_acoshl.c: Likewise.
48980 * math/w_acosl.c: Likewise.
48981 * math/w_asin.c: Likewise.
48982 * math/w_asinf.c: Likewise.
48983 * math/w_asinl.c: Likewise.
48984 * math/w_atanh.c: Likewise.
48985 * math/w_atanhf.c: Likewise.
48986 * math/w_atanhl.c: Likewise.
48987 * math/w_exp2.c: Likewise.
48988 * math/w_exp2f.c: Likewise.
48989 * math/w_exp2l.c: Likewise.
48990 * math/w_j0.c: Likewise.
48991 * math/w_j0f.c: Likewise.
48992 * math/w_j0l.c: Likewise.
48993 * math/w_j1.c: Likewise.
48994 * math/w_j1f.c: Likewise.
48995 * math/w_j1l.c: Likewise.
48996 * math/w_jn.c: Likewise.
48997 * math/w_jnf.c: Likewise.
48998 * math/w_log.c: Likewise.
48999 * math/w_log10.c: Likewise.
49000 * math/w_log10f.c: Likewise.
49001 * math/w_log10l.c: Likewise.
49002 * math/w_log2.c: Likewise.
49003 * math/w_log2f.c: Likewise.
49004 * math/w_log2l.c: Likewise.
49005 * math/w_logf.c: Likewise.
49006 * math/w_logl.c: Likewise.
49007 * math/w_sqrt.c: Likewise.
49008 * math/w_sqrtf.c: Likewise.
49009 * math/w_sqrtl.c: Likewise.
49010 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49011 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49013 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49014 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49015
ebaf36eb
JM
490162012-02-19 Joseph Myers <joseph@codesourcery.com>
49017
49018 [BZ #9739]
49019 * manual/string.texi (strnlen): Use correct parameter name in
49020 equivalent expression.
49021
71c254a6
JM
490222012-02-19 Joseph Myers <joseph@codesourcery.com>
49023
49024 [BZ #11174]
49025 * manual/users.texi (seteuid): Consistently use neweuid for
49026 argument name.
49027
16d2c631
JM
490282012-02-19 Joseph Myers <joseph@codesourcery.com>
49029
49030 [BZ #13704]
49031 * manual/nss.texi (Services in the NSS configuration): Correct
49032 list of services in example configuration file.
49033
cd837b09
NB
490342012-02-19 Nick Bowler <nbowler@draconx.ca>
49035
49036 [BZ #11322]
49037 * manual/arith.texi: Remove statements about negative zero
49038 behaving identically to zero.
49039
02c4bbad
JM
490402012-02-18 Joseph Myers <joseph@codesourcery.com>
49041
49042 [BZ #5993]
49043 * manual/install.texi: Do not document upgrading from libc5.
49044
366842e7
JM
490452012-02-18 Joseph Myers <joseph@codesourcery.com>
49046
49047 [BZ #4596]
49048 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49049
dd54084d
DM
490502012-02-18 David S. Miller <davem@davemloft.net>
49051
49052 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49053 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49054 %o7 across the call.
49055 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49056 instead.
49057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49058 SETUP_PIC_REG_LEAF.
49059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49060 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49061 * sysdeps/sparc/crtn.S: Likewise.
49062
2bcc53a3
UD
490632012-02-17 Ulrich Drepper <drepper@gmail.com>
49064
49065 * aout/Makefile: Remove.
49066
09c093b5
RK
490672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49068
49069 [BZ #13058]
49070 * manual/examples/argp-ex1.c (main): Format definition in GNU
49071 style.
49072 * manual/examples/argp-ex2.c (main): Likewise.
49073 * manual/examples/argp-ex3.c (main): Likewise.
49074 * manual/examples/argp-ex4.c (main): Likewise.
49075 * manual/examples/longopt.c (main): Use new-style prototype
49076 definition.
49077 * manual/examples/strncat.c (main): Specify return type and use
49078 (void) for arguments.
49079 * manual/examples/subopt.c (main): Use char **argv argument.
49080
2ee633a2
JM
490812012-02-17 Joseph Myers <joseph@codesourcery.com>
49082
49083 [BZ #5077]
49084 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49085 rounding modes.
49086
0520adde
FB
490872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49088
49089 [BZ #6907]
49090 * manual/string.texi (strchr): Change when strchrnul is
49091 recommended.
49092
3f4081cd
DGM
490932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49094
49095 [BZ #174]
49096 * manual/locale.texi (setlocale): Document LOCPATH.
49097
d1b10e78
JM
490982012-02-17 Joseph Myers <joseph@codesourcery.com>
49099
49100 [BZ #10210]
49101 * manual/process.texi (execle): Move @dots{} before last argument.
49102
79c6869c
PB
491032012-02-17 Paul Bolle <pebolle@tiscali.nl>
49104
49105 [BZ #12047]
49106 * manual/charset.texi (Generic Charset Conversion): Fix typo
49107 (LC_TYPE -> LC_CTYPE).
49108
cc6e48bc
NB
491092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49110
49111 [BZ #5805]
49112 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49113 (scalbnf): Likewise.
49114 (scalbnl): Likewise.
49115 (scalbln): Likewise.
49116 (scalblnf): Likewise.
49117 (scalblnl): Likewise.
49118 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49119 (vwarnx): Likewise.
49120 (verr): Likewise.
49121 (verrx): Likewise.
49122 * manual/filesys.texi (telldir): Use braces around return type.
49123 * manual/llio.texi (mmap): Add space after comma.
49124 (mmap64): Likewise.
49125 * manual/math.texi (jn): Use @var{} on parameter names.
49126 (jnf): Likewise.
49127 (jnl): Likewise.
49128 (yn): Likewise.
49129 (ynf): Likewise.
49130 (ynl): Likewise.
49131 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49132 line.
49133 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49134 "...".
49135 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49136 (sched_get_priority_max): Likewise.
49137 * manual/signal.texi (sigvec): Add space after comma.
49138 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49139 names.
49140 (if_indextoname): Likewise.
49141 (if_freenameindex): Likewise.
49142 (sendto): Use ',' instead of '.' in prototype.
49143 * manual/startup.texi (syscall): Use @dots{} instead of literal
49144 "...".
49145 * manual/stdio.texi (__fpending): Separate initial words of
49146 paragraph from @deftypefun line.
49147 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49148 "...".
49149 (vsyslog): Use @var{} on parameter names.
49150 * manual/terminal.texi (stty): Use @var{} on parameter names.
49151 * manual/users.texi (getutmp): Use @var{} on parameter names.
49152 (getutmpx): Likewise.
49153
5b23062f
JM
491542012-02-17 Joseph Myers <joseph@codesourcery.com>
49155
49156 [BZ #6884]
49157 * manual/stdio.texi (fopen): Fix typos in description of
49158 ",ccs=STRING".
49159
8dee4833
AJ
491602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49161
49162 [BZ #4026]
49163 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49164 get clock_id definition.
49165
9078ce93
TS
491662012-02-17 Thomas Schwinge <thomas@schwinge.name>
49167
49168 [BZ #4822]
49169 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49170 (madvise): Cast every argument to void on its own.
49171
3835c55f
JM
491722012-02-17 Joseph Myers <joseph@codesourcery.com>
49173
49174 [BZ #9902]
49175 * manual/startup.texi (Exit Status): Fix typo.
49176
35c47e37
JM
491772012-02-17 Joseph Myers <joseph@codesourcery.com>
49178
49179 [BZ #10140]
49180 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49181 * manual/examples/argp-ex2.c: Likewise.
49182 * manual/examples/argp-ex3.c: Likewise.
49183
e3b69ca7
RH
491842012-02-16 Richard Henderson <rth@redhat.com>
49185
49186 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49187 * sysdeps/s390/s390-32/initfini.c: Remove.
49188 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49189 * sysdeps/s390/s390-64/initfini.c: Remove.
49190
df83af67
KK
491912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49192
49193 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49194 compiler output for sysdeps/generic/initfini.c.
49195 * sysdeps/sh/elf/initfini.c: Remove file.
49196
f63f3380
DM
491972012-02-16 David S. Miller <davem@davemloft.net>
49198
fb59b3a4
DM
49199 [BZ #11494]
49200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49201
f63f3380
DM
49202 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49203 * sysdeps/sparc/crti.S: New file.
49204 * sysdeps/sparc/crtn.S: New file.
49205 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49206 * sysdeps/sparc/sparc64/Makefile: Likewise.
49207
df6a4a4a
MF
492082012-02-15 Mike Frysinger <vapier@gentoo.org>
49209
6dd8f3dc 49210 [BZ #3335]
df6a4a4a
MF
49211 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49212
1cac7236
RM
492132012-02-15 Roland McGrath <roland@hack.frob.com>
49214
d2c736f8
RM
49215 [BZ #4822]
49216 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49217
1cac7236
RM
49218 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49219 (write, read, close): Likewise.
49220 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49221
8e475601
JM
492222012-02-15 Joseph Myers <joseph@codesourcery.com>
49223
49224 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49225 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49226 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49227 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49228 <bits/signalfd.h>.
49229 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49231 bits/signalfd.h.
49232
ed656b40
MP
492332012-02-14 Marek Polacek <polacek@redhat.com>
49234
49235 * sysdeps/x86_64/crti.S: New file.
49236 * sysdeps/x86_64/crtn.S: New file.
49237 * sysdeps/x86_64/elf/initfini.c: Remove file.
49238
2a979d3a
JM
492392012-02-13 Joseph Myers <joseph@codesourcery.com>
49240
49241 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49242 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49243 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49244 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49245 <bits/inotify.h>.
49246 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49248 bits/inotify.h.
49249
2a418ac3
JM
492502012-02-13 Joseph Myers <joseph@codesourcery.com>
49251
49252 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49253 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49254 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49255 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49256 <bits/eventfd.h>.
49257 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49259 bits/eventfd.h.
49260
fb779be7
TS
492612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49262
e19e83c5
RM
49263 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49264 __feraiseexcept instead of feraiseexcept.
7c35ffed 49265
fb779be7
TS
49266 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49267 nanosleep invocations.
49268 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49269 strings, and add error checking for a nanosleep invocations.
49270
59ba27a6
PE
492712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49272
49273 Replace FSF snail mail address with URLs, as per GNU coding standards.
49274 Most of the snail mail addresses were wrong anyway, and omitting
49275 them makes the source code easier to maintain. Almost all of the
49276 changes are to license notices and to locale LC_IDENTIFICATION
49277 addresses, except for this one:
49278 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49279 not its snail mail address.
49280
57b957eb
RH
492812012-02-09 Richard Henderson <rth@twiddle.net>
49282
af850b1c
RH
49283 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49284 of kernel-features.h.
49285
57b957eb
RH
49286 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49287
6b73181a
MP
492882012-02-08 Marek Polacek <polacek@redhat.com>
49289
49290 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49291 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49292 * sysdeps/gnu/_G_config.h: Likewise.
49293 * sysdeps/generic/_G_config.h: Likewise.
49294
26ecc33a
AS
492952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49296
6c6dbc63
AS
49297 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49298 tests.
49299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49300
e216c012
AS
49301 * sysdeps/powerpc/powerpc32/crti.S: New file.
49302 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49303 * sysdeps/powerpc/powerpc64/crti.S: New file.
49304 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49305
26ecc33a
AS
49306 * Makeconfig (have-initfini): Don't set.
49307 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49308 * configure.in (nopic_initfini): Don't substitute.
49309 * config.h.in (HAVE_INITFINI): Don't #undef.
49310 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49311 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49312
3add8e13
JM
493132012-02-08 Joseph Myers <joseph@codesourcery.com>
49314
49315 Support crti.S and crtn.S provided directly by architectures.
49316 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49317 [crti.S in sysdirs] (omit-deps): Likewise.
49318 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49319 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49320 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49321 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49322 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49323 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49324 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49325 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49326 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49327 compiler output for sysdeps/generic/initfini.c.
49328 * sysdeps/i386/elf/Makefile: Remove file.
49329 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49330
a22f12b4
MP
493312012-02-07 Marek Polacek <polacek@redhat.com>
49332
49333 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49334 * sysdeps/gnu/_G_config.h: Likewise.
49335 * sysdeps/mach/hurd/_G_config.h: Likewise.
49336
148cf100
MP
493372012-02-07 Marek Polacek <polacek@redhat.com>
49338
49339 * math/Makefile (tests): Add tst-CMPLX2.
49340 * math/tst-CMPLX2.c: New file.
49341
cfdc0dd7
AS
493422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49343
84ba42c4
AS
49344 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49345
cfdc0dd7
AS
49346 * math/libm-test.inc (jn_test): Add missing L suffix.
49347
622c86f4
MP
493482012-02-06 Marek Polacek <polacek@redhat.com>
49349
49350 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49351 * sysdeps/i386/fpu/e_powf.S: Likewise.
49352 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49354 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49355 * sysdeps/i386/fpu/e_pow.S: Likewise.
49356 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49357 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49358 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49359 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49360 * sysdeps/i386/fpu/e_log2.S: Likewise.
49361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49362 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49363 * sysdeps/i386/fpu/e_powl.S: Likewise.
49364 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49365 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49366 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49367 * sysdeps/i386/fpu/e_logl.S: Likewise.
49368 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49369 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49370 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49371 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49373 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49374 * sysdeps/i386/fpu/e_log.S: Likewise.
49375 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49376 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49377 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49378 * sysdeps/i386/fpu/e_logf.S: Likewise.
49379 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49381 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49382 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49383 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49384 * sysdeps/i386/fpu/e_log10.S: Likewise.
49385 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49387 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49388 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49389 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49390 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49391 * sysdeps/i386/asm-syntax.h: Likewise.
49392 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49394 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49395 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49396 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49397 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49398 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49399 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49400 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49401 * sysdeps/powerpc/sysdep.h: Likewise.
49402 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49403 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49404
d4a54ac6
JM
494052012-02-06 Joseph Myers <joseph@codesourcery.com>
49406
49407 [BZ #411]
49408 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49409
314054ea
JM
494102012-02-06 Joseph Myers <joseph@codesourcery.com>
49411
49412 * sysdeps/i386/sysdep.h: Include <features.h>.
49413 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49414 version.
49415
d8e0ca50
JM
494162012-02-05 Joseph Myers <joseph@codesourcery.com>
49417
49418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49419 Define.
49420 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49421 LOAD_PIC_REG_STR.
49422
b1da7dd9
JM
494232012-02-03 Joseph Myers <joseph@codesourcery.com>
49424
49425 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49426 (SETUP_PIC_REG): Use GET_PC_THUNK.
49427 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49428 macro.
49429
9a1d9254
JM
494302012-02-03 Joseph Myers <joseph@codesourcery.com>
49431
49432 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49433 for non-PIC compilation.
49434 (SETUP_PIC_REG): Add .p2align directive.
49435 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49436 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49437 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49438 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49439 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49440 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49441 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49449 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49451 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49452 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49453 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49454 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49457 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49458 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49463 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49464 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49465 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49466 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49467 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49468 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49469 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49470 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49471 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49472 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49473 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49474 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49475 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49476
65dc3b75
JM
494772012-02-03 Joseph Myers <joseph@codesourcery.com>
49478
49479 * math/tst-CMPLX.c: Include <stdio.h>.
49480
d55bf177
JM
494812012-01-31 Joseph Myers <joseph@codesourcery.com>
49482
49483 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49484 float.
49485 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49486 * sysdeps/sparc/bits/mathdef.h: Likewise.
49487
69db4f8f
MP
494882012-01-31 Marek Polacek <polacek@redhat.com>
49489
49490 * libio/libio.h: Don't define _PARAMS.
49491 * locale/programs/config.h: Don't define PARAMS.
49492 * stdlib/strtol_l.c: Likewise.
49493 (__strtol_l): Remove PARAMS from the prototype.
49494
41b81892
UD
494952012-01-31 Ulrich Drepper <drepper@gmail.com>
49496
3b49edc0
UD
49497 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49498 names. Just use the correct names. Remove unnecessary wrapper
49499 functions.
49500 * malloc/arena.c: Likewise.
49501 * malloc/hooks.c: Likewise.
49502
41b81892
UD
49503 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49504 ARENA_TEST says not to. Simplify test for creation of a new arena.
49505 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49506
27a25b6e
UD
495072012-01-30 Ulrich Drepper <drepper@gmail.com>
49508
49509 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49510 into tail calls.
49511 (update_get_addr): New function.
49512 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49513 GET_ADDR_MODULE parameter.
49514
c8a89e7d
JM
495152012-01-30 Joseph Myers <joseph@codesourcery.com>
49516
49517 * crypt/cert.c: Remove __STDC__ conditionals.
49518 * crypt/crypt-entry.c: Likewise.
49519 * crypt/crypt_util.c: Likewise.
49520 * libio/filedoalloc.c: Likewise.
49521 * libio/fileops.c: Likewise.
49522 * libio/genops.c: Likewise.
49523 * libio/iofclose.c: Likewise.
49524 * libio/iofdopen.c: Likewise.
49525 * libio/iofopen.c: Likewise.
49526 * libio/iofopen64.c: Likewise.
49527 * libio/iogetdelim.c: Likewise.
49528 * libio/iopopen.c: Likewise.
49529 * libio/obprintf.c: Likewise.
49530 * libio/oldfileops.c: Likewise.
49531 * libio/oldiofclose.c: Likewise.
49532 * libio/oldiofdopen.c: Likewise.
49533 * libio/oldiofopen.c: Likewise.
49534 * libio/oldiopopen.c: Likewise.
49535 * libio/wfiledoalloc.c: Likewise.
49536 * libio/wgenops.c: Likewise.
49537 * locale/programs/xmalloc.c: Likewise.
49538 * misc/syslog.c: Likewise.
49539 * stdio-common/xbug.c: Likewise.
49540 * string/memchr.c: Likewise.
49541 * string/memcmp.c: Likewise.
49542 * string/memrchr.c: Likewise.
49543 * string/rawmemchr.c: Likewise.
49544 * sysdeps/posix/getcwd.c: Likewise.
49545 * time/strftime_l.c: Likewise.
49546
3b100462
JM
495472012-01-30 Joseph Myers <joseph@codesourcery.com>
49548
49549 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49550 * config.make.in (config-cflags-sse2avx): Define.
49551 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49552 Fix typo.
49553
607998af
CM
495542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49555
49556 * scripts/config.guess: Update from upstream config git repository.
49557 * scripts/config.sub: Likewise.
49558
3601428f
CM
495592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49560
3ac8b282
CM
49561 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49562 (EM_NUM): Update.
49563 (R_TILEPRO_*, R_TILEGX_*): New macros.
49564
e034841e
CM
49565 * scripts/firstversions.awk: Fix bug in version range handling.
49566
540d7568
CM
49567 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49568
3601428f
CM
49569 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49570
463de862
CM
49571 * include/sys/epoll.h: New file.
49572 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49573 libc_hidden_def.
49574
73139a76
UD
495752012-01-28 Ulrich Drepper <drepper@gmail.com>
49576
96bc5b45
UD
49577 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49578 Avoid unnecessary __WORDSIZE == 64 test.
49579 (fmaxf): Use VEX format if possible.
49580 (fmax): Likewise.
49581 (fminf): Likewise.
49582 (fmin): Likewise.
49583
56f6f6a2
UD
49584 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49585 * math/math_private.h: Remove libc_fegetround* and
49586 libc_fesetround*.
49587 * sysdeps/i386/configure.in: Check for -msse2avx.
49588 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49589 also if SSE2AVX is defined.
49590 Remove libc_fegetround* and libc_fesetround*.
49591 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49592 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49594 of HAS_YMM_USABLE.
49595 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49596 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49597 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49598 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49599 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49600
73139a76
UD
49601 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49602
d73f93a4
AZ
496032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49604
49605 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49606 size is not set.
49607 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49608
6ee65ed6
UD
496092012-01-27 Ulrich Drepper <drepper@gmail.com>
49610
49611 [BZ #13618]
49612 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49613 relocation.
49614 * Makeconfig (libm): Define.
49615 * elf/Makefile: Add rules to build and run tst-relsort1.
49616 * elf/tst-relsort1.c: New file.
49617 * elf/tst-relsort1mod1.c: New file.
49618 * elf/tst-relsort1mod2.c: New file.
49619
8db21882
JM
496202012-01-27 Joseph Myers <joseph@codesourcery.com>
49621
49622 * math/s_ldexp.c: Remove __STDC__ conditionals.
49623 * math/s_ldexpf.c: Likewise.
49624 * math/s_ldexpl.c: Likewise.
49625 * math/s_nextafter.c: Likewise.
49626 * math/s_nexttowardf.c: Likewise.
49627 * math/s_significand.c: Likewise.
49628 * math/s_significandf.c: Likewise.
49629 * math/s_significandl.c: Likewise.
49630 * math/w_jnl.c: Likewise.
49631 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49632 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49636 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49637 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49638 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49639 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49640 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49641 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49642 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49643 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49644 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49645 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49647 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49648 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49650 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49651 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49652 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49653 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49655 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49656 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49657 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49658 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49659 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49660 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49665 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49666 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49667 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49668 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49669 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49670 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49671 * sysdeps/ieee754/k_standard.c: Likewise.
49672 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49675 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49676 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49677 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49678 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49679 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49680 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49681 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49682 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49683 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49684 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49685 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49698 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49699 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49701 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49703 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49704 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49705 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49706 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49708 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49709 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49710 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49711 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49712 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49714 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49715 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49716 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49717 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49718 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49720 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49721 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49722 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49727 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49728 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49730 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49732 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49733 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49734 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49736 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49737 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49738 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49739 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49740 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49741 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49747 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49748 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49749 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49750 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49751 * sysdeps/ieee754/s_matherr.c: Likewise.
49752 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49753 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49756
965a54a4
JM
497572012-01-26 Joseph Myers <joseph@codesourcery.com>
49758
49759 * crypt/md5.h: Remove __STDC__ conditionals.
49760 * libio/libioP.h: Likewise.
49761 * locale/programs/config.h: Likewise.
49762 * sysdeps/generic/sysdep.h: Likewise.
49763 * sysdeps/i386/asm-syntax.h: Likewise.
49764 * sysdeps/s390/asm-syntax.h: Likewise.
49765 * sysdeps/unix/sysdep.h: Likewise.
49766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49768
7071ad79
JM
497692012-01-26 Joseph Myers <joseph@codesourcery.com>
49770
49771 * libio/libio.h: Remove __STDC__ conditionals.
49772 * malloc/obstack.h: Likewise.
49773 * math/complex.h: Likewise.
49774 * math/math.h: Likewise.
49775 * sysdeps/generic/_G_config.h: Likewise.
49776 * sysdeps/gnu/_G_config.h: Likewise.
49777 * sysdeps/mach/hurd/_G_config.h: Likewise.
49778 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49779 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49780 * sysdeps/sparc/bits/mathdef.h: Likewise.
49781
afc5ed09
UD
497822012-01-26 Ulrich Drepper <drepper@gmail.com>
49783
49784 [BZ #13583]
49785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49786 Clean up HAS_* macros.
afc5ed09 49787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49788 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49789 possible.
49790 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49791 HAS_AVX.
49792 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49793 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49794 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49795 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49796 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49797
bdb6de1d
JM
497982012-01-25 Joseph Myers <joseph@codesourcery.com>
49799
49800 * elf/tst-unique3.cc (gets): Remove declaration.
49801 * elf/tst-unique3lib.cc (gets): Likewise.
49802 * elf/tst-unique3lib2.cc (gets): Likewise.
49803 * elf/tst-unique4.cc (gets): Likewise.
49804
b15549e6
UD
498052012-01-24 Ulrich Drepper <drepper@gmail.com>
49806
49807 * include/stdio.h: Add C++ protection. Add gets declarations and
49808 definitions.
49809 * debug/tst-chk1.c: Don't declare gets here.
49810 * stdio-common/tst-gets.c: Likewise.
49811
a037381f
JM
498122012-01-24 Joseph Myers <joseph@codesourcery.com>
49813
49814 * posix/glob: Remove directory.
49815
f1d4aa75
JM
498162012-01-24 Joseph Myers <joseph@codesourcery.com>
49817
49818 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49819
81c0c964
PT
498202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49821
49822 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49823 of the non-standard EPFNOSUPPORT.
49824
0ea698ae
ST
498252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49826
49827 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49828 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49829 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49830
d220b117
UD
498312012-01-21 Ulrich Drepper <drepper@gmail.com>
49832
49833 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49834
3e1aa84e
UD
498352012-01-20 Ulrich Drepper <drepper@gmail.com>
49836
49837 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49838 transient errors.
49839 * nscd/grpcache.c (cache_addgr): Likewise.
49840 * nscd/hstcache.c (cache_addhst): Likewise.
49841 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49842 * nscd/pwdcache.c (cache_addpw): Likewise.
49843 * nscd/servicescache.c (cache_addserv): Likewise.
49844
400aa020
UD
498452012-01-16 Ulrich Drepper <drepper@gmail.com>
49846
d77e7869
UD
49847 * malloc/malloc.c: Various cleanups.
49848 * malloc/hooks.c: Likewise.
49849
400aa020
UD
49850 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49851 * stdlib/bug-fmtmsg1.c: New file.
49852
49853 * stdlib/fmtmsg.c (init): Add missing unlock.
49854 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49855
e0a309cf
MP
498562012-01-12 Marek Polacek <polacek@redhat.com>
49857
49858 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49859 and _GNU_SOURCE.
49860
929d11c7
WS
498612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49862
49863 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49864 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49865 macro to ensure uniqueness of label name.
49866 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49867 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49868
41d0e869
UD
498692012-01-11 Ulrich Drepper <drepper@gmail.com>
49870
0cc5ed3b
UD
49871 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49872
41d0e869
UD
49873 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49874 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49875 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49877
a47a831a
UD
498782012-01-10 Ulrich Drepper <drepper@gmail.com>
49879
daa891c0
UD
49880 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49881
49882 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49883 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49884 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49885
e58ef0f2
UD
49886 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49887
a47a831a 49888 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49889 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49890 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49892
49893 * math/bits/math-finite.h: Add ldexp support.
49894
a0bfc9c7
MP
498952012-01-10 Marek Polacek <polacek@redhat.com>
49896
49897 * locale/programs/localedef.h (show_archive_content): Add noreturn
49898 attribute.
49899
d6e97a1d
UD
499002012-01-09 Ulrich Drepper <drepper@gmail.com>
49901
49902 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49903
d5835c26
UD
499042012-01-08 Ulrich Drepper <drepper@gmail.com>
49905
e5f484c6
UD
49906 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49907
d5835c26
UD
49908 * io/Makefile (headers): Add bits/poll2.h.
49909
d1f741e9
WS
499102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49911
49912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49913 typo #include statement.
49914
ec09c1c4
UD
499152012-01-08 Ulrich Drepper <drepper@gmail.com>
49916
49917 * include/sys/cdefs.h: Define __attribute_alloc_size.
49918 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49919 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49920 * elf/pldd.c: Likewise.
49921 * iconv/iconv_charmap.c: Likewise.
49922 * iconv/iconvconfig.c: Likewise.
49923 * iconv/strtab.c: Likewise.
49924 * locale/programs/locale.c: Likewise.
49925 * locale/programs/localedef.h: Likewise.
49926 * locale/programs/simple-hash.c: Likewise.
49927 * nscd/nscd.h: Likewise.
49928 * nss/makedb.c: Likewise.
49929 * sysdeps/generic/ldconfig.h: Likewise.
49930 * locale/programs/localedef.c: Remove xmalloc prototype.
49931 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49932
20b38e03
PP
499332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49934
49935 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49936 appropriate.
49937
a0da5fe1
UD
499382012-01-08 Ulrich Drepper <drepper@gmail.com>
49939
1d5a644a 49940 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49941 * math/tst-CMPLX.c: New file.
1d5a644a 49942
8784a6db
UD
49943 * math/complex.h (CMPLXL): Fix typo.
49944
d9a216c0
UD
49945 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49946 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49947 GLIBC_2.16.
49948 * debug/tst-chk1.c: Add poll and ppoll tests.
49949 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49950 * include/sys/poll.h: Add hidden proto for ppoll.
49951 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49952 * sysdeps/mach/hurd/ppoll.c: Likewise.
49953 * io/ppoll.c: Likewise.
49954 * debug/poll_chk.c: New file.
49955 * debug/ppoll_chk.c: New file.
49956 * include/bits/poll2.h: New file.
49957 * io/bits/poll2.h: New file.
49958
ac097f5c
UD
49959 [BZ #1350]
49960 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49961
2119dcfa
UD
49962 * configure.in: static is always set to yes. Remove.
49963 * config.make.in: Don't set build-static.
49964 * Makeconfig: Remove use of build-static.
49965 * dlfcn/Makefile: Likewise.
49966 * elf/Makefile: Likewise.
49967 * math/Makefile: Likewise.
49968 * misc/Makefile: Likewise.
49969 * nptl/Makefile: Likewise.
49970 * sysdeps/mach/hurd/Makefile: Likewise.
49971
121766a9
UD
49972 * configure.in: PWD_P is not used anymore.
49973 * config.make.in: Remove PWD_P entry.
49974
51a1d39c 49975 * configure.in: Remove last remnants of RANLIB.
8720d066 49976 No need to check for signed size_t anymore.
215f4bdc
UD
49977 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49978 and IA-64.
3857022a 49979 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49980 * aclocal.m4: Likewise.
49981
d3ed7225
UD
49982 * wcsmbs/mbrtoc16.c: Implement using towc function.
49983 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49984 * wcsmbs/wcsmbsload.c: Likewise.
49985 * iconv/gconv_simple.c: Likewise.
49986 * iconv/gconv_int.h: Likewise.
49987 * iconv/gconv_builtin.h: Likewise.
49988 * iconv/iconv_prog.c: Remove CHAR16 handling.
49989
49990 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49991
49992 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49993
a0da5fe1
UD
49994 * configure.in: Remove --with-elf and --enable-bounded options.
49995 Dont set base_machine for ia64. More non-ELF conditions removed.
49996 Remove testing and setting of leading underscore information.
49997 * config.make.in (build-bounded): Set to no.
49998 * config.h.in: Remove NO_UNDERSCORES entry.
49999 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50000 them.
50001 * csu/start.c: Remove !NO_UNDERSCORE code.
50002 * locale/localeinfo.h: Likewise.
50003 * sysdeps/generic/machine-gmon.h: Likewise.
50004 * sysdeps/generic/sysdep.h: Likewise.
50005 * sysdeps/i386/sysdep.h: Likewise.
50006 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50007 * sysdeps/mach/sysdep.h: Likewise.
50008 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50009 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50010 * sysdeps/sh/sysdep.h: Likewise.
50011 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50012 * sysdeps/unix/i386/sysdep.S: Likewise.
50013 * sysdeps/unix/sparc/start.c: Likewise.
50014 * sysdeps/unix/sparc/sysdep.S: Likewise.
50015 * sysdeps/unix/sparc/sysdep.h: Likewise.
50016 * sysdeps/unix/start.c: Likewise.
50017 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50018 * sysdeps/x86_64/sysdep.h: Likewise.
50019
df78418a
UD
500202012-01-07 Ulrich Drepper <drepper@gmail.com>
50021
a784e502
UD
50022 [BZ #13553]
50023 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50024 for non-gcc.
50025 * argp/argp-fmtstream.h: Use const instead __const.
50026 * argp/argp.h: Likewise.
50027 * assert/assert.h: Likewise.
50028 * bits/fenv.h: Likewise.
50029 * bits/sched.h: Likewise.
50030 * bits/sigset.h: Likewise.
50031 * bits/sigthread.h: Likewise.
50032 * catgets/nl_types.h: Likewise.
50033 * conform/data/pthread.h-data: Likewise.
50034 * crypt/crypt-private.h: Likewise.
50035 * crypt/crypt.h: Likewise.
50036 * crypt/crypt_util.c: Likewise.
50037 * ctype/ctype.h: Likewise.
50038 * debug/execinfo.h: Likewise.
50039 * debug/mbsnrtowcs_chk.c: Likewise.
50040 * debug/mbsrtowcs_chk.c: Likewise.
50041 * debug/wcsnrtombs_chk.c: Likewise.
50042 * debug/wcsrtombs_chk.c: Likewise.
50043 * debug/wcstombs_chk.c: Likewise.
50044 * dirent/dirent.h: Likewise.
50045 * dlfcn/dlfcn.h: Likewise.
50046 * elf/neededtest4.c: Likewise.
50047 * grp/grp.h: Likewise.
50048 * gshadow/gshadow.h: Likewise.
50049 * iconv/gconv.h: Likewise.
50050 * iconv/gconv_int.h: Likewise.
50051 * iconv/gconv_simple.c: Likewise.
50052 * iconv/iconv.h: Likewise.
50053 * iconv/loop.c: Likewise.
50054 * iconv/skeleton.c: Likewise.
50055 * include/aio.h: Likewise.
50056 * include/aliases.h: Likewise.
50057 * include/argz.h: Likewise.
50058 * include/arpa/inet.h: Likewise.
50059 * include/assert.h: Likewise.
50060 * include/dirent.h: Likewise.
50061 * include/dlfcn.h: Likewise.
50062 * include/execinfo.h: Likewise.
50063 * include/fcntl.h: Likewise.
50064 * include/fenv.h: Likewise.
50065 * include/glob.h: Likewise.
50066 * include/grp.h: Likewise.
50067 * include/libintl.h: Likewise.
50068 * include/mntent.h: Likewise.
50069 * include/netdb.h: Likewise.
50070 * include/pwd.h: Likewise.
50071 * include/rpc/netdb.h: Likewise.
50072 * include/sched.h: Likewise.
50073 * include/search.h: Likewise.
50074 * include/shadow.h: Likewise.
50075 * include/signal.h: Likewise.
50076 * include/stdio.h: Likewise.
50077 * include/stdlib.h: Likewise.
50078 * include/string.h: Likewise.
50079 * include/sys/socket.h: Likewise.
50080 * include/sys/stat.h: Likewise.
50081 * include/sys/statfs.h: Likewise.
50082 * include/sys/statvfs.h: Likewise.
50083 * include/sys/syslog.h: Likewise.
50084 * include/sys/time.h: Likewise.
50085 * include/sys/uio.h: Likewise.
50086 * include/time.h: Likewise.
50087 * include/unistd.h: Likewise.
50088 * include/utmp.h: Likewise.
50089 * include/wchar.h: Likewise.
50090 * include/wctype.h: Likewise.
50091 * inet/aliases.h: Likewise.
50092 * inet/arpa/inet.h: Likewise.
50093 * inet/netinet/ether.h: Likewise.
50094 * inet/netinet/in.h: Likewise.
50095 * intl/libintl.h: Likewise.
50096 * io/bits/fcntl2.h: Likewise.
50097 * io/fcntl.h: Likewise.
50098 * io/ftw.h: Likewise.
50099 * io/sys/poll.h: Likewise.
50100 * io/sys/stat.h: Likewise.
50101 * io/sys/statfs.h: Likewise.
50102 * io/sys/statvfs.h: Likewise.
50103 * io/utime.h: Likewise.
50104 * libio/bits/stdio.h: Likewise.
50105 * libio/bits/stdio2.h: Likewise.
50106 * libio/libio.h: Likewise.
50107 * libio/libioP.h: Likewise.
50108 * libio/stdio.h: Likewise.
50109 * locale/lc-ctype.c: Likewise.
50110 * locale/locale.h: Likewise.
50111 * login/utmp.h: Likewise.
50112 * malloc/arena.c: Likewise.
50113 * malloc/malloc.c: Likewise.
50114 * malloc/malloc.h: Likewise.
50115 * malloc/mcheck.c: Likewise.
50116 * malloc/mtrace.c: Likewise.
50117 * math/bits/mathcalls.h: Likewise.
50118 * math/fenv.h: Likewise.
50119 * math/math_private.h: Likewise.
50120 * misc/bits/error.h: Likewise.
50121 * misc/bits/syslog.h: Likewise.
50122 * misc/err.h: Likewise.
50123 * misc/error.h: Likewise.
50124 * misc/fstab.h: Likewise.
50125 * misc/mntent.h: Likewise.
50126 * misc/regexp.h: Likewise.
50127 * misc/search.h: Likewise.
50128 * misc/sgtty.h: Likewise.
50129 * misc/sys/mman.h: Likewise.
50130 * misc/sys/syslog.h: Likewise.
50131 * misc/sys/uio.h: Likewise.
50132 * misc/sys/xattr.h: Likewise.
50133 * misc/ttyent.h: Likewise.
50134 * nis/rpcsvc/ypclnt.h: Likewise.
50135 * nss/nss.h: Likewise.
50136 * posix/bits/unistd.h: Likewise.
50137 * posix/fnmatch.h: Likewise.
50138 * posix/glob.h: Likewise.
50139 * posix/sched.h: Likewise.
50140 * posix/spawn.h: Likewise.
50141 * posix/sys/wait.h: Likewise.
50142 * posix/unistd.h: Likewise.
50143 * posix/wordexp.h: Likewise.
50144 * pwd/pwd.h: Likewise.
50145 * resolv/netdb.h: Likewise.
50146 * resource/sys/resource.h: Likewise.
50147 * rt/aio.h: Likewise.
50148 * rt/bits/mqueue2.h: Likewise.
50149 * rt/mqueue.h: Likewise.
50150 * shadow/shadow.h: Likewise.
50151 * signal/signal.h: Likewise.
50152 * socket/send.c: Likewise.
50153 * socket/sendto.c: Likewise.
50154 * socket/sys/socket.h: Likewise.
50155 * stdio-common/printf.h: Likewise.
50156 * stdlib/bits/stdlib.h: Likewise.
50157 * stdlib/fmtmsg.h: Likewise.
50158 * stdlib/monetary.h: Likewise.
50159 * stdlib/stdlib.h: Likewise.
50160 * stdlib/ucontext.h: Likewise.
50161 * streams/stropts.h: Likewise.
50162 * string/argz.h: Likewise.
50163 * string/bits/string2.h: Likewise.
50164 * string/string.h: Likewise.
50165 * string/strings.h: Likewise.
50166 * sunrpc/rpc/auth.h: Likewise.
50167 * sunrpc/rpc/auth_des.h: Likewise.
50168 * sunrpc/rpc/clnt.h: Likewise.
50169 * sunrpc/rpc/netdb.h: Likewise.
50170 * sunrpc/rpc/pmap_clnt.h: Likewise.
50171 * sunrpc/rpc/xdr.h: Likewise.
50172 * sysdeps/generic/inttypes.h: Likewise.
50173 * sysdeps/generic/net/if.h: Likewise.
50174 * sysdeps/generic/sys/swap.h: Likewise.
50175 * sysdeps/gnu/net/if.h: Likewise.
50176 * sysdeps/gnu/utmpx.h: Likewise.
50177 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50178 * sysdeps/i386/i486/bits/string.h: Likewise.
50179 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50180 * sysdeps/s390/bits/string.h: Likewise.
50181 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50182 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50183 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50184 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50185 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50186 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50187 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50188 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50189 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50190 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50191 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50192 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50193 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50194 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50195 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50196 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50197 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50199 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50200 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50201 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50202 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50203 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50204 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50205 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50206 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50207 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50209 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50210 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50211 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50212 * sysvipc/sys/ipc.h: Likewise.
50213 * sysvipc/sys/msg.h: Likewise.
50214 * sysvipc/sys/sem.h: Likewise.
50215 * sysvipc/sys/shm.h: Likewise.
50216 * termios/termios.h: Likewise.
50217 * time/sys/time.h: Likewise.
50218 * time/time.h: Likewise.
50219 * wcsmbs/bits/wchar2.h: Likewise.
50220 * wcsmbs/uchar.h: Likewise.
50221 * wcsmbs/wchar.h: Likewise.
50222 * wctype/wctype.h: Likewise.
50223
0269750c
UD
50224 [BZ #13551]
50225 * Makeconfig: Remove all but ELF support including AIX support.
50226 * Makerules: Likewise.
50227 * config.h.in: Likewise.
50228 * config.make.in: Likewise.
50229 * configure: Likewise.
50230 * configure.in: Likewise.
50231 * csu/Makefile: Likewise.
50232 * csu/version.c: Likewise.
50233 * debug/Makefile: Likewise.
50234 * dlfcn/Makefile: Likewise.
50235 * elf/Makefile: Likewise.
50236 * extra-lib.mk: Likewise.
50237 * iconv/Makefile: Likewise.
50238 * include/libc-symbols.h: Likewise.
50239 * include/shlib-compat.h: Likewise.
50240 * resolv/Makefile: Likewise.
50241 * resolv/res_libc.c: Likewise.
50242 * rt/Makefile: Likewise.
50243 * sysdeps/i386/asm-syntax.h: Likewise.
50244 * sysdeps/i386/sysdep.h: Likewise.
50245 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50246 * sysdeps/mach/sysdep.h: Likewise.
50247 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50248 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50249 * sysdeps/s390/asm-syntax.h: Likewise.
50250 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50252 * sysdeps/sh/sysdep.h: Likewise.
50253 * sysdeps/unix/sparc/sysdep.h: Likewise.
50254 * sysdeps/wordsize-32/divdi3.c: Likewise.
50255 * sysdeps/x86_64/sysdep.h: Likewise.
50256
00bbd29b
UD
50257 * argp/Versions: Remove _argp_unlock_xxx.
50258
50259 [BZ #13559]
50260 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50261 * abilist/libBrokenLocale.abilist: Likewise.
50262 * abilist/libanl.abilist: Likewise.
50263 * abilist/libc.abilist: Likewise.
50264 * abilist/libcrypt.abilist: Likewise.
50265 * abilist/libdl.abilist: Likewise.
50266 * abilist/libm.abilist: Likewise.
50267 * abilist/libnsl.abilist: Likewise.
50268 * abilist/libpthread.abilist: Likewise.
50269 * abilist/libresolv.abilist: Likewise.
50270 * abilist/librt.abilist: Likewise.
50271 * abilist/libthread_db.abilist: Likewise.
50272 * abilist/libutil.abilist: Likewise.
50273 * abilist/libnss_db.abilist: New file.
50274
50275 * scripts/abilist.awk: Add support for indirect functions.
50276
a2693a0e
UD
50277 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50278
3f05895f
UD
50279 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50280
ecb6fb48
UD
50281 * shlib-versions: Remove entries for ports architectures.
50282
664f8cb9
UD
50283 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50284 files in ports.
50285 * elf/stackguard-macros.h: Remove support for IA-64.
50286 * elf/tst-auditmod1.c: Likewise.
50287 * sysdeps/generic/ldsodefs.h: Likewise.
50288
7ae81d88
UD
50289 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50290 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50291 configure files.
50292
bdeba135
UD
50293 [BZ #13552]
50294 * configure.in: Remove --enable-omitfp support.
50295 * FAQ.in: Adjust.
50296 * config.make.in: Likewise.
50297 * Makeconfig: Likewise.
50298 * manual/install.texi: Likewise.
50299
d75a0a62
UD
50300 In case anyone cares, the IA-64 architecture could move to ports.
50301 * sysdeps/ia64/*: Removed.
50302 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50303 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50304
dcc9756b
UD
50305 [BZ #13555]
50306 * configure.in: Remove entries for unsupported architectures.
50307
d3761ebc 50308 [BZ #13533]
9954432e
UD
50309 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50310 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50311 routines.
50312 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50313 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50314 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50315 fall back to using wcrtomb.
50316 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50317 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50318 renaming.
50319 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50320 * wcsmbs/tst-c16c32-1.c: New file.
50321
50322 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50323 local variable.
50324
c3a87236
UD
50325 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50326
28926a1b
UD
50327 * elf/tst-unique3.cc: Add explicit declaration of gets.
50328 * elf/tst-unique3lib.cc: Likewise.
50329 * elf/tst-unique3lib2.cc: Likewise.
50330 * elf/tst-unique4.cc: Likewise.
50331
df78418a
UD
50332 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50333
8ecd6b2a
JM
503342012-01-06 Joseph Myers <joseph@codesourcery.com>
50335
50336 [BZ #13566]
50337 * assert/assert.h (static_assert): Don't define for C++.
50338 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50339 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50340
9f115170
UD
503412012-01-03 Ulrich Drepper <drepper@gmail.com>
50342
5e0d0300
UD
50343 * iconv/loop.c (single loop): Fix assertion in storing of
50344 remaining bytes.
50345
9f115170
UD
50346 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50347
81fb02b0
UD
503482012-01-01 Ulrich Drepper <drepper@gmail.com>
50349
50350 * posix/getconf.c: Update copyright year.
50351 * nss/getent.c: Likewise.
a316c1f6 50352 * nss/makedb.c: Likewise.
81fb02b0
UD
50353 * iconv/iconvconfig.c: Likewise.
50354 * iconv/iconv_prog.c: Likewise.
50355 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50356 * elf/pldd.c: Likewise.
50357 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50358 * catgets/gencat.c: Likewise.
50359 * csu/version.c: Likewise.
50360 * elf/ldd.bash.in: Likewise.
50361 * elf/sprof.c (print_version): Likewise.
50362 * locale/programs/locale.c: Likewise.
50363 * locale/programs/localedef.c: Likewise.
a316c1f6 50364 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50365 * nscd/nscd.c (print_version): Likewise.
50366 * debug/xtrace.sh: Likewise.
50367 * malloc/memusage.sh: Likewise.
50368 * malloc/mtrace.pl: Likewise.
50369 * debug/catchsegv.sh: Likewise.
50370
2ba92745
JJ
503712011-12-30 Jakub Jelinek <jakub@redhat.com>
50372
50373 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50374 pure attribute.
50375
dadebdae
UD
503762011-12-24 Ulrich Drepper <drepper@gmail.com>
50377
d3761ebc 50378 [BZ #13533]
db6af3eb
UD
50379 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50380 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50381 transformations.
50382 * iconv/gconv_int.h: Likewise.
50383 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50384 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50385 from libc for GLIBC_2.16.
50386 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50387 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50388 * wcsmbs/uchar.h: Really define mbstate_t.
50389 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50390 * wcsmbs/c16rtomb.c: New file.
50391 * wcsmbs/mbrtoc16.c: New file.
50392 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50393 for C/POSIX locale.
50394 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50395 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50396
dadebdae
UD
50397 * wcsmbs/wchar.h: Add missing __restrict.
50398
67371b56
UD
503992011-12-23 Ulrich Drepper <drepper@gmail.com>
50400
74033a25
UD
50401 [BZ #13532]
50402 * time/Makefile (routines): Add timespec_get.
50403 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50404 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50405 timespec for ISO C11.
50406 * time/timespec_get.c: New file.
50407 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50408 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50409
380d7e87
UD
50410 [BZ #13531]
50411 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50412 * stdlib/stdlib.h: Declare aligned_alloc.
50413 * Versions.def: Add GLIBC_2.16 for libc.
50414 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50415
4e9e7a35
UD
50416 [BZ 13527]
50417 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50418 ISO C11.
50419
380d7e87 50420 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50421 code.
50422
03a71829
UD
50423 [BZ #13528]
50424 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50425
839e283e
UD
50426 [BZ #13529]
50427 * assert/assert.h (static_assert): Define.
50428
ce5294e2 50429 * version.h: Update for 2.16 development version.
90fa7312 50430
8d44e150 50431 [BZ #13526]
d7809905
UD
50432 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50433 _ISOC11_SOURCE.
50434
c0da14cd
UD
50435 * version.h (RELEASE): Bump for 2.15 release.
50436 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50437
530a3249
MP
50438 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50439 Patch by Marek Polacek <mpolacek@redhat.com>.
50440
67371b56
UD
50441 * bits/byteswap.h: Protect long long constants with __extension__.
50442 * sysdeps/i386/bits/byteswap.h: Likewise.
50443 * sysdeps/ia64/bits/byteswap.h: Likewise.
50444 * sysdeps/s390/bits/byteswap.h: Likewise.
50445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50446
15db4de1
LD
504472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50448
50449 [BZ #13540]
bbe315ea
LD
50450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50451 destination buffer.
15db4de1
LD
50452 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50453
2b2596b1
MP
504542011-12-23 Marek Polacek <polacek@redhat.com>
50455
50456 * elf/dl-addr.c (determine_info): Add inline keyword.
50457 * elf/tst-auditmod4b.c (check_avx): Likewise.
50458 * elf/tst-auditmod6b.c (check_avx): Likewise.
50459 * elf/tst-auditmod6c.c (check_avx): Likewise.
50460 * elf/tst-auditmod7b.c (check_avx): Likewise.
50461
70c6c246
UD
504622011-12-23 Ulrich Drepper <drepper@gmail.com>
50463
50464 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50465 !__SSE_MATH__.
50466
c044cf14
LD
504672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50468
15db4de1 50469 [BZ #13540]
c044cf14
LD
50470 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50471 processing for last bytes.
50472
6b13d9d9
BH
504732011-08-06 Bruno Haible <bruno@clisp.org>
50474
d455f537
BH
50475 [BZ #13061]
50476 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50477 U+0385, not to U+1FEE.
50478
6b13d9d9
BH
50479 [BZ #13062]
50480 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50481 entry for U+00A5 U+0301.
50482
db910efd
UD
504832011-12-22 Ulrich Drepper <drepper@gmail.com>
50484
27deeafc
UD
50485 [BZ #13166]
50486 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50487 buffer for the output is too small.
50488
aed9d171
UD
50489 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50490 optimization.
50491
db910efd
UD
50492 [BZ #13185]
50493 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50494 SSE flags if possible.
50495
2bd779ae
LD
504962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50497
e7f9dac3 50498 [BZ #13540]
2bd779ae
LD
50499 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50500 processing for last bytes.
50501
154bfc16
JM
505022011-12-22 Joseph Myers <joseph@codesourcery.com>
50503
50504 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50505 (syscall-list-default-options, syscall-list-default-condition)
50506 (syscall-list-includes): Define.
50507 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50508 list of ABIs and options and #if conditions for each ABI. Do not
50509 handle common syscalls between ABIs specially.
50510 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50511 Remove.
50512 (syscall-list-variants, syscall-list-32bit-options)
50513 (syscall-list-32bit-condition, syscall-list-64bit-options)
50514 (syscall-list-64bit-condition): Define.
50515 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50516 (syscall-list-variants, syscall-list-32bit-options)
50517 (syscall-list-32bit-condition, syscall-list-64bit-options)
50518 (syscall-list-64bit-condition): Define.
50519 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50520 Remove.
50521 (syscall-list-variants, syscall-list-32bit-options)
50522 (syscall-list-32bit-condition, syscall-list-64bit-options)
50523 (syscall-list-64bit-condition): Define.
50524 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50525 Remove.
50526 (syscall-list-variants, syscall-list-32bit-options)
50527 (syscall-list-32bit-condition, syscall-list-64bit-options)
50528 (syscall-list-64bit-condition): Define.
50529
21eaf3a5
UD
505302011-12-22 Ulrich Drepper <drepper@gmail.com>
50531
16c6f992
UD
50532 * locale/iso-639.def: Add brx entry.
50533
41043168
UD
50534 [BZ #13328]
50535 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50536 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50537
21eaf3a5
UD
50538 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50539 __feraiseexcept_renamed.
50540
e3a851a2
UD
505412011-12-21 Ulrich Drepper <drepper@gmail.com>
50542
4920765e
UD
50543 [BZ #13538]
50544 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50545 EPOLLET with unsigned values.
50546 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50548
e3a851a2
UD
50549 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50550 to large cancellation.
50551 * math/s_cacoshf.c: Likewise.
50552 * math/s_cacoshl.c: Likewise.
50553
b27e24b8
RK
505542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50555
50556 [BZ #13305]
aebefeee 50557 [BZ #12786]
b27e24b8
RK
50558 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50559 * math/s_cacoshf.c: Likewise.
50560 * math/s_cacoshl.c: Likewise.
50561
ee190f67
UD
505622011-12-21 Ulrich Drepper <drepper@gmail.com>
50563
50564 [BZ #13439]
50565 * iconv/gconv.h: Define __GCONV_SWAP.
50566 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50567 * iconvdata/utf-16.c: Likewise.
50568 * iconvdata/utf-32.c: Likewise.
50569
707f25df
AS
505702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50571
50572 [BZ #13524]
50573 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50574 numerator after shifting it by one limb.
50575
d2daaa1e
RÁE
505762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50577
50578 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50579 under [__USE_EXTERN_INLINES].
50580
a4647e72
UD
505812011-12-17 Ulrich Drepper <drepper@gmail.com>
50582
50583 [BZ #13446]
50584 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50585
f0b264f1
AZ
505862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50587
50588 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50589 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50590 optimized code.
50591 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50592 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50593 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50594 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50595 for strncasecmp/strncasecmp_l compilation.
50596 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50597 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50598
8ef4f244
MP
505992011-12-08 Marek Polacek <mpolacek@redhat.com>
50600
50601 [BZ #13484]
50602 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50603 of __asm__.
50604
97ac2654
UD
506052011-12-17 Ulrich Drepper <drepper@gmail.com>
50606
50607 [BZ #13506]
50608 * time/tzfile.c (__tzfile_read): Check values from file header.
50609
91d2a845
WS
506102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50611
50612 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50613 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50614 * powerpc/powerpc32/dl-start.S: Likewise.
50615 * powerpc/powerpc32/elf/start.S: Likewise.
50616 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50617 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50618 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50619 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50620 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50621 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50622 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50623 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50624 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50625 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50626 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50627 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50628 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50629 * powerpc/powerpc32/memset.S: Likewise.
50630 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50631 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50632 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50633 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50634 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50635 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50636 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50637 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50638 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50639 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50640 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50641 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50642 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50643
a1267ba1
AZ
506442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50645
50646 * math/libm-test.inc: Added more nearbyint tests.
50647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50651
ad8ac1bd
RL
506522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50653
50654 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50655 FD_CLOEXEC.
50656
1d3e4b61
UD
506572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50658
50659 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50660 Add wcscpy-ssse3 wcscpy-c.
50661 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50662 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50663 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50664 * sysdeps/x86_64/wcschr.S: New file.
50665 * sysdeps/x86_64/wcsrchr.S: New file.
50666 * string/test-strcmp.c: Remove checking of wcscmp function for
50667 wrong alignments.
50668 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50669 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50670 wcsrchr-sse2 wcsrchr-c.
50671 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50672 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50673 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50674 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50675 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50676 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50677 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50678 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50679 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50680 * wcsmbc/wcschr.c (WCSCHR): New macro.
50681
5b330a2d
UD
506822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50683
50684 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50685 * wcsmbs/test-wcsrchr.c: New file.
50686 * string/test-strrchr.c: Add wcsrchr support.
50687 (WIDE): New macro.
50688 * wcsmbs/test-wcscpy.c: New file.
50689 * string/test-strcpy.c: Add wcscpy support.
50690 (WIDE): New macro.
26428b7c 50691
f039c043
UD
506922011-12-10 Ulrich Drepper <drepper@gmail.com>
50693
50694 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50695 the inner loop.
50696
850fb039
AS
506972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50698
50699 [BZ #13472]
50700 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50701
4efbd5cb
UD
507022011-12-04 Ulrich Drepper <drepper@gmail.com>
50703
52ff5dd0 50704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50705 Minor optimizations.
52ff5dd0 50706
4efbd5cb
UD
50707 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50708 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50709 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50710
8a426e12
UD
507112011-12-03 Ulrich Drepper <drepper@gmail.com>
50712
aff2453d
UD
50713 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50714 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50715 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50716 for gcc to avoid warnings.
50717 * inet/Makefile (tests): Add tst-checks.
50718 * inet/tst-checks.c: New file.
50719
50720 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50721 warning.
50722
50723 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50724 __wmemcmp_sse2.
50725
50726 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50727 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50728
8a426e12
UD
50729 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50730
9bea3473
UD
507312011-12-02 Ulrich Drepper <drepper@gmail.com>
50732
3a965496
UD
50733 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50734 problem.
50735
9bea3473
UD
50736 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50737
f101631b
UD
507382011-11-29 Joseph Myers <joseph@codesourcery.com>
50739
50740 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50741 conditional on GCC version.
50742 (__arch_compare_and_exchange_val_8_acq)
50743 (__arch_compare_and_exchange_val_16_acq)
50744 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50745 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50746 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50747
a98275aa
UD
507482011-12-02 Joseph Myers <joseph@codesourcery.com>
50749
50750 * sysdeps/sh/backtrace.c: New file.
50751
d4cc29a2
AS
507522011-12-02 Andreas Schwab <schwab@redhat.com>
50753
50754 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50755 parenthesis.
50756
6257af2d
AS
507572011-12-01 Andreas Schwab <schwab@redhat.com>
50758
50759 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50760 falling back to utime.
50761
b5f44c1a
AS
507622011-11-30 Andreas Schwab <schwab@redhat.com>
50763
50764 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50765 expectations for float.
50766
f3a6cc0a
AS
507672011-11-29 Andreas Schwab <schwab@redhat.com>
50768
50769 * locale/weight.h (findidx): Add parameter len.
50770 * locale/weightwc.h (findidx): Likewise.
50771 * posix/fnmatch_loop.c (FCT): Adjust caller.
50772 * posix/regcomp.c (build_equiv_class): Likewise.
50773 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50774 * posix/regexec.c (check_node_accept_bytes): Likewise.
50775 * string/strcoll_l.c (STRCOLL): Likewise.
50776 * string/strxfrm_l.c (STRXFRM): Likewise.
50777
9d65ea3a
UD
507782011-11-17 Ulrich Drepper <drepper@gmail.com>
50779
50780 * Makefile.in: Remove CVSOPT handling.
50781 * configure.in: Remove use of AC_REVISION.
50782 * iconvdata/Makefile (distribute): No need to filter out CVS.
50783 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50784 handling.
50785
5583a086
AS
507862011-11-16 Andreas Schwab <schwab@redhat.com>
50787
50788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50789 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50790 [USE_AS_STRNCASECMP_L]: Likewise.
50791 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50792 NO_TLS_DIRECT_SEG_REFS.
50793 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50794 Fix argument offsets for non-PIC.
50795 [USE_AS_STRNCASECMP_L]: Likewise.
50796 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50797 NO_TLS_DIRECT_SEG_REFS.
50798
d62a8200
UD
507992011-11-15 Ulrich Drepper <drepper@gmail.com>
50800
9d65ea3a 50801 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50802 O_CLOEXEC.
50803 * locale/loadlocale.c (_nl_load_locale): Likewise.
50804
09f93bd3
AS
508052011-11-15 Andreas Schwab <schwab@redhat.com>
50806
446514f9
AS
50807 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50808 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50809 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50810 (SYSCALL_GETTIME): Set errno on error.
50811
09f93bd3
AS
50812 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50813 count references to noai6ai_cached.
50814
312be3f9
UD
508152011-11-15 Ulrich Drepper <drepper@gmail.com>
50816
50817 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50818
50819 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50820 FD_CLOEXEC for /proc/self/maps.
50821
50822 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50823 FD_CLOEXEC for /proc/meminfo.
50824
50825 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50826 gai.conf.
50827
50828 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50829 FD_CLOEXEC for given file.
50830
50831 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50832
50833 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50834 FD_CLOEXEC for /etc/hosts.
50835 (_gethtent): Likewise.
50836
50837 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50838
50839 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50840 cancellation and set FD_CLOEXEC for /etc/netgroup.
50841
50842 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50843 reading /etc/publickey.
50844
50845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50846 allow cancellation when reading /etc/group.
50847
50848 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50849 cancellation.
50850 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50851
50852 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50853 when using data file.
50854
50855 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50856
50857 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50858 (write_nis_obj): Use "c" and "e" in fopen.
50859
50860 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50861
50862 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50863
50864 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50865
50866 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50867
50868 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50869 locale.alias.
50870
50871 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50872
50873 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50874
50875 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50876
50877 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50878 file parsing and set FD_CLOEXEC.
50879
82af0fa8
UD
508802011-11-14 Ulrich Drepper <drepper@gmail.com>
50881
50882 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50883
a5fb313c
AS
508842011-11-14 Andreas Schwab <schwab@redhat.com>
50885
50886 * malloc/arena.c (arena_get2): Don't call reused_arena when
50887 _int_new_arena failed.
50888
6abf3465
UD
508892011-11-14 Ulrich Drepper <drepper@gmail.com>
50890
50891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50892 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50895 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50896 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50897 to compile strcasecmp and strncasecmp.
50898 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50899 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50900
50901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50902
76e3966e
UD
509032011-11-13 Ulrich Drepper <drepper@gmail.com>
50904
50905 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50906 locale-defines.sym to gen-as-const-headers.
50907 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50908 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50910 to compile strcasecmp and strncasecmp.
50911 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50912 strcasecmp_l and strncasecmp_l.
50913 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50914 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50915 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50916 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50917 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50918 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50919 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50920 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50921 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50922 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50923 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50924
ab26144e
UD
509252011-11-12 Ulrich Drepper <drepper@gmail.com>
50926
7edb22ef
UD
50927 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50928 result of SYSDEP_GETTIME_CPU to retval.
50929 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50930 parameter list to macro. Remove trailing semicolon. Adjust users.
50931
9694fc44
UD
50932 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50933 variable.
50934
8ad89ef8
UD
50935 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50936 mantissa words.
50937 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50938
0c822ef9
UD
50939 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50940 from unused variable.
50941
874e0564
UD
50942 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50943 DWARF definitions.
50944 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50945 for assembling.
50946
3a2edc79
UD
50947 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50948 over namespaces.
50949
f3c2577f
UD
50950 * sunrpc/rpc_prot.c (rejected): Fix case value.
50951
294ce126
UD
50952 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50953 unsigned long long int to avoid warnings in shift.
50954
5e2b63c6
UD
50955 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50956 of use of trans.
50957 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50958 variable tmp.
50959
e7f4b08e
UD
50960 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50961 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50962 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50963
ab26144e
UD
50964 * nis/nis_table.c (nis_list): Use variable of correct type for
50965 result of __follow_path call.
50966
8a6d5255
AZ
509672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50968
50969 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50970 of math functions ceil, trunc, floor, round, and sqrt, when
50971 avaliable on the platform.
50972 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50973 name clash.
50974 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50975 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50976 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50977
aaddc98c
MP
509782011-10-30 Marek Polacek <mpolacek@redhat.com>
50979
50980 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50981 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50982
95b7042b
RM
509832011-11-11 Roland McGrath <roland@hack.frob.com>
50984
50985 * include/unistd.h: Fix __readlink return type.
50986 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50987
57769839
UD
509882011-11-11 Ulrich Drepper <drepper@gmail.com>
50989
50990 * stdlib/ucontext.h: Undo last change for makecontext.
50991
edc5984d
AS
509922011-11-11 Andreas Schwab <schwab@redhat.com>
50993
98591e58
AS
50994 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50995
edc5984d
AS
50996 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50997 * setjmp/setjmp.h: Mark functions as non-leaf.
50998 * setjmp/bits/setjmp2.h: Likewise.
50999 * stdlib/ucontext.h: Likewise.
51000
77cdc054
AS
510012011-11-10 Andreas Schwab <schwab@redhat.com>
51002
51003 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51004 (reused_arena): Don't check arena limit.
51005 (arena_get2): Atomically check arena limit.
51006
fe72eebd
UD
510072011-11-08 Ulrich Drepper <drepper@gmail.com>
51008
5f078c32
UD
51009 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51010 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51011
fe72eebd
UD
51012 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51013 instructions.
51014
ae1bc2fa
AS
510152011-11-07 Andreas Schwab <schwab@redhat.com>
51016
7583a88d
AS
51017 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51018 handler when locking.
51019
ae1bc2fa
AS
51020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51021 Fix size of allocated buffer.
51022
10fb0bfa
AS
510232011-11-04 Andreas Schwab <schwab@redhat.com>
51024
998832a4
AS
51025 [BZ #10103]
51026 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51027 declarations for long double functions.
51028 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51029
10fb0bfa
AS
51030 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51031
3d7ba52b
AS
510322011-11-03 Andreas Schwab <schwab@redhat.com>
51033
a9ae54a1
AS
51034 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51035 installed.
51036
3d7ba52b
AS
51037 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51038 is disabled.
51039
bc8db248
ST
510402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51041
51042 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51043
45b96dd6
AS
510442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51045
647776f6
AS
51046 * include/alloca.h (stackinfo_alloca_round): Define.
51047 (extend_alloca): Use it.
51048 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51049 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51050 here.
51051
d91a8b93
AS
51052 * scripts/check-local-headers.sh: Ignore libaudit.h.
51053
45b96dd6
AS
51054 * nscd/Makefile (extra-objs): Make recursively expanded.
51055
432d41ce
UD
510562011-11-01 Ulrich Drepper <drepper@gmail.com>
51057
34372fc6
UD
51058 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51059 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51060
fadb59f8
UD
51061 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51062 * posix/tst-rfc3484-2.c: Likewise.
51063 * posix/tst-rfc3484-3.c: Likewise.
51064
78239589
UD
51065 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51066 process_vm_writev.
51067 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51068 process_vm_writev.
51069 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51070 process_vm_writev from libc using GLIBC_2.15 version.
51071
432d41ce
UD
51072 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51073
02f9c6cf
PP
510742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51075
51076 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51077 stack usage.
51078
3a2c0242
UD
510792011-10-31 Ulrich Drepper <drepper@gmail.com>
51080
f4ec4833
UD
51081 [BZ #13367]
51082 * nss/getent.c (initgroups_keys): Show error message in case no group
51083 names are given.
51084
3a2c0242
UD
51085 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51086 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51087 __bump_nl_timestamp.
51088 * nscd/connections (nscd_init): When host database is served open
51089 netlink socket and request notification about configuration changes.
51090 (main_loop_poll): Track netlink file descriptor and bump timestamp
51091 in case data becomes available.
51092 (main_loop_epoll): Likewise.
51093 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51094 (database_pers_head): Add extra_data fileds.
51095 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51096 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51097 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51098 Adjust caller.
51099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51100 in6ai data, call __free_in6ai.
51101 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51102 Add -DHAVE_NETLINK.
51103 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51104 interface information. Reuse previous data if netlink timestamp
51105 is not changed.
51106 (__bump_nl_timestamp): New function.
51107 (__free_in6ai): New function.
51108
636064eb
UD
511092011-10-30 Ulrich Drepper <drepper@gmail.com>
51110
51111 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51112 close_not_cancel_no_status here.
51113 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51114
9beb2334
UD
511152011-10-29 Ulrich Drepper <drepper@gmail.com>
51116
6ef76f3b
UD
51117 [BZ #13276]
51118 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51119 return value.
51120
0ffc4f3e 51121 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51122 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51123 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51124
cb95113e
UD
511252011-07-03 Andreas Jaeger <aj@suse.de>
51126
51127 [BZ #10709]
51128 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51129 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51130 * math/libm-test.inc (sin_test): Add test case.
51131
a1b560ff
UD
511322011-10-29 Ulrich Drepper <drepper@gmail.com>
51133
c9aaface
UD
51134 [BZ #13337]
51135 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51137
d272e7f1
UD
51138 * elf/chroot_canon.c (chroot_canon): Cleanups.
51139
1bc33071
UD
51140 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51141
1760874d
TJ
51142 [BZ #13335]
51143 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51144 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51145
51d91b18
UD
51146 * string/test-strchr.c: Make usable for strchrnul testing.
51147 * string/test-strchrnul.c: New file.
51148 * string/Makefile (strop-tests): Add strchrnul.
51149
a1b560ff 51150 * po/it.po: Update from translation team.
b611fb81 51151 * po/es.po: Likewise.
a1b560ff 51152
a5b81e1f
UD
511532011-10-28 Ulrich Drepper <drepper@gmail.com>
51154
fd52bc6d
UD
51155 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51156 the three constants needed as parameters. Drop the others.
51157 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51158 __m128i_strloadu_tolower.
52e4b9eb
UD
51159 Create and initialize variable zero and use it in all the places
51160 where _mm_setzero_si128 was used.
fd52bc6d 51161
a5b81e1f
UD
51162 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51163 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51164 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51166 anymore.
51167 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51168 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51169 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51170 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51171 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51172 __mpranred, __mptan.
51173 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51174 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51175 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51176 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51177 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51178 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51179 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51180 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51181 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51182
b4343346
AS
511832011-10-28 Andreas Schwab <schwab@redhat.com>
51184
0c92d8a8
AS
51185 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51186 redefine if SHARED.
51187 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51188
b4343346
AS
51189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51190 wide char related routines to wcsmbs subdir.
51191
3871f58f
AS
511922011-10-27 Andreas Schwab <schwab@redhat.com>
51193
51194 [BZ #13344]
51195 * misc/sys/cdefs.h (__THROWNL): Define.
51196 * posix/unistd.h: Use __THREADNL instead of __THREAD
51197 for memory synchronization functions.
51198
94d44d9f
RM
511992011-10-26 Roland McGrath <roland@hack.frob.com>
51200
21b64b15 51201 [BZ #13349]
94d44d9f
RM
51202 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51203 doesn't exist.
51204 * manual/stdio.texi (Obstack Streams): Node removed.
51205
f6ce9294
AS
512062011-10-26 Andreas Schwab <schwab@redhat.com>
51207
80479147
AS
51208 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51209 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51210 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51211
f6ce9294
AS
51212 * math/math_private.h (math_force_eval): Allow non-addressable
51213 arguments.
51214 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51215
618280a1
UD
512162011-10-25 Ulrich Drepper <drepper@gmail.com>
51217
e0016b11
UD
51218 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51219 file is not needed.
51220
51221 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51223 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51224 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51225 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51226 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51227 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51228 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51229 Add AVX variants.
51230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51235 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51236 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51237 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51238 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51239 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51240 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51241 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51243 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51246 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51247 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51248 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51249
51250 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51251 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51252
618280a1
UD
51253 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51254 place. Use VEX encoding when compiling for AVX.
51255
37822576
AS
512562011-10-25 Andreas Schwab <schwab@redhat.com>
51257
1f1e1947
AS
51258 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51259 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51260
37822576
AS
51261 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51262
31ea014d
UD
512632011-10-25 Ulrich Drepper <drepper@gmail.com>
51264
d7826aa1 51265 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51266 useless if() expression.
d7826aa1
UD
51267 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51268 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51269 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51271 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51272 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51273 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51274 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51277 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51280 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51282 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51283 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51285 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51286
31ea014d
UD
51287 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51288
16437fec
AS
512892011-10-25 Andreas Schwab <schwab@redhat.com>
51290
51291 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51292 condition.
51293 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51294
31d3cc00
UD
512952011-10-25 Ulrich Drepper <drepper@gmail.com>
51296
51297 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51298 .text section. Avoid duplicate constants.
51299 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51300 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51301 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51302 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51303 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51305 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51306 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51307 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51308 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51309 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51311 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51312 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51313 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51314 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51315 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51316 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51317 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51318 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51319 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51320 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51321 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51322 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51323 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51324 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51325 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51326 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51327 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51328 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51329 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51330 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51332 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51333 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51334 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51335 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51336 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51337 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51338 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51339 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51340 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51341 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51342 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51343 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51344
58985aa9
UD
513452011-10-24 Ulrich Drepper <drepper@gmail.com>
51346
202c9deb
UD
51347 * sysdeps/x86_64/dla.h: Move to ...
51348 * sysdeps/x86_64/fpu/dla.h: ...here.
51349 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51350 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51351
af968f62
UD
51352 * config.make.in: Add have-mfma4 entry.
51353 * configure.in: Substitute libc_cv_cc_fma4.
51354 * math/Makefile (dbl-only-routines): Add sincostab.
51355 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51356 Use __sincostab not sincos.
51357 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51358 name is a macro.
51359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51363 using __copysign.
51364 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51365 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51366 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51367 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51368 and __inv.
51369 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51370 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51371 __copysign.
51372 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51373 define aliases when function name is a macro.
51374 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51375 sysdeps/ieee754/dbl-64/sincos.tbl.
51376 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51377 fma4-enabled routines.
51378 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51379 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51380 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51381 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51382 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51385 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51386 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51387 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51388 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51389 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51390 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51391 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51393 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51394 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51395 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51396 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51397 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51398 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51399 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51401 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51402 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51403 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51404 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51405 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51406 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51407 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51408
58985aa9
UD
51409 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51410 rename.
51411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51413 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51415 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51416 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51417 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51418 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51419
a201fbcf
AS
514202011-10-24 Andreas Schwab <schwab@redhat.com>
51421
51422 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51423
fc2ee42a
LD
514242011-10-23 Ulrich Drepper <drepper@gmail.com>
51425
bb3129bd
UD
51426 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51427
0275fff8
UD
51428 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51429 prediction.
51430 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51431
2fa2ae85
UD
51432 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51433 Remove unused variable magic_bits.
51434 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51435
fc2ee42a
LD
51436 * string/strnlen.c: Define and use STRNLEN macro.
51437 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51438 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51440 * wcsmbs/wcslen.c: Define and use WCSLEN.
51441 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51442 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51443 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51444 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51445 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51446 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51447 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51448
ce7dd29f
LD
514492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51450
51451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51452 strnlen-sse2-no-bsf.
51453 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51455 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51456 Add strnlen support.
51457 (USE_AS_STRNLEN): New macro.
51458 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51459 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51460 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51461 * sysdeps/x86_64/wcslen.S: New file.
51462
979c70a3
MZ
514632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51464
51465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51466 XMM-moves are used for copying on small sizes.
51467
2d09f82f
LD
514682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51469
51470 * wcsmbs/Makefile (strop-tests): Add wcschr.
51471 * wcsmbs/test-wcschr.c: New file.
51472 * string/test-strchr.c: Update.
51473 Add wcschr support.
51474 (WIDE): New macro.
51475
619fccca
LD
514762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51477
2d09f82f 51478 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51479 * wcsmbs/test-wcslen.c: New file.
51480 * string/test-strlen.c: Update.
51481 Add wcslen support.
51482 (WIDE): New macro.
51483
09f699ea
UD
514842011-10-23 Ulrich Drepper <drepper@gmail.com>
51485
51486 * po/it.po: Update from translation team.
51487
95584d3b
LD
514882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51489
51490 * sysdeps/x86_64/wcscmp.S: Update.
51491 Fix wrong comparison semantics.
51492 wcscmp shall use signed comparison not unsigned.
51493 Don't use substraction to avoid overflow bug.
51494 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51495 * wcsmbc/wcscmp.c: Likewise.
51496 * string/test-strcmp.c: Likewise.
51497 Add new tests to check cases with negative values.
51498
c8b3296b
UD
514992011-10-23 Ulrich Drepper <drepper@gmail.com>
51500
51501 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51502 * sysdeps/x86_64/dla.h: ...here. New file.
51503 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51511 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51512
246ad57a
AS
515132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51514
51515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51516 __ynl_finite aliases.
51517
a1a87169
UD
515182011-10-22 Ulrich Drepper <drepper@gmail.com>
51519
0d355eb7
UD
51520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51521
a1a87169
UD
51522 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51523 define DLA_FMA.
51524 [DLA_FMA] (EMULV): Use DLA_FMA.
51525 [DLA_FMA] (MUL12): Use EMULV.
51526 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51527 that are not needed.
51528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51535
ee2aafe0
AS
515362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51537
51538 * math/s_nan.c: Undef __nan.
51539 * math/s_nanf.c: Undef __nanf.
51540 * math/s_nanl.c: Undef __nanl.
51541 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51542 "math_private.h".
51543
bc62c2fb
UD
515442011-10-22 Ulrich Drepper <drepper@gmail.com>
51545
77425c63
UD
51546 * math/s_catan.c: Add branch predictions.
51547 * math/s_catanf.c: Likewise.
51548 * math/s_catanh.c: Likewise.
51549 * math/s_catanhf.c: Likewise.
51550 * math/s_catanhl.c: Likewise.
51551 * math/s_catanl.c: Likewise.
51552 * math/s_cexp.c: Likewise.
51553 * math/s_cexpf.c: Likewise.
51554 * math/s_cexpl.c: Likewise.
51555 * math/s_clog.c: Likewise.
51556 * math/s_clog10.c: Likewise.
51557 * math/s_clog10f.c: Likewise.
51558 * math/s_clog10l.c: Likewise.
51559 * math/s_clogf.c: Likewise.
51560 * math/s_clogl.c: Likewise.
51561 * math/s_csqrt.c: Likewise.
51562 * math/s_csqrtf.c: Likewise.
51563 * math/s_csqrtl.c: Likewise.
51564 * math/s_ctanf.c: Likewise.
51565 * math/s_ctanh.c: Likewise.
51566 * math/s_ctanhf.c: Likewise.
51567 * math/s_ctanhl.c: Likewise.
51568 * math/s_ctanl.c: Likewise.
51569
bc62c2fb
UD
51570 * math/math_private.h: Define __nan, __nanf, __nanl.
51571 * math/s_cacosh.c: Include <math_private.h>.
51572 * math/s_cacoshl.c: Likewise.
51573 * math/s_casinh.c: Likewise.
51574 * math/s_casinhf.c: Likewise.
51575 * math/s_casinhl.c: Likewise.
51576 * math/s_ccos.c: Rely entire on ccosh.
51577 * math/s_ccosf.c: Rely entire on ccoshf.
51578 * math/s_ccosl.c: Rely entirely on ccoshl.
51579 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51580 Remove tests for FE_INVALID.
51581 * math/s_ccoshf.c: Likewise.
51582 * math/s_ccoshl.c: Likewise.
51583 * math/s_csin.c: Likewise.
51584 * math/s_csinf.c: Likewise.
51585 * math/s_csinh.c Likewise.
51586 * math/s_csinhf.c: Likewise.
51587 * math/s_csinhl.c: Likewise.
51588 * math/s_csinl.c: Likewise.
51589 * math/s_ctan.c: Likewise.
51590 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51591 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51592 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51593
8ec250a4
UD
515942011-10-21 Ulrich Drepper <drepper@gmail.com>
51595
c196fed8
UD
51596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51597 compilation problems.
51598
8ec250a4
UD
51599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51600 __builtin_expect.
51601
8d4f46c6
UD
516022011-10-20 Ulrich Drepper <drepper@gmail.com>
51603
ed72b654
UD
51604 * sysdeps/i386/configure.in: Test for -mfma4 option.
51605 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51606 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51607 COMMON_CPUID_INDEX_80000001.
51608 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51609 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51610 use it if FMA3 is not supported.
51611 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51612
8d4f46c6
UD
51613 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51614 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51615
d45c60c2
AS
516162011-10-20 Andreas Schwab <schwab@redhat.com>
51617
51618 [BZ #12892]
51619 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51620 it would create a cycle with a link time dependency.
51621
d9a4d2ab
UD
516222011-10-19 Ulrich Drepper <drepper@gmail.com>
51623
855d1560
UD
51624 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51625 instruction.
51626 * string/Makefile (strop-tests): Add rawmemchr.
51627 * string/test-rawmemchr.c: New file.
51628
d9a4d2ab
UD
51629 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51631 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51632 when compiling str{,n}casecmp and when AVX is available. Hook up
51633 new optimized code in initializers.
51634
8f3b1ffe
AS
516352011-10-19 Andreas Schwab <schwab@redhat.com>
51636
51637 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51638 __feraiseexcept instead of feraiseexcept.
51639
d38f1dba
UD
516402011-10-18 Ulrich Drepper <drepper@gmail.com>
51641
d9a8d0ab
UD
51642 * math/math_private.h: Define defaults for libc_fetestexcept and
51643 libc_feupdateenv.
51644 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51645 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51646 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51647 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51649 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51650 libc_fetestexcept and libc_feupdateenv.
51651
4855e3dd
UD
51652 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51653 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51654 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51655 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51656 libc_feholdexcept_setround.
51657
581d30e3
UD
51658 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51659 Add s_nearbyint-c and s_nearbyintf-c.
51660 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51661 nearbyintf inlines.
51662 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51663 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51664 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51665 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51666
d38f1dba
UD
51667 * math/math_private.h: Define defaults for libc_fegetround,
51668 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51669 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51670 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51671 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51672 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51673 standard functions.
51674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51675 Remove comments and hacks for old compiler versions.
51676 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51677 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51678 libc_feholdexceptl.
51679
caa6c9d8
AS
516802011-10-18 Andreas Schwab <schwab@redhat.com>
51681
51682 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51683 (__feraiseexcept_renamed): Add __NTH.
51684 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51685 namespace violations.
51686
97c066e6
UD
516872011-10-17 Ulrich Drepper <drepper@gmail.com>
51688
99ce7b04
UD
51689 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51690
1004d182
UD
51691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51692
228a984d
UD
51693 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51694 recently added interfaces.
51695 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51696
c8553a6a
UD
51697 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51698 about macro parameter expansion.
51699
ed22dcf6
UD
51700 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51701 __NO_MATH_INLINES is defined. Cleanups.
51702
51703 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51704 and __floorf is target has SSE4.1.
51705 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51706 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51707 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51708 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51709
b171c137
UD
51710 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51711 name.
51712 (floorf): Likewise.
51713
97c066e6
UD
51714 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51715
629f62ef
AS
517162011-10-17 Andreas Schwab <schwab@redhat.com>
51717
49a43d80
AS
51718 * misc/sys/cdefs.h: Fix last change.
51719
629f62ef
AS
51720 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51721 database lookup.
51722
e453f6cd
UD
517232011-10-16 Ulrich Drepper <drepper@gmail.com>
51724
aa78043a
UD
51725 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51726
ad0f5cad
UD
51727 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51728 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51730 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51731 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51732 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51734 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51735 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51736 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51737 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51738 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51739 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51740 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51741 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51742 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51743 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51744 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51745 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51746 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51748 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51749
51750 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51751 ceil, ceilf, floor, floorf.
51752
51753 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51754 Perform IRELATIVE relocations last.
51755
e453f6cd
UD
51756 * elf/do-rel.h: Add another parameter nrelative, replacing the
51757 local variable with the same name. Change name of the function
51758 to end in Rel or Rela (uppercase).
51759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51760 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51761 elf_dynamic_do_##reloc function.
51762
fd5bdc09
UD
517632011-10-15 Ulrich Drepper <drepper@gmail.com>
51764
79b195b5
UD
51765 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51766 is sufficient, at least on modern CPUs.
51767
d4a28569
UD
51768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51769
b61099b5
UD
51770 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51771 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51772
bcf01e6d
UD
51773 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51774 __expl_finite.
51775 * math/bits/math-finite.h: Add entries for exp.
51776 * math/e_expl.c: Add __*_finite alias.
51777 * sysdeps/i386/fpu/e_exp.S: Likewise.
51778 * sysdeps/i386/fpu/e_expf.S: Likewise.
51779 * sysdeps/i386/fpu/e_expl.c: Likewise.
51780 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51781 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51782 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51784 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51785 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51786 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51787
ba1a0d59
UD
51788 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51789 is sufficient, at least on modern CPUs.
51790
fd5bdc09
UD
51791 * ctype/ctype-info.c (__ctype_init): Define.
51792 * include/ctype.h (__ctype_init): Declare.
51793 (__ctype_b_loc): The variable is always initialized.
51794 (__ctype_toupper_loc): Likewise.
51795 (__ctype_tolower_loc): Likewise.
51796 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51797 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51798
7872cfb0
AS
517992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51800
b468825a
AS
51801 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51802
7872cfb0
AS
51803 * configure.in: Also look in $cxxmachine/include for C++ system
51804 headers.
51805
be13f7bf
LD
518062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51807
51808 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51809 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51810 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51811 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51812 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51813 (USE_AS_WMEMCMP): New macro.
51814 Fixing indents.
51815 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51816 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51817 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51818 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51820 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51821 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51822 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51823 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51824 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51825 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51826 (USE_AS_WMEMCMP): New macro.
51827 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51828 * sysdeps/string/test-memcmp.c: Update.
51829 Fix simple_wmemcmp.
51830 Add new tests.
51831 * wcsmbs/wmemcmp.c: Update.
51832 (WMEMCMP): New macro.
51833 Fix overflow bug.
51834
556a2007
AJ
518352011-10-12 Andreas Jaeger <aj@suse.de>
51836
51837 [BZ #13268]
51838 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51839
538faaa7
UD
518402011-10-15 Ulrich Drepper <drepper@gmail.com>
51841
ab6737ff
UD
51842 * libio/iofwide.c (do_length): Avoid warning.
51843
538faaa7
UD
51844 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51845
396a21b1
UD
518462011-10-14 Ulrich Drepper <drepper@gmail.com>
51847
cdf2901f
UD
51848 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51849
38ad40ce
UD
51850 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51851 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51852 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51853 * sysdeps/i386/i686/fpu/e_log.S: New file.
51854 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51855 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51856
396a21b1
UD
51857 * ctype/ctype.h: Add support for inlined isXXX functions when
51858 compiling C++ code.
51859
6b1f68c9
AS
518602011-10-14 Andreas Schwab <schwab@redhat.com>
51861
349290c0
AS
51862 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51863
6b1f68c9
AS
51864 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51865
f2282d42
RM
518662011-10-13 Roland McGrath <roland@hack.frob.com>
51867
51868 [BZ #13291]
51869 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51870
5298ffa8
AS
518712011-10-13 Andreas Schwab <schwab@redhat.com>
51872
714fad23
AS
51873 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51874 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51875 feraiseexcept.
51876
81dcc7fb
AS
51877 * sysdeps/x86_64/memrchr.S: Check for zero size.
51878
5298ffa8
AS
51879 * string/stratcliff.c: Add memrchr tests.
51880
951fbcec
LD
518812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51882
51883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51884 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51885 rawmemchr-sse2 rawmemchr-sse2-bsf.
51886 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51887 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51888 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51889 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51890 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51891 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51892 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51893 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51894 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51895 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51896 * string/memrchr.c (MEMRCHR): New macro.
51897
0ac5ae23
UD
518982011-10-12 Ulrich Drepper <drepper@gmail.com>
51899
51900 Add integration with gcc's -ffinite-math-only and optimize wrapper
51901 functions in libm.
51902 * Versions.def: Define GLIBC_2.15 version for libm.
51903 * math/Makefile (headers): Add bits/math-finite.h.
51904 * math/bits/math-finite.h: New file.
51905 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51906 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51907 * math/e_acoshl.c: Add __*_finite alias.
51908 * math/e_acosl.c: Likewise.
51909 * math/e_asinl.c: Likewise.
51910 * math/e_atan2l.c: Likewise.
51911 * math/e_atanhl.c: Likewise.
51912 * math/e_coshl.c: Likewise.
51913 * math/e_exp10.c: Likewise.
51914 * math/e_exp10f.c: Likewise.
51915 * math/e_exp10l.c: Likewise.
51916 * math/e_exp2l.c: Likewise.
51917 * math/e_fmodl.c: Likewise.
51918 * math/e_gammal_r.c: Likewise.
51919 * math/e_hypotl.c: Likewise.
51920 * math/e_j0l.c: Likewise.
51921 * math/e_j1l.c: Likewise.
51922 * math/e_jnl.c: Likewise.
51923 * math/e_lgammal_r.c: Likewise.
51924 * math/e_log10l.c: Likewise.
51925 * math/e_log2l.c: Likewise.
51926 * math/e_logl.c: Likewise.
51927 * math/e_powl.c: Likewise.
51928 * math/e_sinhl.c: Likewise.
51929 * math/e_sqrtl.c: Likewise.
51930 * math/e_scalb.c: Completely rewritten and optimized.
51931 * math/e_scalbf.c: Likewise.
51932 * math/e_scalbl.c: Likewise.
51933 * math/w_acos.c: Likewise.
51934 * math/w_acosf.c: Likewise.
51935 * math/w_acosl.c: Likewise.
51936 * math/w_acosh.c: Likewise.
51937 * math/w_acoshf.c: Likewise.
51938 * math/w_acoshl.c: Likewise.
51939 * math/w_asin.c: Likewise.
51940 * math/w_asinf.c: Likewise.
51941 * math/w_asinl.c: Likewise.
51942 * math/w_atan2.c: Likewise.
51943 * math/w_atan2f.c: Likewise.
51944 * math/w_atan2l.c: Likewise.
51945 * math/w_atanh.c: Likewise.
51946 * math/w_atanhf.c: Likewise.
51947 * math/w_atanhl.c: Likewise.
51948 * math/w_exp10.c: Likewise.
51949 * math/w_exp10f.c: Likewise.
51950 * math/w_exp10l.c: Likewise.
51951 * math/w_fmod.c: Likewise.
51952 * math/w_fmodf.c: Likewise.
51953 * math/w_fmodl.c: Likewise.
51954 * math/w_j0.c: Likewise.
51955 * math/w_j0f.c: Likewise.
51956 * math/w_j0l.c: Likewise.
51957 * math/w_j1.c: Likewise.
51958 * math/w_j1f.c: Likewise.
51959 * math/w_j1l.c: Likewise.
51960 * math/w_jn.c: Likewise.
51961 * math/w_jnf.c: Likewise.
51962 * math/w_log.c: Likewise.
51963 * math/w_logf.c: Likewise.
51964 * math/w_logl.c: Likewise.
51965 * math/w_log10.c: Likewise.
51966 * math/w_log10f.c: Likewise.
51967 * math/w_log10l.c: Likewise.
51968 * math/w_log2.c: Likewise.
51969 * math/w_log2f.c: Likewise.
51970 * math/w_log2l.c: Likewise.
51971 * math/w_pow.c: Likewise.
51972 * math/w_powf.c: Likewise.
51973 * math/w_powl.c: Likewise.
51974 * math/w_remainder.c: Likewise.
51975 * math/w_remainderf.c: Likewise.
51976 * math/w_remainderl.c: Likewise.
51977 * math/w_scalb.c: Likewise.
51978 * math/w_scalbf.c: Likewise.
51979 * math/w_scalbl.c: Likewise.
51980 * math/w_sqrt.c: Likewise.
51981 * math/w_sqrtf.c: Likewise.
51982 * math/w_sqrtl.c: Likewise.
51983 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51984 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51985 used.
51986 * math/math_private.h: Declare __kernel_standard_f.
51987 * math/w_cosh.c: Remove cruft and optimize a bit.
51988 * math/w_coshf.c: Likewise.
51989 * math/w_coshl.c: Likewise.
51990 * math/w_exp2.c: Likewise.
51991 * math/w_exp2f.c: Likewise.
51992 * math/w_exp2l.c: Likewise.
51993 * math/w_hypot.c: Likewise.
51994 * math/w_hypotf.c: Likewise.
51995 * math/w_hypotl.c: Likewise.
51996 * math/w_lgamma.c: Likewise.
51997 * math/w_lgamma_r.c: Likewise.
51998 * math/w_lgammaf.c: Likewise.
51999 * math/w_lgammaf_r.c: Likewise.
52000 * math/w_lgammal.c: Likewise.
52001 * math/w_lgammal_r.c: Likewise.
52002 * math/w_sinh.c: Likewise.
52003 * math/w_sinhf.c: Likewise.
52004 * math/w_sinhl.c: Likewise.
52005 * math/w_tgamma.c: Likewise.
52006 * math/w_tgammaf.c: Likewise.
52007 * math/w_tgammal.c: Likewise.
52008 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52009 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52010 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52011 Minor optimizations. Pretty printing. Remove cruft.
52012 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52013 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52014 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52015 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52016 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52017 * sysdeps/i386/fpu/e_asin.S: Likewise.
52018 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52019 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52020 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52021 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52023 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52024 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52025 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52026 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52027 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52028 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52029 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52030 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52031 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52032 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52033 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52034 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52035 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52036 * sysdeps/i386/fpu/e_log.S: Likewise.
52037 * sysdeps/i386/fpu/e_log10.S: Likewise.
52038 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52040 * sysdeps/i386/fpu/e_log2.S: Likewise.
52041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52042 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52043 * sysdeps/i386/fpu/e_logf.S: Likewise.
52044 * sysdeps/i386/fpu/e_logl.S: Likewise.
52045 * sysdeps/i386/fpu/e_pow.S: Likewise.
52046 * sysdeps/i386/fpu/e_powf.S: Likewise.
52047 * sysdeps/i386/fpu/e_powl.S: Likewise.
52048 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52049 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52050 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52051 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52052 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52053 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52054 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52055 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52056 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52057 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52058 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52060 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52062 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52065 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52067 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52068 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52070 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52071 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52073 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52074 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52077 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52078 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52079 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52080 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52081 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52082 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52083 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52084 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52085 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52086 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52087 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52088 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52089 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52090 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52091 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52092 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52093 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52094 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52095 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52096 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52097 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52098 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52099 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52100 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52101 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52102 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52103 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52104 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52105 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52106 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52107 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52108 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52109 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52110 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52111 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52112 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52113 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52114 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52115 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52116 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52117 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52125 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52126 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52131 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52132 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52133 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52134 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52135 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52136 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52137 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52138 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52139 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52140 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52142 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52143 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52144 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52145 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52146 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52148 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52149 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52150 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52151 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52152 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52153 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52154 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52155 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52156 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52157 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52158 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52159 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52160 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52161 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52162 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52163 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52164 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52165 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52167 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52168 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52169 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52170 (__isnanf): Likewise.
52171 (__isinf_ns): Likewise.
52172 (__isinf_nsf): Likewise.
52173 (__finite): Likewise.
52174 (__finitef): Likewise.
52175 (__ieee754_sqrt): Define as macro.
52176 (__ieee754_sqrtf): Define as macro.
52177 (__ieee754_sqrtl): Define as macro.
52178 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52179 inlined copy.
52180 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52181 __FINITE_MATH_ONLY__ consistent.
52182 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52183
12cc2fcd
AS
521842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52185
a843a204
AS
52186 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52187 of rawmemchr.
52188
12cc2fcd
AS
52189 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52190
c853acd5
UD
521912011-10-09 Ulrich Drepper <drepper@gmail.com>
52192
52193 * po/ja.po: Update from translation team.
52194
c658d255
RM
521952011-10-08 Roland McGrath <roland@hack.frob.com>
52196
110946e4
RM
52197 * locale/programs/locarchive.c (prepare_address_space): New function.
52198 (create_archive, enlarge_archive, open_archive): Use it.
52199
50604220
RM
52200 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52201 inside [SHARED], where it is used.
52202
c658d255
RM
52203 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52204
52205 * nss/getent.c (netgroup_keys): Remove unused variable.
52206 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52207
6a621eb7
UD
522082011-10-08 Ulrich Drepper <drepper@gmail.com>
52209
7edb55ce
UD
52210 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52211 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52212 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52213 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52214 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52215 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52216 * math/Makefile (libm-calls): Add s_isinf_ns.
52217 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52218 * math/multc3.c: Likewise.
52219 * math/s_casin.c: Likewise.
52220 * math/s_casinf.c: Likewise.
52221 * math/s_casinl.c: Likewise.
52222 * math/s_ccos.c: Likewise.
52223 * math/s_ccosf.c: Likewise.
52224 * math/s_ccosl.c: Likewise.
52225 * math/s_ctan.c: Likewise.
52226 * math/s_ctanf.c: Likewise.
52227 * math/s_ctanh.c: Likewise.
52228 * math/s_ctanhf.c: Likewise.
52229 * math/s_ctanhl.c: Likewise.
52230 * math/s_ctanl.c: Likewise.
52231 * math/w_fmod.c: Likewise.
52232 * math/w_fmodf.c: Likewise.
52233 * math/w_fmodl.c: Likewise.
52234 * math/w_remainder.c: Likewise.
52235 * math/w_remainderf.c: Likewise.
52236 * math/w_remainderl.c: Likewise.
52237 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52238 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52239 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52240 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52241 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52242 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52243 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52244 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52245
187da0ae
UD
52246 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52247 of the number.
52248 * stdio-common/printf_fphex.c: Likewise.
52249 * stdio-common/printf_size.c: Likewise.
52250
9277c064
UD
52251 * math/e_exp10.c: Include math_private.h using <...> not "...".
52252 * math/e_exp10f.c: Likewise.
52253 * math/e_exp10l.c: Likewise.
52254 * math/e_exp2l.c: Likewise.
52255 * math/e_j0l.c: Likewise.
52256 * math/e_j1l.c: Likewise.
52257 * math/e_jnl.c: Likewise.
52258 * math/e_lgammal_r.c: Likewise.
52259 * math/e_rem_pio2l.c: Likewise.
52260 * math/e_scalb.c: Likewise.
52261 * math/e_scalbf.c: Likewise.
52262 * math/e_scalbl.c: Likewise.
52263 * math/k_cosl.c: Likewise.
52264 * math/k_sinl.c: Likewise.
52265 * math/k_tanl.c: Likewise.
52266 * math/s_cacoshf.c: Likewise.
52267 * math/s_catan.c: Likewise.
52268 * math/s_catanf.c: Likewise.
52269 * math/s_catanh.c: Likewise.
52270 * math/s_catanhf.c: Likewise.
52271 * math/s_catanhl.c: Likewise.
52272 * math/s_catanl.c: Likewise.
52273 * math/s_ccosh.c: Likewise.
52274 * math/s_ccoshf.c: Likewise.
52275 * math/s_ccoshl.c: Likewise.
52276 * math/s_cexp.c: Likewise.
52277 * math/s_cexpf.c: Likewise.
52278 * math/s_cexpl.c: Likewise.
52279 * math/s_clog.c: Likewise.
52280 * math/s_clog10.c: Likewise.
52281 * math/s_clog10f.c: Likewise.
52282 * math/s_clog10l.c: Likewise.
52283 * math/s_clogf.c: Likewise.
52284 * math/s_clogl.c: Likewise.
52285 * math/s_csin.c: Likewise.
52286 * math/s_csinf.c: Likewise.
52287 * math/s_csinh.c: Likewise.
52288 * math/s_csinhf.c: Likewise.
52289 * math/s_csinhl.c: Likewise.
52290 * math/s_csinl.c: Likewise.
52291 * math/s_csqrt.c: Likewise.
52292 * math/s_csqrtf.c: Likewise.
52293 * math/s_csqrtl.c: Likewise.
52294 * math/s_ctan.c: Likewise.
52295 * math/s_ctanf.c: Likewise.
52296 * math/s_ctanh.c: Likewise.
52297 * math/s_ctanhf.c: Likewise.
52298 * math/s_ctanhl.c: Likewise.
52299 * math/s_ctanl.c: Likewise.
52300 * math/s_ldexp.c: Likewise.
52301 * math/s_ldexpf.c: Likewise.
52302 * math/s_ldexpl.c: Likewise.
52303 * math/s_significand.c: Likewise.
52304 * math/s_significandf.c: Likewise.
52305 * math/s_significandl.c: Likewise.
52306 * math/w_acos.c: Likewise.
52307 * math/w_acosf.c: Likewise.
52308 * math/w_acosh.c: Likewise.
52309 * math/w_acoshf.c: Likewise.
52310 * math/w_acoshl.c: Likewise.
52311 * math/w_acosl.c: Likewise.
52312 * math/w_asin.c: Likewise.
52313 * math/w_asinf.c: Likewise.
52314 * math/w_asinl.c: Likewise.
52315 * math/w_atan2.c: Likewise.
52316 * math/w_atan2f.c: Likewise.
52317 * math/w_atan2l.c: Likewise.
52318 * math/w_atanh.c: Likewise.
52319 * math/w_atanhf.c: Likewise.
52320 * math/w_atanhl.c: Likewise.
52321 * math/w_cosh.c: Likewise.
52322 * math/w_coshf.c: Likewise.
52323 * math/w_coshl.c: Likewise.
52324 * math/w_dremf.c: Likewise.
52325 * math/w_exp10.c: Likewise.
52326 * math/w_exp10f.c: Likewise.
52327 * math/w_exp10l.c: Likewise.
52328 * math/w_exp2.c: Likewise.
52329 * math/w_exp2f.c: Likewise.
52330 * math/w_fmod.c: Likewise.
52331 * math/w_fmodf.c: Likewise.
52332 * math/w_fmodl.c: Likewise.
52333 * math/w_hypot.c: Likewise.
52334 * math/w_hypotf.c: Likewise.
52335 * math/w_hypotl.c: Likewise.
52336 * math/w_j0.c: Likewise.
52337 * math/w_j0f.c: Likewise.
52338 * math/w_j0l.c: Likewise.
52339 * math/w_j1.c: Likewise.
52340 * math/w_j1f.c: Likewise.
52341 * math/w_j1l.c: Likewise.
52342 * math/w_jn.c: Likewise.
52343 * math/w_jnf.c: Likewise.
52344 * math/w_jnl.c: Likewise.
52345 * math/w_lgamma.c: Likewise.
52346 * math/w_lgamma_r.c: Likewise.
52347 * math/w_lgammaf.c: Likewise.
52348 * math/w_lgammaf_r.c: Likewise.
52349 * math/w_lgammal.c: Likewise.
52350 * math/w_lgammal_r.c: Likewise.
52351 * math/w_log.c: Likewise.
52352 * math/w_log10.c: Likewise.
52353 * math/w_log10f.c: Likewise.
52354 * math/w_log10l.c: Likewise.
52355 * math/w_log2.c: Likewise.
52356 * math/w_log2f.c: Likewise.
52357 * math/w_log2l.c: Likewise.
52358 * math/w_logf.c: Likewise.
52359 * math/w_logl.c: Likewise.
52360 * math/w_pow.c: Likewise.
52361 * math/w_powf.c: Likewise.
52362 * math/w_powl.c: Likewise.
52363 * math/w_remainder.c: Likewise.
52364 * math/w_remainderf.c: Likewise.
52365 * math/w_remainderl.c: Likewise.
52366 * math/w_scalb.c: Likewise.
52367 * math/w_scalbf.c: Likewise.
52368 * math/w_scalbl.c: Likewise.
52369 * math/w_sinh.c: Likewise.
52370 * math/w_sinhf.c: Likewise.
52371 * math/w_sinhl.c: Likewise.
52372 * math/w_sqrt.c: Likewise.
52373 * math/w_sqrtf.c: Likewise.
52374 * math/w_sqrtl.c: Likewise.
52375 * math/w_tgamma.c: Likewise.
52376 * math/w_tgammaf.c: Likewise.
52377 * math/w_tgammal.c: Likewise.
52378
6a621eb7
UD
52379 * po/ja.po: Update from translation team.
52380
bf582445
AJ
523812011-09-29 Andreas Jaeger <aj@suse.de>
52382
f9efbf3a
AJ
52383 [BZ #13179]
52384 * sunrpc/netname.c (netname2host): Fix logic.
52385
bf582445
AJ
52386 [BZ #6779]
52387 [BZ #6783]
52388 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52389 correctly.
52390 * math/w_remainder.c (__remainder): Likewise.
52391 * math/w_remainderf.c (__remainderf): Likewise.
52392 * math/libm-test.inc (remainder_test): Add test cases.
52393
48693bea
AK
523942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52395
52396 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52397 sdiv_qrnnd.
52398
42622229
LD
523992011-10-07 Ulrich Drepper <drepper@gmail.com>
52400
52401 * string/test-memcmp.c: Avoid unncessary #defines.
52402 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52403
093ecf92
LD
524042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52405
52406 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52407 Use new sse2 version for core i3 - i7 as it's faster
52408 than sse42 version.
52409 (bit_Prefer_PMINUB_for_stringop): New.
52410 * sysdeps/x86_64/rawmemchr.S: Update.
52411 Replace with faster SSE2 version.
52412 * sysdeps/x86_64/memrchr.S: New file.
52413 * sysdeps/x86_64/memchr.S: Update.
52414 Replace with faster SSE2 version.
52415
fde56e5c
MP
524162011-09-12 Marek Polacek <mpolacek@redhat.com>
52417
52418 * elf/dl-load.c (lose): Add cast to avoid warning.
52419
21fd49a9
UD
524202011-10-07 Ulrich Drepper <drepper@gmail.com>
52421
5a06e643
UD
52422 * po/ca.po: Update from translation team.
52423
684ae515
UD
52424 * inet/getnetgrent_r.c: Hook up nscd.
52425 * nscd/Makefile (routines): Add nscd_netgroup.
52426 (nscd-modules): Add netgroupcache.
52427 (CFLAGS-netgroupcache.c): Define.
52428 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52429 (cache_search): Add const to second parameter.
52430 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52431 INNETGR.
52432 (dbs): Add netgrdb entry.
52433 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52434 (verify_persistent_db): Handle netgrdb.
52435 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52436 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52437 GETFDNETGR.
52438 (netgroup_response_header): Define.
52439 (innetgroup_response_header): Define.
52440 (datahead): Add netgroup_response_header and innetgroup_response_header
52441 elements.
52442 * nscd/nscd.conf: Add entries for netgroup cache.
52443 * nscd/nscd.h (dbtype): Add netgrdb.
52444 (_PATH_NSCD_NETGROUP_DB): Define.
52445 (netgroup_iov_disabled): Declare.
52446 (xmalloc, xcalloc, xrealloc): Move declarations here.
52447 (cache_search): Adjust prototype.
52448 Add netgroup-related prototypes.
52449 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52450 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52451 (__nscd_innetgr): Declare.
52452 * nscd/selinux.c (perms): Use access_vector_t as element type and
52453 add netgroup-related initializers.
52454 * nscd/netgroupcache.c: New file.
52455 * nscd/nscd_netgroup.c: New file.
52456 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52457 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52458 For four parameters use innetgr.
52459 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52460 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52461 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52462 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52463
21fd49a9
UD
52464 * nscd/connections.c (register_traced_file): Don't register file
52465 for disabled databases.
52466
054c0457
UD
524672011-10-06 Ulrich Drepper <drepper@gmail.com>
52468
32b63198
UD
52469 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52470
054c0457
UD
52471 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52472 from tree and freeing node.
52473
64031225
JO
524742011-09-25 Jiri Olsa <jolsa@redhat.com>
52475
52476 * nss/nsswitch.c (__nss_database_lookup): Handle
52477 nss_parse_service_list out of memory case.
52478
0490345c
JO
524792011-09-15 Jiri Olsa <jolsa@redhat.com>
52480
52481 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52482 out of memory case.
52483
3a62d00d
AS
524842011-10-04 Andreas Schwab <schwab@redhat.com>
52485
52486 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52487 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52488 pass it down.
52489 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52490 elf_machine_rela, elf_machine_lazy_rel.
52491 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52492 (ELF_DYNAMIC_DO_REL): Likewise.
52493 (ELF_DYNAMIC_DO_RELA): Likewise.
52494 (ELF_DYNAMIC_RELOCATE): Likewise.
52495 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52496 to ELF_DYNAMIC_DO_REL.
52497 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52498 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52499 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52500 elf_machine_rela.
52501 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52502 skip_ifunc, don't call ifunc function if non-zero.
52503 (elf_machine_rela): Likewise.
52504 (elf_machine_lazy_rel): Likewise.
52505 (elf_machine_lazy_rela): Likewise.
52506 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52507 (elf_machine_lazy_rel): Likewise.
52508 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52509 Likewise.
52510 (elf_machine_lazy_rel): Likewise.
52511 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52512 Likewise.
52513 (elf_machine_lazy_rel): Likewise.
52514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52515 (elf_machine_lazy_rel): Likewise.
52516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52517 (elf_machine_lazy_rel): Likewise.
52518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52519 (elf_machine_lazy_rel): Likewise.
52520 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52521 (elf_machine_lazy_rel): Likewise.
52522 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52523 (elf_machine_lazy_rel): Likewise.
52524 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52525 (elf_machine_lazy_rel): Likewise.
52526
68577918
UD
525272011-09-28 Ulrich Drepper <drepper@gmail.com>
52528
52529 * nss/nss_files/files-init.c (_nss_files_init): Use static
52530 initialization for all the *_traced_file variables.
52531
68822d74
AS
525322011-09-28 Andreas Schwab <schwab@redhat.com>
52533
52534 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52535
2056100b
RM
525362011-09-27 Roland McGrath <roland@hack.frob.com>
52537
52538 [BZ #13226]
52539 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52540
32c76b63
AS
525412011-09-27 Andreas Schwab <schwab@redhat.com>
52542
52543 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52544 Reread the line before reparsing it.
52545
bf972c9d
AS
525462011-09-26 Andreas Schwab <schwab@redhat.com>
52547
52548 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52549
e057a1b5
JM
525502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52551 Maxim Kuvyrkov <maxim@codesourcery.com>
52552 Joseph Myers <joseph@codesourcery.com>
52553
52554 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52555 if needed for __stack_chk_guard.
52556
bc7e1c36
RM
525572011-09-19 Roland McGrath <roland@hack.frob.com>
52558
ecb1482f
RM
52559 * sysdeps/posix/spawni.c (script_execute): Always define it.
52560 It will be optimized away if unused.
52561 (maybe_script_execute): New function.
52562 (__spawni): Call it.
52563
bc7e1c36
RM
52564 * Makerules: Don't include tls.make.
52565 (config-tls): Always set to thread.
52566 * tls.make.c: File removed.
52567
1c3b002b
MF
525682011-09-19 Mike Frysinger <vapier@gentoo.org>
52569
52570 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52571 * config.make.in (CPPFLAGS-config): New substituted variable.
52572
2840865d
UD
525732011-09-15 Ulrich Drepper <drepper@gmail.com>
52574
88738eb6
UD
52575 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52576
cbf645a6 52577 [BZ #13192]
2840865d
UD
52578 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52579 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52580
b402e91a
RM
525812011-09-15 Roland McGrath <roland@hack.frob.com>
52582
52583 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52584 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52586 (CALL_FAIL): Likewise.
52587 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52588 (CALL_FAIL): Macro removed.
52589 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52590
4c1a1f71
UD
525912011-09-15 Ulrich Drepper <drepper@gmail.com>
52592
52593 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52594 for __FINITE_MATH_ONLY__ == 1.
52595
edc121be
AS
525962011-09-15 Andreas Schwab <schwab@redhat.com>
52597
52598 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52599 __ieee754_sqrt instead of sqrt.
52600 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52601 __ieee754_sqrtf instead of sqrtf.
52602 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52603 __floorf instead of floorf.
52604 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52605 __floorf, __truncf instead of floorf, truncf.
52606
cd205654
UD
526072011-09-14 Ulrich Drepper <drepper@gmail.com>
52608
ee4d0315
UD
52609 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52610
cd205654
UD
52611 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52612 __extern_always_inline.
52613 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52614 32-bit.
52615
48b67d71
AS
526162011-09-14 Andreas Schwab <schwab@redhat.com>
52617
52618 * elf/rtld.c (dl_main): Also relocate in dependency order when
52619 doing symbol dependency testing.
52620
1ae12c75
AS
526212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52622
52623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52624 Always define `refsym'.
52625
995a80df
AS
526262011-09-13 Andreas Schwab <schwab@redhat.com>
52627
e529793b
AS
52628 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52629 (__FD_ELT): Renamed from __FDELT.
52630 * misc/bits/select2.h (__FD_ELT): Likewise.
52631 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52632 __FD_MASK instead of __FDELT, __FDMASK.
52633 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52634 Likewise.
52635 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52636 Likewise.
52637
52d4fef8
AS
52638 * elf/Makefile (gen-ldd): Fix pattern.
52639
995a80df
AS
52640 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52641 (init_tls): Likewise.
52642
8682f8b0
UD
526432011-09-12 Ulrich Drepper <drepper@gmail.com>
52644
52645 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52646
de82006d
AS
526472011-09-12 Andreas Schwab <schwab@redhat.com>
52648
a7c8e6a1
AS
52649 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52650 `struct cmsghdr *' instead of `void *'.
52651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52652 Likewise.
52653
0f31fe77
AS
526542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52655
52656 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52657 if non-absolute.
52658 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52659 ldd_rewrite_script.
0f31fe77 52660
32b4c839
UD
526612011-09-11 Ulrich Drepper <drepper@gmail.com>
52662
83cd1420
UD
52663 * configure.in: Remove --with-tls option.
52664 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52665 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52666 out in case it is missing.
52667 * sysdeps/ia64/elf/configure.in: Likewise.
52668 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52669 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52670 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52671 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52672 * sysdeps/sh/elf/configure.in: Likewise.
52673 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52674 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52675 * sysdeps/x86_64/elf/configure.in: Likewise.
52676 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52677 * sysdeps/mach/hurd/tls.h: Likewise.
52678
633f745d
UD
52679 [BZ #13067]
52680 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52681
f318beb8
UD
52682 [BZ #13090]
52683 * configure.in: Fix use of AC_INIT.
52684
32b4c839
UD
52685 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52686
3ce1f295
UD
526872011-09-10 Ulrich Drepper <drepper@gmail.com>
52688
bb016596
UD
52689 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52690 __set_errno.
8e58439c
UD
52691 * malloc/hooks.c: Likewise.
52692
aebae053 52693 [BZ #11929]
02d46fc4
UD
52694 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52695 variables statically.
52696 (narenas): Initialize.
52697 (list_lock): Initialize.
bb016596
UD
52698 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52699 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52700 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52701 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52702 Add initializers to main_arena and mp_.
52703 (malloc_state): Remove pagesize member. Change all users to use
52704 GLRO(dl_pagesize).
52705
52706 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52707 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52708 is always initialized.
52709
22a89187
UD
52710 * malloc/malloc.c: Removed unused configurations and dead code.
52711 * malloc/arena.c: Likewise.
52712 * malloc/hooks.c: Likewise.
02d46fc4 52713 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52714
d063d164
UD
52715 * include/tls.h: Removed. USE___THREAD must always be defined.
52716 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52717 * elf/dl-libc.c: Likewise.
52718 * elf/dl-tsd.c: Likewise.
52719 * include/errno.h: Likewise.
52720 * include/netdb.h: Likewise.
52721 * include/resolv.h: Likewise.
52722 * inet/herrno-loc.c: Likewise.
52723 * inet/herrno.c: Likewise.
52724 * malloc/arena.c: Likewise.
52725 * malloc/hooks.c: Likewise.
52726 * malloc/malloc.c: Likewise.
52727 * resolv/res-state.c: Likewise.
52728 * resolv/res_libc.c: Likewise.
52729 * sysdeps/i386/dl-machine.h: Likewise.
52730 * sysdeps/ia64/dl-machine.h: Likewise.
52731 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52732 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52733 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52734 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52735 * sysdeps/sh/dl-machine.h: Likewise.
52736 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52737 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52738 * sysdeps/unix/i386/sysdep.S: Likewise.
52739 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52740 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52745 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52747 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52749 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52750 * sysdeps/x86_64/dl-machine.h: Likewise.
52751 * tls.make.c: Likewise.
52752
3ce1f295
UD
52753 * configure.in: Remove --with-__thread option. Make tests for
52754 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52755 tls_model attribute fail if no support is available. Remove
52756 USE_IN_LIBIO.
52757 * Makeconfig: Adjust for dropped configure option. All features are
52758 now mandatory.
52759 * Makerules: Likewise.
52760 * Versions.def: Likewise.
52761 * argp/argp-fmtstream.c: Likewise.
52762 * argp/argp-fmtstream.h: Likewise.
52763 * argp/argp-help.c: Likewise.
52764 * assert/assert.c: Likewise.
52765 * config.h.in: Likewise.
52766 * config.make.in: Likewise.
52767 * configure: Likewise.
52768 * configure.in: Likewise.
52769 * csu/Versions: Likewise.
52770 * csu/init.c: Likewise.
52771 * elf/tst-audit2.c: Likewise.
52772 * elf/tst-tls10.c: Likewise.
52773 * elf/tst-tls10.h: Likewise.
52774 * elf/tst-tls11.c: Likewise.
52775 * elf/tst-tls12.c: Likewise.
52776 * elf/tst-tls14.c: Likewise.
52777 * elf/tst-tlsmod11.c: Likewise.
52778 * elf/tst-tlsmod12.c: Likewise.
52779 * elf/tst-tlsmod13.c: Likewise.
52780 * elf/tst-tlsmod13a.c: Likewise.
52781 * elf/tst-tlsmod14a.c: Likewise.
52782 * elf/tst-tlsmod15b.c: Likewise.
52783 * elf/tst-tlsmod16a.c: Likewise.
52784 * elf/tst-tlsmod16b.c: Likewise.
52785 * elf/tst-tlsmod7.c: Likewise.
52786 * elf/tst-tlsmod8.c: Likewise.
52787 * elf/tst-tlsmod9.c: Likewise.
52788 * gmon/gmon.c: Likewise.
52789 * grp/fgetgrent_r.c: Likewise.
52790 * grp/putgrent.c: Likewise.
52791 * hurd/fopenport.c: Likewise.
52792 * include/libc-symbols.h: Likewise.
52793 * include/tls.h: Likewise.
52794 * intl/gettextP.h: Likewise.
52795 * intl/loadinfo.h: Likewise.
52796 * locale/global-locale.c: Likewise.
52797 * locale/localeinfo.h: Likewise.
52798 * mach/devstream.c: Likewise.
52799 * malloc/arena.c: Likewise.
52800 * malloc/set-freeres.c: Likewise.
52801 * misc/err.c: Likewise.
52802 * misc/getttyent.c: Likewise.
52803 * misc/mntent_r.c: Likewise.
52804 * posix/getopt.c: Likewise.
52805 * posix/wordexp.c: Likewise.
52806 * pwd/fgetpwent_r.c: Likewise.
52807 * resolv/Versions: Likewise.
52808 * resolv/res_hconf.c: Likewise.
52809 * shadow/fgetspent_r.c: Likewise.
52810 * shadow/putspent.c: Likewise.
52811 * stdio-common/printf_fphex.c: Likewise.
52812 * stdio-common/tmpfile.c: Likewise.
52813 * stdlib/abort.c: Likewise.
52814 * stdlib/fmtmsg.c: Likewise.
52815 * sunrpc/auth_unix.c: Likewise.
52816 * sunrpc/clnt_perr.c: Likewise.
52817 * sunrpc/clnt_tcp.c: Likewise.
52818 * sunrpc/clnt_udp.c: Likewise.
52819 * sunrpc/clnt_unix.c: Likewise.
52820 * sunrpc/openchild.c: Likewise.
52821 * sunrpc/svc_simple.c: Likewise.
52822 * sunrpc/svc_tcp.c: Likewise.
52823 * sunrpc/svc_udp.c: Likewise.
52824 * sunrpc/svc_unix.c: Likewise.
52825 * sunrpc/xdr.c: Likewise.
52826 * sunrpc/xdr_array.c: Likewise.
52827 * sunrpc/xdr_rec.c: Likewise.
52828 * sunrpc/xdr_ref.c: Likewise.
52829 * sunrpc/xdr_stdio.c: Likewise.
52830
1248c1c4
PB
528312011-09-09 Ulrich Drepper <drepper@gmail.com>
52832
52833 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52834
528352011-07-03 Andreas Jaeger <aj@suse.de>
52836
52837 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52838 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52839 regenerate with gen-libm-tests.pl.
52840
528412010-05-12 Petr Baudis <pasky@suse.cz>
52842
52843 [BZ #11589]
52844 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52845 around j0() zero points by switching to j1().
52846 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52847 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52848 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52849 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52850
f22e1074
UD
528512011-09-09 Ulrich Drepper <drepper@gmail.com>
52852
f19009c1
UD
52853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52854 instead of 0.
52855 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52856 instead of 0.
f19009c1
UD
52857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52858 Patch in part by Pavel Roskin <proski@gnu.org>.
52859
3f8cc204
UD
52860 [BZ #13138]
52861 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52862 realloc.
52863 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52864 Free memory block if necessary.
52865
f22e1074
UD
52866 [BZ #12847]
52867 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52868 be NULL. Don't lock in this case.
52869
0a2349f9
RM
528702011-09-09 Roland McGrath <roland@hack.frob.com>
52871
52872 * elf/elf.h (ELFOSABI_GNU): New macro.
52873 (ELFOSABI_LINUX): Define to that.
52874
f3cdd467
DZ
528752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52876
52877 * string/strncat.c (strncat): Undef the symbol in case it has been
52878 defined in bits/string.h.
52879
74718d13
UD
528802011-09-09 Ulrich Drepper <drepper@gmail.com>
52881
633e9e0f
UD
52882 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52883
0a2349f9 52884 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52885 link map.
52886
f9924780
AJ
528872011-08-17 Andreas Jaeger <aj@suse.de>
52888
52889 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52890
7f5517aa
PP
528912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52892 Ian Lance Taylor <iant@google.com>
52893
52894 * math/libm-test.inc (lround_test): New testcase.
52895 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52896
762011fe
UD
528972011-09-08 Ulrich Drepper <drepper@gmail.com>
52898
92963737
UD
52899 * Makefile: Remove support for automatic cvs check-ins.
52900 * Makerules: Likewise.
52901 * config.make.in: Likewise.
52902 * configure.in: Likewise.
52903 * intl/Makefile: Likewise.
52904 * locale/Makefile: Likewise.
52905 * po/Makefile: Likewise.
52906 * posix/Makefile: Likewise.
52907 * sysdeps/gnu/Makefile: Likewise.
52908 * sysdeps/mach/hurd/Makefile: Likewise.
52909 * sysdeps/sparc/sparc32/Makefile: Likewise.
52910
b0727fd8
JS
52911 [BZ #13118]
52912 * posix/Makefile (bug-regex32-ENV): Define.
52913 Patch by John Stanley <jpsinthemix@verizon.net>.
52914
a0f33f99
UD
52915 * misc/Makefile (headers): Add bits/select2.h.
52916 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52917 * misc/bits/select2.h: New file.
52918 * include/bits/select2.h: New file.
52919 * debug/Makefile (routines): Add fdelt_chk.
52920 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52921 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52922 FD_ISSET.
52923 * debug/fdelt_chk.c: New file.
52924
762011fe
UD
52925 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52926 * wcsmbs/test-wmemcmp.c: Likewise.
52927 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52928 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52929
529302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52931
52932 * string/Makefile (strop-tests): Add memcmp.
52933 * string/test-wmemcmp.c: New file.
52934 * string/test-memcmp.c: Add wmemcmp support.
52935
7f513ec8
RM
529362011-09-08 Roland McGrath <roland@hack.frob.com>
52937
0442afb4
RM
52938 [BZ #13153]
52939 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52940 2011-07-19 change.
52941
7f513ec8
RM
52942 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52943 garbage value in a __mach_port_mod_refs call in the cases of the
52944 task-self and thread-self ports.
52945
a12b2239
ST
529462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52947
52948 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52949
610f9ab4
AS
529502011-09-08 Andreas Schwab <schwab@redhat.com>
52951
7f513ec8 52952 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52953
48882a1a
LD
529542011-09-07 Ulrich Drepper <drepper@gmail.com>
52955
b49865be
UD
52956 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52957
fdc86bc9
UD
52958 * elf/dl-libc.c (dlerror_run): Pass back error code from
52959 dl_catch_error.
52960
c966526a
UD
52961 [BZ #13123]
52962 * elf/dl-load.c (lose): Free l_origin if it is valid.
52963
48882a1a
LD
52964 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52965 names.
52966 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52967 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52968 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52969 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52970 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52971 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52972
77a2a8b4
AZ
529732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52974
52975 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52976 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52977 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52978 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52979 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52980 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52981 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52982 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52983 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52984 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52985
24f579d8
AM
529862011-08-15 Alan Modra <amodra@gmail.com>
52987
52988 [BZ #13092]
52989 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52990 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52991 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52992 ppc_mcount to static-only-routines.
52993 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52994 __mcount_internal.
52995 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52996 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52997
3d4837df
UD
529982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52999
53000 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53001 for finite and infinity parameters.
53002
22700377
WS
530032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53004
53005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53006 and add nop instructions for throughput optimization.
53007 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53008
5025581e
WS
530092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53010
53011 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53012 aligned copy for power7 with vector-scalar instructions.
53013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53014
08a300c9
L
530152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53016
53017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53018 AVX check.
53019
59178ef9
AS
530202011-09-07 Andreas Schwab <schwab@redhat.com>
53021
53022 [BZ #13144]
53023 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53024 last change.
53025
e38ba7ab
UD
530262011-09-07 Ulrich Drepper <drepper@gmail.com>
53027
53028 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53029 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53030 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53031 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53032 clock_gettime.
53033
d53a73ac
UD
530342011-09-06 Ulrich Drepper <drepper@gmail.com>
53035
fc8bffcc
UD
53036 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53037 Forgot to demangle the pointer.
53038
ceaa0c5d
UD
53039 * sysdeps/i386/sysdep.h: Define atom_text_section.
53040 * sysdeps/x86_64/sysdep.h: Likewise.
53041 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53042 section with atom_text_section.
53043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53044 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53045 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53046 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53047 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53048
a77d3c17
UD
53049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53050 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53051 already be defined. Change to take two parameters and don't assign
53052 result to variable. Adjust all users.
53053 Define INTERNAL_GETTIME if not already defined.
53054 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53055 call.
53056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53057 HAVE_CLOCK_GETTIME_VSYSCALL.
53058 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53059
d53a73ac
UD
53060 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53061 gettimeofday vsyscall, just use time.
53062
a8f84144
AS
530632011-09-06 Andreas Schwab <schwab@redhat.com>
53064
53065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53066 <errno.h>.
53067
ef606249
UD
530682011-09-06 Ulrich Drepper <drepper@gmail.com>
53069
53070 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53071 syscall on x86-64.
53072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53073 syscall.
53074 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53076 syscall if possible.
53077
6585cb60
UD
530782011-09-05 Ulrich Drepper <drepper@gmail.com>
53079
53080 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53081 e_ident. Don't pass to find_mapsXX.
53082 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53083
a5f524e4
LD
530842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53085
53086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53087 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53088 * sysdeps/x86_64/multiarch/strchr.S: Update.
53089 Check bit_slow_BSF bit.
53090 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53091 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53092 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53093
554881ef
UD
530942011-09-05 Ulrich Drepper <drepper@gmail.com>
53095
d96de963
UD
53096 [BZ #13134]
53097 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53098 before glibc 2.15.
53099 (tryshell): Define.
53100 (__spawni): Change last parameter to be flag. Test
53101 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53102 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53103 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53104 * posix/spawni.c: Likewise.
53105 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53106 * posix/spawnp.c: Likewise. Change normal version to use
53107 SPAWN_XFLAGS_USE_PATH.
53108 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53109 SPAWN_XFLAGS_TRY_SHELL.
53110
d48e5868
UD
53111 [BZ #13150]
53112 * posix/glob.h: Remove gcc 1.x support.
53113
554881ef
UD
53114 [BZ #13068]
53115 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53116
693fb948
LD
531172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53118
53119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53120 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53121 strrchr-sse2-bsf
53122 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53123 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53124 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53125 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53127 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53128
1b48c537
UD
531292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53130
49d42c37
UD
53131 * sysdeps/x86_64/wcscmp.S: New file.
53132
1b48c537
UD
53133 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53134 wcscmp-c wcscmp-sse2
53135 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53136 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53137 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53138 * wcsmbs/wcscmp.c: Allow renaming.
53139
15c95c5d
DM
531402011-09-05 David S. Miller <davem@davemloft.net>
53141
53142 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53143 stack slot, rather than the struct return pointer slot.
53144 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53145 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53147 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53148
2f0ad8f3
UD
531492011-09-05 Ulrich Drepper <drepper@gmail.com>
53150
d88ae418
UD
53151 * po/ja.po: Update from translation team.
53152
2f0ad8f3
UD
53153 [BZ #13144]
53154 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53155 kernel in 64-bit binaries.
53156
5f4318d1
DM
531572011-09-01 David S. Miller <davem@davemloft.net>
53158
53159 * elf/elf.h (HWCAP_SPARC_*): Move to..
53160 * sysdeps/sparc/sysdep.h: this new file and add new values.
53161 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53162 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53163 _DL_HWCAP_COUNT to 24.
53164 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53165 entries.
53166 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53167 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53168 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53169 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53170 instead of magic constants.
53171 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53172
3ba57516
DM
531732011-08-31 David S. Miller <davem@davemloft.net>
53174
53175 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53177 Reimplement to do errno handling inline.
53178 (SYSCALL_ERROR_HANDLER): New macro.
53179 (__SYSCALL_STRING): Do not do errno handling in asm.
53180 (__CLONE_SYSCALL_STRING): Delete.
53181 (__INTERNAL_SYSCALL_STRING): Delete.
53182 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53183 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53184 (PSEUDO): Reimplement to do errno handling inline.
53185 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53186 (SYSCALL_ERROR_HANDLER): New macro.
53187 (__SYSCALL_STRING): Do not do errno handling in asm.
53188 (__CLONE_SYSCALL_STRING): Delete.
53189 (__INTERNAL_SYSCALL_STRING): Delete.
53190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53191 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53192 i386.
53193 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53194 (inline_syscall*): Add 'err' argument.
53195 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53196 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53197 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53198 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53199
53200 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53201 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53202
2bc17433
AS
532032011-08-30 Andreas Schwab <schwab@redhat.com>
53204
53205 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53206
fbeb5f4d
JO
532072011-08-29 Jiri Olsa <jolsa@redhat.com>
53208
53209 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53210 directive.
53211
ad69cc26
DM
532122011-08-24 David S. Miller <davem@davemloft.net>
53213
53214 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53215
39dd69df
AS
532162011-08-24 Andreas Schwab <schwab@redhat.com>
53217
53218 * elf/Makefile: Add rules to build and run unload8 test.
53219 * elf/unload8.c: New file.
53220 * elf/unload8mod1.c: New file.
53221 * elf/unload8mod1x.c: New file.
53222 * elf/unload8mod2.c: New file.
53223 * elf/unload8mod3.c: New file.
53224
53225 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53226 it wasn't used.
53227
2c0b250a
DM
532282011-08-23 David S. Miller <davem@davemloft.net>
53229
53230 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53231 subtract stack bias.
53232 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53233 %sp not %fp in calculations.
53234 (_JMPBUF_UNWINDS_ADJ): Likewise.
53235
22044b48
DM
53236 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53237 (aio_suspend): Call it to force an exception region around the
53238 AIO_MISC_WAIT() invocation.
53239
2cae4995
AS
532402011-08-23 Andreas Schwab <schwab@redhat.com>
53241
53242 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53243 backslash.
53244
873a772e
AJ
532452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53246
53247 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53248 protection macro.
53249 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53250 and <dl-machine.h>.
53251 (Elf64_FuncDesc): Remove.
53252
25ad0df1
DM
532532011-08-22 David S. Miller <davem@davemloft.net>
53254
53255 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53256 sigaltstack check, add missing cfi directives.
53257 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53258 missing cfi directives, and sigaltstack handling.
53259
e888bcbe
AS
532602011-08-16 Andreas Schwab <schwab@redhat.com>
53261
53262 [BZ #11724]
53263 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53264 object is seen twice.
53265 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53266
53267 * elf/Makefile (distribute): Add tst-initorder2.c.
53268 (tests): Add tst-initorder2.
53269 (modules-names): Add tst-initorder2a tst-initorder2b
53270 tst-initorder2c tst-initorder2d. Add rules to build them.
53271 ($(objpfx)tst-initorder2.out): New rule.
53272 * elf/tst-initorder2.c: New file.
53273 * elf/tst-initorder2.exp: New file.
53274
87162f46
AS
532752011-08-22 Andreas Schwab <schwab@redhat.com>
53276
70538b7f
AS
53277 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53278
f55ffe58
AS
53279 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53280 dependencies back to end of function.
53281
87162f46
AS
53282 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53283 $(elfobjdir)/ld.so.
53284
91b392a4
UD
532852011-08-21 Ulrich Drepper <drepper@gmail.com>
53286
53287 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53288 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53289 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53290 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53291 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53292 of __vdso_gettimeofday.
53293 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53294 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53295 attribute_hidden.
53296 (_libc_vdso_platform_setup): Remove initialization of
53297 __vdso_gettimeofday and __vdso_time.
53298
5c43483f
UD
532992011-08-20 Ulrich Drepper <drepper@gmail.com>
53300
775a77e7
UD
53301 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53302 and fgetc_unlocked.
53303 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53304 getc_unlocked.
89f447ed 53305
49c74ba9
UD
53306 * elf/dl-open.c (add_to_global): Report additions to the global scope
53307 for LD_DEBUG=scopes.
53308 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53309 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53310
5c43483f
UD
53311 [BZ #13114]
53312 * stdio-common/Makefile (tests): Add bug24.
53313 * stdio-common/bug24.c: New file.
53314
a101b025
AJ
533152011-08-19 Andreas Jaeger <aj@suse.de>
53316
53317 [BZ #13114]
53318 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53319 non-existant file when using close-on-exec mode.
53320
c88f1766
UD
533212011-08-20 Ulrich Drepper <drepper@gmail.com>
53322
0276a718
UD
53323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53324 the very first instruction.
53325
c88f1766
UD
53326 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53327 the CFI state in the end.
53328 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53329 inclusion of dl-trampoline.h.
53330 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53331
51ccffa0
AS
533322011-08-19 Andreas Schwab <schwab@redhat.com>
53333
94d7165f
AS
53334 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53335 expectations for long double.
53336
51ccffa0
AS
53337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53338 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53339
fd708658 533402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53341
53342 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53343 artificual limit depends upon the system page size.
53344
44f0a71e
UD
533452011-08-17 Ulrich Drepper <drepper@gmail.com>
53346
53347 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53348 * resolv/Makefile: Define CFLAGS-libresolv.
53349
8de79a24
AS
533502011-08-17 Andreas Schwab <schwab@redhat.com>
53351
53352 * nss/makedb.c (compute_tables): Make variables used in nested
53353 function static.
53354
27724598
UD
533552011-08-17 Ulrich Drepper <drepper@gmail.com>
53356
c5305d88
UD
53357 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53358 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53359 if buffer was too small.
53360
27724598
UD
53361 * elf/pldd.c (main): Attach to all threads in the process.
53362 Rewrite /proc handling to use *at functions.
53363
076fe015
UD
533642011-08-16 Ulrich Drepper <drepper@gmail.com>
53365
174baab3
UD
53366 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53367 specifies first scope to show.
53368 (dl_open_worker): Update callers. Move printing scope of new
53369 object to before the relocation.
44f0a71e 53370 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53371 * sysdeps/generic/ldsodefs.h: Update declaration.
53372
076fe015
UD
53373 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53374 string for the scope number.
53375
a60df2c3
UD
533762011-08-14 Ulrich Drepper <drepper@gmail.com>
53377
53378 * nscd/servicescache.c (cache_addserv): Make sure written is always
53379 initialized.
53380
5e4287d1
RM
533812011-08-14 Roland McGrath <roland@hack.frob.com>
53382
85ae0589
RM
53383 * sysdeps/i386/i486/bits/atomic.h
53384 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53385 statement expression, so as to suppress "set but not used" warning.
53386 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53387
69f63097
RM
53388 * string/strncat.c (STRNCAT): Use prototype definition.
53389
675456ef
RM
53390 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53391 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53392 -Iprograms here.
53393 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53394 (localedef-modules): Add localedef.
53395 (locale-modules): Add locale.
53396
5e4287d1
RM
53397 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53398 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53399 to avoid a warning.
53400
9c96ff23
DM
534012011-08-14 David S. Miller <davem@davemloft.net>
53402
53403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53404 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53405
f9ddf089
UD
534062011-08-13 Ulrich Drepper <drepper@gmail.com>
53407
44f0a71e 53408 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53409 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53410 * elf/rtld.c (dl_main): Set l_name of vDSO.
53411 Call _dl_show_scope when DL_DEBUG_SCOPES.
53412 (process_dl_debug): Recognize scopes flag and also set it for all.
53413 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53414 Declare _dl_show_scope.
53415
1dc27704
UD
53416 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53417 (do_dlopen): Pass caller_dlopen to dl_open.
53418 (__libc_dlopen_mode): Initialize caller_dlopen.
53419
f9ddf089
UD
53420 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53421 of libc. Make tolower call locale-independent. Optimize a bit by
53422 using isdigit instead of isalnum.
53423 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53424
9ac533d3
UD
534252011-08-12 Ulrich Drepper <drepper@gmail.com>
53426
53427 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53428 was a dependency or dynamically loaded.
53429
89edf2e9
UD
534302011-08-11 Ulrich Drepper <drepper@gmail.com>
53431
8e999d29
UD
53432 * intl/l10nflist.c: Allow architecture-specific pop function.
53433 * sysdeps/x86_64/l10nflist.c: New file.
53434
89edf2e9
UD
53435 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53436 classification.
53437
14d96785
AS
534382011-08-10 Andreas Schwab <schwab@redhat.com>
53439
53440 * include/dirent.h: Add libc_hidden_proto for scandirat and
53441 scandirat64. Don't declare __scandirat64.
53442 * dirent/scandirat.c: Add libc_hidden_def.
53443 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53444 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53445
6761ac04
DM
534462011-08-10 David S. Miller <davem@davemloft.net>
53447
53448 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53449 enum.
53450 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53452 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53453
c55fbd1e
UD
534542011-08-09 Ulrich Drepper <drepper@gmail.com>
53455
53456 * Versions.def [libc]: Add GLIBC_2.15.
53457 * dirent/Makefile (routines): Add scandirat and scandirat64.
53458 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53459 GLIBC_2.15.
53460 * dirent/dirent.h: Declare scandirat and scandirat64.
53461 * dirent/scandirat.c: New file.
53462 * dirent/scandirat64.c: New file.
53463 * sysdeps/wordsize-64/scandirat.c: New file.
53464 * sysdeps/wordsize-64/scandirat64.c: New file.
53465 * dirent/opendir.c: Define opendirat.
53466 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53467 using scandirat.
53468 * dirent/scandir64.c: Adjust for scandir.c change.
53469 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53470 __scandirat64, and __scandir_cancel_handler.
53471 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53472 additional parameter and use openat instead of open (outside of ld.so).
53473 Add new __opendir as wrapper around __opendirat.
53474 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53475 here without requiring old scandirat implementation.
53476
879165f2
UD
534772011-08-08 Ulrich Drepper <drepper@gmail.com>
53478
53479 * dirent/scandir.c (cancel_handler): Renamed to
53480 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53481 defined. Adjust users.
53482 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53483 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53484
cb7e923b
UD
534852011-08-04 Ulrich Drepper <drepper@gmail.com>
53486
16292edd
UD
53487 * string/test-string.h (IMPL): Use __STRING to expand name and then
53488 stringify it.
53489
cb7e923b
UD
53490 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53491 of cleanups.
53492
cff82933
LD
534932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53494
53495 * string/Makefile: Update.
53496 (strop-tests): Append strncat.
53497 * string/test-wcscmp.c: New file.
53498 New comprehensive test for wcscmp.
53499 * string/test-strcmp.c: Update.
53500 (WIDE): New define.
53501
9be9bfcc
AS
535022011-07-22 Andreas Schwab <schwab@redhat.com>
53503
53504 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53505 line.
53506
2e96f1c7
AS
535072011-07-26 Andreas Schwab <schwab@redhat.com>
53508
53509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53510 encoding to ACE if AI_IDN.
53511
85188888
JJ
535122011-08-01 Jakub Jelinek <jakub@redhat.com>
53513
53514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53515 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53516
5fa16e9b
LD
535172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53518
53519 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53520 Fix overflow bug in strncat.
53521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53522
53523 * string/test-strncat.c: Update.
53524 Add new tests for checking overflow bugs.
53525
535262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53527
53528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53529 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53530 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53531 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53533 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53534 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53535 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53536 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53537
53538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53539 (USE_AS_STRCAT): Define.
53540 Add strcat and strncat support.
53541 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53542
8c1a459f
AS
535432011-07-25 Andreas Schwab <schwab@redhat.com>
53544
53545 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53546 __n bigger than INT_MAX+1.
53547 (__strncmp_g): Likewise.
53548
bba33c28
UD
535492011-07-23 Ulrich Drepper <drepper@gmail.com>
53550
798be72d
UD
53551 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53552 * libio/stido.h: Likewise.
53553
8accd4dc
UD
53554 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53555 (AF_NFC): Define.
53556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53557 (AF_NFC): Define.
53558
cbff0d96
UD
53559 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53560 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53561 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53564
9191c04a
UD
53565 [BZ #13021]
53566 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53567 installed.
53568
bba33c28
UD
53569 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53570 typo.
53571 (_dl_x86_64_save_sse): Likewise.
53572
90f139dd
UD
535732011-07-22 Ulrich Drepper <drepper@gmail.com>
53574
1aae088a
UD
53575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53576 OSXSAVE.
53577 (_dl_x86_64_save_sse): Likewise.
53578
8e2045f5
UD
53579 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53580
90f139dd
UD
53581 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53582
1d002f25
AS
535832011-07-21 Andreas Schwab <schwab@redhat.com>
53584
53585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53586 change.
53587 (_dl_x86_64_save_sse): Use correct AVX check.
53588
21137f89
UD
535892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53590
53591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53592 bug in strncpy/strncat.
53593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53594
a65c0b7a
UD
535952011-07-21 Ulrich Drepper <drepper@gmail.com>
53596
53597 * string/tester.c (test_strcat): Add tests for different alignments
53598 of source and destination.
53599 (test_strncat): Likewise.
53600
6986b98a
UD
536012011-07-20 Ulrich Drepper <drepper@gmail.com>
53602
90bb2039
UD
53603 [BZ #12852]
53604 * posix/glob.c (glob): Check passed in values before using them in
53605 expressions to avoid some overflows.
53606 (glob_in_dir): Likewise.
53607
5644ef54
UD
53608 [BZ #13007]
53609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53610 check for AVX enablement so that we don't crash with old kernels and
53611 new hardware.
53612 * elf/tst-audit4.c: Add same checks here.
53613 * elf/tst-audit6.c: Likewise.
53614
53615 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53616
bfc9dc9b
AS
536172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53618
53619 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53620
702e64bb
UD
536212011-07-20 Ulrich Drepper <drepper@gmail.com>
53622
53623 * po/cs.po: Update from translation team.
53624 * po/bg.po: Likewise.
53625
295e904f
MP
536262011-07-12 Marek Polacek <mpolacek@redhat.com>
53627
53628 * misc/sys/cdefs.h: Add support for const attribute.
53629 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53630 to gnu_dev_{major,minor,makedev} functions.
53631
3ff94596
MP
536322011-07-20 Marek Polacek <mpolacek@redhat.com>
53633
53634 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53635
28b59fca
AS
536362011-07-20 Andreas Schwab <schwab@redhat.com>
53637
53638 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53639 strlen results.
53640
19df733e
AK
536412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53642
53643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53644 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53645 register in order to avoid conflicts with the soft frame pointer
53646 being held in r11 when necessary.
53647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53648 (INTERNAL_VSYSCALL_NCS): Likewise.
53649
c8835729
MP
536502011-07-14 Marek Polacek <mpolacek@redhat.com>
53651
53652 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53653 * elf/dl-fini.c (_dl_fini): Adjust caller.
53654 * elf/dl-close.c (_dl_close_worker): Likewise.
53655 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53656
b902330c
MP
536572011-07-15 Marek Polacek <mpolacek@redhat.com>
53658
8991e135
MP
53659 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53660 "aux_cache->nlibs < 0".
53661
b902330c
MP
53662 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53663 in the reload-count case.
53664
99710781
LD
536652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53666
53667 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53668 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53669 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53670 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53671 * sysdeps/x86_64/multiarch/strcat.S: New file.
53672 * sysdeps/x86_64/multiarch/strncat.S: New file.
53673 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53674 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53675 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53676 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53677 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53678 (USE_AS_STRCAT): Define.
53679 Add strcat and strncat support.
53680 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53681 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53682 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53683 * string/strncat.c: Update.
53684 (USE_AS_STRNCAT): Define.
53685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53686 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53687 and i7.
53688 * sysdeps/x86_64/multiarch/init-arch.h
53689 (bit_Prefer_PMINUB_for_stringop): New.
53690 (index_Prefer_PMINUB_for_stringop): Likewise.
53691 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53692 bit_Prefer_PMINUB_for_stringop.
53693
7dc6bd90
UD
536942011-07-19 Ulrich Drepper <drepper@gmail.com>
53695
53696 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53697 buffer64.
53698 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53699 of casting of buffer.
53700 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53701 buffer32 and buffer64.
53702 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53703 writes instead of casting of buffer.
53704 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53705 buffer32.
53706 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53707 casting of buffer.
53708
e0e72284
AS
537092011-07-19 Andreas Schwab <schwab@redhat.com>
53710
53711 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53712
feb1eb0b
UD
537132011-07-19 Ulrich Drepper <drepper@gmail.com>
53714
53715 * nscd/nscd.c (termination_handler): Don't do anything for a database
53716 if it has not yet been initialized.
53717
298711ff
UD
537182011-07-18 Ulrich Drepper <drepper@gmail.com>
53719
53720 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53721
537222011-07-15 Marek Polacek <mpolacek@redhat.com>
53723
53724 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53725
f9d68389
UD
537262011-07-18 Ulrich Drepper <drepper@gmail.com>
53727
53728 * po/nl.po: Update from translation team.
53729 * po/sv.po: Likewise.
53730
db290cf5
RM
537312011-07-16 Roland McGrath <roland@hack.frob.com>
53732
53733 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53734 now disallowed by GCC.
5c550700 53735
fd5e21c7
RM
53736 * configure.in (use-default-link): Default to yes if a test -shared
53737 link meets our qualifications.
53738 * configure: Regenerated.
53739
5c550700
RM
53740 * config.make.in (output-format): New variable.
53741 * configure.in: Check for ld --print-output-format support.
53742 * configure: Regenerated.
53743 * Makerules ($(common-objpfx)format.lds)
53744 [$(output-format) != unknown]: Just use $(output-format),
53745 instead of the linker-script munging.
53746
9fa2c032
RM
537472011-07-14 Roland McGrath <roland@hack.frob.com>
53748
a6928d51
RM
53749 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53750 of $(common-objpfx)shlib.lds.
53751 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53752
661607b3
RM
53753 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53754 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53755
9fa2c032
RM
53756 * configure.in (-z relro check): Adjust test code to add a large
53757 writable data section after it.
53758 * configure: Regenerated.
53759
defe9061
RM
537602011-07-11 Roland McGrath <roland@hack.frob.com>
53761
53762 * configure.in (-z relro check): Fix test code to make the variable
53763 truly const.
53764 * configure: Regenerated.
53765
319b9ad4
UD
537662011-07-11 Ulrich Drepper <drepper@gmail.com>
53767
53768 * nscd/nscd.h (struct traced_file): Define.
53769 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53770 elements. Add traced_files.
53771 (inotify_fd): Declare.
53772 (register_traced_file): Declare.
53773 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53774 (inotify_fd): Export.
53775 (resolv_conf_descr): Remove.
53776 (nscd_init): Move inotify descriptor creation to main.
53777 Don't register files for notification here.
53778 (register_traced_file): New function.
53779 (invalidate_cache): Don't use reset_res to determine whether to call
53780 res_init, go through the list of registered files.
53781 (main_loop_poll): The inotify descriptors are now stored in the
53782 structures for the traced files.
53783 (main_loop_epoll): Likewise
53784 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53785 to __nss_disable_nscd.
53786 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53787 for a database anymore. Check the records for all the registered
53788 files instead.
53789 * nss/Makefile (libnss_files-routines): Add files-init.
53790 (libnss_db-routines): Add db-init.
53791 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53792 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53793 * nss/nss_db/db-init.c: New file.
53794 * nss/nss_files/files-init.c: New file.
53795 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53796 __nss_lookup_function.
53797 (__nss_lookup_function): Call nss_load_library.
53798 (nss_load_all_libraries): New function.
53799 (__nss_disable_nscd): Take parameter with callback function for files
53800 to register. Set is_nscd. Load all the DSOs for the NSS modules
53801 used for the cached services.
53802 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53803 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53804 options for features to all the files in nscd.
53805
53806 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53807
23bee3e8
RM
538082011-07-10 Roland McGrath <roland@hack.frob.com>
53809
53810 * csu/elf-init.c (__libc_csu_init): Comment typo.
53811
46a5b7f0
UD
538122011-07-09 Ulrich Drepper <drepper@gmail.com>
53813
53814 * po/pl.po: Update from translation team.
53815 * po/ja.po: Likewise.
53816 * po/ru.po: Likewise.
53817 * po/ko.po: Likewise.
53818 * po/fr.po: Likewise.
53819
d30cf5bb
RM
538202011-07-09 Roland McGrath <roland@hack.frob.com>
53821
113ddea4
RM
53822 * configure.in (.ctors/.dtors header and trailer check):
53823 Use an empirical test on a built program.
53824 * configure: Regenerated.
53825
574920b4
RM
53826 * configure.in (-z relro check): Use an empirical test on a built DSO.
53827 Detect, but do not require, on ia64.
53828 * configure: Regenerated.
53829
d30cf5bb
RM
53830 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53831 Update tests that use readelf to use $READELF instead.
53832 * configure: Regenerated.
53833
8538fdb3
UD
538342011-07-08 Ulrich Drepper <drepper@gmail.com>
53835
53836 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53837 if the result is not used.
53838
04d08991
AJ
538392011-07-05 Andreas Jaeger <aj@suse.de>
53840
53841 [BZ#9696]
53842 * stdlib/tst-strtod.c: Add testcase.
53843
de283087
AD
538442011-07-07 Ulrich Drepper <drepper@gmail.com>
53845
4e5f31c8 53846 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53847 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53848 The latter has a higher limit. Take additional parameter to pass to
53849 the new function.
53850 (__pathconf): Pass file to __statfs_link_max.
53851 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53852 __statfs_link_max.
53853 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53854 __statfs_link_max.
53855
de283087
AD
53856 [BZ #12868]
53857 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53858 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53859 Handle Lustre.
53860 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53861 (__statfs_filesize_max): Likewise.
53862 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53863
c75fa153
AJ
538642011-07-05 Andreas Jaeger <aj@suse.de>
53865
53866 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53867
1a544854
UD
538682011-07-06 Marek Polacek <mpolacek@redhat.com>
53869
53870 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53871 `status' variable.
53872 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53873 Likewise.
53874
6f0eec67
UD
538752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53876
53877 * Makefile (strop-tests): Add strncat.
53878 * string/test-strncat.c: New file.
53879
aae30307
UD
538802011-06-30 Marek Polacek <mpolacek@redhat.com>
53881
53882 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53883
c0cfb5eb
UD
538842011-06-21 Andreas Jaeger <aj@suse.de>
53885
53886 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53887 Copy rule from iconvdata/Makefile.
53888
01636b21
UD
538892011-07-06 Ulrich Drepper <drepper@gmail.com>
53890
53891 [BZ #12922]
53892 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53893 but no long options are defined, just return 'W'.
53894
9895c8bc
UD
538952011-06-22 Marek Polacek <mpolacek@redhat.com>
53896
53897 [BZ #9696]
53898 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53899
5d4cf042
UD
539002011-07-06 Ulrich Drepper <drepper@gmail.com>
53901
53902 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53903 netgroups to read.
960e5535 53904 (innetgr): Likewise.
5d4cf042 53905
751eb97e
RM
539062011-07-05 Roland McGrath <roland@hack.frob.com>
53907
53908 * config.make.in (install_root): Default to $(DESTDIR).
53909
f15f1e45
UD
539102011-07-05 Ulrich Drepper <drepper@gmail.com>
53911
53912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53913
4e34ac6a
RM
539142011-07-02 Roland McGrath <roland@hack.frob.com>
53915
5e9b6af4
RM
53916 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53917
84f9ea0f
RM
53918 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53919 containing directory rather than embedding absolute directory names.
53920
ea5ee9f7
RM
53921 * scripts/check-local-headers.sh: Rewritten using awk.
53922 Match by word, not by line. Print error messages for matches.
53923 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53924
1b74661a
RM
53925 * Makerules [shlib-lds-flags empty]:
53926 ($(common-objpfx)libc_pic.opts): New target.
53927 ($(common-objpfx)libc_pic.os.clean): New target.
53928 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53929
53930 * config.make.in (OBJCOPY): New variable.
53931 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53932 * configure: Regenerated.
53933
f781ef40
RM
53934 * config.make.in (use-default-link): New variable.
53935 * configure.in (use_default_link): Grok --with-default-link to set it.
53936 * configure: Regenerated.
53937 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53938 (shlib-lds, shlib-lds-flags): Define to empty.
53939
2d4fa81e
RM
53940 * Makerules (shlib-lds): New variable.
53941 (shlib-lds-flags): New variable.
53942 (build-shlib, build-moduile, build-module-asneeded): Use it.
53943 ($(common-objpfx)libc.so): Use $(shlib-lds).
53944 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53945 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53946
31fffa6b
RM
53947 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53948 DT_FLAGS/DT_FLAGS_1 with zero flags.
53949
4e34ac6a
RM
53950 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53951 linker script munging.
53952
fcfc776b
UD
539532011-07-02 Ulrich Drepper <drepper@gmail.com>
53954
53955 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53956 as 128-bit value.
53957 * crypt/sha512.c (sha512_process_block): Perform total addition using
53958 128-bit if possible.
53959 (__sha512_finish_ctx): Likewise.
53960 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53961 as 64-bit value.
53962 * crypt/sha256.c (SWAP64): Define.
53963 (sha256_process_block): Perform total addition using 64-bit if
53964 possible.
53965 (__sha256_finish_ctx): Likewise.
53966
99231d9a
UD
539672011-07-01 Ulrich Drepper <drepper@gmail.com>
53968
53969 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53971 * nscd/hstcache.c (cache_addhst): Likewise.
53972 * nscd/grpcache.c (cache_addgr): Likewise.
53973 * nscd/aicache.c (addhstaiX): Likewise
53974 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53975
445b4a53
TK
539762011-07-01 Thorsten Kukuk <kukuk@suse.de>
53977
53978 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53980 * nscd/hstcache.c (cache_addhst): Likewise.
53981 * nscd/grpcache.c (cache_addgr): Likewise.
53982 * nscd/aicache.c (addhstaiX): Likewise
53983
6d4d8e8e
AS
539842011-07-01 Andreas Schwab <schwab@redhat.com>
53985
53986 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53987 domain only when needed.
53988
89f654c5
AS
539892011-06-30 Andreas Schwab <schwab@redhat.com>
53990
53991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53992 is always restored.
53993
cf3b23ff
UD
539942011-06-29 Ulrich Drepper <drepper@gmail.com>
53995
53996 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53997 are re-adding the entry.
53998 * nscd/servicescache.c (cache_addserv): Likewise.
53999
751626f9
AJ
540002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54001
54002 * sysdeps/generic/dl-irel.h: fix protection against multiple
54003 inclusions.
54004 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54005
9113ea1f
UD
540062011-06-28 Ulrich Drepper <drepper@gmail.com>
54007
5c0b8d90
UD
54008 [BZ #12935]
54009 * malloc/memusage.sh: Fix quoting in message.
54010 * debug/xtrace.sh: Likewise.
54011
9113ea1f
UD
54012 * configure.in: Remove support for --experimental-malloc option, make
54013 it the default.
54014 * config.make.in: Likewise.
54015 * malloc/Makefile: Likewise.
54016
a4172181
AS
540172011-06-27 Andreas Schwab <schwab@redhat.com>
54018
54019 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54020 two-byte characters.
54021
78a7eee7
RM
540222011-06-27 Roland McGrath <roland@hack.frob.com>
54023
62bede13
RM
54024 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54025 AC_CACHE_CHECK invocation.
54026 * configure: Regenerated.
54027
78a7eee7
RM
54028 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54029
5ce33a62
UD
540302011-06-27 Ulrich Drepper <drepper@gmail.com>
54031
034807a9
UD
54032 [BZ #12350]
54033 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54034 bit from old_res_options.
54035
4902da17
UD
54036 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54037
5ce33a62
UD
54038 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54039 value type for setfct.
54040
c2344f56
L
540412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54042
54043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54044 __gettimeofday instead of gettimeofday.
54045
68468076
UD
540462011-06-26 Ulrich Drepper <drepper@gmail.com>
54047
54048 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54049
acb0d739
L
540502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54051
54052 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54053
54054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54055 info.
54056
8912479f
L
540572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54058
54059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54060 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54061 strcpy-sse2-unaligned strncpy-sse2-unaligned
54062 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54063 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54064 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54065 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54066 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54067 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54069 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54070 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54071 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54072 (STRCPY): Support SSE2 and SSSE3 versions.
54073
d5495a11
UD
540742011-06-24 Ulrich Drepper <drepper@gmail.com>
54075
54076 [BZ #12874]
54077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54078 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54079 kernels which artificially limit size of requests.
54080
0b1cbaae
L
540812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54082
54083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54084 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54085 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54086 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54087 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54088 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54089 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54090 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54092 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54093 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54094 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54095 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54096 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54097 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54099 Enable unaligned load optimization for Intel Core i3, i5 and i7
54100 processors.
54101 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54102 Define.
54103 (index_Fast_Unaligned_Load): Define.
54104 (HAS_FAST_UNALIGNED_LOAD): Define.
54105
07f494a0
MP
541062011-06-23 Marek Polacek <mpolacek@redhat.com>
54107
54108 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54109
fa3fc0fe
UD
541102011-06-22 Ulrich Drepper <drepper@gmail.com>
54111
54112 [BZ #12907]
54113 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54114 until it is clear that the information is realy needed.
54115 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54116
e12df166
AS
541172011-06-22 Andreas Schwab <schwab@redhat.com>
54118
54119 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54120
852eb34d
UD
541212011-06-22 Ulrich Drepper <drepper@gmail.com>
54122
84e2a551
UD
54123 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54124 /sys/devices/system/cpu/online if it is usable.
54125
852eb34d
UD
54126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54127 reading the information from the /proc filesystem to once a second.
54128
6e502e19
UD
541292011-06-21 Andreas Jaeger <aj@suse.de>
54130
54131 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54132 NULL after inclusion of kernel headers.
54133
75d39ff2
UD
541342011-06-21 Ulrich Drepper <drepper@gmail.com>
54135
51f9aa6a
UD
54136 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54137 calls to internal_setent.
54138
c0244a9d
UD
54139 [BZ #12885]
54140 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54141 addresses using gethostbyname4_r ignore IPv4 addresses.
54142
c5e3c2ae
UD
54143 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54144 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54145
75d39ff2
UD
54146 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54147
42675c6f
DM
541482011-06-20 David S. Miller <davem@davemloft.net>
54149
54150 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54151 inclusions.
54152 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54153
54154 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54155 (elf_irel): Use it.
54156 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54157 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54158 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54159 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54160 * sysdeps/x86_64/dl-irel.h: Likewise.
54161
54162 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54163 * elf/dl-sym.c: Likewise.
54164
57912a71
UD
541652011-06-15 Ulrich Drepper <drepper@gmail.com>
54166
54167 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54168 need to dereference resplen2.
54169
ee22793d
AS
541702011-06-14 Andreas Schwab <schwab@redhat.com>
54171
54172 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54173
a9e836b0
UD
541742011-06-15 Ulrich Drepper <drepper@gmail.com>
54175
77fb9117
UD
54176 * Makeconfig: Define vardbdir and inst_vardbdir.
54177 * nss/Makefile: Add rules to install db-Makefile.
54178
40c1b22c
UD
54179 * nss/nss_db/db-XXX.c: Cleanup.
54180
9f2da732
UD
54181 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54182 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54183 GLIBC_PRIVATE.
54184 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54185 * nss/makedb.c: Implement -g option to specify that value strings
54186 are generated and should not be added to table iterated over for
54187 get*ent calls.
54188 * nss/nss_db/db-initgroups.c: New file.
54189
82e9a1f7
UD
54190 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54191 interface.
54192
c41af17e
UD
54193 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54194 (internal_getgrouplist): Adjust to name change.
54195 Update use_initgroups_entry if this is not the first call.
54196 * nss/databases.def: Add initgroups entry.
54197
a9e836b0
UD
54198 * nss/makedb.c (compute_tables): Check result of multiple hash table
54199 sizes to minimize maximum chain length.
54200
2666d441
UD
542012011-06-14 Ulrich Drepper <drepper@gmail.com>
54202
54203 * Versions.def: Add entry for libnss_db.
54204 * shlib-versions: Likewise.
54205 * nss/Makefile: Add rules to build libnss_db.
54206 * nss/Versions: Add libnss_db information. Organize libnss_files
54207 entries better.
54208 * nss/db-Makefile: Add gshadow support. Change rules for the new
54209 makedb progra. Some minor improvements to generate smaller files.
54210 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54211 here from...
54212 * nss/makedb.c: ...here.
54213 Improve database format to be smaller and require less memory at
54214 runtime.
54215 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54216 db anymore.
54217 * nss/nss_db/db-netgrp.c: Likewise.
54218 * nss/nss_db/db-open.c: Likewise.
54219 * nss/nss_files/flies-XXX.x: Adjust comments.
54220 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54221 * nss/nss_files/files-grp.c: Likewise.
54222 * nss/nss_files/files-hosts.c: Likewise.
54223 * nss/nss_files/files-network.c: Likewise.
54224 * nss/nss_files/files-proto.c: Likewise.
54225 * nss/nss_files/files-pwd.c: Likewise.
54226 * nss/nss_files/files-rpc.c: Likewise.
54227 * nss/nss_files/files-service.c: Likewise.
54228 * nss/nss_files/files-sgrp.c: Likewise.
54229 * nss/nss_files/files-spwd.c: Likewise.
54230 * nss/nss_db/db-alias.c: Removed.
54231 * nss/nss_db/dummy-db.h: Removed.
54232
9ee76b5a
UD
542332011-06-02 Ulrich Drepper <drepper@gmail.com>
54234
54235 * nss/makedb.c: Rewritten to not use database library.
54236 * nss/Makefile: Update to build new makedb program.
54237
c71ca1f8
AJ
542382011-06-14 Andreas Jaeger <aj@suse.de>
54239
54240 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54241 memset declaration.
54242
3154bfb8
UD
542432011-06-10 Andreas Schwab <schwab@redhat.com>
54244
54245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54246 tmpbuf.
54247
b350afab
RM
542482011-06-10 Roland McGrath <roland@hack.frob.com>
54249
decd4e50
RM
54250 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54251 * elf/Makefile ($(objpfx)ld.so): Likewise.
54252
5615eaf2
RM
54253 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54254 Don't list ld.so twice in dependencies.
54255
54256 * posix/bug-regex31.c: Include <stdlib.h>.
54257
54258 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54259
54260 * nis/nss_compat/compat-spwd.c
54261 (getspent_next_nss_netgr): Remove unused variable.
54262 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54263
54264 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54265 nonmembers" output to use the right array.
54266
54267 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54268
54269 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54270
54271 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54272 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54273 * catgets/gencat.c (read_input_file): Likewise.
54274 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54275
54276 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54277 variable definition inside #if's controlling its use.
54278
54279 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54280
54281 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54282
54283 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54284
54285 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54286 unreachable code.
54287
54288 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54289
b68e08db
RM
54290 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54291 * configure: Regenerated.
54292
b350afab
RM
54293 * Makerules: Revert last change.
54294 * elf/Makefile: Likewise.
54295
28368601
RM
542962011-06-09 Roland McGrath <roland@hack.frob.com>
54297
54298 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54299 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54300 (reloc-link): Likewise.
54301
11988f8f
UD
543022011-06-09 Ulrich Drepper <drepper@gmail.com>
54303
54304 * elf/Makefile: Add rules to build pldd.
54305 * elf/pldd.c: New file.
54306 * elf/pldd-xx.c: New file.
54307
e80fab37
UD
543082011-06-07 Ulrich Drepper <drepper@gmail.com>
54309
54310 * version.h: Update for 2.15 development version.
54311
9b849836
DM
543122011-06-07 David S. Miller <davem@davemloft.net>
54313
54314 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54315 ifuncs.
54316 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54317 elf_machine_lazy_rel): Likewise.
54318 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54320 elf_machine_lazy_rel): Likewise.
54321 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54322 dl_hwcap via passed in argument.
54323 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54324 Likewise.
54325
5a31b283
AK
543262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54327
54328 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54329
069e52f8
RM
543302011-06-06 Roland McGrath <roland@hack.frob.com>
54331
54332 [BZ #12849]
54333 * manual/fdl-1.1.texi: New file, verbatim from:
54334 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54335 * manual/lgpl-2.1.texi: New file, verbatim from:
54336 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54337 * manual/Makefile (licenses): New variable, list those new file names.
54338 (texis): Use it.
54339 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54340
54341 * manual/fdl.texi: File removed.
54342 * manual/lesser.texi: File removed.
54343 * manual/libc.texinfo (Copying, Documentation License):
54344 Use new @include file names, put @appendix directive before @include.
54345
f16846a5
JJ
543462011-06-04 Jakub Jelinek <jakub@redhat.com>
54347
54348 [BZ #12841]
54349 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54350 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54351 (mq_open): Add __NTH.
54352
3d29045b
L
543532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54354
54355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54356 Assume Intel Core i3/i5/i7 processor if AVX is available.
54357
8c297311
UD
543582011-05-31 Ulrich Drepper <drepper@gmail.com>
54359
54360 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54361 typo.
54362
c8fc0c91
UD
543632011-05-31 Andreas Schwab <schwab@redhat.com>
54364
54365 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54366 memory. Use alloca_account. Fix memory leak when retrying.
54367
5b27a807
UD
543682011-05-31 Ulrich Drepper <drepper@gmail.com>
54369
356f8bc6
UD
54370 * version.h (RELEASE): Bump for 2.14 release.
54371 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54372
5b27a807
UD
54373 * config.make.in (RANLIB): Remove entry.
54374
01f16ab0
UD
543752011-05-30 Ulrich Drepper <drepper@gmail.com>
54376
41fce8bd
UD
54377 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54378 (libc.pot): Work around missing support for .ksh extension in xgettext.
54379
4769ae77
UD
54380 [BZ #12684]
54381 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54382 if both request failed.
54383 (send_dg): In case of server errors clear resplen or *resplen2.
54384
6b1e7d19
UD
54385 [BZ #12454]
54386 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54387 when there are multiple maps.
54388 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54389 (_dl_fini): Remove test here.
54390
01f16ab0
UD
54391 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54392
b1ebd700
UD
543932011-05-29 Ulrich Drepper <drepper@gmail.com>
54394
7ae22829
UD
54395 [BZ #12350]
54396 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54397 bit from old_res_options.
54398 (gaih_inet): Likewise.
54399
553149f6 54400 [BZ #11099]
18a84741 54401 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54402 as signed.
54403
652ffab1
UD
54404 * resolv/res_init.c (res_setoptions): Make the code more compact.
54405
16985fd0
UD
54406 [BZ #11558]
54407 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54408 set RES_USEVC.
54409
0464f746
UD
54410 [BZ #11634]
54411 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54412
7d17596c
UD
54413 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54414
cf6bbbd7
UD
54415 [BZ #11781]
54416 * malloc/malloc.h: Declare malloc hook variables as volatile.
54417
13f1ab36
UD
54418 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54419 in last patch.
54420
b1ebd700
UD
54421 [BZ #11799]
54422 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54423 raise in the comment.
80e2212d
UD
54424 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54425 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54426 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54427
ce67228d
UD
544282011-05-28 Ulrich Drepper <drepper@gmail.com>
54429
8887a920
UD
54430 [BZ #12811]
54431 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54432 grow the buffers more if it already has to be sufficient.
54433 (build_wcs_upper_buffer): Likewise.
54434 * posix/regexec.c (check_matching): Likewise.
54435 (clean_state_log_if_needed): Likewise.
54436 (extend_buffers): Don't enlarge buffers beyond size of the input
54437 buffer.
54438 Patches mostly by Emil Wojak <emil@wojak.eu>.
54439 * posix/bug-regex32.c: New file.
54440 * posix/Makefile (tests): Add bug-regex32.
54441
4f031072
UD
54442 * locale/findlocale.c (_nl_find_locale): Return right away if
54443 _nl_explode_name failed.
54444 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54445
d0478f0c
UD
54446 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54447
de81b246
UD
54448 * debug/xtrace.sh: Unify messages.
54449 * malloc/memusage.sh: Likewise.
54450
c738465a
UD
54451 [BZ #12813]
54452 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54453 time symbol from vDSO. Substitute with vsyscall if not available.
54454 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54455 __vdso_time.
54456
f1f929d7
UD
54457 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54458 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54459 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54460 Add sendmmsg and internal_sendmmsg.
54461 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54462 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54463 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54464
ce67228d
UD
54465 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54466 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54468
e57420c6
UD
544692011-05-27 Ulrich Drepper <drepper@gmail.com>
54470
a8509ca5
UD
54471 [BZ #12813]
54472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54473 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54474 available.
54475 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54476 __vdso_getcpu.
54477
e57420c6
UD
54478 [BZ #12814]
54479 * iconvdata/Makefile (tests): Add bug-iconv9.
54480 * iconvdata/bug-iconv9.c: New file.
54481
4d07db15
AS
544822011-05-27 Andreas Schwab <schwab@redhat.com>
54483
54484 [BZ #12814]
54485 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54486
ea486f69
JJ
544872011-05-25 Jakub Jelinek <jakub@redhat.com>
54488
54489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54490 (struct user_regs_struct): Change intcs field back to cs.
54491
6f038433
UD
544922011-05-25 Ulrich Drepper <drepper@gmail.com>
54493
54494 * po/ja.po: Update from translation team.
54495
67f86a25
UD
544962011-05-23 Ulrich Drepper <drepper@gmail.com>
54497
54498 [BZ #12795]
54499 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54500 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54501
def7fbd6
AS
545022011-05-20 Andreas Schwab <schwab@redhat.com>
54503
54504 * stdlib/longlong.h: Update from GCC.
54505
f50ef8f1
AS
545062011-05-23 Andreas Schwab <schwab@redhat.com>
54507
54508 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54509 parameter name.
54510 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54511 Add parameter name.
54512 (__sysconf): Pass it down.
54513
de7ce8f1
UD
545142011-05-22 Ulrich Drepper <drepper@gmail.com>
54515
f2962a71
UD
54516 [BZ #12671]
54517 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54518 some situations.
54519 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54520 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54521 add in in __libc_use_alloca calls. Adjust callers.
54522 (glob): Use malloc in some situations.
54523
de7ce8f1
UD
54524 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54525 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54526 pltexit.
54527
aec84f53
UD
545282011-05-21 Ulrich Drepper <drepper@gmail.com>
54529
05bb4a68
UD
54530 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54531 and CLOCK_BOOTTIME_ALARM.
54532
7ea72f99
UD
54533 [BZ #12782]
54534 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54535 is returned.
54536
7e4afad5
UD
54537 * string/_strerror.c (__strerror_r): Print negative errors as signed
54538 numbers.
54539
8e211fec
UD
54540 [BZ #12777]
54541 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54542 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54543 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54544
f7d82dc9
UD
54545 * configure.in: Fix typo in redirection and correct removal of test
54546 files in two cases.
54547
cc9e536d
UD
54548 [BZ #12788]
54549 * locale/setlocale.c (new_composite_name): Fix test to check for
54550 identical name of all categories.
54551
aec84f53
UD
54552 [BZ #12792]
54553 * libio/filedoalloc.c (local_isatty): New function.
54554 (_IO_file_doallocate): Use local_isatty.
54555 * stdio-common/perror.c (perror): In case a new stream is used
54556 forward the stream error.
54557 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54558 error flag.
54559
78e64fdc
RT
545602011-05-20 Ulrich Drepper <drepper@gmail.com>
54561
34a9094f
UD
54562 [BZ #11869]
54563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54564 alloca.
54565 * include/alloca.h (extend_alloca_account): Define.
54566
78e64fdc
RT
54567 [BZ #11857]
54568 * posix/regex.h: Fix comments with documentation of user-accessible
54569 fields after compilation and describe correct free'ing of pattern
54570 after re_compile_pattern.
54571 Patch by Reuben Thomas <rrt@sc3d.org>.
54572
457bddfc
RA
545732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54574
54575 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54576 and -mno-altivec to prevent the compiler from using Altivec and/or
54577 VSX instructions when the corresponding registers are not available.
54578
a4527b51
AS
545792011-05-19 Andreas Schwab <schwab@redhat.com>
54580
54581 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54582
ed690b2f
UD
545832011-05-19 Ulrich Drepper <drepper@gmail.com>
54584
54585 * libio/freopen.c (freopen): Use __dup2, not dup2.
54586 * libio/freopen64.c (freopen64): Likewise.
54587
8db73634
L
545882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54589
54590 [BZ #12775]
54591 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54592 * math/Makefile (tests): Add test-powl.
54593 (CFLAGS-test-powl.c): Define.
54594 * math/test-powl.c: New file.
54595
0a197a9d
L
545962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54597
54598 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54599
ee30c380
UD
546002011-05-17 Ulrich Drepper <drepper@gmail.com>
54601
54602 [BZ #11837]
54603 * iconvdata/gb18030.c: Update to GB18020-2005.
54604
6ce75379
UD
546052011-05-16 Ulrich Drepper <drepper@gmail.com>
54606
a4b89fd8
AR
54607 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54608 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54609 Patch by Aharon Robbins <arnold@skeeve.com>.
54610
ea389b12
UD
54611 [BZ #11892]
54612 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54613 on the stack.
54614
68a3f91f
UD
54615 [BZ #11895]
54616 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54617 through underflows.
54618
15cc7dd1
UD
54619 [BZ #12766]
54620 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54621 point to strings before performing equality test for error_one_per_line
54622 mode.
54623
f3799213
UD
54624 [BZ #11697]
54625 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54626
d79a9c94
UD
54627 [BZ #11820]
54628 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54629 (struct user_fpregs_struct): Avoid __uint*_t types.
54630
56e5eb46
UD
54631 [BZ #6420]
54632 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54633 symbol info. Use it instead of calling _dl_addr locally.
54634 (lock_and_info): New function.
54635 (tr_freehook): Call lock_and_info and pass symbol info as additional
54636 parameter to tr_where.
54637 (tr_mallochook): Likewise.
54638 (tr_reallochook): Likewise.
54639 (tr_memalignhook): Likewise.
54640
6ce75379
UD
54641 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54642 used and couldn't be at all thread-safe.
54643
f8a3b5bf
UD
546442011-05-15 Ulrich Drepper <drepper@gmail.com>
54645
94b7cc37
UD
54646 * libio/freopen.c (freopen): Don't close old file descriptor
54647 before the new one is opened. Instead dup the new file descriptor
54648 to the old one after the new stream is created.
54649 * libio/freopen64.c (freopen64): Likewise.
54650 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54651 * libio/fileops.c (_IO_new_file_close_it): Handle new
54652 _IO_FLAGS2_NOCLOSE flag.
54653 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54654 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54655 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54656 _IO_FLAGS2_NOCLOSE flag.
54657 * include/unistd.h: Add hidden_proto for dup3.
54658 Define __have_dup3.
54659 * io/dup3.c: Define hidden symbol.
54660 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54661
bd25564e
UD
54662 [BZ #7101]
54663 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54664 when an incomplete long option is used.
54665 * posix/tst-getopt_long1.c: New file.
54666 * posix/Makefile (tests): Add tst-getopt_long1.
54667
c84cfef4
UD
54668 [BZ #10138]
54669 * scripts/config.guess: Update from autoconf-2.68.
54670 * scripts/config.sub: Likewise.
54671
3b85df27
UD
54672 [BZ #10157]
54673 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54674 tests into ...
54675 (has_cpuclock): ...this. New function.
54676 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54677 macro here based on has_cpuclock code.
54678
15a856b1
UD
54679 [BZ #10149]
54680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54681 First byte (not low byte) is now always NUL.
54682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54683
05f399e6
UD
54684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54685 Use non-cancelable interfaces.
54686
10a52685 54687 [BZ #9809]
94ecc67d
UD
54688 * locale/iso-639.def: Add entry for Sorani.
54689
f8a3b5bf
UD
54690 [BZ #11901]
54691 * include/stdlib.h: Move include protection to the right place.
54692 Define abort_msg_s. Declare __abort_msg with it.
54693 * stdlib/abort.c (__abort_msg): Adjust type.
54694 * assert/assert.c (__assert_fail_base): New function. Majority
54695 of code from __assert_fail. Allocate memory for __abort_msg with
54696 mmap.
54697 (__assert_fail): Now call __assert_fail_base.
54698 * assert/assert-perr.c: Remove bulk of implementation. Use
54699 __assert_fail_base.
54700 * include/assert.hL Declare __assert_fail_base.
54701 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54702 mmap.
54703 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54704
1af4e298
UD
547052011-05-14 Ulrich Drepper <drepper@gmail.com>
54706
f8a3b5bf 54707 [BZ #11952]
d26dfc60
MG
54708 [BZ #12453]
54709 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54710 until all modules are registered in the DTV.
54711 * elf/Makefile: Add rules to build and run tst-tls19.
54712 * elf/tst-tls19.c: New file.
54713 * elf/tst-tls19mod1.c: New file.
54714 * elf/tst-tls19mod2.c: New file.
54715 * elf/tst-tls19mod3.c: New file.
54716 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54717
2fc54d6f
UD
54718 [BZ #12083]
54719 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54720 correctly.
54721
98d76b46
UD
54722 [BZ #12601]
54723 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54724 two-byte sequence errors.
54725 * iconvdata/Makefile (tests): Add bug-iconv8.
54726 * iconvdata/bug-iconv8.c: New file.
54727
da3c19ef
UD
54728 [BZ #12626]
54729 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54730 buf2 definition.
54731
ca408c15
UD
54732 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54733
d6f67f7d
UD
54734 [BZ #12432]
54735 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54736 (dummy_getcfa): New function.
54737 (init): Get _Unwind_GetCFA address, use dummy if not found.
54738 (backtrace_helper): In recursion check, also check whether CFA changes.
54739 (__backtrace): Completely initialize arg.
54740
1af4e298 54741 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54742 storing incomplete byte sequence in state object. Avoid testing for
54743 guaranteed too small input if we know there is enough data available.
1af4e298 54744
da62f81b
AS
547452011-05-11 Andreas Schwab <schwab@redhat.com>
54746
54747 * Makeconfig (+link-pie): Indent.
54748 * Rules (binaries-pie): Define if $(have-fpie) and
54749 $(build-shared).
54750 (binaries-shared): Also filter out $(binaries-pie).
54751 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54752 * nscd/Makefile (others-pie): Add nscd.
54753 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54754 ($(objpfx)nscd): Remove command override.
54755 * login/Makefile (others-pie): Add pt_chown.
54756 ($(objpfx)pt_chown): Remove command override.
54757 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54758 remove command overrides.
54759
fcabc0f8
UD
547602011-05-13 Ulrich Drepper <drepper@gmail.com>
54761
20030ae6
UD
54762 * libio/tst_putwc.c: Fix error messages.
54763
fcabc0f8
UD
54764 [BZ #12724]
54765 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54766 currently writing and seek to current position when not.
54767 * libio/Makefile (tests): Add bug-fclose1.
54768 * libio/bug-fclose1.c: New file.
54769
320a5dc0
PB
547702011-05-12 Ulrich Drepper <drepper@gmail.com>
54771
54772 [BZ #12511]
54773 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54774 don't set DF_1_NODELETE here.
54775 (do_lookup_x): When entering new entry test for copy relocation
54776 and if necessary set DF_1_NODELETE flag.
54777 * elf/tst-unique4.cc: New file.
54778 * elf/tst-unique4.h: New file.
54779 * elf/tst-unique4lib.cc: New file.
54780 * elf/Makefile: Add rules to build and run tst-unique4.
54781 Patch by Piotr Bury <pbury@goahead.com>.
54782
22836f52
UD
547832011-05-11 Ulrich Drepper <drepper@gmail.com>
54784
f574184a
UD
54785 [BZ #12052]
54786 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54787
e1fb097f
UD
54788 [BZ #12625]
54789 * misc/mntent_r.c (addmntent): Flush the stream after the output
54790
22836f52
UD
54791 [BZ #12393]
54792 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54793 (is_trusted_path_normalize): Skip initial colon. Append slash
54794 to empty buffer. Duplicate is_trusted_path code but allow
54795 constructed patch to be prefix.
54796 (is_dst): Allow $ORIGIN followed by /.
54797 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54798 Correct testing of result of is_trusted_path_normalize
54799 (decompose_rpath): Fix warning.
54800
7b3b0b2a
UD
548012011-05-10 Ulrich Drepper <drepper@gmail.com>
54802
54803 [BZ #11257]
54804 * grp/initgroups.c (internal_getgrouplist): When we found the service
54805 list through the initgroups entry in nsswitch.conf do not always
54806 continue on a successful lookup. Don't always use the
eac80ce2 54807 __nss_group_database value if it is set.
7b3b0b2a
UD
54808 * nss/nsswitch.conf (initgroups): Change action for successful db
54809 lookup to continue for compatibility.
54810
2a81eaa5
UD
548112011-05-09 Ulrich Drepper <drepper@gmail.com>
54812
be97a69e
UD
54813 [BZ #11532]
54814 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54815 and CP774 modules.
54816 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54817 and CP774 modules.
54818 * iconvdata/tst-tables.sh: Likewise.
54819 * iconvdata/cp770.c: New file.
54820 * iconvdata/cp771.c: New file.
54821 * iconvdata/cp772.c: New file.
54822 * iconvdata/cp773.c: New file.
54823 * iconvdata/cp774.c: New file.
54824 * iconvdata/testdata/CP770: New file.
54825 * iconvdata/testdata/CP770..UTF8: New file.
54826 * iconvdata/testdata/CP771: New file.
54827 * iconvdata/testdata/CP771..UTF8: New file.
54828 * iconvdata/testdata/CP772: New file.
54829 * iconvdata/testdata/CP772..UTF8: New file.
54830 * iconvdata/testdata/CP773: New file.
54831 * iconvdata/testdata/CP773..UTF8: New file.
54832 * iconvdata/testdata/CP774: New file.
54833 * iconvdata/testdata/CP774..UTF8: New file.
54834
54835 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54836 END CHARMAP line.
54837 * iconvdata/gen-8bit-gap.sh: Likewise.
54838 * iconvdata/gen-8bit.sh: Likewise.
54839
c1e9e399
UD
54840 * locale/iso-639.def: Add ary entry.
54841
24c55fb3 54842 [BZ #11258]
96b4b1b0
UD
54843 * locale/C-translit.h.in: Add U20A1 transliteration.
54844
bdc2f971
KB
54845 [BZ #12178]
54846 * locale/iso-639.def: Add wae entry.
54847 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54848
2952b117
UD
54849 [BZ #12545]
54850 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54851 for n.
54852
2a81eaa5
UD
54853 [BZ #12711]
54854 * locale/C-translit.h.in: Add entry for U20B9.
54855 Patch by pravin.d.s@gmail.com.
54856
28377d1b
UD
548572011-05-08 Ulrich Drepper <drepper@gmail.com>
54858
7fb90fb8
UD
54859 [BZ #12713]
54860 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54861 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54862 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54863 in rtld. Use *stat64.
7fb90fb8 54864 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54865 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54866 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54867 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54868 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54869 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54870 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54871 __fstatat64 macros.
7fb90fb8
UD
54872 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54873 * dirent/rewinddir.c: Add libc_hidden_def.
54874 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54875 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54876
28377d1b
UD
54877 * include/dirent.h (__alloc_dir): Add flags parameter.
54878 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54879 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54880 __alloc_dir.
54881 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54882 from fdopendir if O_CLOEXEC is already set.
54883
66bdbaa4
AM
548842011-03-15 Alan Modra <amodra@gmail.com>
54885
54886 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54887 l_tls_firstbyte_offset non-zero. Save padding offset in
54888 l_tls_firstbyte_offset for later use.
54889 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54890 freeing static tls block.
54891
95721191
JN
548922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54893
54894 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54895 where #ifdef was intended. The intent is to prevent ARG_MAX from
54896 being defined by the kernel headers.
54897
f87dfb1f
UD
548982011-05-07 Ulrich Drepper <drepper@gmail.com>
54899
54900 [BZ #12734]
54901 * resolv/resolv.h: Define RES_NOTLDQUERY.
54902 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54903 no-tld-query and set RES_NOTLDQUERY.
54904 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54905 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54906 modern BIND to search name as TLD unless forbidden.
54907
47c3cd7a
UD
549082011-05-07 Petr Baudis <pasky@suse.cz>
54909 Ulrich Drepper <drepper@gmail.com>
54910
54911 [BZ #12393]
54912 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54913 (is_trusted_path): ...to here.
c1e9ea35 54914 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54915 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54916 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54917
8a35c912
PP
549182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54919
54920 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54921 __BEGIN/__END_DECLS.
54922
acd41f47
UD
549232011-05-06 Ulrich Drepper <drepper@gmail.com>
54924
54925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54926 NSS_STATUS_NOTFOUND if no record was found.
54927
597df647
AS
549282011-05-05 Andreas Schwab <schwab@redhat.com>
54929
54930 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54931 (headers-not-in-tirpc): Remove rpc/netdb.h
54932 * resolv/netdb.h: Revert last change.
54933
b9af1301
PP
549342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54935
54936 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54937 circular dependency between libgcc.a and libc.a.
54938
4e34d5f5
AS
549392011-05-05 Andreas Schwab <schwab@redhat.com>
54940
54941 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54942 * nis/Makefile: Don't install rpcsvc/*.
54943 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54944 instead of <rpc/types.h>.
54945 (MAXHOSTNAMELEN): Define.
54946
00ee369c
AS
549472011-05-03 Andreas Schwab <schwab@redhat.com>
54948
54949 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54950
0b592a30
MB
549512011-04-28 Maciej Babinski <mbabinski@google.com>
54952
54953 [BZ #12714]
54954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54955 gethostbyname4_r when IPv6 results are possible.
54956
6e04cbbe
UD
549572011-05-02 Ulrich Drepper <drepper@gmail.com>
54958
54959 [BZ #12723]
54960 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54961 _PC_PIPE_BUF handling.
54962
e4ecafe0
BH
549632011-04-30 Bruno Haible <bruno@clisp.org>
54964
54965 [BZ #12717]
54966 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54967 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54968 to 'int'.
54969 * inet/getnameinfo.c (getnameinfo): Likewise.
54970
125ee683
UD
549712011-04-29 Ulrich Drepper <drepper@gmail.com>
54972
54973 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54974 to groups setting in database lookup.
54975 * nss/nsswitch.conf: Add initgroups entry.
54976
b722481a
EB
549772011-04-22 Ulrich Drepper <drepper@gmail.com>
54978
54979 [BZ #12685]
54980 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54981 mode string.
54982 Patch by Eric Blake <eblake@redhat.com>.
54983
4df46dbd
L
549842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54985
54986 * sunrpc/Makefile (need-export-routines): Add svc_run.
54987 (routines): Remove svc_run.
54988 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54989 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54990 * sunrpc/svc_run.c (svc_run): Likewise.
54991 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54992
e84142d2
UD
549932011-04-21 Ulrich Drepper <drepper@gmail.com>
54994
54995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54996 problem in reallocation in last patch.
54997
877175d8
UD
549982011-04-20 Ulrich Drepper <drepper@gmail.com>
54999
55000 * sunrpc/Makefile: Move inclusion of Rules.
55001
ab8eed78
UD
550022011-04-19 Ulrich Drepper <drepper@gmail.com>
55003
55004 * nss/nss_files/files-initgroups.c: New file.
55005 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55006 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55007 _nss_files_initgroups_dyn.
55008
e3d8f584
RS
550092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55010
55011 * elf/elf.h (R_ARM_IRELATIVE): Define.
55012
af190f45
UD
550132011-04-19 Ulrich Drepper <drepper@gmail.com>
55014
55015 * po/ru.po: Update from translation team.
55016
53cf59ef
UD
550172011-04-17 Ulrich Drepper <drepper@gmail.com>
55018
55019 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55020 dependencies.
55021
4c559bcd
MF
550222011-02-06 Mike Frysinger <vapier@gentoo.org>
55023
55024 [BZ #12653]
55025 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55026 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55028 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55029 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55030
4420675c
AS
550312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55032
55033 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55034 differing bytes.
55035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55038
75ea32ab
UD
550392011-04-17 Ulrich Drepper <drepper@gmail.com>
55040
55041 [BZ #12420]
55042 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55043 storing it.
55044 * stdlib/bug-getcontext.c: New file.
55045 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55046
27390476
AK
550472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55048
55049 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55050 instructions into .machine "z9-109".
55051 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55052 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55053
10442705
AK
550542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55055
55056 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55057 between environment variables and auxiliary vector.
55058
7b57bfe5
UD
550592011-04-16 Ulrich Drepper <drepper@gmail.com>
55060
55061 * Makefile: Add rules to build linkobj/libc.so.
55062 * include/libc-symbols.h: Define libc_hidden_nolink.
55063 * include/rpc/auth.h: Mark functions which are to be hidden.
55064 * include/rpc/auth_des.h: Likewise.
55065 * include/rpc/auth_unix.h: Likewise.
55066 * include/rpc/clnt.h: Likewise.
55067 * include/rpc/des_crypt.h: Likewise.
55068 * include/rpc/key_prot.h: Likewise.
55069 * include/rpc/pmap_clnt.h: Likewise.
55070 * include/rpc/pmap_prot.h: Likewise.
55071 * include/rpc/pmap_rmt.h: Likewise.
55072 * include/rpc/rpc_msg.h: Likewise.
55073 * include/rpc/svc.h: Likewise.
55074 * include/rpc/svc_auth.h: Likewise.
55075 * include/rpc/xdr.h: Likewise.
55076 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55077 * nss/Makefile: Likewise.
55078 * sunrpc/Makefile: Don't install headers. Build library with normal
55079 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55080 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55081 for the compat linking library. Remove use of INTDEF/INTUSE.
55082 * sunrpc/auth_none.c: Likewise.
55083 * sunrpc/auth_unix.c: Likewise.
55084 * sunrpc/authdes_prot.c: Likewise.
55085 * sunrpc/authuxprot.c: Likewise.
55086 * sunrpc/clnt_gen.c: Likewise.
55087 * sunrpc/clnt_perr.c: Likewise.
55088 * sunrpc/clnt_raw.c: Likewise.
55089 * sunrpc/clnt_simp.c: Likewise.
55090 * sunrpc/clnt_tcp.c: Likewise.
55091 * sunrpc/clnt_udp.c: Likewise.
55092 * sunrpc/clnt_unix.c: Likewise.
55093 * sunrpc/des_crypt.c: Likewise.
55094 * sunrpc/des_soft.c: Likewise.
55095 * sunrpc/get_myaddr.c: Likewise.
55096 * sunrpc/key_call.c: Likewise.
55097 * sunrpc/key_prot.c: Likewise.
55098 * sunrpc/netname.c: Likewise.
55099 * sunrpc/pm_getmaps.c: Likewise.
55100 * sunrpc/pm_getport.c: Likewise.
55101 * sunrpc/pmap_clnt.c: Likewise.
55102 * sunrpc/pmap_prot.c: Likewise.
55103 * sunrpc/pmap_prot2.c: Likewise.
55104 * sunrpc/pmap_rmt.c: Likewise.
55105 * sunrpc/publickey.c: Likewise.
55106 * sunrpc/rpc_cmsg.c: Likewise.
55107 * sunrpc/rpc_common.c: Likewise.
55108 * sunrpc/rpc_dtable.c: Likewise.
55109 * sunrpc/rpc_prot.c: Likewise.
55110 * sunrpc/rpc_thread.c: Likewise.
55111 * sunrpc/rtime.c: Likewise.
55112 * sunrpc/svc.c: Likewise.
55113 * sunrpc/svc_auth.c: Likewise.
55114 * sunrpc/svc_authux.c: Likewise.
55115 * sunrpc/svc_raw.c: Likewise.
55116 * sunrpc/svc_run.c: Likewise.
55117 * sunrpc/svc_simple.c: Likewise.
55118 * sunrpc/svc_tcp.c: Likewise.
55119 * sunrpc/svc_udp.c: Likewise.
55120 * sunrpc/svc_unix.c: Likewise.
55121 * sunrpc/svcauth_des.c: Likewise.
55122 * sunrpc/xcrypt.c: Likewise.
55123 * sunrpc/xdr.c: Likewise.
55124 * sunrpc/xdr_array.c: Likewise.
55125 * sunrpc/xdr_float.c: Likewise.
55126 * sunrpc/xdr_intXX_t.c: Likewise.
55127 * sunrpc/xdr_mem.c: Likewise.
55128 * sunrpc/xdr_rec.c: Likewise.
55129 * sunrpc/xdr_ref.c: Likewise.
55130 * sunrpc/xdr_sizeof.c: Likewise.
55131 * sunrpc/xdr_stdio.c: Likewise.
55132
e6c61494
UD
551332011-04-10 Ulrich Drepper <drepper@gmail.com>
55134
55135 [BZ #12650]
55136 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55137 * sysdeps/ia64/dl-tls.h: Likewise.
55138 * sysdeps/powerpc/dl-tls.h: Likewise.
55139 * sysdeps/s390/dl-tls.h: Likewise.
55140 * sysdeps/sh/dl-tls.h: Likewise.
55141 * sysdeps/sparc/dl-tls.h: Likewise.
55142 * sysdeps/x86_64/dl-tls.h: Likewise.
55143 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55144
34fe483e
AS
551452011-03-14 Andreas Schwab <schwab@redhat.com>
55146
55147 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55148 rpath element also skip the following colon.
55149 (expand_dynamic_string_token): Add is_path parameter and pass
55150 down to DL_DST_REQUIRED and _dl_dst_substitute.
55151 (decompose_rpath): Call expand_dynamic_string_token with
55152 non-zero is_path. Ignore empty rpaths.
55153 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55154 with zero is_path.
55155
f12a32e6
AS
551562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55157
55158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55159 Make cancelable.
55160
38a7d692
UD
551612011-04-09 Ulrich Drepper <drepper@gmail.com>
55162
55163 [BZ #12655]
55164 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55165 Patch by Filipe David Manana <fdmanana@apache.org>.
55166
e451d22b
AS
551672011-04-07 Andreas Schwab <schwab@redhat.com>
55168
55169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55170 Maintain aligned stack.
55171 (CHECK_RSP): Remove unused macro.
55172
dedc7c7b
UD
551732011-04-03 Ulrich Drepper <drepper@gmail.com>
55174
55175 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55177
94521213
UD
551782011-04-02 Ulrich Drepper <drepper@gmail.com>
55179
55180 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55181
8cb700c0 55182 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55183
0354e355
L
551842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55185
55186 [BZ #12518]
55187 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55188 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55189 * sysdeps/x86_64/memmove.c: New file.
55190 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55191 (memcpy): Renamed to ...
55192 (__new_memcpy): This.
55193 (memcpy): Provide GLIBC_2_14 memcpy.
55194 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55195 (memcpy): Provide GLIBC_2_2_5 memcpy.
55196
8593482f
UD
551972011-04-01 Ulrich Drepper <drepper@gmail.com>
55198
55199 [BZ #12631]
55200 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55201
81a5726b
AS
552022011-03-30 Andreas Schwab <schwab@redhat.com>
55203
55204 * misc/syncfs.c: New file.
55205 * misc/Makefile (routines): Add syncfs.
55206 * posix/unistd.h: Declare syncfs.
55207 * sysdeps/unix/syscalls.list: Add syncfs.
55208
00e5419f
AS
552092011-04-01 Andreas Schwab <schwab@redhat.com>
55210
55211 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55212 open_by_handle_at.
55213 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55214 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55215 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55216 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55218 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55220
748876bf
UD
552212011-04-01 Ulrich Drepper <drepper@gmail.com>
55222
658e451d
UD
55223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55226 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55230
748876bf
UD
55231 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55232 sync_file_range.c with -fexceptions.
55233 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55234 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55235 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55236 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55237 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55238 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55240 sync_file_range as cancellation point
55241 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55242 now a wrapper around __call_sync_file_range with cancellation handling.
55243 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55244 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55245 function name to __call_sync_file_range.
55246 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55247 Add call_sync_file_range.
748876bf 55248
6e63d5e1
AS
552492011-04-01 Andreas Schwab <schwab@redhat.com>
55250
55251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55252 bits/timex.h.
6e63d5e1 55253
46998f74
UD
552542011-04-01 Ulrich Drepper <drepper@gmail.com>
55255
4c1423ed
UD
55256 * iconv/iconv.h: Fix typo in comment.
55257 * io/fcntl.h: Likewise.
55258 * libio/stdio.h: Likewise.
55259 * posix/spawn.h: Likewise.
55260 * posix/unistd.h: Likewise.
55261 * stdlib/stdlib.h: Likewise.
55262 * time/time.h: Likewise.
55263 * wcsmbs/wchar.h: Likewise.
55264
158648c0
UD
55265 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55266 open_by_handle): Add.
55267 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55268 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55269 Augment a few comments.
55270 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55272 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55275 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55276 open_by_handle.
55277
46998f74
UD
55278 * io/fcntl.h (AT_EMPTY_PATH): Define.
55279
83fe108b
UD
552802011-03-30 Ulrich Drepper <drepper@gmail.com>
55281
55282 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55283 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55284 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55285 to...
55286 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55287 * Versions.def: Add GLIBC_2.14.
55288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55289 Export.
83fe108b 55290
bb242059
UD
552912011-03-22 Ulrich Drepper <drepper@gmail.com>
55292
55293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55294 round counter.
55295 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55296
c97a1282
L
552972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55298
55299 [BZ #12597]
55300 * string/test-strncmp.c (do_page_test): New function.
55301 (check2): Likewise.
55302 (test_main): Call check2.
55303 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55304
2a115601
UD
553052011-03-20 Ulrich Drepper <drepper@gmail.com>
55306
55307 [BZ #12587]
55308 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55309 Handle cache information in CPU leaf 4.
55310 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55311
8126d904
UD
553122011-03-18 Ulrich Drepper <drepper@gmail.com>
55313
042c49c6 55314 [BZ #12583]
8126d904
UD
55315 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55316 character representation.
55317 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55318
ccfe366e
RA
553192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55320
55321 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55322 END(__isnan) to END(__isnanf) to match function entry point/label
55323 EALIGN(__isnanf,...).
55324
c6e13027
JJ
553252011-03-10 Jakub Jelinek <jakub@redhat.com>
55326
55327 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55328
33f85a3f
UD
553292011-03-10 Ulrich Drepper <drepper@gmail.com>
55330
028478fa
UD
55331 [BZ #12510]
55332 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55333 copy from the symbol referenced in the relocation to initialize the
55334 used variable.
55335 Patch by Piotr Bury <pbury@goahead.com>.
55336 * elf/Makefile: Add rules to build and tst-unique3.
55337 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55338 * elf/tst-unique3.cc: New file.
55339 * elf/tst-unique3.h: New file.
55340 * elf/tst-unique3lib.cc: New file.
55341 * elf/tst-unique3lib2.cc: New file.
55342
33f85a3f
UD
55343 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55344
03592fc7
MF
553452011-03-10 Mike Frysinger <vapier@gentoo.org>
55346
55347 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55348 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55349 to _start.
03592fc7 55350
6a5ee102
UD
553512011-03-06 Ulrich Drepper <drepper@gmail.com>
55352
55353 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55354 to-be-loaded object along a path to loader is ld.so.
55355
7e4ba49c
HJ
553562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55357 Ulrich Drepper <drepper@gmail.com>
55358
55359 * sysdeps/x86_64/memset.S: After aligning destination, code
55360 branches to different locations depending on the value of
55361 misalignment, when multiarch is enabled. Fix this.
55362
553632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55364
55365 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55366 Set _x86_64_preferred_memory_instruction for AMD processsors.
55367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55368 Set bit_Prefer_SSE_for_memop for AMD processors.
55369
13a804de
UD
553702011-03-04 Ulrich Drepper <drepper@gmail.com>
55371
55372 * libio/fmemopen.c (fmemopen): Optimize a bit.
55373
9d25c392
AS
553742011-03-03 Andreas Schwab <schwab@redhat.com>
55375
55376 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55377
a5543c6a
RM
553782011-03-03 Roland McGrath <roland@redhat.com>
55379
55380 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55381
012d35f7
DM
553822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55383
7e4ba49c 55384 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55385 __bzero_ultra1 instead of __memset_ultra1.
55386
4bff6e01
AS
553872011-02-23 Andreas Schwab <schwab@redhat.com>
55388 Ulrich Drepper <drepper@gmail.com>
55389
55390 [BZ #12509]
55391 * include/link.h (struct link_map): Add l_orig_initfini.
55392 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55393 returning unsuccessfully.
55394 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55395 close of a file loaded at startup, restore the original l_initfini
55396 list.
55397 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55398 list, store the pointer.
55399 * elf/Makefile ($(objpfx)noload-mem): New rule.
55400 (noload-ENV): Define.
55401 (tests): Add $(objpfx)noload-mem.
55402 * elf/noload.c: Include <memcheck.h>.
55403 (main): Call mtrace. Close all opened handles.
55404
f2092faf
AS
554052011-02-17 Andreas Schwab <schwab@redhat.com>
55406
55407 [BZ #12454]
55408 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55409 dependencies are missing.
55410
6c8a2e88
ST
554112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55412
f2092faf 55413 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55414 Hurd needs munmap.
55415 * sysdeps/mach/hurd/ifreq.h: New file.
55416
84a42118
PB
554172011-01-27 Petr Baudis <pasky@suse.cz>
55418 Ulrich Drepper <drepper@gmail.com>
55419
071f805e 55420 [BZ 12445]#
84a42118
PB
55421 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55422 to extend_alloca().
55423 * stdio-common/bug23.c: New file.
55424 * stdio-common/Makefile (tests): Add bug23.
55425
e23fe25b
AS
554262010-09-28 Andreas Schwab <schwab@redhat.com>
55427 Ulrich Drepper <drepper@gmail.com>
55428
55429 [BZ #12489]
55430 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55431 before performing relro protection. At old place add assertion
55432 to make sure nothing changed.
55433
d3f02e10
NS
554342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55435 Glauber de Oliveira Costa <glommer@gmail.com>
55436
55437 * elf/elf.h: Add new ARM TLS relocs.
55438
d55fd7a5
RA
554392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55440
55441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55442 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55443 cast from r3.
55444 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55445 'tests' variable.
55446 * sysdeps/wordsize-64/tst-writev.c: New file.
55447
2206397e
RA
554482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55449
55450 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55451 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55452 insns in _dl_start to prevent a TOC reference before relocs are
55453 resolved.
55454
e9433893
UD
554552011-02-15 Ulrich Drepper <drepper@gmail.com>
55456
55457 [BZ #12469]
55458 * Makeconfig: Remove RANLIB definition.
55459 * Makerules: Don't use RANLIB.
55460 * aclocal.m4: Remove ranlib test.
55461 * configure.in: No need to check for ranlib.
55462 * elf/rtld-Rules: Don't use RANLIB.
55463
f75286c6
ST
554642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55465
8e31c82d
ST
55466 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55467 protection macro.
55468 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55469 inclusion protection macro.
55470
f75286c6
ST
55471 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55472 SIGRTMIN and SIGRTMAX and print information in that case only when
55473 SIGRTMIN is defined.
55474
c1d0e639
JJ
554752011-02-11 Jakub Jelinek <jakub@redhat.com>
55476
55477 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55478 arginfo fn returning -1.
55479
55480 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55481 and thousands string is zero terminated.
55482
edf9294e
AS
554832011-02-03 Andreas Schwab <schwab@redhat.com>
55484
55485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55486 sysdeps/unix/sysv/linux/bits/socket.h.
55487
2b7e92df
ST
554882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55489
edf9294e
AS
55490 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55491 (__CPU_COUNT): Remove old macros.
55492 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55493 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55494 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55495 (__sched_cpualloc, __sched_cpufree): Add declarations.
55496
a4c7ea7b
UD
554972011-02-05 Ulrich Drepper <drepper@gmail.com>
55498
55499 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55500 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55501 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55502 (readdhstai): Return value of addhstaiX call.
55503 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55504 (addgrbyX): Return value returned by cache_addgr.
55505 (readdgrbyname): Return value returned by addgrbyX.
55506 (readdgrbygid): Likewise.
55507 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55508 (addpwbyX): Return value returned by cache_addpw.
55509 (readdpwbyname): Return value returned by addhstbyX.
55510 (readdpwbyuid): Likewise.
55511 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55512 (addservbyX): Return value returned by cache_addserv.
55513 (readdservbyname): Return value returned by addservbyX:
55514 (readdservbyport): Likewise.
55515 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55516 (addhstbyX): Return value returned by cache_addhst.
55517 (readdhstbyname): Return value returned by addhstbyX.
55518 (readdhstbyaddr): Likewise.
55519 (readdhstbynamev6): Likewise.
55520 (readdhstbyaddrv6): Likewise.
55521 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55522 (readdinitgroups): Return value returned by addinitgroupsX.
55523 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55524 (prune_cache): Keep track of timeout value of re-added entries.
55525 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55526 * nscd/nscd.h: Adjust prototypes of readd* functions.
55527
a0bf67cc
RM
555282011-02-04 Roland McGrath <roland@redhat.com>
55529
55530 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55531 (nis_stats): Likewise.
55532 * nis/nis_modify.c (nis_modify): Likewise.
55533 * nis/nis_remove.c (nis_remove): Likewise.
55534 * nis/nis_add.c (nis_add): Likewise.
55535
55536 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55537
55538 * posix/fnmatch_loop.c: Add some consts.
55539
55540 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55541
435b95eb
L
555422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55543
55544 [BZ #12460]
55545 * config.make.in (config-cflags-novzeroupper): Define.
55546 * configure.in: Substitute libc_cv_cc_novzeroupper.
55547 * elf/Makefile (AVX-CFLAGS): Define.
55548 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55549 (CFLAGS-tst-auditmod4a.c): Likewise.
55550 (CFLAGS-tst-auditmod4b.c): Likewise.
55551 (CFLAGS-tst-auditmod6b.c): Likewise.
55552 (CFLAGS-tst-auditmod6c.c): Likewise.
55553 (CFLAGS-tst-auditmod7b.c): Likewise.
55554 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55555
8517b15e
UD
555562011-02-02 Ulrich Drepper <drepper@gmail.com>
55557
55558 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55559 function to the callback.
55560 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55561
10a656fe
AS
555622011-02-02 Andreas Schwab <schwab@redhat.com>
55563
55564 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55565 of errno.
55566
968dad0a
UD
555672011-01-19 Ulrich Drepper <drepper@gmail.com>
55568
9f94d2ea 55569 [BZ #11724]
968dad0a
UD
55570 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55571 of constructors.
55572 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55573 of destructors.
55574 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55575
55576 [BZ #11724]
55577 * elf/Makefile: Add rules to build and run new test.
55578 * elf/tst-initorder.c: New file.
55579 * elf/tst-initorder.exp: New file.
55580 * elf/tst-initordera1.c: New file.
55581 * elf/tst-initordera2.c: New file.
55582 * elf/tst-initordera3.c: New file.
55583 * elf/tst-initordera4.c: New file.
55584 * elf/tst-initorderb1.c: New file.
55585 * elf/tst-initorderb2.c: New file.
55586 * elf/tst-order-a1.c: New file.
55587 * elf/tst-order-a2.c: New file.
55588 * elf/tst-order-a3.c: New file.
55589 * elf/tst-order-a4.c: New file.
55590 * elf/tst-order-b1.c: New file.
55591 * elf/tst-order-b2.c: New file.
55592 * elf/tst-order-main.c: New file.
55593 New test case by George Gensure <werkt0@gmail.com>.
55594
86e92359
UD
555952010-10-01 Andreas Schwab <schwab@redhat.com>
55596
55597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55598 decoding ACE if AI_CANONIDN.
55599
5d5732b0
UD
556002011-01-18 Ulrich Drepper <drepper@gmail.com>
55601
55602 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55603
a77e8cbc
UD
556042011-01-17 Ulrich Drepper <drepper@gmail.com>
55605
6392473f
UD
55606 * version.h (RELEASE): Bump for 2.13 release.
55607 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55608
620a0529
UD
55609 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55610
18ba70a5
UD
55611 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55612 MADV_NOHUGEPAGE.
32465c3e
UD
55613 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55614 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55615 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55616 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55617 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55618 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55619
c0dafcf1
UD
55620 * posix/getconf.c: Update copyright year.
55621 * catgets/gencat.c: Likewise.
55622 * csu/version.c: Likewise.
55623 * debug/catchsegv.sh: Likewise.
55624 * debug/xtrace.sh: Likewise.
55625 * elf/ldconfig.c: Likewise.
55626 * elf/ldd.bash.in: Likewise.
55627 * elf/sprof.c (print_version): Likewise.
55628 * iconv/iconv_prog.c: Likewise.
55629 * iconv/iconvconfig.c: Likewise.
55630 * locale/programs/locale.c: Likewise.
55631 * locale/programs/localedef.c: Likewise.
55632 * malloc/memusage.sh: Likewise.
55633 * malloc/mtrace.pl: Likewise.
55634 * nscd/nscd.c (print_version): Likewise.
55635 * nss/getent.c: Likewise.
55636
a77e8cbc
UD
55637 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55638 PF_CAIF, and PF_ALG.
55639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55640
77e8bddf
AS
556412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55642
1f20b93a
AS
55643 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55644 (modules-names): Use them.
55645 (ifunc-test-modules, ifunc-pie-tests): Define.
55646 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55647 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55648 (test-extras): Likewise.
55649 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55650 $(compile-command.c).
55651 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55652 (all-built-dso): Define.
55653 (check-textrel.out, check-execstack.out): Depend on it.
55654
77e8bddf
AS
55655 * configure.in: Don't override --enable-multi-arch.
55656
bc425b33
UD
556572011-01-15 Ulrich Drepper <drepper@gmail.com>
55658
55659 [BZ #6812]
55660 * nscd/hstcache.c (tryagain): Define.
55661 (cache_addhst): Return tryagain not notfound for temporary errors.
55662 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55663 failed.
55664
794c3ad3
UD
556652011-01-14 Ulrich Drepper <drepper@gmail.com>
55666
70181fdd
UD
55667 [BZ #10563]
55668 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55669 to make the syscall.
55670 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55671
794c3ad3
UD
55672 [BZ #12378]
55673 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55674 and fall back to matching as normal character if the string ends before
55675 the matching ']' is found. This is what POSIX requires.
55676 * posix/testfnm.c: Adjust test result.
55677 * posix/globtest.sh: Adjust test result. Add new test.
55678 * posix/tst-fnmatch.input: Likewise.
55679 * posix/tst-fnmatch2.c: Add new test.
55680
68dc9497
AS
556812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55682
55683 * elf/Makefile (check-execstack): Revert last change. Depend on
55684 check-execstack.h.
55685 (check-execstack.h): New target.
55686 (generated): Add check-execstack.h.
55687 * elf/check-execstack.c: Include "check-execstack.h".
55688 (main): Revert last change.
55689 (handle_file): Return zero if GNU_STACK is absent and
55690 DEFAULT_STACK_PERMS doesn't include PF_X.
55691
451f001b
UD
556922011-01-13 Ulrich Drepper <drepper@gmail.com>
55693
cfa28e56
UD
55694 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55695 in child fails because the descriptor is already closed.
8cf8ce17
UD
55696 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55697 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55698 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55699
1086d70d
UD
55700 [BZ #12397]
55701 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55702 syscall.
55703
451f001b
UD
55704 [BZ #10484]
55705 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55706 temporary buffer used to handle multi lookups locally.
a85b5cb4 55707 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55708
08769175
UD
557092011-01-12 Ulrich Drepper <drepper@gmail.com>
55710
55711 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55712 loader is ld.so.
55713
5e49c52e
UD
557142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55715
55716 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55717 alignment for SSE2.
55718
60522a5f
UD
557192011-01-12 Ulrich Drepper <drepper@gmail.com>
55720
55721 [BZ #12394]
55722 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55723 characters. When rounding increased number of integer digits recompute
55724 number of groups.
55725 * stdio-common/tst-grouping.c: New file.
55726 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55727
f257bbd7
UD
557282011-01-09 Ulrich Drepper <drepper@gmail.com>
55729
55730 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55731 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55732
55733 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55734 void.
55735 * bits/select.h: Likewise.
55736
fa9c15cb
UD
557372011-01-08 Ulrich Drepper <drepper@gmail.com>
55738
55739 * po/ja.po: Update from translation team.
55740
16c2895f
DM
557412011-01-04 David S. Miller <davem@sunset.davemloft.net>
55742
55743 [BZ #11155]
55744 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55745 implementation just like for lxstat, fxstatat, et al.
55746
2543fef2
JM
557472010-12-27 Jim Meyering <meyering@redhat.com>
55748
55749 [BZ #12348]
55750 * posix/regexec.c (build_trtable): Return failure indication upon
55751 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55752
98727dbe
UD
557532010-12-25 Ulrich Drepper <drepper@gmail.com>
55754
5bd6dc5c
UD
55755 [BZ #12201]
55756 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55757 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55758 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55760
97983464
UD
55761 [BZ #12207]
55762 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55763
98727dbe
UD
55764 [BZ #12204]
55765 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55766 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55767
4a531bb0
L
557682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55769
55770 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55771 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55772 script has SORT_BY_INIT_PRIORITY.
55773 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55774 NO_CTORS_DTORS_SECTIONS is defined.
55775 * elf/soinit.c: Likewise.
55776 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55777 NO_CTORS_DTORS_SECTIONS is defined.
55778 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55779 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55780 * sysdeps/sh/init-first.c: Likewise.
55781 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55782
07eb4b71
UD
557832010-12-24 Ulrich Drepper <drepper@gmail.com>
55784
55785 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55786 always use the slow path.
55787
30950a5f
RA
557882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55789
55790 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55791 similar rule which adds the sysdep directories to the header search in
55792 order to pick up the correct platform stackinfo.h.
55793 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55794 perform test if it is, otherwise return successfully without testing.
55795 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55796 DEFAULT_STACK_PERMS define in stackinfo.h.
55797 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55798 defined in stackinfo.h.
55799 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55800 DEFAULT_STACK_PERMS defined in stackinfo.h.
55801 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55802 * sysdeps/ia64/stackinfo.h: Likewise.
55803 * sysdeps/s390/stackinfo.h: Likewise.
55804 * sysdeps/sh/stackinfo.h: Likewise.
55805 * sysdeps/sparc/stackinfo.h: Likewise.
55806 * sysdeps/x86_64/stackinfo.h: Likewise.
55807 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55808 PF_X for powerpc64. Retain PF_X for powerpc32.
55809
db753e2c
UD
558102010-12-19 Ulrich Drepper <drepper@gmail.com>
55811
14b697f7
UD
55812 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55813 accurately.
db753e2c
UD
55814 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55815 GETDENTS_64BIT_ALIGNED.
55816
28300719
UD
558172010-12-14 Ulrich Drepper <dreper@gmail.com>
55818
14b697f7 55819 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55820
4f197237
AS
558212010-12-10 Andreas Schwab <schwab@redhat.com>
55822
dbb0472f
AS
55823 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55824 _GNU_SOURCE.
55825
4f197237
AS
55826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55827 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55828 Remove __restrict.
55829 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55830 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55831
fb88ac72
UD
558322010-12-09 Ulrich Drepper <drepper@gmail.com>
55833
55834 [BZ #11655]
55835 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55836 are initialized.
55837
42acbb92
JJ
558382010-12-09 Jakub Jelinek <jakub@redhat.com>
55839
55840 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55841
c038d98d
UD
558422010-12-03 Ulrich Drepper <drepper@gmail.com>
55843
55844 * po/it.po: Update from translation team.
55845
3a4a2499
L
558462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55847
55848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55849 unused codes.
55850
1e24cf6e
UD
558512010-11-30 Ulrich Drepper <drepper@gmail.com>
55852
55853 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55854
a7690819
AS
558552010-11-24 Andreas Schwab <schwab@redhat.com>
55856
55857 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55858 specially.
55859 (gaih_getanswer_slice): Likewise.
55860
3bf8d1b1
JJ
558612010-10-20 Jakub Jelinek <jakub@redhat.com>
55862
55863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55864
6db52fbb
PB
558652010-05-31 Petr Baudis <pasky@suse.cz>
55866
55867 [BZ #11149]
55868 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55869 silently even in the chroot mode.
55870
eaca7569
UD
558712010-11-22 Ulrich Drepper <drepper@gmail.com>
55872
55873 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55874 last patch a bit. Pretty printing
55875
3056dcdb
UD
558762010-05-31 Petr Baudis <pasky@suse.cz>
55877
55878 [BZ #10085]
55879 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55880 initialization of skip_initgroups_dyn.
55881
cf7c9078
UD
558822010-11-19 Ulrich Drepper <drepper@gmail.com>
55883
55884 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55885 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55886
a1fb5e3e
UD
558872010-11-16 Ulrich Drepper <drepper@gmail.com>
55888
55889 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55890
3540d66b
AS
558912010-11-11 Andreas Schwab <schwab@redhat.com>
55892
55893 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55894 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55895 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55896 ($(objpfx)tst-fnmatch-mem): New rule.
55897 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55898 * posix/tst-fnmatch.c (main): Call mtrace.
55899
13b69574
L
559002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55901
55902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55903 Support Intel processor model 6 and model 0x2c.
55904
da93d214
LM
559052010-11-10 Luis Machado <luisgpm@br.ibm.com>
55906
55907 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55908 signed comparison.
55909
8ca52c6e
L
559102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55911
55912 [BZ #12205]
55913 * string/test-strncasecmp.c (check_result): New function.
55914 (do_one_test): Use it.
55915 (check1): New function.
55916 (test_main): Use it.
55917 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55918 Support strcasecmp and strncasecmp.
55919
69da074d
UD
559202010-11-08 Ulrich Drepper <drepper@gmail.com>
55921
55922 [BZ #12194]
55923 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55924 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55925
ff02d528
L
559262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55927
55928 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55929 IFUNC support.
55930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55931 memset-x86-64.
55932 * sysdeps/x86_64/multiarch/bzero.S: New file.
55933 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55934 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55935 * sysdeps/x86_64/multiarch/memset.S: New file.
55936 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55938 Set bit_Prefer_SSE_for_memop for Intel processors.
55939 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55940 Define.
55941 (index_Prefer_SSE_for_memop): Define.
55942 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55943
344d0b54
LM
559442010-11-04 Luis Machado <luisgpm@br.ibm.com>
55945
55946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55948
c0dde15b
UD
559492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55950
55951 [BZ #12191]
55952 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55953 (__x86_64_raw_data_cache_size_half): Likewise.
55954 (__x86_64_raw_shared_cache_size): Likewise.
55955 (__x86_64_raw_shared_cache_size_half): Likewise.
55956
55957 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55958 (__x86_64_raw_data_cache_size_half): Likewise.
55959 (__x86_64_raw_shared_cache_size): Likewise.
55960 (__x86_64_raw_shared_cache_size_half): Likewise.
55961 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55962 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55963 and __x86_64_raw_shared_cache_size_half. Round
55964 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55965 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55966 to multiple of 256 bytes.
55967
0e516e0e
MS
559682010-11-03 Ulrich Drepper <drepper@gmail.com>
55969
55970 [BZ #12167]
55971 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55972 of inacessible symlinks. Verify result of symlink before returning it.
55973 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55974 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55975
0e012e87
ER
559762010-10-28 Erich Ritz <erichritz@gmail.com>
55977
55978 * math/math.h (isinf): Fix typo in comment.
55979
de0ff7bc
UD
559802010-11-01 Ulrich Drepper <drepper@gmail.com>
55981
55982 * po/da.po: Update from translation team.
55983
fa41c84d
UD
559842010-10-26 Ulrich Drepper <drepper@gmail.com>
55985
55986 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55987 is added to the list.
55988
f0967738
AK
559892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55990 Ulrich Drepper <drepper@gmail.com>
55991
55992 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55993 the global list here. Move code to...
55994 (_dl_add_to_namespace_list): ...here. New function.
55995 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55996 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55997 * elf/dl-load.c (lose): Don't remove the element from the list.
55998 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55999 (_dl_map_object): Likewise.
56000
560012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56002
56003 [BZ #12159]
56004 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56005 into all bytes of SSE register.
56006 Patch by Richard Li <richardpku@gmail.com>.
56007
f0967738 560082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56009
56010 [BZ #12140]
56011 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56012 perturbing.
56013
d0b9e94f
MB
560142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56015
56016 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56017 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56018 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56019 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56021 submachine.
56022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56023
8e9f92e9
AS
560242010-10-22 Andreas Schwab <schwab@redhat.com>
56025
56026 * include/dlfcn.h (__RTLD_SECURE): Define.
56027 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56028 mode & __RTLD_SECURE instead.
56029 (open_path): Rename preloaded parameter to secure.
56030 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56031 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56032 * elf/dl-deps.c (openaux): Likewise.
56033 * elf/rtld.c (struct map_args): Remove is_preloaded.
56034 (map_doit): Don't use it.
56035 (dl_main): Likewise.
56036 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56037 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56038
bc96fbda
AS
560392010-09-09 Andreas Schwab <schwab@redhat.com>
56040
56041 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56042 (sysd-rules-targets): Remove duplicates.
56043 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56044 rtld-%.$o dependency.
56045
22cd1c9b
AS
560462010-10-18 Andreas Schwab <schwab@redhat.com>
56047
56048 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56049 _dl_map_object do it.
56050
18edac48
UD
560512010-10-19 Ulrich Drepper <drepper@gmail.com>
56052
56053 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56054 fast fma builtins, define the macros in the C99 standard.
56055 (FP_FAST_FMAF): Likewise.
56056 (FP_FAST_FMAL): Likewise.
56057 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56058
56059 * bits/mathdef.h: Update copyright year.
56060 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56061
d2050124
MM
560622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56063
56064 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56065 builtins, define the macros in the C99 standard.
56066 (FP_FAST_FMAF): Likewise.
56067 (FP_FAST_FMAL): Likewise.
56068 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56069 multiply/add.
56070 (FP_FAST_FMAF): Likewise.
56071
475facd1
JJ
560722010-10-15 Jakub Jelinek <jakub@redhat.com>
56073
56074 [BZ #3268]
56075 * math/libm-test.inc (fma_test): Some new testcases.
56076 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56078 y and infinite z. Do multiplication by C already in long double.
56079 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56081 y and infinite z. Do bitwise or of inexact bit into u.d.
56082 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56083 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56084 * sysdeps/i386/fpu/s_fma.S: Removed.
56085 * sysdeps/i386/fpu/s_fmal.S: Removed.
56086
7c08a05c
JJ
560872010-10-16 Jakub Jelinek <jakub@redhat.com>
56088
56089 [BZ #3268]
56090 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56091 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56092 computation is not scheduled after fetestexcept. Fix value
56093 of minimum denormal long double.
56094
f3f7372d
JJ
560952010-10-14 Jakub Jelinek <jakub@redhat.com>
56096
56097 [BZ #3268]
56098 * math/libm-test.inc (fma_test): Add some more tests.
56099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56100 correctly.
56101
14d43591
AS
561022010-10-15 Andreas Schwab <schwab@redhat.com>
56103
56104 * scripts/data/localplt-s390-linux-gnu.data: New file.
56105 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56106
5e908464
JJ
561072010-10-13 Jakub Jelinek <jakub@redhat.com>
56108
56109 [BZ #3268]
56110 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56111 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56112 instead of dbl-64.
56113 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56114 inlines.
56115 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56117 if one of x and y is very large and the other is subnormal.
56118 * sysdeps/s390/fpu/s_fmaf.c: New file.
56119 * sysdeps/s390/fpu/s_fma.c: New file.
56120 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56121 * sysdeps/powerpc/fpu/s_fma.S: New file.
56122 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56123 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56124 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56125
561262010-10-12 Jakub Jelinek <jakub@redhat.com>
56127
56128 [BZ #3268]
56129 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56130 fma tests.
56131 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56132 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56133 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56134 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56135 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56136 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56137 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56138
b833d51f
UD
561392010-10-12 Ulrich Drepper <drepper@redhat.com>
56140
56141 [BZ #12078]
56142 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56143 * posix/bug-regex31.input: Add test case.
56144
1751705d
UD
561452010-10-11 Ulrich Drepper <drepper@gmail.com>
56146
e9b9cbf5
UD
56147 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56148 * posix/bug-regex31.input: New file.
56149
56150 [BZ #12078]
56151 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56152 (parse_sub_exp): Fix last change, use postorder.
56153
ef06edbe
UD
56154 * posix/bug-regex31.c: New file.
56155 * posix/Makefile: Add rules to build and run bug-regex31.
56156
a129c80d
UD
56157 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56158
56159 [BZ #12078]
56160 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56161
b76b818e
UD
56162 [BZ #12108]
56163 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56164 to have entries in sys_siglist.
56165
1751705d
UD
56166 [BZ #12093]
56167 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56168 be NULL.
56169
9ff8d36f
JJ
561702010-10-07 Jakub Jelinek <jakub@redhat.com>
56171
56172 [BZ #3268]
56173 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56174 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56175 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56176 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56177 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56178 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56179 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56180 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56181 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56182 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56183 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56184 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56185 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56186 * math/ftestexcept.c (fetestexcept): Likewise.
56187 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56188 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56189 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56190 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56191 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56192 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56193 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56194
af325969
UD
561952010-10-11 Ulrich Drepper <drepper@gmail.com>
56196
c579b202 56197 [BZ #12107]
af325969
UD
56198 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56199 newline.
56200
67a67b95
UD
562012010-10-06 Ulrich Drepper <drepper@gmail.com>
56202
56203 * string/bug-strstr1.c: New file.
56204 * string/Makefile: Add rules to build and run bug-strstr1.
56205
5fb308bc
EB
562062010-10-05 Eric Blake <eblake@redhat.com>
56207
56208 [BZ #12092]
56209 * string/str-two-way.h (two_way_long_needle): Always clear memory
56210 when skipping input due to the shift table.
56211
45db99c7
UD
562122010-10-03 Ulrich Drepper <drepper@gmail.com>
56213
3b111893
UD
56214 [BZ #12005]
56215 * malloc/mcheck.c: Handle large requests.
56216
45db99c7
UD
56217 [BZ #12077]
56218 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56219 for strncmp and strncasecmp.
56220 * string/stratcliff.c: Add tests for strcmp and strncmp.
56221 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56222
cf7a1eb8
NI
562232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56224
56225 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56226 __set_fpscr.
56227
6484ba5e
AJ
562282010-09-30 Andreas Jaeger <aj@suse.de>
56229
56230 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56231 (CGROUP_SUPER_MAGIC): Define.
56232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56233 Handle btrfs and cgroup file systems.
56234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56235 Likewise.
56236
91c42559
LM
562372010-09-27 Luis Machado <luisgpm@br.ibm.com>
56238
56239 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56240 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56241
87a97932
AK
562422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56243
56244 [BZ #12067]
56245 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56246 trying to locate the ELF header.
56247
c21cc9bc
AS
562482010-09-27 Andreas Schwab <schwab@redhat.com>
56249
56250 [BZ #11611]
56251 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56252 Mask out sign-bit copies when constructing f_fsid.
56253
315970f6
PB
562542010-09-24 Petr Baudis <pasky@suse.cz>
56255
56256 * debug/stack_chk_fail_local.c: Add missing licence exception.
56257 * debug/warning-nop.c: Likewise.
56258
1ac7a2c7
JM
562592010-09-15 Joseph Myers <joseph@codesourcery.com>
56260
56261 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56262 implementing getdents64 using getdents syscall, set d_type if
56263 __ASSUME_GETDENTS32_D_TYPE.
56264
56801c50
AS
562652010-09-16 Andreas Schwab <schwab@redhat.com>
56266
56267 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56268 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56269
dda51327
UD
562702010-09-21 Ulrich Drepper <drepper@redhat.com>
56271
56272 [BZ #12037]
56273 * posix/unistd.h: Undo change of feature selection for ftruncate from
56274 2010-01-11.
56275
8ffcee4a
UD
562762010-09-20 Ulrich Drepper <drepper@redhat.com>
56277
a545ecd9 56278 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56279 detection.
56280
e24f0a8b
AS
562812010-09-20 Andreas Schwab <schwab@redhat.com>
56282
56283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56284 fanotify_mark.
56285 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56286
7291c56f
AS
562872010-09-14 Andreas Schwab <schwab@redhat.com>
56288
56289 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56290 variables after CHECK_SP call.
56291 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56292
bc5fb037
AS
562932010-09-13 Andreas Schwab <schwab@redhat.com>
56294 Ulrich Drepper <drepper@redhat.com>
56295
56296 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56297 re-relocationg ld.so.
56298 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56299 _dl_init_paths call.
56300 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56301 here anymore.
56302
e66e7419
UD
563032010-09-14 Ulrich Drepper <drepper@redhat.com>
56304
56305 * resolv/res_init.c (__res_vinit): Count the default server we added.
56306
c044aa75
CLT
563072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56308 Ulrich Drepper <drepper@redhat.com>
56309
56310 [BZ #11968]
56311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56312 (____longjmp_chk): Use %ebx for saving value across system call.
56313 Add unwind info.
56314
32cf4069
AS
563152010-09-06 Andreas Schwab <schwab@redhat.com>
56316
56317 * manual/Makefile: Don't mix pattern rules with normal rules.
56318
817328ee
AS
563192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56320
56321 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56322 operation.
56323 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56324 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56325 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56326 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56327 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56328 Likewise.
56329
29fddf61
UD
563302010-09-04 Ulrich Drepper <drepper@redhat.com>
56331
56332 [BZ #11979]
56333 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56334 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56335
0959ffc9
UD
563362010-09-02 Ulrich Drepper <drepper@redhat.com>
56337
56338 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56339 * sysdeps/x86_64/addmul_1.S: Likewise.
56340 * sysdeps/x86_64/lshift.S: Likewise.
56341 * sysdeps/x86_64/mul_1.S: Likewise.
56342 * sysdeps/x86_64/rshift.S: Likewise.
56343 * sysdeps/x86_64/sub_n.S: Likewise.
56344 * sysdeps/x86_64/submul_1.S: Likewise.
56345
ece29840
ST
563462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56347
0959ffc9
UD
56348 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56349 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56350 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56351 * bits/sched.h [__need_schedparam]
ece29840 56352 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56353 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56354 (__defined_schedparam): Define to 1.
ece29840
ST
56355 (__sched_param): New structure, identical to sched_param.
56356 (__need_schedparam): Undefine.
56357
e53a31fe
MF
563582010-08-31 Mike Frysinger <vapier@gentoo.org>
56359
fdc0c10d
MF
56360 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56361 (epoll_create1): Declare.
56362
e53a31fe
MF
56363 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56364
a726d796
AS
563652010-08-31 Andreas Schwab <schwab@redhat.com>
56366
56367 [BZ #7066]
56368 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56369 shifting retval into place.
56370
2f3e3dc7
UD
563712010-09-01 Ulrich Drepper <drepper@redhat.com>
56372
f2933da9
UD
56373 * nis/rpcsvc/nis.h: Update copyright notice.
56374 * nis/rpcsvc/nis.x: Likewise.
56375 * nis/rpcsvc/nis_callback.h: Likewise.
56376 * nis/rpcsvc/nis_callback.x: Likewise.
56377 * nis/rpcsvc/nis_object.x: Likewise.
56378 * nis/rpcsvc/nis_tags.h: Likewise.
56379 * nis/rpcsvc/yp.h: Likewise.
56380 * nis/rpcsvc/yp.x: Likewise.
56381 * nis/rpcsvc/ypupd.h: Likewise.
56382 * nis/yp_xdr.c: Likewise.
56383 * nis/ypupdate_xdr.c: Likewise.
56384
2f3e3dc7
UD
56385 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56386 mainly the body of pmap_getport. Add parameters to specify timeouts.
56387 (pmap_getport): Use __libc_rpc_getport.
56388 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56389 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56390 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56391
f3dcc2f9
AS
563922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56393
56394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56395 fanotify_mark.
56396
6d34eb5b
RM
563972010-08-27 Roland McGrath <roland@redhat.com>
56398
56399 * sysdeps/i386/i686/multiarch/Makefile
56400 (CFLAGS-varshift.c): New variable.
56401
9ea3de11
UD
564022010-08-27 Ulrich Drepper <drepper@redhat.com>
56403
c96d23fc
UD
56404 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56405 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56406
9ea3de11
UD
56407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56408
56409 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56410
623aac7f
L
564112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56412
56413 * sysdeps/x86_64/strlen.S: Unroll the loop.
56414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56415 strlen-sse2 strlen-sse2-bsf.
56416 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56417 __strlen_no_bsf if bit_Slow_BSF is set.
56418 (__strlen_sse42): Removed.
56419 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56420 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56421
8b2b7715
RM
564222010-08-25 Roland McGrath <roland@redhat.com>
56423
56424 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56425 * sysdeps/x86_64/multiarch/varshift.c: New file.
56426 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56427 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56428 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56429 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56430
e73015f2
L
564312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56432
56433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56434 strlen-sse2 strlen-sse2-bsf.
56435 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56436 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56437 (__strlen_sse2): Removed.
56438 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56441 bit_Slow_BSF for Atom.
56442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56443 (index_Slow_BSF): Define.
56444 (HAS_SLOW_BSF): Define.
56445
df24a73e
UD
564462010-08-25 Ulrich Drepper <drepper@redhat.com>
56447
56448 [BZ #10851]
56449 * resolv/res_init.c (__res_vinit): When no server address at all
56450 is given default to loopback.
56451
f2ac4868
RM
564522010-08-24 Roland McGrath <roland@redhat.com>
56453
09055553
RM
56454 * configure.in: Remove config-name.h generation.
56455 * configure: Regenerated.
56456 * config-name.in: File removed.
56457 * scripts/config-uname.sh: New file.
56458 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56459 ($(objdir)config-name.h): New target.
56460
f2ac4868
RM
56461 * sunrpc/rpc_parse.h: Avoid nested comment.
56462
73f27d5e
RH
564632010-08-24 Richard Henderson <rth@redhat.com>
56464 Ulrich Drepper <drepper@redhat.com>
56465 H.J. Lu <hongjiu.lu@intel.com>
56466
56467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56469 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56470 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56471 _mm_alignr_epi8 with _mm_loadu_si128.
56472 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56473 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56474 (__m128i_shift_right): Removed.
56475 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56476 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56477 * sysdeps/x86_64/multiarch/varshift.h: New file.
56478 * sysdeps/x86_64/multiarch/varshift.S: New file.
56479
84b9230c
MF
564802010-08-21 Mike Frysinger <vapier@gentoo.org>
56481
56482 * configure.in: Move assembler checks to before sysdep dir checking.
56483
9bbd0ddc
PB
564842010-08-20 Petr Baudis <pasky@suse.cz>
56485
56486 * LICENSES: Sync the sunrpc license.
56487
9da4bb31
UD
564882010-08-19 Ulrich Drepper <drepper@redhat.com>
56489
a7ab6ec8
UD
56490 * sunrpc/auth_des.c: Update copyright notice once again.
56491 * sunrpc/auth_none.c: Likewise.
56492 * sunrpc/auth_unix.c: Likewise.
56493 * sunrpc/authdes_prot.c: Likewise.
56494 * sunrpc/authuxprot.c: Likewise.
56495 * sunrpc/bindrsvprt.c: Likewise.
56496 * sunrpc/clnt_gen.c: Likewise.
56497 * sunrpc/clnt_perr.c: Likewise.
56498 * sunrpc/clnt_raw.c: Likewise.
56499 * sunrpc/clnt_simp.c: Likewise.
56500 * sunrpc/clnt_tcp.c: Likewise.
56501 * sunrpc/clnt_udp.c: Likewise.
56502 * sunrpc/clnt_unix.c: Likewise.
56503 * sunrpc/des_crypt.c: Likewise.
56504 * sunrpc/des_soft.c: Likewise.
56505 * sunrpc/get_myaddr.c: Likewise.
56506 * sunrpc/getrpcport.c: Likewise.
56507 * sunrpc/key_call.c: Likewise.
56508 * sunrpc/key_prot.c: Likewise.
56509 * sunrpc/openchild.c: Likewise.
56510 * sunrpc/pm_getmaps.c: Likewise.
56511 * sunrpc/pm_getport.c: Likewise.
56512 * sunrpc/pmap_clnt.c: Likewise.
56513 * sunrpc/pmap_prot.c: Likewise.
56514 * sunrpc/pmap_prot2.c: Likewise.
56515 * sunrpc/pmap_rmt.c: Likewise.
56516 * sunrpc/rpc/auth.h: Likewise.
56517 * sunrpc/rpc/auth_unix.h: Likewise.
56518 * sunrpc/rpc/clnt.h: Likewise.
56519 * sunrpc/rpc/des_crypt.h: Likewise.
56520 * sunrpc/rpc/key_prot.h: Likewise.
56521 * sunrpc/rpc/netdb.h: Likewise.
56522 * sunrpc/rpc/pmap_clnt.h: Likewise.
56523 * sunrpc/rpc/pmap_prot.h: Likewise.
56524 * sunrpc/rpc/pmap_rmt.h: Likewise.
56525 * sunrpc/rpc/rpc.h: Likewise.
56526 * sunrpc/rpc/rpc_des.h: Likewise.
56527 * sunrpc/rpc/rpc_msg.h: Likewise.
56528 * sunrpc/rpc/svc.h: Likewise.
56529 * sunrpc/rpc/svc_auth.h: Likewise.
56530 * sunrpc/rpc/types.h: Likewise.
56531 * sunrpc/rpc/xdr.h: Likewise.
56532 * sunrpc/rpc_clntout.c: Likewise.
56533 * sunrpc/rpc_cmsg.c: Likewise.
56534 * sunrpc/rpc_common.c: Likewise.
56535 * sunrpc/rpc_cout.c: Likewise.
56536 * sunrpc/rpc_dtable.c: Likewise.
56537 * sunrpc/rpc_hout.c: Likewise.
56538 * sunrpc/rpc_main.c: Likewise.
56539 * sunrpc/rpc_parse.c: Likewise.
56540 * sunrpc/rpc_parse.h: Likewise.
56541 * sunrpc/rpc_prot.c: Likewise.
56542 * sunrpc/rpc_sample.c: Likewise.
56543 * sunrpc/rpc_scan.c: Likewise.
56544 * sunrpc/rpc_scan.h: Likewise.
56545 * sunrpc/rpc_svcout.c: Likewise.
56546 * sunrpc/rpc_tblout.c: Likewise.
56547 * sunrpc/rpc_util.c: Likewise.
56548 * sunrpc/rpc_util.h: Likewise.
56549 * sunrpc/rpcinfo.c: Likewise.
56550 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56551 * sunrpc/rpcsvc/key_prot.x: Likewise.
56552 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56553 * sunrpc/rpcsvc/mount.x: Likewise.
56554 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56555 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56556 * sunrpc/rpcsvc/rex.x: Likewise.
56557 * sunrpc/rpcsvc/rstat.x: Likewise.
56558 * sunrpc/rpcsvc/rusers.x: Likewise.
56559 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56560 * sunrpc/rpcsvc/spray.x: Likewise.
56561 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56562 * sunrpc/rtime.c: Likewise.
56563 * sunrpc/svc.c: Likewise.
56564 * sunrpc/svc_auth.c: Likewise.
56565 * sunrpc/svc_authux.c: Likewise.
56566 * sunrpc/svc_raw.c: Likewise.
56567 * sunrpc/svc_run.c: Likewise.
56568 * sunrpc/svc_simple.c: Likewise.
56569 * sunrpc/svc_tcp.c: Likewise.
56570 * sunrpc/svc_udp.c: Likewise.
56571 * sunrpc/svc_unix.c: Likewise.
56572 * sunrpc/svcauth_des.c: Likewise.
56573 * sunrpc/xcrypt.c: Likewise.
56574 * sunrpc/xdr.c: Likewise.
56575 * sunrpc/xdr_array.c: Likewise.
56576 * sunrpc/xdr_float.c: Likewise.
56577 * sunrpc/xdr_mem.c: Likewise.
56578 * sunrpc/xdr_rec.c: Likewise.
56579 * sunrpc/xdr_ref.c: Likewise.
56580 * sunrpc/xdr_sizeof.c: Likewise.
56581 * sunrpc/xdr_stdio.c: Likewise.
56582
9da4bb31
UD
56583 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56584 handling.
56585
bdaa77bc
AS
565862010-08-19 Andreas Schwab <schwab@redhat.com>
56587
56588 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56589
fe2f79db
LM
565902010-08-19 Luis Machado <luisgpm@br.ibm.com>
56591
56592 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56593 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56595 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56597 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56598 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56599 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56601 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56602 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56603 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56604 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56605 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56606
b9b42ee0
AB
566072010-07-26 Anton Blanchard <anton@samba.org>
56608
56609 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56610 * malloc/arena.c (heap_trim): Likewise.
56611
1c06ba31
UD
566122010-08-16 Ulrich Drepper <drepper@redhat.com>
56613
56614 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56615 here. Not...
56616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56617 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56618
f8392f40
L
566192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56620
56621 * sysdeps/i386/elf/Makefile: New file.
56622
3162f12e
AS
566232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56624
56625 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56626 from fanotify_init.
56627 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56628 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56629
28c90b2c
UD
566302010-08-15 Ulrich Drepper <drepper@redhat.com>
56631
56632 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56633 of strncasecmp_l.
1feccb6c 56634 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56635
ca6bb004
UD
566362010-08-14 Ulrich Drepper <drepper@redhat.com>
56637
e9f82e0d
UD
56638 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56639 strncase_l-nonascii.
56640 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56641 Add strncase_l-ssse3.
56642 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56643 * sysdeps/x86_64/strcmp.S: Likewise.
56644 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56645 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56646 * sysdeps/x86_64/strncase.S: New file.
56647 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56648 * sysdeps/x86_64/strncase_l.S: New file.
56649 * string/Makefile (strop-tests): Add strncasecmp.
56650 * string/test-strncasecmp.c: New file.
56651
56652 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56653 warning.
56654
ca6bb004
UD
56655 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56656 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56657
052fa7b3
AS
566582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56659
56660 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56661
962dba78
UD
566622010-08-12 Ulrich Drepper <drepper@redhat.com>
56663
56664 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56665 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56666 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56667
bebff237
AM
566682010-05-01 Alan Modra <amodra@gmail.com>
56669
56670 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56671 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56672 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56673 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56674 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56675 tidying. Don't tail-call __sigjmp_save for static lib.
56676 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56677 save location.
56678 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56679 (CALL_MCOUNT): Add eh info, and nop after bl.
56680 (TAIL_CALL_SYSCALL_ERROR): New macro.
56681 (PSEUDO_RET): Use it.
56682 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56683 Correct save location of integer regs and cr.
56684 (_dl_profile_resolve): Correct cr save location. Delete nops
56685 after bl when SHARED. Reduce cfi size a little by better
56686 placement of cfi directives.
56687 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56688 make a stack frame. Instead use parm save area as a temp.
56689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56690 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56692 Don't make a stack frame for parent, use parm save area.
56693 Increase child stack frame to 112 bytes. Don't save unused reg,
56694 and adjust reg usage. Set up cfi on error recovery and
56695 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56697 (__makecontext): Add dummy nop after jump to exit.
56698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56699 Use correct parm save area and cr save, reduce stack frame.
56700 Correct cfi for possible PSEUDO_RET frame setup.
56701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56702 Branch to local label emitted by PSEUDO_RET rather than
56703 __syscall_error.
56704
02637374
AS
567052010-08-12 Andreas Schwab <schwab@redhat.com>
56706
56707 [BZ #11904]
56708 * locale/programs/locale.c (print_assignment): New function.
56709 (show_locale_vars): Use it.
56710
c3e2f19b
UD
567112010-08-11 Ulrich Drepper <drepper@redhat.com>
56712
3cdaa6ad
UD
56713 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56714 field.
56715 (struct statfs64): Likewise.
56716 (_STATFS_F_FLAGS): Define.
56717 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56718 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56719 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56720 (ST_VALID): Define locally.
56721 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56722 __statvfs_getflags, use the provided value.
56723 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56724 __ASSUME_STATFS_F_FLAGS.
56725
754f7da3
UD
56726 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56727
10b3bedc
UD
56728 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56729 Add sys/fanotify.h.
56730 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56731 fanotify_mask for GLIBC_2.13.
56732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56733 fanotify_init and fanotify_mark.
56734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56735 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56736
c08fb0d7
UD
56737 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56738 Add prlimit.
56739 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56740 prlimit64 for GLIBC_2.13.
56741 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56742 prlimit64.
56743 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56744 syscall.
56745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56746 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56747 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56748 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56749 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56750 add prlimit alias.
56751 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56752
15bac72b
UD
56753 [BZ #11903]
56754 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56755 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56756
c3e2f19b
UD
56757 * nss/Makefile: Add rules to build and run tst-nss-test1.
56758 * shlib-versions: Add entry for libnss_test1.
56759 * nss/nss_test1.c: New file.
56760 * nss/tst-nss-test1.c: New file.
56761
56762 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56763 (__nss_configure_lookup): Set appropriate entry in
56764 __nss_configure_lookup to true.
56765 * nss/nsswitch.h: Define enum with indeces of databases in
56766 databases and __nss_database_custom arrays. Declare
56767 __nss_database_custom.
56768 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56769 to avoid using nscd when custom rules are installed.
56770 * nss/getXXbyYY_r.c: Likewise.
56771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56772
56773 * nss/nss_files/files-parse.c: Whitespace fixes.
56774
f15ce4d8
UD
567752010-08-09 Ulrich Drepper <drepper@redhat.com>
56776
56777 [BZ #11883]
56778 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56779 * posix/fnmatch_loop.c: Likewise.
56780
d22e4cc9
AK
567812010-07-17 Andi Kleen <ak@linux.intel.com>
56782
56783 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56784 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56785 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56786 * Versions.def [GLIBC_2.13]: Add.
56787
805bc17d
UD
567882010-08-06 Ulrich Drepper <drepper@redhat.com>
56789
56790 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56791 Also fail if tpwd after pwuid call is NULL.
56792
5a42321d
ST
567932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56794
56795 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56796 when converting to ms.
56797
fd3ebeda
ST
567982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56799
56800 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56801 EOPNOTSUPP errors with ENOTTY.
56802 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56803 EOPNOTSUPP errors with ENOTTY.
56804
73507d3a
UD
568052010-07-31 Ulrich Drepper <drepper@redhat.com>
56806
56807 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56808 Add strcasecmp_l-ssse3.
56809 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56810 strcasecmp.
56811 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56812 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56813 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56814
fe36dd02
UD
568152010-07-30 Ulrich Drepper <drepper@redhat.com>
56816
66f6765a
UD
56817 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56818
42e08a54
UD
56819 * string/Makefile (strop-tests): Add strcasecmp.
56820 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56821 strcasecmp_l-nonascii.
56822 (gen-as-const-headers): Add locale-defines.sym.
56823 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56824 * sysdeps/x86_64/strcasecmp.S: New file.
56825 * sysdeps/x86_64/strcasecmp_l.S: New file.
56826 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56827 * sysdeps/x86_64/locale-defines.sym: New file.
56828 * string/test-strcasecmp.c: New file.
56829
fe36dd02
UD
56830 * string/test-strcasestr.c: Test both ends of the range of characters.
56831 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56832
48cbc0d6
RM
568332010-07-29 Roland McGrath <roland@redhat.com>
56834
76e6d6bc 56835 [BZ #11856]
48cbc0d6
RM
56836 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56837
880113d9
UD
568382010-07-27 Ulrich Drepper <drepper@redhat.com>
56839
56840 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56841 for ld.so.
56842
deb9cabb
AS
568432010-07-27 Andreas Schwab <schwab@redhat.com>
56844
56845 * manual/memory.texi (Malloc Tunable Parameters): Document
56846 M_PERTURB.
56847
1c7570ff
RM
568482010-07-26 Roland McGrath <roland@redhat.com>
56849
56850 [BZ #11840]
56851 * configure.in (-fgnu89-inline check): Set and substitute
56852 gnu89_inline, not libc_cv_gnu89_inline.
56853 * configure: Regenerated.
56854 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56855
24fb0f88
UD
568562010-07-26 Ulrich Drepper <drepper@redhat.com>
56857
56858 * string/test-strnlen.c: New file.
56859 * string/Makefile (strop-tests): Add strnlen.
56860 * string/tester.c (test_strnlen): Add a few more test cases.
56861 * string/tst-strlen.c: Better error reporting.
56862
56863 * sysdeps/x86_64/strnlen.S: New file.
56864
8e96b93a
UD
568652010-07-24 Ulrich Drepper <drepper@redhat.com>
56866
56867 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56868 lower-latency instructions.
56869
dbc676d4
UD
568702010-07-23 Ulrich Drepper <drepper@redhat.com>
56871
56872 * string/test-strcasestr.c: New file.
56873 * string/test-strstr.c: New file.
56874 * string/Makefile (strop-tests): Add strstr and strcasestr.
56875 * string/str-two-way.h: Don't undefine MAX.
56876 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56877
f6a31e0e
AS
568782010-07-21 Andreas Schwab <schwab@redhat.com>
56879
56880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56881 strcasestr-nonascii.
56882 (CFLAGS-strcasestr-nonascii.c): Define.
56883 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56884 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56885 Remove unused attribute.
56886
5dbc3b6c
RM
568872010-07-20 Roland McGrath <roland@redhat.com>
56888
56889 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56890 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56891 ld.so.cache was broken. With it, there is no way to disable dsocaps
56892 like LD_HWCAP_MASK can disable hwcaps.
56893
23d101d8
EPM
568942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56895
56896 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56897
cc9f2e47
UD
568982010-07-16 Ulrich Drepper <drepper@redhat.com>
56899
56900 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56901 call in strcasestr.
56902 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56903 __strcasestr_sse42_nonascii.
56904 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56905 strcasestr-nonascii.c.
56906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56907
77c1b069
LM
569082010-06-15 Luis Machado <luisgpm@br.ibm.com>
56909
56910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56912 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56914
440566c3
UD
569152010-07-09 Ulrich Drepper <drepper@redhat.com>
56916
56917 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56918 fcntl.
56919
5be9d05d
AS
569202010-07-06 Andreas Schwab <schwab@redhat.com>
56921
c30b7ee2 56922 [BZ #11577]
5be9d05d
AS
56923 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56924 dl_signal_cerror.
56925
8a492a67
UD
569262010-07-06 Ulrich Drepper <drepper@redhat.com>
56927
56928 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56929 _PC_PIPE_BUF using F_GETPIPE_SZ.
56930
713df3d5
RM
569312010-07-05 Roland McGrath <roland@redhat.com>
56932
56933 * manual/arith.texi (Rounding Functions): Fix rint description
56934 implicit in round description.
56935
702e8f14
UD
569362010-07-02 Ulrich Drepper <drepper@redhat.com>
56937
56938 * elf/Makefile: Fix linking for a few tests to make recent linker
56939 happy.
56940
52ed8be9
AS
569412010-06-30 Andreas Schwab <schwab@redhat.com>
56942
56943 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56944 $(common-objpfx)libc_nonshared.a.
56945
f47c9a11
LM
569462010-06-21 Luis Machado <luisgpm@br.ibm.com>
56947
56948 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56949 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56950 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56951 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56952 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56953 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56954 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56955 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56970 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56971 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56972 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56973 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56974 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56975 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56976 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56977 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56978 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56979 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56980 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56981 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56996
6fb8cbcb
L
569972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56998
56999 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57000 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57001 * string/memmove.c (memmove): Renamed to ...
57002 (MEMMOVE): ...this. Default to memmove.
57003 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57004 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57005 (END_CHK): Define.
57006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57007 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57008 mempcpy-ssse3-back memmove-ssse3-back.
57009 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57010 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57012 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57013 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57014 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57015 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57016 * sysdeps/x86_64/multiarch/memmove.c: New file.
57017 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57018 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57019 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57020 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57021 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57022 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57023 Define.
57024 (index_Fast_Copy_Backward): Define.
57025 (HAS_ARCH_FEATURE): Define.
57026 (HAS_FAST_REP_STRING): Define.
57027 (HAS_FAST_COPY_BACKWARD): Define.
57028
4e733bac 570292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57030
57031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57032 Restore proper fallback handling.
57033
63c4ed22
UD
570342010-06-19 Ulrich Drepper <drepper@redhat.com>
57035
ac2b484c
UD
57036 [BZ #11701]
57037 * posix/group_member.c (__group_member): Correct checking loop.
57038
63c4ed22
UD
57039 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57040 OOM in getpwuid_r correctly. Return error number when the caller
57041 should return, otherwise -1.
57042 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57043 call returning > 0 value.
57044 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57045
765ade4b
AS
570462010-06-07 Andreas Schwab <schwab@redhat.com>
57047
57048 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57049 libc_nonshared.a from targets in modules-names.
57050
80da2e09
KS
570512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57052
57053 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57054 requires it.
57055
158db122
LM
570562010-06-10 Luis Machado <luisgpm@br.ibm.com>
57057
57058 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57059 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57062
caa78cf8
AS
570632010-06-02 Andreas Schwab <schwab@redhat.com>
57064
57065 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57066
b2ef2c01
UD
570672010-06-14 Ulrich Drepper <drepper@redhat.com>
57068
57069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57070 and F_GETPIPE_SZ.
57071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57072 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57077
fbd643b6
RM
570782010-06-14 Roland McGrath <roland@redhat.com>
57079
57080 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57081
f32f2869
JJ
570822010-06-07 Jakub Jelinek <jakub@redhat.com>
57083
57084 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57085 __REDIRECT followed by __THROW.
57086 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57087 * posix/getopt.h (getopt): Likewise.
57088
2a50c078
EPM
570892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57090
57091 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57092 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57093 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57094 in AT_FLAGS.
57095 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57096 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57097
eb5ad2eb
LM
570982010-05-28 Luis Machado <luisgpm@br.ibm.com>
57099
57100 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57101
3c88fe1e
L
571022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57103
57104 [BZ #11640]
57105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57106 Properly check family and model.
57107
d2f73151
TY
571082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57109
57110 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57111
ebd2e13d
LM
571122010-05-24 Luis Machado <luisgpm@br.ibm.com>
57113
57114 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57115
b32b8b45
UD
571162010-05-21 Ulrich Drepper <drepper@redhat.com>
57117
57118 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57119 symbol reference.
57120
9acbe24d
AS
571212010-05-19 Andreas Schwab <schwab@redhat.com>
57122
57123 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57124 symbol reference.
57125
f0ccf6ea
AS
571262010-05-21 Andreas Schwab <schwab@redhat.com>
57127
3d04ff3a
AS
57128 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57129 and internal_recvmmsg.
57130 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57131 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57133 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57134
f0ccf6ea
AS
57135 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57136 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57137 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57138
5b08ac57
AS
571392010-05-20 Andreas Schwab <schwab@redhat.com>
57140
57141 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57142
4828935d
LM
571432010-05-17 Luis Machado <luisgpm@br.ibm.com>
57144
57145 POWER7 optimizations.
57146 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57147 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57148
373d545e
UD
571492010-05-19 Ulrich Drepper <drepper@redhat.com>
57150
57151 * version.h: Update for 2.13 development version.
57152
21a2b1ae
AS
571532010-05-12 Andrew Stubbs <ams@codesourcery.com>
57154
57155 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57156 exceptions. Return 0.
57157
3f7dcb2b
RM
571582010-05-07 Roland McGrath <roland@redhat.com>
57159
57160 * elf/ldconfig.c (main): Add a const.
57161
5f24d53a 571622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57163
a160f8d8
UD
57164 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57165 (args_options): Add no-idn option.
57166 (ahosts_keys_int): Add idn_flags to ai_flags.
57167 (parse_option): Handle 'i' option to clear idn_flags.
57168
5f24d53a
UD
57169 * malloc/malloc.c (_int_free): Possible race in the most recently
57170 added check. Only act on the data if no current modification
57171 happened.
265bb1ce
UD
57172
57173See ChangeLog.17 for earlier changes.