]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hppa: fix __O_SYNC to match the kernel
[thirdparty/glibc.git] / ChangeLog
CommitLineData
49f476f4
JDA
12015-02-27 John David Anglin <dave.anglin@bell.net>
2
3 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4 to 00100000.
5
f8ab5d38
JM
62015-02-27 Joseph Myers <joseph@codesourcery.com>
7
8 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9
380bd0fd
JM
102015-02-26 Joseph Myers <joseph@codesourcery.com>
11
31331a07
JM
12 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
13 (__kernel_standard): Use CSTR macro when setting exc.name.
14 * sysdeps/ieee754/Makefile [$(subdir) = math]
15 (CFLAGS-k_standard.c): Remove variable.
16
09220e66
JM
17 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18 setting p and q from "else if" to "else".
19 (qzero): Likewise.
20 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21 (qone): Likewise.
22 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
23 (qzerof): Likewise.
24 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25 (qonef): Likewise.
26 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27 (qzero): Likewise.
28 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
29 (qone): Likewise.
30
1d9ab20c
JM
31 [BZ #18038]
32 [BZ #18039]
33 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
34 return pi/2 for arguments below 0x1p-113L.
35 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
36 return pi/2 for arguments below 0x1p-106L.
37 * math/auto-libm-test-in: Add more tests of acos.
38 * math/auto-libm-test-out: Regenerated.
39
ec0ce0d3
JM
40 [BZ #16351]
41 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
42 (MO): New macro.
43 (__ieee754_asin): Force underflow exception for results with small
44 absolute value.
45 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
46 (MO): New macro.
47 (__ieee754_asinf): Force underflow exception for results with
48 small absolute value.
49 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
50 (__ieee754_asin): Force underflow exception for results with small
51 absolute value.
52 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
53 (__ieee754_asinf): Force underflow exception for results with
54 small absolute value.
55 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
56 (__ieee754_asinl): Force underflow exception for results with
57 small absolute value.
58 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
59 (__ieee754_asinl): Force underflow exception for results with
60 small absolute value.
61 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
62 (__ieee754_asinl): Force underflow exception for results with
63 small absolute value.
64 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
65 Include <math.h>.
66 * math/auto-libm-test-in: Do not mark underflow exceptions as
67 possibly missing for bug 16351.
68 * math/auto-libm-test-out: Regenerated.
69
380bd0fd
JM
70 [BZ #18030]
71 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
72 of power of 2 down when low part has opposite sign.
73 * math/libm-test.inc (logb_test_data): Add more tests.
74
4a28f4d5
AS
752015-02-26 Andreas Schwab <schwab@suse.de>
76
77 [BZ #18032]
78 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
79 over collating symbol inside a bracket expression. Minor cleanup.
80 * posix/tst-fnmatch3.c (do_test): Add test case.
81
524ae9ea
JM
822015-02-26 Joseph Myers <joseph@codesourcery.com>
83
84 [BZ #18029]
85 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
86 Adjust exponent of power of 2 down when low part has opposite
87 sign.
88 * math/libm-test.inc (ilogb_test_data): Add more tests.
89
23d43090
AO
902015-02-26 Alexandre Oliva <aoliva@redhat.com>
91
92 [BZ #15969]
93 * locale/findlocale.c (_nl_find_locale): Fix constness error in
94 the previous change.
0d822a01
AO
95
96 [BZ #15969]
97 * locale/findlocale.c (_nl_find_locale): Retry archive search
98 after alias expansion.
99
d19df6ac
RM
1002015-02-25 Roland McGrath <roland@hack.frob.com>
101
ca681b7b
RM
102 * iconv/tst-iconv3.c (main): Converted to ...
103 (do_test): ... this.
104 (TEST_FUNCTION): New macro.
105 Include test-skeleton.c.
106
fd1f2f1c
RM
107 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
108 (convert): Make function static.
109 (test_unalign): Likewise. Add const to argument pointee types.
110 (main): Replace with static function do_test.
111 Print "Succeeded." only if RET is zero.
112 (TEST_FUNCTION): New macro.
113 Include test-skeleton.c.
114
d19df6ac
RM
115 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
116 returns a null pointer.
117
115e0de7
AZ
1182015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
119
120 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
121 to __memcpy_ppc only for static builds.
122
137cef7d
JM
1232015-02-25 Joseph Myers <joseph@codesourcery.com>
124
125 [BZ #18020]
126 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
127 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
128 * math/auto-libm-test-in: Add more tests of asinh.
129 * math/auto-libm-test-out: Regenerated.
130 * sysdeps/i386/fpu/libm-test-ulps: Update.
131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132
cb43bb0d
CW
1332015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
134
135 [BZ #15850]
136 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
137 and ip6_mtuinfo definitions here.
138 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
139 in this define too. Update comment.
140
9be1052b
BS
1412015-02-24 Benno Schulenberg <bensberg@justemail.net>
142
143 * elf/sprof.c (load_shobj): Tweak error message to match others.
144
6807b1db
KE
1452015-02-24 Kevin Easton <kevin@guarana.org>
146
147 [BZ #16145] (partial fix)
148 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
149 to reduce lock contention.
150
b433df00
ML
1512015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
152
153 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
154 (struct timex): Update time comment.
155 (ADJ_SETOFFSET): Define.
156
440169d6
JM
1572015-02-24 Joseph Myers <joseph@codesourcery.com>
158
159 [BZ #18019]
160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
161 2**56 not 2**28 as threshold for log (2x) formula.
162 * math/auto-libm-test-in: Add more tests of acosh.
163 * math/auto-libm-test-out: Regenerated.
164 * sysdeps/i386/fpu/libm-test-ulps: Update.
165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
166
ba7d2c54
MF
1672015-02-24 Mike Frysinger <vapier@gentoo.org>
168
169 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
170 parenthesis around the buf assignment.
171 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
172
9438b237
JM
1732015-02-24 Joseph Myers <joseph@codesourcery.com>
174
175 [BZ #16783]
176 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
177 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
178 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
179 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
180 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
181 * math/libm-test.inc (scalb_test_data): Add more tests.
182
6909d276
PP
1832015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
184
185 [BZ #17916]
186 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
187 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
188
65f6f938
ER
1892015-02-24 Eric Rannaud <e@nanocritical.com>
190
191 [BZ #17523]
192 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
193 * io/bits/fcntl2.h (open): Use it.
194 (openat): Likewise.
195 * io/open.c (__libc_open): Likewise.
196 * io/open64.c (__libc_open64): Likewise.
197 * io/open64_2.c (__open64_2): Likewise.
198 * io/open_2.c (__open_2): Likewise.
199 * io/openat.c (__openat): Likewise.
200 * io/openat64.c (__openat64): Likewise.
201 * io/openat64_2.c (__openat64_2): Likewise.
202 * io/openat_2.c (__openat_2): Likewise.
203 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
204 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
205 * sysdeps/posix/open64.c (__libc_open64): Likewise.
206 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
207 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
208 (__open_nocancel): Likewise.
209 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
210 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
211 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
212
3e3002ff
SP
2132015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
214
215 [BZ #14841]
216 * resolv/gethnamaddr.c (getanswer): Skip logging if
217 RES_USE_DNSSEC is set.
218 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
219
9813dd58
MF
2202015-02-24 Mike Frysinger <vapier@gentoo.org>
221
222 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
223
7b1ec6a0
AO
2242015-02-23 Alexandre Oliva <aoliva@redhat.com>
225
226 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
227 201304L, for Unicode 7.
228
d49499c1
L
2292015-02-23 H.J. Lu <hongjiu.lu@intel.com>
230
231 [BZ #17836]
232 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
233 shared library. Add gmon-start.os otherwise.
234 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
235 $(objpfx)gmon-start.os if builing shared library.
236 ($(objpfx)g$(static-start-installed-name)): Likewise.
237
51225803
AS
2382015-02-23 Andreas Schwab <schwab@suse.de>
239
240 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
241
bdf1ff05
PP
2422015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
243
244 [BZ #17269]
245 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
246 (enlarge_userbuf): Likewise.
247
95296112
CLT
2482015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
249
250 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
251 * math/atest-exp.c (TIMEOUT): Adjust to 200.
252 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
253 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
254
e4a399dc
JM
2552015-02-20 Joseph Myers <joseph@codesourcery.com>
256
257 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
258 expression inside statement expression.
259
7133957f
SL
2602015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
261
262 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
263 <sysdeps/nptl/lowlevellock.h> and remove macros and
264 functions that are now defined there.
265 (SYS_futex): Remove.
266 (lll_compare_and_swap): Remove.
267 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
268
40176158
JM
2692015-02-19 Joseph Myers <joseph@codesourcery.com>
270
271 [BZ #17999]
272 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
273 instead of scandirat.
274 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
275 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
276 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
277 __scandirat.
278 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
279 (__scandirat): Declare. Use libc_hidden_proto.
280 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
281 Remove variable.
282 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
283
4629c866
JM
2842015-02-18 Joseph Myers <joseph@codesourcery.com>
285
286 [BZ #15319]
287 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
288 (MO): New macro.
289 (__ieee754_atan2): For results with small absolute value, force
290 underflow exception and remove excess range and precision from
291 return value.
292 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
293 (MO): New macro.
294 (__ieee754_atan2f): For results with small absolute value, force
295 underflow exception and remove excess range and precision from
296 return value.
297 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
298 (MO): New macro.
299 (__atan): For results with small absolute value, force underflow
300 exception and remove excess range and precision from return value.
301 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
302 (MO): New macro.
303 (__atanf): For results with small absolute value, force underflow
304 exception and remove excess range and precision from return value.
305 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
306 <math.h>.
307 (__ieee754_atan2): Force underflow exception for results with
308 small absolute value.
309 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
310 <math_private.h>.
311 (atan): Force underflow exception for results with small absolute
312 value.
313 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
314 (__atanf): Force underflow exception for results with small
315 absolute value.
316 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
317 <math.h>.
318 (__atanl): Force underflow exception for results with small
319 absolute value.
320 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
321 (__atanl): Force underflow exception for results with small
322 absolute value.
323 * sysdeps/x86/fpu/bits/mathinline.h
324 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
325 (__ieee754_atan2): Only define inline for long double.
326 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
327 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
328 * math/auto-libm-test-in: Do not mark underflow exceptions as
329 possibly missing for bug 15319. Add more tests of atan2.
330 * math/auto-libm-test-out: Regenerated.
331 * math/libm-test.inc (casin_test_data): Do not mark underflow
332 exceptions as possibly missing for bug 15319.
333 (casinh_test_data): Likewise.
334 * sysdeps/i386/fpu/libm-test-ulps: Update.
335
9ee16d8b
SE
3362015-02-18 Steve Ellcey <sellcey@imgtec.com>
337
338 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
339 * sysdeps/mips/bits/endian.h: Fix comments.
340
4ffb1771
JM
3412015-02-18 Joseph Myers <joseph@codesourcery.com>
342
343 [BZ #17996]
344 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
345 (hdestroy_r): Likewise.
346 (hsearch_r): Likewise.
347 (__hcreate_r): Declare and use libc_hidden_proto.
348 (__hdestroy_r): Likewise.
349 (__hsearch_r): Likewise.
350 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
351 (hcreate): Call __hcreate_r instead of hcreate_r.
352 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
353 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
354 as weak alias of __hcreate_r.
355 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
356 __hdestroy_r.
357 (hsearch_r): Rename to __hsearch_r and define as weak alias of
358 __hsearch_r.
359 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
360 Remove variable.
361 (test-xfail-XPG4/search.h/linknamespace): Likewise.
362 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
363 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
364 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
365
94c5a52a
SP
3662015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
367
368 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
369 arena_lock into a single arena_get.
370
8a35c3fe
CD
3712015-02-17 Carlos O'Donell <carlos@redhat.com>
372
373 * dl-reloc.c: Inlucde libc-internal.h.
374 (_dl_try_allocate_static_tls): Call ALIGN_UP.
375 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
376 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
377 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
378 (grow_heap): Likewise.
379 * malloc/malloc.c: Include libc-internal.h.
380 (do_check_malloc): Call powerof2.
381 (sysmalloc): Use pagesize. Call ALIGN_UP.
382 (systrim): Use pagesize.
383 (mremap_chunk): Use pagesize. Call ALIGN_UP.
384 (__libc_valloc): Use pagesize.
385 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
386
1a2325c0
JM
3872015-02-17 Joseph Myers <joseph@codesourcery.com>
388
389 [BZ #17991]
390 * include/sys/resource.h (__getrlimit64): Declare. Use
391 libc_hidden_proto.
392 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
393 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
394 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
395 getrlimit64.
396 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
397 __getrlimit64.
398 [!getrlimit64] (getrlimit64): Define as weak alias of
399 __getrlimit64. Use libc_hidden_weak.
400 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
401 using __getrlimit64 not __new_getrlimit64.
402 (__GI_getrlimit64): Likewise.
403 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
404 Likewise.
405 (__GI_getrlimit64): Likewise.
406 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
408 (getrlimit): Add __getrlimit64 alias.
409 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
410 Likewise.
411 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
412 Remove variable.
413 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
414 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
415
8ae4bb5a
PP
4162015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
417
418 * libio/fileops.c: Add missing sys/mman.h
419 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
420
18a218b7
JM
4212015-02-17 Joseph Myers <joseph@codesourcery.com>
422
423 * manual/math.texi (Errors in Math Functions): Clarify goals
424 regarding inexact and underflow exceptions.
425
e72ad0ef
SE
4262015-02-17 Steve Ellcey <sellcey@imgtec.com>
427
428 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
429 * sysdeps/mips/memset.S: Ditto.
430
2caa4099
SE
4312015-02-17 Steve Ellcey <sellcey@imgtec.com>
432
433 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
434
f20bfc9b
SL
4352015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
436
437 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
438 (__v1longjmp): Remove versioned symbol.
439 (__v1siglongjmp): Remove alias and versioned symbol.
440 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
441 (__v2siglongjmp): Likewise.
442
71c06b69
TR
4432015-02-16 Torvald Riegel <triegel@redhat.com>
444
445 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
446
a9a05adb
MF
4472015-02-16 Mike Frysinger <vapier@gentoo.org>
448
449 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
450
ce8fc784
JM
4512015-02-16 Joseph Myers <joseph@codesourcery.com>
452
453 [BZ #17987]
454 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
455 zero result does not depend on the sign resulting from
456 subtraction.
457 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
458 Likewise.
459 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
460 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
461 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
462 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
463 * math/libm-test.inc (remquo_test_data): Add more tests.
464
0d7036bd
PE
4652015-02-16 Paul Eggert <eggert@cs.ucla.edu>
466
467 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
468 Problem reported by J William Piggott.
469
86c56b16
JM
4702015-02-16 Joseph Myers <joseph@codesourcery.com>
471
a820f9b3
JM
472 [BZ #17978]
473 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
474 products 4 * y and 2 * y where those would overflow.
475 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
476 Likewise.
477 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
478 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
479 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
480 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
481 * math/libm-test.inc (remquo_test_data): Add more tests.
482
be802953
JM
483 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
484
e5e72fe9
JM
485 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
486 [defined _COMPILING_NEWLIB].
487 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
488 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
489
86c56b16
JM
490 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
491 [!defined __mips_isa_rev || __mips_isa_rev < 6].
492
35264d14
TR
4932015-02-16 Torvald Riegel <triegel@redhat.com>
494
495 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
496 acquired.
497
6f49e32a
MF
4982015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
499
500 [BZ #17792]
501 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
502 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
503 HOST_STACK_END_ADDR): Likewise.
504
e525154e
SE
5052015-02-13 Steve Ellcey <sellcey@imgtec.com>
506
507 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
508 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
509 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
510
4ab770b7
RM
5112015-02-13 Roland McGrath <roland@hack.frob.com>
512
513 * sysdeps/generic/c++-types.data: New file.
514 * sysdeps/generic/ld.abilist: New file.
515 * sysdeps/generic/libBrokenLocale.abilist: New file.
516 * sysdeps/generic/libanl.abilist: New file.
517 * sysdeps/generic/libc.abilist: New file.
518 * sysdeps/generic/libcrypt.abilist: New file.
519 * sysdeps/generic/libdl.abilist: New file.
520 * sysdeps/generic/libm.abilist: New file.
521 * sysdeps/generic/libpthread.abilist: New file.
522 * sysdeps/generic/libresolv.abilist: New file.
523 * sysdeps/generic/librt.abilist: New file.
524
d9afe48d
JM
5252015-02-13 Joseph Myers <joseph@codesourcery.com>
526
527 [BZ #17569]
528 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
529 Compute absolute value of x as modified by fmod, not original
530 value of x.
531 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
532 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
533 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
534 RUN_TEST_ffI_f1_mod8.
535 (remquo_test_data): Add more tests.
536
3846188b
RM
5372015-02-13 Roland McGrath <roland@hack.frob.com>
538
539 * sysdeps/init_array/pt-crti.S: New file.
540
95c26233
JM
5412015-02-13 Joseph Myers <joseph@codesourcery.com>
542
543 [BZ #17967]
544 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
545 __builtin_fmaf instead of relying on contraction of a * b + c.
546
3f293d61
WP
5472015-02-12 J William Piggott <elseifthen@gmx.com>
548
549 [BZ #17969]
550 * manual/time.texi: correct the zoneinfo path in the TZ Variable
551 node.
552
e8bd5286
JM
5532015-02-12 Joseph Myers <joseph@codesourcery.com>
554
555 [BZ #17964]
556 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
557 __builtin_fma instead of relying on contraction of a * b + c.
558
04f5a636
RM
5592015-02-12 Roland McGrath <roland@hack.frob.com>
560
96a15749
RM
561 * Makeconfig (ASFLAGS): Add -Werror=undef.
562 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
563 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
564 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
565
04f5a636
RM
566 * Makeconfig (after-link): New variable.
567 (+link-pie, +link-pie-tests): Use it.
568 (+link-static, +link-static-tests): Likewise.
569 (+link, +link-tests): Likewise.
570 * Makerules (build-module, build-module-asneeded): Likewise.
571 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
572 Likewise.
573 * elf/Makefile ($(objpfx)ld.so): Likewise.
574
87a629c5
RS
5752015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
576
577 [BZ #17965]
578 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
579 both struct timeval and struct timespec.
580
03d95bd4
JM
5812015-02-12 Joseph Myers <joseph@codesourcery.com>
582
583 [BZ #16560]
584 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
585 and redefine.
586 (__ieee754_exp2l): Do not multiply small fractional parts by
587 M_LN2l.
588 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
589 small argument.
590 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
591 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
592 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
593 * math/auto-libm-test-in: Add more tests of exp2.
594 * math/auto-libm-test-out: Regenerated.
595
98408b95
RS
5962015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
597
598 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
599 unaligned path.
600
6f741503
AZ
6012015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602
603 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
604 little endian.
605
2868e070
AS
6062015-02-12 Andreas Schwab <schwab@suse.de>
607
608 [BZ #15790]
609 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
610 Filter out elision flags from value returned in kind.
611 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
612 * nptl/tst-pthread-mutexattr.c: New file.
613
ebf27d12
ST
6142015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
615
616 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
617 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
618 into gnu-gnu, and update comment to refer to abi-tags.
619
d435569c
JM
6202015-02-11 Joseph Myers <joseph@codesourcery.com>
621
622 [BZ #15467]
623 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
624 (__sincos): Set errno to EDOM for infinite argument.
625 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
626 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
627 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
628 (__sincosl): Set errno to EDOM for infinite argument.
629 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
630 (__sincosl): Set errno to EDOM for infinite argument.
631 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
632 (__sincosl): Set errno to EDOM for infinite argument.
633 * math/libm-test.inc (sincos_test_data): Test errno setting.
634
d35273f2
LH
6352015-02-11 Leonhard Holz <leonhard.holz@web.de>
636
637 * string/strxfrm_l.c: Remove #define STRCMP.
638 * string/strcoll_l.c: Remove #define STRLEN.
639 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
640 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
641
306bc0d1
JM
6422015-02-10 Joseph Myers <joseph@codesourcery.com>
643
644 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
645 * sysdeps/mips/mips32/sfp-machine.h: ... here.
646 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
647 * sysdeps/mips/mips64/Makefile: ... here.
648 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
649 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
650 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
651 * sysdeps/mips/mips64/sfp-machine.h: ... here.
652 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
653 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
654 * sysdeps/mips/mips64/n64/Implies: Likewise.
655
92b67e8d
RM
6562015-02-10 Roland McGrath <roland@hack.frob.com>
657
658 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
659 <sys/time.h>, <string.h>, and <errno.h>.
660 (dest_offset, dest_address, value, zero): Remove unused variables.
661 (ldouble): Remove typedef.
662 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
663 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
664 1). Fix code style.
665 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
666 (check): Function removed.
667 (CHECK): New macro.
668 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
669 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
670 Don't call set_sigaction_FP and remove_sigaction_FP here.
671 (ldouble_test): Just use 'long double' as macro argument, no need for
672 the 'ldouble' typedef.
673 (do_test): Set up SIGFPE handler at start, using plain signal rather
674 than sigaction. Fix code style.
675
132a1328
EF
6762015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
677
678 [BZ #17949]
679 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
680 jump label.
681
3001e54c
AZ
6822015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
683
bc0cdc49
AZ
684 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
685 * sysdeps/powerpc/powerpc32/configure: Regenerated.
686
83658961
AZ
687 * sysdeps/powerpc/configure.ac: Remove file.
688 * sysdeps/powerpc/configure: Likewise.
689
10169938
AZ
690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
691 [sysdep_routines]: Remove wordcopy-power6 object.
692 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
693 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
694 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
695 (__memmove_ppc32): Likewise.
696 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
697 file.
698 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
699 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
700 Remove preprocessor.
701
8548a53d
AZ
702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
703 [sysdep_routines]: Remove wide chars objects.
704 [wcsmbs]: New rule for wide char objects.
705
b2692114
AZ
706 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
707 Remove wordcopy-power6 obejct.
708 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
709 Use local call for wordcopy and memcpy symbols.
710 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
711 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
712 implementation for loader.
713 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
714
18e270aa
AZ
715 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
716 Remove wordcopy-power7 object.
717 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
718 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
719 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
720 (_wordcopy_fwd_dest_aligned): Likewise.
721 (_wordcopy_bwd_aligned): Likewise.
722 (_wordcopy_bwd_dest_aligned): Likewise.
723
6f0993a6
AZ
724 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
725 Rewrite to call __memmove_ppc instead of include default
726 implementation.
727
3001e54c
AZ
728 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
729 Remove wide chars objects.
730 [wcsmbs]: New rule for wide char objects.
731
59b61c82
AS
7322015-02-09 Andreas Schwab <schwab@suse.de>
733
734 [BZ #17912]
735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
736 in terms of __O_DIRECTORY.
737
ebd7aede
ST
7382015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
739
740 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
741 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
742 call PTR_MANGLE.
743 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
744 PTR_DEMANGLE.
ebd7aede 745
3999d26e
PE
7462015-02-07 Paul Eggert <eggert@cs.ucla.edu>
747
748 Add ersatz _Static_assert on older C hosts
749 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
750 pre-C11 C platform that is not known to support _Static_assert.
751
e9a5bc1c
ST
7522015-02-07 Richard Braun <rbraun@sceen.net>
753
754 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
755 sigstate.
e86c5b64 756 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 757
e2049d17
ST
7582015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
759
760 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
761 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
762 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
763 instead of int.
764 * misc/fchflags.c (fchflags): Likewise.
765 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
766 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
767 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
768 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
769 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
770 Declare macros.
771 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
772 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
773 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
774 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
775 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
776 45.
a9a002fb
ST
777 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
778 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
779 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
780 MACH_RCV_TIMED_OUT.
f96ec27a
ST
781 * hurd/hurd/signal.h (_hurd_self_sigstate,
782 _hurd_critical_section_lock, _hurd_critical_section_unlock):
783 Explicit casts from void *.
4fc81a77 784 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 785 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 786
f05826f0
ST
787 [BZ #4719]
788 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
789 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
790 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
791 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
792 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
793 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
794
a5eb23de
ST
795 [BZ #17944]
796 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
797 duplicates ADDR->sun_path with sockaddr LEN limitation.
798 * sysdeps/mach/hurd/connect.c: Include <string.h>
799 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
800 * sysdeps/mach/hurd/sendmsg.c: Likewise.
801 * sysdeps/mach/hurd/sendto.c: Likewise.
802 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
803 implementing it by hand.
804
ac9e0e5e
RM
8052015-02-06 Roland McGrath <roland@hack.frob.com>
806
f8d1bb4c
RM
807 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
808 Use sfi_breg on ldr.
809 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
810 Likewise.
811
022f4812
RM
812 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
813 it's defined.
814 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
815 Test SIGSETXID only if it's defined.
816
1ac074e6
RM
817 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
818
f50ad78b
RM
819 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
820 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
821
9e7265f4
RM
822 * nptl/tst-align2.c: Moved ...
823 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
824 * nptl/Makefile (tests): Remove tst-align2.
825 * sysdeps/unix/sysv/linux/Makefile
826 [$(subdir) = nptl] (tests): Add tst-align-clone.
827 * nptl/tst-getpid1.c: Moved ...
828 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
829 * nptl/tst-getpid2.c: Moved ...
830 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
831 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
832 * sysdeps/unix/sysv/linux/Makefile
833 [$(subdir) = nptl] (tests): ... here.
834 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
835 * sysdeps/unix/sysv/linux/Makefile
836 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
837
62ad2abc
RM
838 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
839 Drop trailing \n from perror argument. Use return rather than exit.
840
cfa69b0b
RM
841 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
842 on [SA_SIGINFO].
843 * nptl/tst-cancel21.c (do_test): Likewise.
844 * debug/tst-backtrace6.c: Include <signal.h> first thing.
845 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
846 [!SA_SIGINFO]: Make it a stub test.
847
82727806
RM
848 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
849 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
850
da3a1594
RM
851 * posix/tst-getlogin.c: Move to ...
852 * login/tst-getlogin.c: ... here.
853 * posix/Makefile (tests): Move tst-getlogin to ...
854 * login/Makefile (tests): ... here.
855
b65c0ff9
RM
856 * libio/tst-atime.c (do_test): Move local variables SV and E
857 inside [ST_NOATIME] conditional.
858
56606ab3
RM
859 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
860
ebf7d6ee
RM
861 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
862
ca0e0675
RM
863 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
864 (wait_code): New function replaces macro.
865 Call nanosleep rather than syscall.
866
8c28bbc6
RM
867 * nptl/pt-system.c: Rewritten. Put everything under
868 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
869 Use IFUNC to redirect when possible.
870
ec2a88b3
RM
871 * nptl/pt-longjmp.c: Rewritten. Put everything under
872 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
873 Use IFUNC to redirect when possible.
874
beff1d13
RM
875 * nptl/pt-fork.c: Rewritten. Put everything under
876 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
877 Use IFUNC to redirect when possible.
878 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
879
ea02c6b8
RM
880 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
881 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
882 unconditionally nowadays. This included the only reference to
883 __vdso_clock_gettime that appears outside libc proper.
884 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
885 Remove version set (containing only __vdso_clock_gettime).
886 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
887 Add attribute_hidden.
888 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
889 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
890 libc_hidden_data_def.
891 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
892 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
893
a1309c2b
RM
894 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
895 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
896 setrpcent, and getrpcport to ...
897 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
898 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
899 getrpcbynumber_r, and getrpcent_r to ...
900 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
901 * inet/getrpcbyname.c: Moved ...
902 * sunrpc/getrpcbyname.c: ... here.
903 * inet/getrpcbyname_r.c: Moved ...
904 * sunrpc/getrpcbyname_r.c: ... here.
905 * inet/getrpcbynumber.c: Moved ...
906 * sunrpc/getrpcbynumber.c: ... here.
907 * inet/getrpcbynumber_r.c: Moved ...
908 * sunrpc/getrpcbynumber_r.c: ... here.
909 * inet/getrpcent.c: Moved ...
910 * sunrpc/getrpcent.c: ... here.
911 * inet/getrpcent_r.c: Moved ...
912 * sunrpc/getrpcent_r.c: ... here.
913 * inet/Makefile (routines): Move those to ...
914 * sunrpc/Makefile (routines): ... here.
915 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
916 the $(subdirs) list.
917 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
918 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
919 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
920 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
921
ac9e0e5e
RM
922 * elf/Makefile (routines): Include $(all-dl-routines), not just
923 $(dl-routines).
924 (rtld-routines): Likewise. Use = rather than :=.
925 * sysdeps/aarch64/Makefile [$(subdir) = elf]
926 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
927 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
928 * sysdeps/arm/Makefile: Likewise.
929 * sysdeps/i386/Makefile: Likewise.
930 * sysdeps/x86_64/Makefile: Likewise.
931 * sysdeps/hppa/Makefile [$(subdir) = elf]
932 (sysdep_routines, sysdep-rtld-routines): Don't add
933 $(sysdep-dl-routines) to these.
934 * sysdeps/ia64/Makefile: Likewise.
935 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
936 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
937 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
938 Don't add dl-static to these; sysdep-dl-routines alone is enough.
939 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
940 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
941 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
942 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
943 * sysdeps/powerpc/Makefile [$(subdir) = elf]
944 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
945 these; sysdep-dl-routines alone is enough.
946
639e42eb
JM
9472015-02-06 Joseph Myers <joseph@codesourcery.com>
948
1c7a4a51
JM
949 [BZ #17932]
950 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
951 where multiplication results in zero and third argument is finite
952 and nonzero.
953 * math/auto-libm-test-in: Add more tests of fma.
954 * math/auto-libm-test-out: Regenerated.
955
61f006c1
JM
956 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
957 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
958 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
959 (_FP_CMP_EQ): Likewise.
960 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
961
639e42eb
JM
962 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
963 extra argument CHECK_NAN. Redefine as wrapper around
964 _FP_EXTEND_CNAN.
965
3c0c543b
CD
9662015-02-06 Carlos O'Donell <carlos@systemhalted.org>
967
4e42b5b8
CD
968 * version.h (RELEASE): Set to "stable".
969 (VERSION): Set to "2.21"
970 * include/features.h (__GLIBC_MINOR__): Set to 21.
971
3c0c543b
CD
972 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
973
5bd80bfe 9742015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 975 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
976
977 [BZ #16618]
978 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
979 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
980 size in bytes. Store needed elements in wpmax. Use needed size
981 in bytes for extend_alloca.
982
3f823f48
CD
9832015-02-05 Carlos O'Donell <carlos@systemhalted.org>
984
04cb913d
CD
985 * manual/install.texi: Latest tested versions are GCC 4.9.2,
986 binutls 2.25, and texinfo 5.2.
987 * INSTALL: Regenerate.
988 * sysdeps/nios2/configure: Regenerate.
989 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
990 * manual/contrib.texi: Update.
991 * po/be.po: Update.
992 * po/bg.po: Update.
993 * po/ca.po: Update.
994 * po/cs.po: Update.
995 * po/da.po: Update.
996 * po/de.po: Update.
997 * po/el.po: Update.
998 * po/eo.po: Update.
999 * po/es.po: Update.
1000 * po/fi.po: Update.
1001 * po/fr.po: Update.
1002 * po/gl.po: Update.
1003 * po/hr.po: Update.
1004 * po/hu.po: Update.
1005 * po/ia.po: Update.
1006 * po/id.po: Update.
1007 * po/it.po: Update.
1008 * po/ja.po: Update.
1009 * po/ko.po: Update.
1010 * po/lt.po: Update.
1011 * po/nb.po: Update.
1012 * po/nl.po: Update.
1013 * po/pl.po: Update.
1014 * po/pt_BR.po: Update.
1015 * po/ru.po: Update.
1016 * po/rw.po: Update.
1017 * po/sk.po: Update.
1018 * po/sl.po: Update.
1019 * po/sv.po: Update.
1020 * po/tr.po: Update.
1021 * po/uk.po: Update.
1022 * po/vi.po: Update.
1023 * po/zh_CN.po: Update.
1024 * po/zh_TW.po: Update.
1025
3f823f48
CD
1026 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1027 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1028 * sysdeps/hppa/dl-irel.h: Remove #warning.
1029 * sysdeps/hppa/entry.h: Provide prototype for
1030 __canonicalize_funcptr_for_compare and cast argument.
1031 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1032 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1033 * sysdeps/hppa/sotruss-lib.c: New file.
1034 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1035 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1036 (atomic_compare_and_exchange_bool_acq): Likewise.
1037 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1038 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1039
1040 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1041 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1042 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1043
34c56048
CLT
10442015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1045
1046 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1047 called function in non-PIC case.
1048
d4abeca5
DM
10492015-01-31 David S. Miller <davem@davemloft.net>
1050
edac0a60
DM
1051 * sysdeps/sparc/sparc32/bits/atomic.h
1052 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1053 unlock not after it.
1054 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1055 volatile register usage warnings from the compiler.
1056
d4abeca5
DM
1057 * sysdeps/sparc/nptl/sem_init.c: Delete.
1058 * sysdeps/sparc/nptl/sem_post.c: Delete.
1059 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1060 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1061 * sysdeps/sparc/sparc32/sem_init.c: New file.
1062 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1063 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1064 padding explicitly initialized.
1065 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1066 padding for in-semaphore spinlock.
1067 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1068 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1069 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1070 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1071 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1072 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1073 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1074 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1075 version.
1076 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1077 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1078
5f3d0b78
L
10792015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1080
1081 [BZ #17801]
1082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1083 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1084 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1085 New.
1086 (index_AVX_Fast_Unaligned_Load): Likewise.
1087 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1088 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1089 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1090 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1091 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1092 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1093 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1094 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1095 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1096
b658fdd8
AS
10972015-01-29 Andreas Schwab <schwab@suse.de>
1098
1099 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1100
3cb26316
SP
11012015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1102
1103 [BZ #17892]
1104 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1105
527de9e4
MS
11062015-01-28 Martin Sebor <msebor@redhat.com>
1107
1108 * math/README.libm-test: Clarify. Add "How to read the test output."
1109
06991eb8
CM
11102015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1111
1112 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1113 Define to 0.
1114
df341342
JM
11152015-01-28 Joseph Myers <joseph@codesourcery.com>
1116
1117 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1118 (__HAVE_64B_ATOMICS): Define to 0.
1119
08cee2a4
AZ
11202015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1121
d4d0ecb2
AZ
1122 [BZ #17885]
1123 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1124 value to set as new flag.
1125
08cee2a4
AZ
1126 [BZ #16576]
1127 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1128 and use _ARCH_PPCSQ instead.
1129 (__ieee754_sqrt): Likewise.
1130 (__ieee754_sqrtf): Likewise.
1131 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1132 _ARCH_PPCSQ is defined.
1133 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1134 fsqrt instruction.
1135 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1136 _ARCH_PPCSQ is defined.
1137 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1138 fsqrts instruction.
1139 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1140
5fe8e359
AK
11412015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1142
1143 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1144 bug (GCC BZ #64739).
1145
24bb7432
AS
11462015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1147
fa20da31
AS
1148 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1149 Mark _retval as used.
1150 (lll_futex_wake_unlock): Likewise.
1151 (lll_futex_timed_wait_requeue_pi): Likewise.
1152
45819cbc
AS
1153 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1154 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1155 register variables.
1156
403cc231
AS
1157 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1158 libm_hidden_def.
1159
24bb7432
AS
1160 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1161 (__bswap_64): Mark as __always_inline.
1162
9317ea65
B
11632015-01-25 Bram <bug_rh@spam.wizbit.be>
1164
1165 [BZ #15378]
1166 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1167 when none of the search directories exist.
1168
0e87343e
AZ
11692015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1170
bea58013
AZ
1171 [BZ #17869]
1172 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1173 power8 in .machine directive.
1174
0e87343e
AZ
1175 [BZ #17868]
1176 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1177 set dependency from opd value.
1178
ede0236c
L
11792015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1180
1181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
1182 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1183 architecture.
ede0236c 1184
22971c35
L
11852015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 [BZ #17870]
1188 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1189 with uint64_t.
1190 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1191 (uint64_t) 1.
e0da28a1 1192 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
1193 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1194 Replace 1UL with (uint64_t) 1.
1195 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1196 int with uint64_t.
1197
da5bf245
RM
11982015-01-23 Roland McGrath <roland@hack.frob.com>
1199
2ec2d703
RM
1200 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1201 (if_freenameindex): Likewise.
1202
da5bf245
RM
1203 * resource/getrlimit64.c: Add missing libc_hidden_def.
1204
d7423856
JM
12052015-01-22 Joseph Myers <joseph@codesourcery.com>
1206
1207 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1208 __label__.
1209 (_FP_FMA): Likewise.
1210 (_FP_TO_INT_ROUND): Likewise.
1211 (_FP_FROM_INT): Likewise.
1212
6b2ba95b
AZ
12132015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1214
1215 [BZ #16418]
1216 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1217 Make code racy and cancel safe.
1218
ccdb048d
CD
12192015-01-21 Carlos O'Donell <carlos@redhat.com>
1220
191220b3
CD
1221 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1222 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1223 attribution.
1224
0897c551
CD
1225 * pwd/tst-getpw.c: Rewrite.
1226
ccdb048d
CD
1227 [BZ #17702]
1228 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1229 (modules-names): Add moddummy1 and moddummy2.
1230 ($(objpfx)tst-rec-dlopen): Define.
1231 * dlfcn/moddummy1.c: New file.
1232 * dlfcn/moddummy2.c: New file.
1233 * dlfcn/tst-rec-dlopen.c: New file.
1234 * elf/dl-cache.c (_dl_load_cache_lookup):
1235 Return char*. Copy result with alloca/strcpy/strdup.
1236 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1237 returns char*. Free cached. If not saving realname
1238 free cached.
1239 * elf/dl-open.c (dl_open_worker): Do not assert that
1240 _r_debug->r_state is RT_CONSISTENT.
1241 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1242 returns char*.
1243
042e1521
CD
12442015-01-21 Torvald Riegel <triegel@redhat.com>
1245 Carlos O'Donell <carlos@redhat.com>
1246
1247 [BZ #12674]
1248 * nptl/sem_waitcommon.c: New file.
1249 * nptl/sem_wait.c: Include sem_waitcommon.c.
1250 (__sem_wait_cleanup, do_futex_wait): Remove.
1251 (__new_sem_wait): Adapt.
1252 (__new_sem_trywait): New function.
1253 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1254 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1255 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1256 (sem_timedwait): Adapt.
1257 * nptl/sem_post.c (__new_sem_post): Adapt.
1258 (futex_wake): New function.
1259 (__old_sem_post): Add release MO fence.
1260 * nptl/sem_open.c (sem_open): Adapt.
1261 * nptl/sem_init.c (__new_sem_init): Adapt.
1262 (futex_private_if_supported): New function.
1263 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1264 (__old_sem_getvalue): Add using previous code.
1265 * sysdeps/nptl/internaltypes.h: Adapt.
1266 * nptl/tst-sem13.c (do_test): Adapt.
1267 * nptl/tst-sem11.c (main): Adapt.
1268 * nptl/sem_trywait.c: Remove.
1269 * nptl/DESIGN-sem.txt: Remove.
1270 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1271 (gen-as-const-headers): Remove structsem.sym.
1272 * nptl/structsem.sym: Remove.
1273 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1274 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1275 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1276 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1277 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1278 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1279 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1280 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1281 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1282 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1283 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1284 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1285 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1286 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1287 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1288 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1289 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1290 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1291 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1292 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1293 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1294 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1295
fe0e85af
CD
12962015-01-20 Carlos O'Donell <carlos@redhat.com>
1297
a8db092e
CD
1298 * INSTALL: Regenerated.
1299
fe0e85af
CD
1300 * po/libc.pot: Regenerated.
1301
522e6ee3
CLT
13022015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1303 Sandra Loosemore <sandra@codesourcery.com>
1304 Andrew Jenner <andrew@codesourcery.com>
1305 Joseph Myers <joseph@codesourcery.com>
1306 Nathan Sidwell <nathan@codesourcery.com>
1307
1308 * NEWS: Mention new Nios II port.
1309 * sysdeps/nios2/Implies: New file.
1310 * sysdeps/nios2/Makefile: New file.
1311 * sysdeps/nios2/Subdirs: New file.
1312 * sysdeps/nios2/Versions: New file.
1313 * sysdeps/nios2/__longjmp.S: New file.
1314 * sysdeps/nios2/abort-instr.h: New file.
1315 * sysdeps/nios2/backtrace.c: New file.
1316 * sysdeps/nios2/bits/endian.h: New file.
1317 * sysdeps/nios2/bits/fenv.h: New file.
1318 * sysdeps/nios2/bits/link.h: New file.
1319 * sysdeps/nios2/bits/setjmp.h: New file.
1320 * sysdeps/nios2/bsd-_setjmp.S: New file.
1321 * sysdeps/nios2/bsd-setjmp.S: New file.
1322 * sysdeps/nios2/configure: New generated file.
1323 * sysdeps/nios2/configure.ac: New file.
1324 * sysdeps/nios2/crti.S: New file.
1325 * sysdeps/nios2/crtn.S: New file.
1326 * sysdeps/nios2/dl-init.c: New file.
1327 * sysdeps/nios2/dl-machine.h: New file.
1328 * sysdeps/nios2/dl-sysdep.h: New file.
1329 * sysdeps/nios2/dl-tls.h: New file.
1330 * sysdeps/nios2/dl-trampoline.S: New file.
1331 * sysdeps/nios2/gccframe.h: New file.
1332 * sysdeps/nios2/gmp-mparam.h: New file.
1333 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1334 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1335 * sysdeps/nios2/ldsodefs.h: New file.
1336 * sysdeps/nios2/libc-tls.c: New file.
1337 * sysdeps/nios2/libm-test-ulps: New file.
1338 * sysdeps/nios2/machine-gmon.h: New file.
1339 * sysdeps/nios2/math-tests.h: New file.
1340 * sysdeps/nios2/math_private.h: New file.
1341 * sysdeps/nios2/memusage.h: New file.
1342 * sysdeps/nios2/nptl/Makefile: New file.
1343 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1344 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1345 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1346 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1347 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1348 * sysdeps/nios2/nptl/tls.h: New file.
1349 * sysdeps/nios2/preconfigure: New file.
1350 * sysdeps/nios2/s_fma.c: New file.
1351 * sysdeps/nios2/s_fmaf.c: New file.
1352 * sysdeps/nios2/setjmp.S: New file.
1353 * sysdeps/nios2/sfp-machine.h: New file.
1354 * sysdeps/nios2/sotruss-lib.c: New file.
1355 * sysdeps/nios2/stackguard-macros.h: New file.
1356 * sysdeps/nios2/stackinfo.h: New file.
1357 * sysdeps/nios2/start.S: New file.
1358 * sysdeps/nios2/sysdep.h: New file.
1359 * sysdeps/nios2/tls-macros.h: New file.
1360 * sysdeps/nios2/tst-audit.h: New file.
1361 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1362 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1363 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1364 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1365 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1366 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1367 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1368 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1369 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1370 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1371 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1372 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1373 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1374 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1375 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1376 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1377 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1378 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1379 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1380 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1381 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1382 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1383 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1384 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1385 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1386 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1387 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1388 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1389 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1390 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1391 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1392 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1393 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1394 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1395 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1396 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1397 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1398 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1399 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1400 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1401 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1402 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1403 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1404 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1405
026eb207
SL
14062015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1407
1408 [BZ #17844]
1409 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1410 (getutent): Use weak_alias in non SHARED case
1411 and default_symbol_version in SHARED case.
1412 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1413 (getutent_r, pututline): Likewise.
1414 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1415 (getutid): Likewise.
1416 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1417 (getutid_r): Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1419 (getutline): Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1421 (getutline_r): Likewise.
1422 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1423 (updwtmp): Likewise.
1424
1d532483
SL
14252015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1426
1427 [BZ #17848]
1428 * sysdeps/s390/s390-32/memcmp.S
1429 (memcmp_g5): Rename to __memcmp_g5.
1430 * sysdeps/s390/s390-32/memcpy.S
1431 (memcpy_g5): Rename to __memcpy_g5.
1432 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1433 (memcpy_mvcle) Rename to __memcpy_mvcle.
1434 * sysdeps/s390/s390-32/memset.S
1435 (memset_g5): Rename to __memset_g5.
1436 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1437 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1438 and use prefixed functions.
1439 * sysdeps/s390/s390-32/multiarch/memcmp.S
1440 (memcmp_z196): Rename to __memcmp_z196.
1441 (memcmp_z10): Rename to __memcmp_z10.
1442 (memcmp): Set alias to __memcmp_g5.
1443 (bcmp): Set alias to __memcmp_g5.
1444 * sysdeps/s390/s390-32/multiarch/memcpy.S
1445 (memcpy_z196): Rename to __memcpy_z196.
1446 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1447 (memcpy_z10): Rename to __memcpy_z10.
1448 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1449 (memcpy): Set alias to __memcpy_g5.
1450 * sysdeps/s390/s390-32/multiarch/memset.S
1451 (memset_z196): Rename to __memset_z196.
1452 Jump to __memset_mvcle instead of memset_mvcle.
1453 (memset_z10): Rename to __memset_z10.
1454 Jump to __memset_mvcle instead of memset_mvcle.
1455 (memset_mvcle) Rename to __memset_mvcle.
1456 (memset): Set alias to __memset_g5.
1457 * sysdeps/s390/s390-64/memcmp.S
1458 (memcmp_z900): Rename to __memcmp_z900.
1459 * sysdeps/s390/s390-64/memcpy.S
1460 (memcpy_z900): Rename to __memcpy_z900.
1461 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1462 (memcpy_mvcle) Rename to __memcpy_mvcle.
1463 * sysdeps/s390/s390-64/memset.S
1464 (memset_z900): Rename to __memset_z900.
1465 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1466 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1467 and use prefixed functions.
1468 * sysdeps/s390/s390-64/multiarch/memcmp.S
1469 (memcmp_z196): Rename to __memcmp_z196.
1470 (memcmp_z10): Rename to __memcmp_z10.
1471 (memcmp): Set alias to __memcmp_z900.
1472 (bcmp): Set alias to __memcmp_z900.
1473 * sysdeps/s390/s390-64/multiarch/memcpy.S
1474 (memcpy_z196): Rename to __memcpy_z196.
1475 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1476 (memcpy_z10): Rename to __memcpy_z10.
1477 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1478 (memcpy): Set alias to __memcpy_z900.
1479 * sysdeps/s390/s390-64/multiarch/memset.S
1480 (memset_z196): Rename to __memset_z196.
1481 Jump to __memset_mvcle instead of memset_mvcle.
1482 (memset_z10): Rename to __memset_z10.
1483 Jump to __memset_mvcle instead of memset_mvcle.
1484 (memset_mvcle) Rename to __memset_mvcle.
1485 (memset): Set alias to __memset_z900.
1486
53fbd169
JM
14872015-01-14 Joseph Myers <joseph@codesourcery.com>
1488
1489 [BZ #17748]
1490 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1491 __fesetenv instead of fesetenv.
1492
d639a363
SP
14932015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1494
1495 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1496 macro.
1497
d3b00f46
AZ
14982015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1499
ce6615c9
AZ
1500 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1501 regression on LE.
1502
d3b00f46
AZ
1503 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1504 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1505 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1506 strncmp-power8 object.
1507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1508 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1509 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1510 * NEWS: Update.
1511
72607db0
RS
15122015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1513 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1514
1515 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1516 trailing byte check.
1517
54dc5461
DM
15182015-01-13 David S. Miller <davem@davemloft.net>
1519
1520 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1521
1c6e6f23
RM
15222015-01-13 Roland McGrath <roland@hack.frob.com>
1523
1524 * login/logout.c (logout): Use memset rather than bzero.
1525 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1526 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1527 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1528 (_gethtbyaddr): Likewise.
1529 * locale/programs/simple-hash.c (bcopy): Macro removed.
1530
96d6fd6c
AZ
15312015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
8bedcb5f
AZ
1533 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1534 Add strcmp-power8 object.
1535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1536 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1537 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1538 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1539 __strcmp_power8 implementation.
1540 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1541 * NEWS: Update.
1542
f06a4faf
AZ
1543 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1544 Add strncpy-power8 and stpncpy-power8 objects.
1545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1546 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1547 implementations.
1548 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1549 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1550 __stpncpy_power8 implementation.
1551 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1552 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1553 __strncpy_power8 implementation.
1554 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1555 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1556 * NEWS: Update.
1557
9f2f36e5
AZ
1558 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1559 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1560 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1561
96d6fd6c 1562 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
1563 strncat-power8 object.
1564 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1565 __strcat_power8 implementation.
1566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1567 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1568 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1569 optimized strcat for power8.
1570
1571 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
1572 strcpy-power8 and stpcpy-power8 objects.
1573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1574 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1575 implementations.
1576 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1577 multiarch stpcpy implementation for POWER8.
1578 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1579 multiarch strcpy implementation for POWER8.
1580 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1581 __strcpy_power8 function.
1582 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1583 stpcpy for POWER8.
1584 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1585 strcpy for POWER8.
1586 * NEWS: Update.
1587
0f9e5854
LH
15882015-01-13 Leonhard Holz <leonhard.holz@web.de>
1589
1590 [BZ #16009]
1591 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1592 weights and rules. Use do_xfrm_cached if data fits in cache,
1593 do_xfrm otherwise. Moved former main loop to...
1594 * (do_xfrm_cached): New function.
1595 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1596 find_idx, find_position and stack_push.
1597 * (find_idx): New function.
1598 * (find_position): Likewise.
1599 * localedata/sort-test.sh: Added test run for do_xfrm.
1600 * localedata/xfrm-test.c (main): Added command line option
1601 -nocache to run the test with strings that are too large for
1602 the STRXFRM cache.
1603
c60ec0e0
TR
16042015-01-13 Torvald Riegel <triegel@redhat.com>
1605
1606 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1607 variable to lll_futex_wake call, not the value itself.
1608
34e93d6c
JM
16092015-01-12 Joseph Myers <joseph@codesourcery.com>
1610
5a9e4c09
JM
1611 [BZ #17803]
1612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1613 twom64. Adjust value to 0x1p-64L.
1614 (__scalblnl): Only return standard underflowing result for K <=
1615 -64 not K <= -63; adjust exponent for underflowing result by 64
1616 not 63.
1617 * math/libm-test.inc (scalbn_test_data): Add more tests.
1618 (scalbln_test_data): Likewise.
1619
34e93d6c
JM
1620 [BZ #17834]
1621 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1622 0x1p63L.
1623 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1624 not HX.
1625 * math/libm-test.inc (scalbn_test_data): Add more tests.
1626 (scalbln_test_data): Likewise.
1627
ca677d3c
AZ
16282015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1629 Stefani Seibold <stefani@seibold.net>
1630
1631 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1632 (sysdep_routines): Add dl-vdso here, ...
1633 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1634 (sysdep_routines): ... not here.
1635 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1636 fallback when vDSO is not presented.
1637 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1638 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1639 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1640 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1641 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1642 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1643 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1644 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1645 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1647 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1648 fallback configurable symbol when vDSO is not available.
1649 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1650 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1651 be able to redefine fallback symbol when vDSO is not available.
1652 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1653 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1654
49a9f6ab 16552015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1656
56cf2763
AZ
1657 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1658 (TLS_INIT_TP): Add tm_capable initialization.
1659 (TLS_DEFINE_INIT_TP): Likewise.
1660 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1661 TCB.
1662 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1663 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1664 calculation.
1665 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1666 transactoion is lock elision is built and TCB tm_capable is set.
1667 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1669 (INTERNAL_SYSCALL_NCS): Likewise.
1670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1671 (INTERNAL_SYSCALL_NCS): Likewise.
1672 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1673
4b45943a
AZ
1674 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1675 for powerpc.
1676 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1677 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1678 and remove it for 32 bits case.
1679 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1680 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1681 initialization.
1682 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1683 Disable lock elision with rdlocks if elision is not available.
1684
8d2c0a59
AZ
1685 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1686 (sysdep_routines): Add lock elision objects.
1687 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1688 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1689 [pthread_mutex_t] (__elision): Add field.
1690 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1691 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1692 elision definitions for powerpc.
1693 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1694 implementation of lock elision for powerpc.
1695 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1696 implementation of timed lock elision for powerpc.
1697 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1698 implementation of trylock with lock elision for powerpc.
1699 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1700 implementaion of unlock for lock elision for powerpc.
1701 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1702 automatic enable lock elision for mutexes.
1703 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1704 transaction execution definitions for powerpc.
1705 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1706 definitions.
1707 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1708 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1709 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1711 * NEWS: Update.
1712
bc0ed9f7
RM
17132015-01-09 Roland McGrath <roland@hack.frob.com>
1714
1715 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1716 for #include of <shm-directory.h>.
1717
585d9c18
CLT
17182015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1719
1720 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1721 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1722
aee6626c
MF
17232015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1724
1725 [BZ #17791]
1726 * NEWS: Mention bug fix.
1727 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1728 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1729 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1730
9e560f48
TR
17312015-01-09 Torvald Riegel <triegel@redhat.com>
1732
1733 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1734
e1cfbd0c
TR
17352015-01-09 Torvald Riegel <triegel@redhat.com>
1736
1737 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1738
cf71e44f
DH
17392015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1740
1741 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1742 pointer and cast to uintptr_t.
1743
b360ee62
DH
17442015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1745
1746 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1747 removed.
1748 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1749
caff764e
DH
17502015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1751
1752 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1753 of 0.
1754
59ff172f
RM
17552015-01-08 Roland McGrath <roland@hack.frob.com>
1756
c97d27f1
RM
1757 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1758 <nptl/pthreadP.h> instead.
1759 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1760
08734ccd
RM
1761 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1762 already defined.
1763 [__SIGRTMIN] (init): Function removed.
1764 [__SIGRTMIN] (initialized): Variable removed.
1765 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1766 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1767 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1768 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1769 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1770 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1771 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1772 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1773 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1774 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1775 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1776 * sysdeps/nptl/allocrtsig.c: New file.
1777 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1778 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1779 * sysdeps/generic/testrtsig.h: File removed.
1780
7b052e33
RM
1781 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1782 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1783
cc40d25e
RM
1784 * nptl/nptl-init.c (pthread_functions): Conditionalize
1785 .ptr__nptl_setxid initialization on [SIGSETXID].
1786
9287adf0
RM
1787 * sysdeps/nptl/sys/procfs.h: New file.
1788 * nptl_db/Makefile (headers): Add it.
1789 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1790
59ff172f
RM
1791 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1792 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1793 * nptl/pthread_attr_setaffinity.c: Include it.
1794 * nptl/pthread_setattr_default_np.c: Likewise.
1795 * nptl/check-cpuset.h: New file.
1796
b9205857
RH
17972015-01-08 Richard Henderson <rth@redhat.com>
1798
1799 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1800 (CFLAGS-tst-execstack-prog.c): Likewise.
1801 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1802
1a0a8d15
CLT
18032015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1804 Sandra Loosemore <sandra@codesourcery.com>
1805 Andrew Jenner <andrew@codesourcery.com>
1806 Joseph Myers <joseph@codesourcery.com>
1807 Nathan Sidwell <nathan@codesourcery.com>
1808
1809 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1810 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1811 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1812 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1813 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1814 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1815 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1816 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1817 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1818 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1819 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1820 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1821 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1822 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1823 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1824 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1825 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1826
dd6e8af6
AZ
18272015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1830 timespec struct member in syscall macro.
1831 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1832 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1833 first timeval struct member in syscall macro.
1834 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1835
8116321f
JM
18362015-01-07 Joseph Myers <joseph@codesourcery.com>
1837
1838 [BZ #17748]
1839 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1840 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1841 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1842 __feupdateenv and define as weak alias of __feupdateenv. Use
1843 libm_hidden_weak.
1844 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1845 libm_hidden_def.
1846 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1847 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1848 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1849 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1850 libm_hidden_def.
1851 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1852 __feupdateenv and define as weak alias of __feupdateenv. Use
1853 libm_hidden_weak.
1854 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1855 libm_hidden_def.
1856 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1857 __feupdateenv and define as weak alias of __feupdateenv. Use
1858 libm_hidden_weak.
1859 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1860 libm_hidden_def.
1861 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1862 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1863 (__feupdateenv): Likewise.
1864 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1865 __feupdateenv and define as weak alias of __feupdateenv. Use
1866 libm_hidden_weak.
1867 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1868 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1869 libm_hidden_def.
1870 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1871 function.
1872 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1873 libm_hidden_def.
1874 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1875 __feupdateenv instead of feupdateenv.
1876 (default_libc_feupdateenv_test): Likewise.
1877 (libc_feresetround_ctx): Likewise.
1878
882dfe18
AZ
18792015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880
1881 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1882 prototype.
1883
39a12f8d
CM
18842015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1885
1886 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1887 COLL_SYM in a couple of places to avoid uninitialized variable
1888 wanings on tilegx gcc 4.8.2.
1889
dc400d7b
RE
18902015-01-07 Richard Earnshaw <rearnsha@arm.com>
1891
1892 * sysdeps/aarch64/strcpy.S: New file.
1893 * sysdeps/aarch64/stpcpy.S: New file.
1894 * NEWS: Updated.
1895
ec582ca0
RE
18962015-01-07 Richard Earnshaw <rearnsha@arm.com>
1897
1898 * sysdeps/aarch64/strrchr.S: New file.
1899 * NEWS: Updated.
1900
d5b1c5ed
EB
19012015-01-07 Eric Biggers <ebiggers3@gmail.com>
1902
1903 [BZ #17658]
1904 * stdlib/setenv.c: Fix memory leak when setting large,
1905 duplicate string.
1906
fb87ee96
VN
19072015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1908
60f046a8 1909 [BZ #17273]
fb87ee96
VN
1910 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1911 and tabs from buffer before parsing fstab entry.
1912 * misc/tst-mntent.c (main): Add test for mount entry with
1913 trailing spaces and tabs.
1914
cd42798a
JM
19152015-01-06 Joseph Myers <joseph@codesourcery.com>
1916
01238691
JM
1917 [BZ #17748]
1918 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1919 * math/fesetround.c (fesetround): Rename to __fesetround and
1920 define as weak alias of __fesetround. Use libm_hidden_weak.
1921 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1922 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1923 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1924 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1925 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1926 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1927 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1928 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1929 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1930 __fesetround_inline.
1931 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1932 __fesetround_inline instead of __fesetround.
1933 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1934 __fesetround and define as weak alias of __fesetround. Use
1935 libm_hidden_weak. Call __fesetround_inline instead of
1936 __fesetround.
1937 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1938 __fesetround and define as weak alias of __fesetround. Use
1939 libm_hidden_weak.
1940 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1941 Likewise.
1942 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1944 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1945 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1946 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1947 __fesetround and define as weak alias of __fesetround. Use
1948 libm_hidden_weak.
1949 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1950 __fesetround instead of fesetround.
1951 (default_libc_feholdexcept_setround): Likewise.
1952 (libc_feholdsetround_ctx): Likewise.
1953 (libc_feholdsetround_noex_ctx): Likewise.
1954
cd42798a
JM
1955 [BZ #17748]
1956 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1957 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1958 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1959 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1960 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1961 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1962 define as weak alias of __fesetenv. Use libm_hidden_weak.
1963 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1964 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1965 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1966 define as weak alias of __fesetenv. Use libm_hidden_weak.
1967 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1968 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1969 define as weak alias of __fesetenv. Use libm_hidden_weak.
1970 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1971 libm_hidden_def.
1972 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1973 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1974 Likewise.
1975 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1976 define as weak alias of __fesetenv. Use libm_hidden_weak.
1977 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1978 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1979 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1980 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1981 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1982 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1983 __fesetenv instead of fesetenv.
1984 (libc_feresetround_noex_ctx): Likewise.
1985 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1986 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1987 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1988 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1989 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1990 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1991 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1992 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1993 (__feupdateenv): Likewise.
1994 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1995 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1996 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1997 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1998
38949026
AJ
19992015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2000
1cf98e27 2001 [BZ #17806]
38949026
AJ
2002 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2003 addresses have been freed.
2004
5fe55e9c
AJ
20052015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2006
2007 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2008 and nservall.
2009
dc8ab018
OB
20102015-01-06 Ondřej Bílka <neleai@seznam.cz>
2011
2012 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2013 Clean up check_pf allocation pattern. addresses
2014
14bb4e57
AZ
20152015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2016
2017 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2018 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2019 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2020 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2021 * nptl/pthread_join.c (pthread_join): Likewise.
2022 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2023 * sysdeps/posix/waitid.c (__waitid): Likewise.
2024 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2025 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2026 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2027 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2028 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2029 Likewise.
2030 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2031 (__libc_pread64): Likewise.
2032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2033 (__libc_pwrite): Likewise.
2034 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2035 (__libc_pwrite64): Likewsie.
2036 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2037 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2038 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2039 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2040 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2041 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2042 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2044 Likewise.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2046 (__libc_pread64): Likewise.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2048 Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2050 (__libc_pwrite64): Likewise.
2051 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2052 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2053 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2054 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2055 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2056 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2057 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2058 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2059 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2060 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2061 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2062 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2063 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2064 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2065 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2067 Likewise.
2068
10a5e112
AS
20692015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2070
2071 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2072 (CFLAGS-test-double.c): Likewise.
2073 (CFLAGS-test-ldouble.c): Likewise.
2074 (CPPFLAGS-test-ifloat.c): Likewise.
2075 (CPPFLAGS-test-idouble.c): Likewise.
2076 (CPPFLAGS-test-ildoubl.c): Likewise.
2077 (CFLAGS-test-test-fenv.c): Remove variable.
2078 (CFLAGS-test-misc.c): Likewise.
2079
57ada0e7
L
20802015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2081
2082 [BZ #17797]
2083 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2084 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2085 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2086 CLOCKS_PER_SEC == 1000000.
2087 * time/clocktest.c (main): Replace %ld with %jd and cast to
2088 intmax_t.
2089
46abb64d
RM
20902015-01-05 Roland McGrath <roland@hack.frob.com>
2091
2092 * sysdeps/generic/unwind-resume.h: New file.
2093 * sysdeps/gnu/unwind-resume.c: Include it.
2094 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2095 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2096 argument list.
2097 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2098 global rather than static.
2099 (_Unwind_Resume): Update user.
2100 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2101 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2102 rather than static. Add __attribute__ ((cold)).
2103 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2104 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2105 * sysdeps/arm/arm-unwind-resume.S: New file.
2106 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2107 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2108 * sysdeps/arm/Makefile [$(subdir) = csu]
2109 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2110 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2111 Add rt-arm-unwind-resume.
2112 [$(subdir) = nptl]
2113 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2114 Add pt-arm-unwind-resume.
2115 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2116 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2117
ef9faf13
JM
21182015-01-05 Joseph Myers <joseph@codesourcery.com>
2119
2120 [BZ #17748]
2121 * include/fenv.h (__feholdexcept): Declare. Use
2122 libm_hidden_proto.
2123 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2124 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2125 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2126 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2127 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2128 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2129 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2130 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2131 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2132 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2133 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2134 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2135 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2136 (feholdexcept): Likewise.
2137 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2138 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2139 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2140 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2141 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2142 __feholdexcept instead of feholdexcept.
2143 (default_libc_feholdexcept_setround): Likewise.
2144
295a453e
SE
21452015-01-05 Steve Ellcey <sellcey@imgtec.com>
2146
2147 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2148 to avoid using stl/str to align destination.
2149
882c4b9f
SE
21502015-01-05 Steve Ellcey <sellcey@imgtec.com>
2151
2152 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2153
ac4c11f5
JM
21542015-01-05 Joseph Myers <joseph@codesourcery.com>
2155
2156 [BZ #17796]
2157 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2158 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2159 Define as weak alias not strong alias.
2160
03403e30
SE
21612015-01-05 Steve Ellcey <sellcey@imgtec.com>
2162
2163 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2164 bltzal with addiupc.
2165 (RTLD_START): Ditto.
2166
1dca195e
CM
21672015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2168
00b8b9ba
SP
2169 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2170 for __vdso_* functions in declarations.
2171 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2172 definitions.
2173 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2174 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 2175
1dca195e
CM
2176 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2177 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2178 function with cast from llround().
2179 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2180 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2181 Define.
2182
a287953a
JM
21832015-01-05 Joseph Myers <joseph@codesourcery.com>
2184
ab70da77
JM
2185 [BZ #17793]
2186 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2187 Define as weak alias not strong alias.
2188
b8986484
JM
2189 [BZ #17635]
2190 * ctype/ctype-c99.c: New file. isblank implementation moved from
2191 ...
2192 * ctype/ctype-extn.c: ... here.
2193 (__isblank_l): Move to ...
2194 * ctype/ctype-c99_l.c: ... here. New file.
2195 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2196 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2197 Remove variable.
2198 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2199 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2200 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2201 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2202 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2203
a287953a
JM
2204 [BZ #17777]
2205 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2206 (posix_fadvise64): Define as weak alias not strong alias.
2207 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2208 (posix_fallocate64): Likewise.
2209 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2210 Remove variable.
2211 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2212 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2213 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2214 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2215 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2216
b1efe3bb
MF
22172015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2218
2219 [BZ #16191]
2220 * NEWS: Mention bug fix.
2221 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2222 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2223 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2224 (HOST_STACK_END_ADDR): Likewise.
2225
9706dc5f
JM
22262015-01-02 Joseph Myers <joseph@codesourcery.com>
2227
b93c2205
JM
2228 [BZ #17748]
2229 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2230 * math/fegetround.c (fegetround): Rename to __fegetround and
2231 define as weak alias of __fegetround. Use libm_hidden_weak.
2232 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2233 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2234 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2235 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2236 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2237 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2238 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2239 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2240 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2241 Undefine after rather than before function definition; use
2242 parentheses around function name in definition.
2243 (__fegetround): Also undefine macro after function definition.
2244 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2245 __fegetround and define as weak alias of __fegetround. Use
2246 libm_hidden_weak. Do not undefine as macro.
2247 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2248 Likewise.
2249 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2250 __fegetround and define as weak alias of __fegetround. Use
2251 libm_hidden_weak.
2252 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2253 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2254 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2255 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2256 __fegetround and define as weak alias of __fegetround. Use
2257 libm_hidden_weak.
2258 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2259 __fegetround instead of fegetround.
2260
253a59cc
JM
2261 [BZ #17782]
2262 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2263 Condition macro definition on [__USE_MISC].
2264
27dae011
JM
2265 [BZ #17781]
2266 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2267 (struct sigaction): Change type of sa_flags field to int.
2268
172019c0
JM
2269 [BZ #17780]
2270 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2271 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2272 __glibc_reserved0.
2273
522ad1d6
JM
2274 * nptl/version.c (banner): Use single year in copyright notice.
2275
9706dc5f
JM
2276 * NEWS: Update copyright dates.
2277 * catgets/gencat.c (print_version): Likewise.
2278 * csu/version.c (banner): Likewise.
2279 * debug/catchsegv.sh: Likewise.
2280 * debug/pcprofiledump.c (print_version): Likewise.
2281 * debug/xtrace.sh (do_version): Likewise.
2282 * elf/ldconfig.c (print_version): Likewise.
2283 * elf/ldd.bash.in: Likewise.
2284 * elf/pldd.c (print_version): Likewise.
2285 * elf/sotruss.sh: Likewise.
2286 * elf/sprof.c (print_version): Likewise.
2287 * iconv/iconv_prog.c (print_version): Likewise.
2288 * iconv/iconvconfig.c (print_version): Likewise.
2289 * locale/programs/locale.c (print_version): Likewise.
2290 * locale/programs/localedef.c (print_version): Likewise.
2291 * login/programs/pt_chown.c (print_version): Likewise.
2292 * malloc/memusage.sh (do_version): Likewise.
2293 * malloc/memusagestat.c (print_version): Likewise.
2294 * malloc/mtrace.pl: Likewise.
2295 * manual/libc.texinfo: Likewise.
2296 * nptl/version.c (banner): Likewise.
2297 * nscd/nscd.c (print_version): Likewise.
2298 * nss/getent.c (print_version): Likewise.
2299 * nss/makedb.c (print_version): Likewise.
2300 * posix/getconf.c (main): Likewise.
2301 * scripts/test-installation.pl: Likewise.
2302 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2303
b8607aac
WN
23042015-01-02 Will Newton <will.newton@linaro.org>
2305
2306 * sysdeps/arm/armv7/configure: Removed.
2307 * sysdeps/arm/armv7/configure.ac: Likewise.
2308
b168057a
JM
23092015-01-02 Joseph Myers <joseph@codesourcery.com>
2310
2311 * All files with FSF copyright notices: Update copyright dates
2312 using scripts/update-copyrights.
2313 * intl/plural.c: Regenerated.
2314 * locale/programs/charmap-kw.h: Likewise.
2315 * locale/programs/locfile-kw.h: Likewise.
2316
b217c15f
SP
23172015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2318
2319 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2320
73a268c7
JM
23212014-12-31 Joseph Myers <joseph@codesourcery.com>
2322
2323 [BZ #17748]
2324 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2325 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2326 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2327 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2328 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2329 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2330 define as weak alias of __fegetenv. Use libm_hidden_weak.
2331 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2332 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2333 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2334 define as weak alias of __fegetenv. Use libm_hidden_weak.
2335 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2336 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2337 define as weak alias of __fegetenv. Use libm_hidden_weak.
2338 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2339 libm_hidden_def.
2340 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2341 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2342 Likewise.
2343 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2344 define as weak alias of __fegetenv. Use libm_hidden_weak.
2345 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2346 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2347 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2348 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2349 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2350 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2351 __fegetenv instead of fegetenv.
2352 (libc_feholdsetround_noex_ctx): Likewise.
2353
0bd95672
MF
23542014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2355
2356 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2357 (Elf_MIPS_ABIFlags_v0): New structure.
2358 (EF_MIPS_FP64): Define.
2359 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2360 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2361 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2362 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2363 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2364 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2365 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2366 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2367 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2368 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2369 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2370 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2371 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2372 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2373 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2374 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2375 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2376 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2377 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2378 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2379 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2380 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2381 field.
2382 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2383 EF_MIPS_FP64.
2384 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2385 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2386 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2387 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2388 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2389 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2390 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2391 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2392 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2393 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2394 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2395 record the current FP ABI extension.
2396 (mips-mode-switch): Define to show if kernel headers support mode
2397 switching.
2398 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2399 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2400 supported SYSV ABI version to 3.
2401 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2402 feature.
2403
f59ad976
RS
24042014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2405 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2406
2407 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2408 path.
2409 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2410
4a3d3999
JM
24112014-12-31 Joseph Myers <joseph@codesourcery.com>
2412
2413 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2414 __fegetround and redefine to call __fegetround. Remove condition
2415 on [!__NO_MATH_INLINES].
2416 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2417 function.
2418 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2419 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2420 Remove macro.
2421 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2422 instead of <fenv_libc.h>.
2423 (__llrintl): Call fegetround instead of __fegetround.
2424 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2425 instead of <fenv_libc.h>.
2426 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2427 (__lrintl): Call fegetround instead of __fegetround.
2428 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2429 instead of <fenv_libc.h>.
2430 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2431 (__rintl): Call fegetround instead of __fegetround.
2432
195f3afc
SP
24332014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2434
2435 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2436 arrays.
2437
7062bd42
L
24382014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 [BZ #17775]
2441 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2442 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2443 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2444
07256e18
AS
24452014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2446
2447 * sysdeps/i386/tls-macros.h: Include <features.h>.
2448 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2449 (TLS_IE): Likewise.
2450 (TLS_LD): Likewise.
2451 (TLS_GD): Likewise.
2452 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2453 define for GCC >= 5.0.
2454
1ff950ad
CM
24552014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2456
2457 * math/test-fenv.c (test_single_exception, set_single_exc,
2458 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2459 feexcp_mask_test, feenable_test, fe_single_test): Add
2460 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2461 case where they are not used.
2462 * math/libm-test.inc: Likewise.
2463 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2464 unused in the absence of FP rounding/exception support.
2465 * stdio-common/tst-printf-round.c: Likewise.
2466 * stdlib/tst-strtod-round.c: Likewise.
2467 * stdlib/tst-strtod-underflow.c: Likewise.
2468
0747f818
JM
24692014-12-30 Joseph Myers <joseph@codesourcery.com>
2470
2471 [BZ #17723]
2472 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2473 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2474 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2475 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2476 libm_hidden_weak.
2477 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2478 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2479 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2480 libm_hidden_def.
2481 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2482 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2483 libm_hidden_weak.
2484 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2485 Likewise.
2486 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2487 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2488 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2489 libm_hidden_weak.
2490 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2491 libm_hidden_def.
2492 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2493 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2494 (__feraiseexcept): Likewise.
2495 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2496 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2497 libm_hidden_weak.
2498 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2499 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2500 libm_hidden_def.
2501 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2502 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2503 Use libm_hidden_def.
2504 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2505 libm_hidden_def.
2506 (feraiseexcept): Define as weak not strong alias. Use
2507 libm_hidden_weak.
2508 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2509 New inline function. Factored out of ...
2510 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2511 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2512 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2513 feraiseexcept.
2514 * math/w_acos.c (__acos): Likewise.
2515 * math/w_asin.c (__asin): Likewise.
2516 * math/w_ilogb.c (__ilogb): Likewise.
2517 * math/w_j0.c (y0): Likewise.
2518 * math/w_j1.c (y1): Likewise.
2519 * math/w_jn.c (yn): Likewise.
2520 * math/w_log.c (__log): Likewise.
2521 * math/w_log10.c (__log10): Likewise.
2522 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2523 * sysdeps/aarch64/fpu/math_private.h
2524 (libc_feupdateenv_test_aarch64): Likewise.
2525 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2526 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2527 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2528 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2529 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2530 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2531 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2532 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2533 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2534 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2535
8d2b2763
L
25362014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2537
2538 [BZ #17732]
2539 * io/test-utime.c (main): Replace %ld with %jd and cast to
2540 intmax_t.
41fad830 2541 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
2542 * nptl/tst-mutex5.c: Include <stdint.h>.
2543 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
2544 * posix/tst-regex.c (run_test): Likewise.
2545 (run_test_backwards): Likewise.
5d619de4
L
2546 * rt/tst-clock.c: Include <stdint.h>.
2547 (clock_test): Replace %ld with %jd and cast to intmax_t.
2548 * rt/tst-cpuclock1.c: Include <stdint.h>.
2549 (do_test): Replace %lu with %ju and cast to uintmax_t.
2550 * rt/tst-cpuclock2.c: Include <stdint.h>.
2551 (do_test): Replace %lu with %ju and cast to uintmax_t.
2552 * rt/tst-mqueue1.c: Include <stdint.h>.
2553 (check_attrs): Replace %ld with %jd and cast to intmax_t.
2554 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2555 intmax_t.
2556 * rt/tst-mqueue4.c (do_test): Likewise.
2557 * rt/tst-timer4.c: Include <stdint.h>.
2558 (check_ts): Replace %ld with %jd and cast to intmax_t.
2559 (do_test): Likewise.
ad86fbc3
L
2560 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2561 and cast to intmax_t.
37f46900 2562 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
2563 * time/clocktest.c (main): Likewise.
2564 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 2565 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 2566
8b4416d8
AS
25672014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2568 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2571 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2572 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2573 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2574 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2575 version if bit_Fast_Unaligned_Load is set.
2576 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2577 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2578 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2579 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2580 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2581 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2583 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2584 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2585 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2586 to 4.
2587 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2588 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2589 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2590 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2591
e47b8d3b
CM
25922014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
2593
6d6d7fde
CM
2594 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2595 instead of #if to avoid a Wundef warning.
2596 * stdlib/tst-limits.c (do_test): Likewise.
2597
cd2c37c9
CM
2598 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2599 parallel other exception macros.
2600 (fegetenv): Convert from macro to extern inline so that it applies
2601 retroactively to inline functions already seen by the compiler.
2602 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2603
e47b8d3b
CM
2604 * posix/Makefile (before-compile): Use $(objpfx) for
2605 posix-conf-vars-def.h.
2606
4a6aca7b
SP
26072014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2608
7910c2ae
SP
2609 * posix/getconf.c (main): Use size_t for type of I.
2610 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2611 NSPEC.
2612
50cbbaa9
SP
2613 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2614 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2615 * posix/posix-envs.def: Likewise.
2616 * sysdeps/posix/sysconf.c: Likewise.
2617 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2618 (specs): Remove array.
2619 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2620 array.
2621
3b566046
SP
2622 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2623 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2624 (__sysconf): Use CONF_IS_* macros.
2625
4a6aca7b
SP
2626 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2627 ($(objpfx)posix-conf-vars-def.h): New target.
2628 * posix/posix-conf-vars.list: New file.
2629 * posix/posix-conf-vars.h: New file.
2630 * posix/confstr.c: Include posix-conf-vars.h.
2631 (confstr): Use CONF_IS_* macros.
2632 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2633 CONF_IS_* macros.
2634 * scripts/gen-posix-conf-vars.awk: New file.
2635
7c1395a7
CM
26362014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2637
0025b4cc
CM
2638 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2639 fegetround): Add no-op macros to avoid linknamespace issues.
2640
d8aaf74b
CM
2641 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2642 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2643
5d24aa60
CM
2644 * sysdeps/unix/sysv/linux/tile/sysdep.h
2645 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2646 assembly-specific section to avoid a redefinition warning.
2647
7c1395a7
CM
2648 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2649 long before casting to pointer to avoid a cast warning.
2650
3c87c616
CM
26512014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2652
2653 * sysdeps/tile/tilegx/Implies: New file.
2654
f559d8cf
RE
26552014-12-23 Richard Earnshaw <rearnsha@arm.com>
2656
2657 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2658
7d81e8d6
FW
26592014-12-23 Florian Weimer <fweimer@redhat.com>
2660
2661 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2662
90aa3d09
JM
26632014-12-22 Joseph Myers <joseph@codesourcery.com>
2664
2665 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2666 not define.
2667 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2668 <kernel-features.h>.
2669 (__utimes) [__NR_utimes]: Make code unconditional.
2670 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2671 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2672 (__ASSUME_UTIMES): Do not undefine.
2673 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2674 (__ASSUME_UTIMES): Likewise.
2675 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2676 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2677 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2678 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2679
4c0c0e2a
SE
26802014-12-22 Steve Ellcey <sellcey@imgtec.com>
2681
2682 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2683
0dacd7a3
CM
26842014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2685
b638f96a
CM
2686 [BZ #17747]
2687 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2688 alias to weak alias for j0l, y0l.
2689 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2690 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2691
0dacd7a3
CM
2692 [BZ #17746]
2693 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2694 conversion.
2695
528479c4
SE
26962014-12-22 Steve Ellcey <sellcey@imgtec.com>
2697
2698 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2699 to zero if not already defined.
2700
f56f9124
JM
27012014-12-22 Joseph Myers <joseph@codesourcery.com>
2702
2703 [BZ #17724]
2704 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2705 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2706 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2707 (char *) casts added.
2708 * sysdeps/ieee754/k_standardf.c: New file.
2709 * sysdeps/ieee754/k_standardl.c: Likewise.
2710 * math/Makefile (libm-support): Remove k_standard.
2711 (libm-calls): Add k_standard.
2712
8622d556
WD
27132014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2714
2715 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2716 Optimize to avoid an unnecessary FPCR read.
2717
f3806bdb
WD
27182014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2719
2720 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2721 Optimize to reduce FPCR/FPSR accesses.
2722
9b47df58
WD
27232014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2724
2725 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2726 Call libc_fetestexcept_aarch64.
2727
97be3cac
WD
27282014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2729
2730 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2731 Call libc_fesetround_aarch64.
2732
935ab817
JM
27332014-12-22 Joseph Myers <joseph@codesourcery.com>
2734
2735 [BZ #17733]
2736 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2737 (__bind): Do not define as weak alias.
2738 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2739 define.
2740 (__getsockname): Do not define as weak alias.
2741
cc8623f1
WN
27422014-12-22 Will Newton <will.newton@linaro.org>
2743
2744 * manual/install.texi: Document that we require bison 2.7
2745 or above.
2746 * INSTALL: Regenerate.
2747 * configure.ac: Use AC_CHECK_PROG_VER instead of
2748 AC_PATH_PROG when checking for bison and check for
2749 version 2.7 or above.
2750 * configure: Regenerate.
2751
a19ca65a
CM
27522014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2753
92901170 2754 [BZ #17745]
e969965a
CM
2755 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2756 * sysdeps/tile/ffsll.c (ffsll): To here.
2757
a19ca65a
CM
2758 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2759
050f7298
L
27602014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2761
2762 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2763 if not defined.
2764 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2765 definition.
2766 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2767 hidden ___tls_get_addr.
2768 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2769 hidden __tls_get_addr.
2770 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2771 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2772 Likewise.
2773
6df5547e
AS
27742014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2775
2776 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2777 _dl_init call.
2778
7432d613
L
27792014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2780
2781 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2782 from "call _dl_init@PLT".
2783 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2784
98fe149e
AK
27852014-12-21 Anders Kaseorg <andersk@mit.edu>
2786
2787 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2788 guarantees.
2789
d12455f5
CM
27902014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2791
2792 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2793
95dee05f
CM
27942014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2795
92901170 2796 [BZ #17744]
95dee05f
CM
2797 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2798 strnlen.
2799
2ef4b74a
SE
28002014-12-19 Steve Ellcey <sellcey@imgtec.com>
2801
2802 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2803 of multu on MIPSr6.
2804 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2805 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2806 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2807 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2808 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2809
28102014-12-19 Steve Ellcey <sellcey@imgtec.com>
2811
2812 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2813 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2814 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2815 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2816 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2817 mips32r6/mips64r6.
2818 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2819
3eb38795
OB
28202014-12-19 Ondřej Bílka <neleai@seznam.cz>
2821
2822 * string/strncat.c (STRNCAT): Simplify implementation.
2823
6d4188dd
DM
28242014-12-19 David S. Miller <davem@davemloft.net>
2825
0d4ba8be
DM
2826 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2827 access the quad as both a long double and as a series of 4 words.
2828
6d4188dd
DM
2829 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2830 link_map->l_info array access.
2831
4ef91cdc
CM
28322014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2833
804c54f7
CM
2834 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2835
4ef91cdc
CM
2836 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2837 * math/atest-exp2.c (TIMEOUT): Likewise.
2838 * math/atest-sincos.c (TIMEOUT): Likewise.
2839
afd176d6
L
28402014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2841
2842 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2843 -Wno-error with -fno-builtin-lround.
2844
a4a43a90
TR
28452014-12-19 Torvald Riegel <triegel@redhat.com>
2846
2847 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2848 Contains futex constants and functions moved over from ...
2849 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2850 <lowlevellock-futex.h>.
2851 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2852 (lll_timedwait_tid): Add comments and parentheses around macro
2853 arguments.
2854
76f71081
TR
28552014-12-19 Torvald Riegel <triegel@redhat.com>
2856
2857 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2858 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2859 (__lll_private_flag): Remove.
2860 (lll_futex_wait): Likewise.
2861 (lll_futex_timed_wait): Likewise.
2862 (lll_futex_wake): Likewise.
2863 (lll_futex_requeue): Likewise.
2864 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2865 (__lll_timedwait_tid): Spell out argument names.
2866 (lll_timedwait_tid): Add comments and parentheses around macro
2867 arguments.
2868 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2869 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2870
6b814909
TR
28712014-12-19 Torvald Riegel <triegel@redhat.com>
2872
2873 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2874 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2875 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2876 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2877 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2878 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2879 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2880 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2881 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2882 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2883 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2884 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2885 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2886 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2887 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2888 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2889 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2890 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2891 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2892
9cd4d4ab
L
28932014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2894
2895 * sysdeps/x86_64/x32/Makefile: New file.
2896
c9c1a2d0
L
28972014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2898
2899 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2900 1L with (mp_limb_t) 1.
2901
af102d95
RM
29022014-12-17 Roland McGrath <roland@hack.frob.com>
2903
dd690454
RM
2904 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2905 * nptl/libc_pthread_init.c: ... here.
2906 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2907 * nptl/register-atfork.c: ... here.
2908
74eb826c
RM
2909 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2910 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2911 Use assert_perror to check its return value.
2912 (__gai_create_helper_thread): Likewise.
2913
c9ce306b
RM
2914 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2915
af102d95
RM
2916 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2917
8ac5a76a
JM
29182014-12-17 Joseph Myers <joseph@codesourcery.com>
2919
ea41469b
JM
2920 [BZ #17725]
2921 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2922 __profil_counter.
2923 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2924 Likewise.
2925 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2926 Likewise.
2927 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2928 Likewise.
2929 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2930 (profil_counter): Likewise.
2931 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2932 (profil_counter): Likewise.
2933 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2934 Likewise.
2935 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2936 Likewise.
2937 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2938 (profil_counter): Likewise.
2939 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2940 Likewise.
2941 [!__profil_counter] (profil_counter): Define as weak alias of
2942 __profil_counter.
2943 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2944 (profil_counter): Rename to __profil_counter.
2945 [!__profil_counter] (profil_counter): Define as weak alias of
2946 __profil_counter.
2947 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2948 (profil_counter): Rename to __profil_counter.
2949 [!__profil_counter] (profil_counter): Define as weak alias of
2950 __profil_counter.
2951 * sysdeps/posix/profil.c: Update comment referring to
2952 profil_counter.
2953 (__profil): Use __profil_counter instead of profil_counter.
2954 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2955 __profil_counter. Use __profil_counter_ushort and
2956 __profil_counter_uint in definitions.
2957 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2958 instead of profil_counter_uint and profil_counter_ushort.
2959
8ac5a76a
JM
2960 [BZ #17722]
2961 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2962 define as weak alias of __inet_makeaddr.
2963 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2964 as weak alias of __inet_addr.
2965 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2966 as weak alias of __inet_pton. Use libc_hidden_weak.
2967 * include/arpa/inet.h (__inet_pton): Declare. Use
2968 libc_hidden_proto.
2969 (inet_makeaddr): Don't use libc_hidden_proto.
2970 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2971 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2972 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2973 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2974 Remove variable.
2975 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2976 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2977
66ce3cb1
SE
29782014-12-17 Steve Ellcey <sellcey@imgtec.com>
2979
2980 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2981
d22ce01b
SL
29822014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2983
2984 * stdio-common/bug-vfprintf-nargs.c (do_test):
2985 Cast value to intptr_t to avoid format warning
2986 for usage with PRIdPTR printing macro.
2987
eca2772b
SL
29882014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2989
2990 * libio/tst-widetext.c (do_test):
2991 Use format type %td instead of %Zd for ptrdiff_t
2992 in order to avoid format warning.
2993
bdf079da
AS
29942014-12-17 Andreas Schwab <schwab@suse.de>
2995
2996 * nscd/mem.c (gc): Add size_t cast to match printf format.
2997
3eb5d2fc
RM
29982014-12-16 Roland McGrath <roland@hack.frob.com>
2999
3000 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3001 (init): Apply PTR_MANGLE to pointers before storing them.
3002 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3003 before using them.
3004
d003ada2
JM
30052014-12-16 Joseph Myers <joseph@codesourcery.com>
3006
380292ba
JM
3007 [BZ #17719]
3008 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3009 define as weak alias of __memrchr.
3010 (__memrchr): Do not define as strong alias of memrchr.
3011 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3012 Remove variable.
3013 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3014 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3015 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3016
9a44d530
JM
3017 [BZ #17717]
3018 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3019 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3020 (if_indextoname): Rename to __if_indextoname and define as weak
3021 alias of __if_indextoname. Use libc_hidden_weak.
3022 (if_freenameindex): Rename to __if_freenameindex and define as
3023 weak alias of __if_freenameindex.
3024 (if_nameindex): Rename to __if_nameindex and define as weak alias
3025 of __if_nameindex.
3026 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3027 __if_nametoindex and define as weak alias of __if_nametoindex.
3028 Use libc_hidden_weak.
3029 (if_freenameindex): Rename to __if_freenameindex and define as
3030 weak alias of __if_freenameindex.
3031 (if_nameindex): Rename to __if_nameindex and define as weak alias
3032 of __if_nameindex.
3033 (if_indextoname): Rename to __if_indextoname and define as weak
3034 alias of __if_indextoname. Use libc_hidden_weak.
3035 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3036 __if_nametoindex and define as weak alias of __if_nametoindex.
3037 Use libc_hidden_weak.
3038 (if_freenameindex): Rename to __if_freenameindex and define as
3039 weak alias of __if_freenameindex. Use libc_hidden_weak.
3040 (if_nameindex_netlink): Use __if_freenameindex instead of
3041 if_freenameindex.
3042 (if_nameindex): Rename to __if_nameindex and define as weak alias
3043 of __if_nameindex. Use libc_hidden_weak.
3044 (if_indextoname): Rename to __if_indextoname and define as weak
3045 alias of __if_indextoname. Use libc_hidden_weak.
3046 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3047 libc_hidden_proto.
3048 [!_ISOMAC] (__if_freenameindex): Likewise.
3049 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3050 if_nametoindex.
3051 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3052 variable.
3053 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3054 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3055 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3056 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3057 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3058 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3059 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3060
d003ada2
JM
3061 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3062 Remove variable.
3063 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3064 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3065
a0d424ef
SP
30662014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3067
0cd85520
SP
3068 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3069 subscript above bounds'
3070
a0d424ef
SP
3071 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3072 bounds.
3073
0e426475
AS
30742014-12-16 Arjun Shankar <arjun.is@lostca.se>
3075
8b460906
AS
3076 * libio/tst-fopenloc.c: Use test-skeleton.c.
3077
fa13e15b
AS
3078 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3079 (entry): Rename to ITEM.
3080 (do_test, comp): Adjust.
3081
0e426475
AS
3082 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3083
4f646bce
TR
30842014-12-16 Torvald Riegel <triegel@redhat.com>
3085
3086 * string/tester.c: Include <libc-internal.h>.
3087 (test_memset): Ignore -Wmemset-transposed-args.
3088
a07c4427
TR
30892014-12-16 Torvald Riegel <triegel@redhat.com>
3090
3091 * misc/tst-mntent2.c (do_test): Fix warning.
3092
1469f466
TR
30932014-12-16 Torvald Riegel <triegel@redhat.com>
3094
3095 * elf/tst-unique4lib.cc(a): Mark as used.
3096
11e3417a
FW
30972014-12-16 Florian Weimer <fweimer@redhat.com>
3098
3099 [BZ #17630]
3100 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3101 names.
3102
ae61fc7b
AM
31032014-12-16 Allan McRae <allan@archlinux.org>
3104
3105 * stdio-common/Makefile (tests): Re-add bug26.
3106
363a9899
OB
31072014-12-15 Ondřej Bílka <neleai@seznam.cz>
3108
3109 [BZ #17657]
3110 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3111 static array.
3112
d52c62df
TR
31132014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3114
3115 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3116 (__lll_lock_wait): Likewise.
3117 (__lll_timedlock_wait): Likewise.
3118 (__lll_timedwait_tid): Likewise.
3119 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3120 (__lll_robust_timedlock_wait): Likewise.
3121 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3122 (lll_cond_trylock): Likewise.
3123 (__lll_lock): Likewise.
3124 (__lll_robust_lock): Likewise.
3125 (__lll_cond_lock): Likewise.
3126 (lll_robust_cond_lock): Likewise.
3127 (__lll_timedlock): Likewise.
3128 (__lll_robust_timedlock): Likewise.
3129 (__lll_unlock): Likewise.
3130 (__lll_robust_unlock): Likewise.
3131 (lll_wait_tid): Likewise.
3132 (lll_timedwait_tid): Likewise.
3133
045a6bcd
TR
31342014-12-15 Torvald Riegel <triegel@redhat.com>
3135
3136 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3137
7f786dc1
TR
31382014-12-15 Torvald Riegel <triegel@redhat.com>
3139
3140 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3141
e7e21cba
AZ
31422014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3143
3144 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3145 * stdio-common/tst-sprintf.c: Likewise.
3146
bc89c0fc
TR
31472014-12-15 Torvald Riegel <triegel@redhat.com>
3148
3149 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3150
a5357b7c
JL
31512014-12-15 Jeff Law <law@redhat.com>
3152
3153 [BZ #16617]
3154 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3155 on the heap. (CVE-2012-3406)
3156 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3157 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3158 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3159
3a12c70f
WN
31602014-12-15 Will Newton <will.newton@linaro.org>
3161
3162 * manual/install.texi: Bump required version of texinfo
3163 to 4.7 from 4.5.
3164 * INSTALL: Regenerated.
3165 * configure.ac: Check for makeinfo version 4.7 and above.
3166 * configure: Regenerated.
3167
e4f639e4
RM
31682014-12-12 Roland McGrath <roland@hack.frob.com>
3169
3170 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3171 PREFIX, string constant to insert between directory and name.
3172 * sysdeps/posix/shm_open.c: Update caller.
3173 * sysdeps/posix/shm_unlink.c: Likewise.
3174 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3175 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3176 (SEM_SHM_PREFIX): New macro.
3177 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3178 [$(have-thread-library) = no].
3179 * nptl/Makefile (libpthread-routines): Add shm-directory.
3180 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3181 * sysdeps/nptl/shm-directory.h: New file.
3182 * sysdeps/posix/shm-directory.c
3183 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3184 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3185 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3186 INTERNAL_SYSCALL.
3187 (__where_is_shmfs): Function removed.
3188 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3189 Variables removed.
3190 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3191 Use SHM_GET_NAME.
3192 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3193
3194 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3195 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3196 unconditional for use inside libpthread.
3197 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3198
439c43f6
RM
31992014-12-12 Roland McGrath <roland@hack.frob.com>
3200
c76d1ff5
RM
3201 * nptl/pthread_getaffinity.c: New file.
3202 * nptl/pthread_setaffinity.c: New file.
3203 * nptl/pthread_getname.c: New file.
3204 * nptl/pthread_setname.c: New file.
3205
439c43f6
RM
3206 * nptl/pthread_create.c (START_THREAD_DEFN)
3207 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3208
48e435cd
SL
32092014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3210 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3211
3212 * resolv/res_send.c (send_vc): Disable warning resplen may
3213 be used uninitialized.
3214
9d9c0019
SL
32152014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3216
3217 * nptl/tst-mutex6.c
3218 (ATTR_NULL): New define checks ATTR against NULL.
3219 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3220 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3221
9173840b
JL
32222014-12-11 James Lemke <jwlemke@codesourcery.com>
3223
3224 [BZ #17581]
3225 * malloc/hooks.c
3226 (mem2mem_check): Revert my previous change.
3227 (malloc_check_get_size): Revert my previous change.
3228 (mem2chunk_check): Revert my previous change.
3229
78e21c5d
RM
32302014-12-11 Roland McGrath <roland@hack.frob.com>
3231
3232 * sysdeps/posix/shm-directory.c: New file.
3233 * sysdeps/posix/shm-directory.h: New file.
3234 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3235 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3236 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3237 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3238 Transmute EPERM to EACCES.
3239 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3240 from ...
3241 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3242 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3243
f82c43af
KK
32442014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3245
3246 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3247 pointer and cast to uintptr_t.
3248 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3249 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3250 Add cast to avoid warning.
3251 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3252
fc00cf7b
JM
32532014-12-11 Joseph Myers <joseph@codesourcery.com>
3254
3255 * nptl/semaphore.h: Move to ...
3256 * sysdeps/pthread/semaphore.h: ... here.
3257 * Makefile (installed-headers): Change nptl/semaphore.h to
3258 sysdeps/pthread/semaphore.h.
3259
1c4053db
RM
32602014-12-11 Roland McGrath <roland@hack.frob.com>
3261
73b0c1a1
RM
3262 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3263 generated error format strings.
3264
1c4053db
RM
3265 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3266 -Wformat-extra-args warnings for scanf formats.
3267 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3268 test of zero-length format (duh).
3269 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3270 corner-case scanf format test.
3271 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3272 generated fprintf format string.
3273 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3274 corner-case sprintf format tests.
3275 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3276 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3277 -Wformat-extra-args warnings throughout.
3278 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3279 (CFLAGS-scanf4.c): Likewise.
3280 (CFLAGS-scanf7.c): Likewise.
3281 (CFLAGS-tst-sprintf.c): Likewise.
3282 (CFLAGS-tst-printf.c): Likewise.
3283 (CFLAGS-tst-printfsz.c): Likewise.
3284
47d51f4f
JM
32852014-12-11 Joseph Myers <joseph@codesourcery.com>
3286
a1edbf3c
JM
3287 * include/cpio.h: New file.
3288 * include/fmtmsg.h: Likewise.
3289
47d51f4f
JM
3290 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3291 corresponding format argument to size_t.
3292 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3293 arguments.
3294 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3295 corresponding format argument to size_t.
3296 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3297 arguments.
3298 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3299 corresponding format argument to size_t.
3300 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3301 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3302 (CFLAGS-tst-mbswcs2.c): Likewise.
3303 (CFLAGS-tst-mbswcs3.c): Likewise.
3304 (CFLAGS-tst-mbswcs4.c): Likewise.
3305 (CFLAGS-tst-mbswcs5.c): Likewise.
3306 (CFLAGS-tst-trans.c): Likewise
3307
e9813cfb
RM
33082014-12-11 Roland McGrath <roland@hack.frob.com>
3309
3310 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3311 rather than assuming they won't contain any '%'s.
3312
f627ca82
CM
33132014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3314
3315 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3316 inhibit_loop_to_libcall to avoid recursive calls.
3317 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3318 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3319
7f296942
AZ
33202014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3321
3322 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3323 prototype.
3324
d0276e18
SE
33252014-12-11 Steve Ellcey <sellcey@imgtec.com>
3326
3327 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3328 integer value instead of boolean.
3329
fc56e970
SE
33302014-12-11 Steve Ellcey <sellcey@imgtec.com>
3331
3332 * malloc/malloc.c: Fix powerof2 check.
3333
40e53917
SL
33342014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3335
3336 * locale/programs/locfile.h (maybe_swap_uint32):
3337 Remove inline and add unused attribute.
3338
1ea166df
SL
33392014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3340
9d9c0019 3341 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
3342 Truncating assembler expression to a .long expression.
3343
acf869f4
AS
33442014-12-11 Andreas Schwab <schwab@suse.de>
3345
3346 * elf/rtld.c (struct map_args): Constify str member.
3347 (do_preload): Constify fname argument.
3348
9d969099
AZ
33492014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3350
3351 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3352 constants definition.
3353
da5bcaa4
AS
33542014-12-11 Andreas Schwab <schwab@suse.de>
3355
b0a3c164
AS
3356 [BZ #16657]
3357 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3358 FORCE_ELISION instead of DO_ELISION.
3359 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3360 Remove.
3361 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3362 Likewise.
3363
da5bcaa4
AS
3364 * iconvdata/gconv-modules: Remove duplicate entry.
3365
6d248857
WN
33662014-12-11 Will Newton <will.newton@linaro.org>
3367
3368 Merge gettext 0.19.3 into intl/.
3369
3370 This involves a number of cosmetic changes to comments
3371 and ANSI function definitions and prototypes throughout
3372 all the files. The gettext copyright header is used but
3373 with the date ranges taken from the glibc copy.
3374
3375 * NEWS: Add gettext merge to 2.21.
3376 * intl/bindtextdom.c: Switch to gettext copyright.
3377 Use ANSI definitions and prototypes.
3378 Use gl_* locking primitives rather than __libc_* ones.
3379 Use __builtin_expect rather than __glibc_likely/unlikely.
3380 * intl/dcgettext.c: Switch to gettext copyright.
3381 Use ANSI definitions and prototypes.
3382 * intl/dcigettext.c: Switch to gettext copyright.
3383 Use ANSI definitions and prototypes.
3384 (INTDIV0_RAISES_SIGFPE): New define.
3385 Use gl_* locking primitives rather than __libc_* ones.
3386 Include eval-plural.h instead of plural-eval.c.
3387 Use __builtin_expect rather than __glibc_likely/unlikely.
3388 * intl/dcngettext.c: Switch to gettext copyright.
3389 Use ANSI definitions and prototypes.
3390 * intl/dgettext.c: Likewise.
3391 * intl/dngettext.c: Likewise.
3392 * intl/plural-eval.c: Renamed to...
3393 * intl/eval-plural.h: ...this.
3394 * intl/explodename.c: Switch to gettext copyright.
3395 Use ANSI definitions and prototypes.
3396 (_nl_explode_name): Use strchr instead of __rawmemchr.
3397 * intl/finddomain.c: Switch to gettext copyright.
3398 Use ANSI definitions and prototypes.
3399 Use gl_* locking primitives rather than __libc_* ones.
3400 (_nl_find_domain): Use malloc rather than alloca for
3401 allocation of temporary locale name.
3402 * intl/gettext.c: Switch to gettext copyright.
3403 Use ANSI definitions and prototypes.
3404 * intl/gettextP.h: Switch to gettext copyright.
3405 Use ANSI definitions and prototypes.
3406 Use gl_* locking primitives rather than __libc_* ones.
3407 * intl/gmo.h: Switch to gettext copyright.
3408 (struct sysdep_string): Move struct segment_pair outside of
3409 struct definition.
3410 * intl/hash-string.c: Use ANSI definitions and prototypes.
3411 * intl/hash-string.h: Switch to gettext copyright.
3412 Use ANSI definitions and prototypes.
3413 * intl/l10nflist.c: Switch to gettext copyright.
3414 Use ANSI definitions and prototypes.
3415 (_nl_normalize_codeset): Avoid integer overflow.
3416 * intl/loadinfo.h: Switch to gettext copyright.
3417 Use ANSI definitions and prototypes.
3418 (LIBINTL_DLL_EXPORTED): New define.
3419 (PATH_SEPARATOR): New define.
3420 * intl/loadmsgcat.c: Switch to gettext copyright.
3421 * intl/localealias.c: Switch to gettext copyright.
3422 Use ANSI definitions and prototypes.
3423 (_nl_expand_alias): Use PATH_SEPARATOR.
3424 * intl/ngettext.c: Switch to gettext copyright.
3425 Use ANSI definitions and prototypes.
3426 * intl/plural-exp.c: Likewise.
3427 * intl/plural-exp.h: Switch to gettext copyright.
3428 Use ANSI definitions and prototypes.
3429 (struct expression): Move definition of enum operator outside
3430 of struct definition.
3431 * intl/plural.c: Regenerate.
3432 * intl/plural.y: Switch to gettext copyright.
3433 Use ANSI definitions and prototypes.
3434 Port to bison 3.0.
3435 * intl/textdomain.c: Switch to gettext copyright.
3436 Use ANSI definitions and prototypes.
3437 Use gl_* locking primitives rather than __libc_* ones.
3438
48c43298
SE
34392014-12-10 Steve Ellcey <sellcey@imgtec.com>
3440
3441 * debug/warning-nop.c: Add used atrribute.
3442
2b89bce9
JM
34432014-12-10 Joseph Myers <joseph@codesourcery.com>
3444
c153ac9f
JM
3445 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3446
2b89bce9
JM
3447 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3448 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3449 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3450
2cfbdb9a
JM
34512014-12-10 Joseph Myers <joseph@codesourcery.com>
3452 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3453
3454 [BZ #17634]
3455 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3456 Undefine after defining function. Define as weak alias of
3457 __wcschr. Use libc_hidden_weak.
3458 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3459 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3460 (libc_hidden_def): Also define __GI___wcschr alias.
3461 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3462 __wcschr and define as weak alias of __wcschr.
3463 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3464 __wcschr.
3465 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3466 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3467 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3468 libc_hidden_weak. Do not use libc_hidden_def.
3469 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3470 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3471 __GI___wcschr alias.
3472 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3473 [IS_IN (libc)] (wcschr): Define as macro expanding to
3474 __redirect_wcschr.
3475 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3476 [IS_IN (libc)] (__wcschr_power6): Likewise.
3477 [IS_IN (libc)] (__wcschr_power7): Likewise.
3478 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3479 instead of wcschr.
3480 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3481 __libc_wcschr.
3482 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3483 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3484 __wcschr and define as weak alias of __wcschr. Use
3485 libc_hidden_builtin_def.
3486 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3487 as weak alias of __wcschr. Use libc_hidden_weak.
3488 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3489 wcschr.
3490 * time/era.c (_nl_init_era_entries): Likewise.
3491 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3492 variable.
3493 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3494 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3495
1b8bf351
JM
34962014-12-10 Joseph Myers <joseph@codesourcery.com>
3497
3498 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3499 format for long int variable.
3500
f5f46d51
AK
35012014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3502
3503 [BZ #10672]
07008f7d 3504 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
3505 qsort stable.
3506
217a74a8
AS
35072014-12-10 Andreas Schwab <schwab@suse.de>
3508
3509 [BZ #12847]
3510 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3511 user-controlled locks.
3512
aa76a5c7
RE
35132014-12-10 Richard Earnshaw <rearnsha@arm.com>
3514
3515 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3516 register.
3517
2084e7ca
JM
35182014-12-10 Joseph Myers <joseph@codesourcery.com>
3519
a4ecc9eb
JM
3520 * configure.ac (--disable-werror): New configure option.
3521 (enable_werror): New AC_SUBST.
3522 * configure: Regenerated.
3523 * config.make.in (enable-werror): New variable.
3524 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3525 -Wno-error=undef.
3526 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3527 * manual/install.texi (Configuring and compiling): Document
3528 --disable-werror.
3529 * INSTALL: Regenerated.
3530 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3531 (CFLAGS-tst-chk2.c): Likewise.
3532 (CFLAGS-tst-chk3.c): Likewise.
3533 (CFLAGS-tst-chk4.cc): Likewise.
3534 (CFLAGS-tst-chk5.cc): Likewise.
3535 (CFLAGS-tst-chk6.cc): Likewise.
3536 (CFLAGS-tst-lfschk1.c): Likewise.
3537 (CFLAGS-tst-lfschk2.c): Likewise.
3538 (CFLAGS-tst-lfschk3.c): Likewise.
3539 (CFLAGS-tst-lfschk4.cc): Likewise.
3540 (CFLAGS-tst-lfschk5.cc): Likewise.
3541 (CFLAGS-tst-lfschk6.cc): Likewise.
3542
0f88636c
JM
3543 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3544 (main): Disable -Wdeprecated-declarations around calls to
3545 register_printf_function.
3546
c81e9deb
JM
3547 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3548 (do_test): Disable -Wdiv-by-zero around some calls to
3549 fwrite_unlocked and fread_unlocked.
3550
2084e7ca
JM
3551 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3552 (DIAG_POP_NEEDS_COMMENT): Likewise.
3553 (_DIAG_STR1): Likewise.
3554 (_DIAG_STR): Likewise.
3555 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3556 * stdio-common/bug21.c: Include <libc-internal.h>.
3557 (do_test): Disable -Wformat around call to sscanf.
3558 * stdio-common/scanf14.c: Include <libc-internal.h>.
3559 (main): Disable -Wformat around some calls to scanf functions.
3560
df7ecc6b
TR
35612014-12-09 Torvald Riegel <triegel@redhat.com>
3562
3563 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3564
2aa3862e
AZ
35652014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3566
3567 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3568 stack variable alignment.
3569
c5c2b7c3
JM
35702014-12-06 Joseph Myers <joseph@codesourcery.com>
3571
3572 [BZ #17682]
3573 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3574 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3575 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3576 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3577 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3578 __getrlimit instead of getrlimit.
3579 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3580 __gettimeofday instead of gettimeofday.
3581 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3582 Likewise.
3583 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3584 Likewise.
3585 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3586 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3587 Remove variable.
3588 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3589 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3590
9752c3cd
AZ
35912014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3594 for wide-character tests.
3595
4bee4cd9
RM
35962014-12-04 Roland McGrath <roland@hack.frob.com>
3597
3598 * io/openat64.c: #include <libc-internal.h>
3599 (__openat64): Prototypify. Use ignore_value on MODE.
3600 * io/openat.c: Likewise.
3601 * misc/reboot.c: #include <libc-internal.h>
3602 (reboot): Prototypify. Use ignore_value on HOWTO.
3603 * misc/ptrace.c: #include <libc-internal.h>
3604 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
3605
84dbedb6
JM
36062014-12-04 Joseph Myers <joseph@codesourcery.com>
3607
3608 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3609 XPG4, UNIX98 and XOPEN2K.
3610 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3611 Remove variable.
3612 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3613
b7a3e1c4 36142014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 3615
af50dfc1 3616 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
3617 * libio/iofopen.c: Likewise.
3618 * libio/wfileops.c: Likewise.
3619
fe8b4d98
SP
3620 [BZ #17653]
3621 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3622 offset on EOF.
3623 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3624 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3625 (fgets_func): Function pointer to fgets and fgetws.
3626 (do_ftell_test): Add test to verify ftell value after read
3627 EOF.
3628 (do_test): Set fgets_func.
3629
61b4f792
SP
3630 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3631 O_TRUNC flag for w and w+ modes.
3632 (do_rewind_test): Likewise.
3633 (do_ftell_test): Likewise.
3634 (do_write_test): Likewise.
3635
be349d70
SP
3636 [BZ #17647]
3637 * libio/fileops.c (do_ftell): Seek only when there are
3638 unflushed writes.
3639 * libio/wfileops.c (do_ftell_wide): Likewise.
3640 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3641 test case.
3642 (do_one_test): Call it.
3643
e3d6dba5
JM
36442014-12-03 Joseph Myers <joseph@codesourcery.com>
3645
3646 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3647 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3648 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3649 Remove variable.
3650 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3651 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3652 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3653
7f994279
JM
36542014-12-02 Joseph Myers <joseph@codesourcery.com>
3655
28a91e8f
JM
3656 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3657 Remove variable.
3658 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3659
7f994279
JM
3660 [BZ #17668]
3661 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3662 as weak alias of __getifaddrs. Use libc_hidden_weak.
3663 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3664 __freeifaddrs. Use libc_hidden_weak.
3665 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3666 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3667 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3668 __freeifaddrs. Use libc_hidden_weak.
3669 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3670 __getifaddrs and define as weak alias of __getifaddrs. Use
3671 libc_hidden_weak.
3672 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3673 __freeifaddrs. Use libc_hidden_weak.
3674 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3675 Remove variable.
3676 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3677 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3678
bbe4c142
PJ
36792014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3680
3681 [BZ #17601]
3682 * sysdeps/mips/start.S (__start): Use indirect jump to call
3683 __libc_start_main.
3684
66cadc05
JM
36852014-12-02 Joseph Myers <joseph@codesourcery.com>
3686
909e16d9
JM
3687 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3688
4e0b9016
JM
3689 * nptl/tst-mutex1.c: Include <stdbool.h>.
3690 [!ATTR] (ATTR_NULL): New macro.
3691 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3692 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3693 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3694
b1aff6a4
JM
3695 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3696 to char *.
3697
266865c0
JM
3698 [BZ #17665]
3699 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3700 Change conditional to [__USE_MISC].
3701
84e5e756
JM
3702 [BZ #17664]
3703 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3704 fgets_unlocked.
3705 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3706 __fgets_unlocked.
3707 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3708 fgets_unlocked.
3709 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3710 Remove variable.
3711 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3712 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3713 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3714 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3715 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3716 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3717 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3718 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3719 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3720
66cadc05
JM
3721 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3722
2e8a2de2 37232014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3724
3725 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3726 Remove strpbrk objects.
3727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3728 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3729 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3730 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3731 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3732 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3733
bb2542e0
AZ
3734 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3735 Remove strcspn objects.
3736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3737 (__libc_ifunc_impl_list): Remove strcspn implementation.
3738 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3739 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3740 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3741 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3742
3743 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3744 Remove strspn objetcs.
3745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3746 (__libc_ifunc_impl_list): Remove strspn implementation.
3747 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3748 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3749 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3750 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3751
08f1e1d2
JL
37522014-12-01 James Lemke <jwlemke@codesourcery.com>
3753
3754 [BZ #17581]
3755 * malloc/hooks.c
3756 (mem2mem_check): Add a terminator to the chain of checking blocks.
3757 (malloc_check_get_size): Use it here.
3758 (mem2chunk_check): Ditto.
3759
a8a7d7d2
RS
37602014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3761
3762 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3763 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3764
97114a38
CD
37652014-11-29 Carlos O'Donell <carlos@redhat.com>
3766
c8dc1727
CD
3767 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3768
6d03458e
CD
3769 * nptl/nptl-init.c: Include libc-internal.h.
3770 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3771
97114a38
CD
3772 * elf/ldconfig.c (search_dir): Expand comment.
3773
0e7e69ba
JM
37742014-11-29 Joseph Myers <joseph@codesourcery.com>
3775
3776 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3777 variable.
3778 (linknamespace-symlist-stdlibs-tests): Likewise.
3779 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3780 instead of $(objpfx)symlist-stdlibs.
3781 (linknamespace-libs-isoc): New variable.
3782 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3783 (linknamespace-libs-ISO): New variable.
3784 (linknamespace-libs-ISO99): Likewise.
3785 (linknamespace-libs-ISO11): Likewise.
3786 (linknamespace-libs-XPG3): Likewise.
3787 (linknamespace-libs-XPG4): Likewise.
3788 (linknamespace-libs-POSIX): Likewise.
3789 (linknamespace-libs-UNIX98): Likewise.
3790 (linknamespace-libs-XOPEN2K): Likewise.
3791 (linknamespace-libs-POSIX2008): Likewise.
3792 (linknamespace-libs-XOPEN2K8): Likewise.
3793 ($(objpfx)symlist-stdlibs): Replace by
3794 $(linknamespace-symlist-stdlibs-tests). Use
3795 $(linknamespace-libs-$*) as set of libraries.
3796 ($(linknamespace-header-tests)): Update dependencies. Use
3797 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3798 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3799 * conform/linknamespace.pl: Remove comment about considering
3800 definitions of symbols from irrelevant libraries.
3801
d8dd0080
L
38022014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 [BZ #13862]
3805 * elf/dl-tls.c: Include <atomic.h>.
3806 (oom): Remove #ifdef SHARED/#endif.
3807 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3808 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3809 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3810 big enough.
3811 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3812 * nptl/Makefile (tests): Add tst-stack4.
3813 (modules-names): Add tst-stack4mod.
3814 ($(objpfx)tst-stack4): New.
3815 (tst-stack4mod.sos): Likewise.
3816 ($(objpfx)tst-stack4.out): Likewise.
3817 ($(tst-stack4mod.sos)): Likewise.
3818 (clean): Likewise.
3819 * nptl/tst-stack4.c: New file.
3820 * nptl/tst-stack4mod.c: Likewise.
3821
167da422
B
38222014-11-27 J. Brown <jb999@gmx.de>
3823
3824 * sysdeps/x86/bits/string.h: Add recent CPUs.
3825
9114625b
JM
38262014-11-27 Joseph Myers <joseph@codesourcery.com>
3827
6b5189eb
JM
3828 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3829 sigblock.
3830
49051f8e
JM
3831 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3832 feof.
3833
9114625b
JM
3834 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3835 variable.
3836
e7300fef
SL
38372014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3838
3839 * nscd/connections.c: Include libc-internal.h because of macro
3840 usage ignore_value.
3841
1721f0a4
SP
38422014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3843
3844 * string/bits/string3.h (__warn_memset_zero_len): Don't
3845 declare for gcc newer than 5.0.
3846 (memset): Don't test for zero-length __LEN for gcc newer than
3847 5.0.
3848
be970916
JM
38492014-11-27 Joseph Myers <joseph@codesourcery.com>
3850
d88548f4
JM
3851 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3852 size_t for %zu format.
3853
be970916
JM
3854 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3855 difference, not %ju.
3856
3b20fd5c
JM
38572014-11-26 Joseph Myers <joseph@codesourcery.com>
3858
8915eace
JM
3859 * include/libc-internal.h (ignore_value): New macro.
3860 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3861 with ignore_value.
3862
f1a5a0e3
JM
3863 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3864 definition.
3865
59ef1715
JM
3866 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3867 pthread_cleanup_push to void *.
3868
a6f3079b
JM
3869 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3870 Undefine.
3871
706688aa
JM
3872 [BZ #16619]
3873 [BZ #16740]
3874 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3875 instead of 1L << 52.
3876
12da14a5
JM
3877 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3878 * libio/bug-rewind2.c (do_test): Likewise.
3879
bd5dadac
JM
3880 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3881 * debug/test-strcpy_chk-ifunc.c: Likewise.
3882 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3883 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3884 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3885 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3886 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3887 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3888 * Rules [$(multi-arch) = no] (tests): Do not filter out
3889 $(tests-ifunc).
3890 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3891 * debug/Makefile (tests-ifunc): Remove variable.
3892 (tests): Do not add $(tests-ifunc).
3893 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3894 (tests): Do not add $(tests-ifunc).
3895 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3896 [TEST_IFUNC]: Remove conditionals.
3897 * string/test-string.h (TEST_IFUNC): Remove macro.
3898 [TEST_IFUNC]: Remove conditionals.
3899
3b20fd5c
JM
3900 * string/test-strchr.c [!WIDE] (L): New macro.
3901 [WIDE] (L): Likewise.
3902 (check1): Use CHAR instead of char. Use L on string and character
3903 constants.
3904
704f7947
AZ
39052014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3906
3907 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3908 tests.
3909 * sysdeps/powerpc/bits/atomic.h
3910 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3911 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3912 (atomic_exchange_and_add_acq): Likewise.
3913 (atomic_exchange_and_add_rel): Likewise.
3914 * sysdeps/powerpc/powerpc32/bits/atomic.h
3915 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3916 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3917 * sysdeps/powerpc/powerpc64/bits/atomic.h
3918 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3919 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3920
cdcb42d7
TR
39212014-11-26 Torvald Riegel <triegel@redhat.com>
3922
3923 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3924 Change synchronization of __sched_fifo_min_prio and
3925 __sched_fifo_max_prio.
3926 * nptl/pthread_mutexattr_getprioceiling.c
3927 (pthread_mutexattr_getprioceiling): Likewise.
3928 * nptl/pthread_mutexattr_setprioceiling.c
3929 (pthread_mutexattr_setprioceiling): Likewise.
3930 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3931 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3932 Likewise.
3933
c82f5c0c
JM
39342014-11-26 Joseph Myers <joseph@codesourcery.com>
3935
3936 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3937 void.
3938
439e1ad6
JM
39392014-11-25 Joseph Myers <joseph@codesourcery.com>
3940
3941 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3942 third argument const.
3943
b1eda10e
PE
39442014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3945
3946 fnmatch: work around GCC compiler warning bug with uninit var
3947 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3948 This works around a bug with x86-64 GCC 4.9.2 and earlier
3949 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3950 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3951 used uninitialized in this function [-Wmaybe-uninitialized]".
3952
bde2667a
JM
39532014-11-25 Joseph Myers <joseph@codesourcery.com>
3954
3955 * posix/bug-regex31.c (main): Return RES not 0.
3956
5fbb5691
AB
39572014-11-25 Anton Blanchard <anton@samba.org>
3958
3959 * sysdeps/powerpc/bits/atomic.h
3960 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3961
467fec0b
BM
39622014-11-24 Sterling Augustine <saugustine@google.com>
3963
3964 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3965
e9ff8efb
RC
39662014-11-24 Ryan Cumming <etaoins@gmail.com>
3967
3968 [BZ #17608]
3969 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3970
9744496f
JM
39712014-11-24 Joseph Myers <joseph@codesourcery.com>
3972
3973 [BZ #17633]
3974 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3975 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3976 variable.
3977 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3978 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3979
6423d475
WD
39802014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3981
3982 * string/strncpy.c (strncpy): Improve performance by using memset.
3983
39842014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3985
3986 * string/strcpy.c (strcpy):
3987 Improve performance by using strlen and memcpy.
3988
5d178c37
LH
39892014-11-24 Leonhard Holz <leonhard.holz@web.de>
3990
3991 * string/strcoll_l.c (get_next_seq): __always_inline.
3992 * string/strcoll_l.c (do_compare): __always_inline.
3993
279bc5b3
SP
39942014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3995
7a9ebfa1
SP
3996 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3997 defined.
3998 * include/mqueue.h: Likewise.
3999 * include/stdlib.h: Likewise.
4000
4f41c682
SP
4001 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4002 (get_null_defines): Adjust.
4003 * sunrpc/Makefile: Adjust comment.
4004 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4005 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4006 (CFLAGS-interp.c): Likewise.
4007 (CFLAGS-ldconfig.c): Likewise.
4008 (CPPFLAGS-.os): Likewise.
4009 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4010 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4011 * extra-modules.mk (extra-modules.mk): Likewise.
4012 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4013 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4014 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4015 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4016 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4017 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4018 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4019 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4020 * iconvdata/Makefile (CPPFLAGS): Likewise.
4021 (cpp-srcs-left): Add libof for all iconvdata routines.
4022 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4023 * include/assert.h: Likewise.
4024 * include/ctype.h: Likewise.
4025 * include/errno.h: Likewise.
4026 * include/libc-symbols.h: Likewise.
4027 * include/math.h: Likewise.
4028 * include/netdb.h: Likewise.
4029 * include/resolv.h: Likewise.
4030 * include/stdio.h: Likewise.
4031 * include/stdlib.h: Likewise.
4032 * include/string.h: Likewise.
4033 * include/sys/stat.h: Likewise.
4034 * include/wctype.h: Likewise.
4035 * intl/l10nflist.c: Likewise.
4036 * libidn/idn-stub.c: Likewise.
4037 * libio/libioP.h: Likewise.
4038 * nptl/libc_multiple_threads.c: Likewise.
4039 * nptl/pthreadP.h: Likewise.
4040 * posix/regex_internal.h: Likewise.
4041 * resolv/res_hconf.c: Likewise.
4042 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4043 * sysdeps/arm/memmove.S: Likewise.
4044 * sysdeps/arm/sysdep.h: Likewise.
4045 * sysdeps/generic/_itoa.h: Likewise.
4046 * sysdeps/generic/symbol-hacks.h: Likewise.
4047 * sysdeps/gnu/errlist.awk: Likewise.
4048 * sysdeps/gnu/errlist.c: Likewise.
4049 * sysdeps/i386/i586/memcpy.S: Likewise.
4050 * sysdeps/i386/i586/memset.S: Likewise.
4051 * sysdeps/i386/i686/memcpy.S: Likewise.
4052 * sysdeps/i386/i686/memmove.S: Likewise.
4053 * sysdeps/i386/i686/mempcpy.S: Likewise.
4054 * sysdeps/i386/i686/memset.S: Likewise.
4055 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4056 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4057 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4058 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4060 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4067 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4068 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4069 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4070 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4071 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4072 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4073 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4074 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4075 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4076 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4077 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4078 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4079 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4080 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4081 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4082 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4083 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4084 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4085 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4086 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4087 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4088 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4089 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4091 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4092 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4093 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4095 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4096 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4097 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4098 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4099 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4100 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4101 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4102 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4103 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4104 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4105 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4106 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4107 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4108 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4109 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4110 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4111 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4112 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4113 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4114 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4115 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4116 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4117 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4118 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4119 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4120 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4121 * sysdeps/posix/closedir.c: Likewise.
4122 * sysdeps/posix/opendir.c: Likewise.
4123 * sysdeps/posix/readdir.c: Likewise.
4124 * sysdeps/posix/rewinddir.c: Likewise.
4125 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4126 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4127 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4128 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4129 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4130 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4131 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4133 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4135 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4136 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4137 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4138 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4139 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4140 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4141 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4142 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4143 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4144 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4145 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4146 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4147 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4148 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4150 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4152 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4153 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4159 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4160 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4161 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4162 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4163 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4164 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4165 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4166 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4167 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4168 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4169 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4170 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4171 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4172 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4173 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4174 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4175 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4176 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4177 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4178 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4179 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4180 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4181 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4182 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4183 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4184 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4185 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4186 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4187 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4188 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4189 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4190 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4191 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4192 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4193 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4194 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4195 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4196 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4197 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4198 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4199 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4200 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4201 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4202 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4203 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4204 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4205 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4206 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4207 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4208 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4209 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4211 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4212 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4213 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4214 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4215 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4216 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4217 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4218 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4220 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4221 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4223 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4224 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4225 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4226 * sysdeps/unix/alpha/sysdep.S: Likewise.
4227 * sysdeps/unix/alpha/sysdep.h: Likewise.
4228 * sysdeps/unix/make-syscalls.sh: Likewise.
4229 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4231 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4232 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4233 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4234 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4236 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4237 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4238 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4239 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4240 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4241 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4242 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4243 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4244 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4245 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4246 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4247 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4248 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4249 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4250 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4251 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4252 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4253 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4254 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4255 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4258 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4259 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4261 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4263 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4265 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4266 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4267 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4268 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4269 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4270 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4271 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4272 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4273 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4276 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4277 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4279 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4280 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4281 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4282 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4283 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4284 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4285 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4287 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4288 * sysdeps/x86_64/memcpy.S: Likewise.
4289 * sysdeps/x86_64/memmove.c: Likewise.
4290 * sysdeps/x86_64/memset.S: Likewise.
4291 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4292 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4293 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4294 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4295 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4296 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4298 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4300 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4301 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4302 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4303 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4304 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4305 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4306 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4307 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4308 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4309 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4310 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4311 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4312 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4313 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4314 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4315 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4316 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4317 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4318 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4319 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4320 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4321 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4322 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4323 * sysdeps/x86_64/strcmp.S: Likewise.
4324
76ca86a5
SP
4325 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4326
a3848485
SP
4327 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4328 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4329 * elf/rtld-Rules: Likewise.
4330 * elf/setup-vdso.h: Likewise.
4331 * include/assert.h: Likewise.
4332 * include/bits/stdlib-float.h: Likewise.
4333 * include/errno.h: Likewise.
4334 * include/sys/stat.h: Likewise.
4335 * include/unistd.h: Likewise.
4336 * sysdeps/aarch64/setjmp.S: Likewise.
4337 * sysdeps/alpha/setjmp.S: Likewise.
4338 * sysdeps/arm/__longjmp.S: Likewise.
4339 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4340 * sysdeps/arm/setjmp.S: Likewise.
4341 * sysdeps/arm/sysdep.h: Likewise.
4342 * sysdeps/generic/_itoa.h: Likewise.
4343 * sysdeps/generic/dl-sysdep.h: Likewise.
4344 * sysdeps/generic/ldsodefs.h: Likewise.
4345 * sysdeps/i386/dl-tls.h: Likewise.
4346 * sysdeps/i386/setjmp.S: Likewise.
4347 * sysdeps/m68k/setjmp.c: Likewise.
4348 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4349 * sysdeps/mach/hurd/opendir.c: Likewise.
4350 * sysdeps/posix/getcwd.c: Likewise.
4351 * sysdeps/posix/opendir.c: Likewise.
4352 * sysdeps/posix/profil.c: Likewise.
4353 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4354 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4355 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4356 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4357 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4358 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4359 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4360 * sysdeps/s390/dl-tls.h: Likewise.
4361 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4362 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4363 * sysdeps/sh/sh3/setjmp.S: Likewise.
4364 * sysdeps/sh/sh4/setjmp.S: Likewise.
4365 * sysdeps/unix/alpha/sysdep.h: Likewise.
4366 * sysdeps/unix/arm/sysdep.S: Likewise.
4367 * sysdeps/unix/i386/sysdep.S: Likewise.
4368 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4369 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4370 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4371 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4372 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4373 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4374 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4375 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4376 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4377 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4378 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4379 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4380 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4383 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4386 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4387 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4388 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4391 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4392 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4393 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4394 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4395 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4396 * sysdeps/x86_64/setjmp.S: Likewise.
4397
a109996e
SP
4398 * include/math.h: Use IS_IN instead of IS_IN_libm.
4399 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4411 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4419 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4420 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4421 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4422 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4423 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4424 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4426 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4427 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4428 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4429 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4430 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4431 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4433 Likewise.
4434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4435 Likewise.
4436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4437 Likewise.
4438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4439 Likewise.
4440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4441 Likewise.
4442 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4443 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4444 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4445 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4446 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4447 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4453 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4454 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4455 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4456 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4457 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4458 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4459 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4460 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4461 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4463 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4464 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4465 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4466 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4468 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4469
ce9f10f7
SP
4470 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4471 * nptl/pthreadP.h: Likewise.
4472 * nptl_db/structs.def: Likewise.
4473 * sysdeps/arm/sysdep.h: Likewise.
4474 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4475 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4476 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4477 * sysdeps/unix/alpha/sysdep.h: Likewise.
4478 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4479 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4480 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4481 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4482 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4483 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4485 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4486 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4487 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4488 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4489 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4490 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4491 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4494 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4496 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4498 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4499 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4500 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4501 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4502 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4503 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4504
016afc75
SP
4505 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4506 * nptl/pthreadP.h: Likewise.
4507 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4508 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4509 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4510 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4511 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4512 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4513 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4514 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4515 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4516 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4517 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4518 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4520 Likewise.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4522 Likewise.
4523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4525 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4526 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4527 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4528 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4529 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4530 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4531
9b42a0b3
SP
4532 * dlfcn/dladdr.c: Use IS_IN.
4533 * dlfcn/dladdr1.c: Likewise.
4534 * dlfcn/dlclose.c: Likewise.
4535 * dlfcn/dlerror.c: Likewise.
4536 * dlfcn/dlinfo.c: Likewise.
4537 * dlfcn/dlmopen.c: Likewise.
4538 * dlfcn/dlopen.c: Likewise.
4539 * dlfcn/dlsym.c: Likewise.
4540 * dlfcn/dlvsym.c: Likewise.
4541
85f36372
SP
4542 * include/ifaddrs.h: Use IS_IN.
4543 * inet/check_pf.c: Likewise.
4544 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4545 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4546
fb6784e3
SP
4547 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4548 IS_IN_ldconfig.
4549 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4550 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4551
2886d2d1
SP
4552 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4553 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4554 IS_IN (libc).
4555
9a484857
SP
4556 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4557
a10178bd
SP
4558 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4559 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4560 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4561 * include/libc-symbols.h (IS_IN_LIB): New macro.
4562 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4563 * include/netdb.h: Likewise.
4564 * include/stap-probe.h: Remove all uses of IN_LIB.
4565
279bc5b3
SP
4566 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4567 instead of IN_MODULE.
4568 * include/libc-symbols.h (IN_MODULE): Define using
4569 MODULE_NAME.
4570 (PASTE_NAME, PASTE_NAME1): New macros.
4571 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4572 of IN_LIB.
4573 (STAP_PROBE_ASM): Likewise.
4574
e0cfa510
ST
45752014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
4576
4577 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4578 __mach_init in dlopened libc.
4579
34d97d87
MF
45802014-11-22 Mike Frysinger <vapier@gentoo.org>
4581
4582 * sysdeps/arm/preconfigure.ac: Delete EABI check.
4583 * sysdeps/arm/preconfigure: Regenerate.
4584
33cd1f74
RM
45852014-11-21 Roland McGrath <roland@hack.frob.com>
4586
4587 * nptl/pthread_create.c (__pthread_create_2_1): Set
4588 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4589 when copying values from IATTR into PD.
4590
8c230039
WN
45912014-11-21 Will Newton <will.newton@linaro.org>
4592 Andrew Pinski <andrew.pinski@caviumnetworks.com>
4593
6d3db89b
AP
4594 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4595 Refactor inline-asm. Also add comment.
4596
01194ba1
WN
4597 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4598 ElfW macro instead of hardcoded Elf64 types.
4599 (la_aarch64_gnu_pltenter): Likewise.
4600 * sysdeps/aarch64/dl-machine.h
4601 (elf_machine_runtime_setup): Use ElfW(Addr).
4602
8c230039
WN
4603 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4604 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4605 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4606 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4607 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4608 (R_AARCH64_TLS_DTPMOD64): Rename to ..
4609 (R_AARCH64_TLS_DTPMOD): This.
4610 (R_AARCH64_TLS_DTPREL64): Rename to ...
4611 (R_AARCH64_TLS_DTPREL): This.
4612 (R_AARCH64_TLS_TPREL64): Rename to ...
4613 (R_AARCH64_TLS_TPREL): This.
4614 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4615 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4616 R_AARCH64_TLS_TPREL64.
4617 (elf_machine_rela): Likewise.
4618
0d79fa53
TR
46192014-11-21 Torvald Riegel <triegel@redhat.com>
4620
4621 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4622 by setting it to 0. 64b atomics are not supported currently.
4623
b59d114b
AO
46242014-11-21 Alexandre Oliva <aoliva@redhat.com>
4625
4626 [BZ #16469]
4627 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4628 search domain names.
4629
f3d945d5
AO
46302014-11-21 Alexandre Oliva <aoliva@redhat.com>
4631
4632 [BZ #16469]
4633 * NEWS: Update.
4634 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4635 trailing dot.
4636 * posix/tst-getaddrinfo5.c: New.
4637 * posix/Makefile (tests): Add it.
4638
49698902
AO
46392014-11-21 Alexandre Oliva <aoliva@redhat.com>
4640
4641 [BZ #14498]
4642 * NEWS: Fixed.
4643 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4644 after parsing line but before break_if_match.
4645 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4646 if there is a protocol mismatch.
4647
81959214
MS
46482014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4649
4650 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4651 because the potential race is on the user-supplied stream.
4652
7729e0e9
AO
46532014-11-21 Alexandre Oliva <aoliva@redhat.com>
4654
4655 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4656 string literal if not passed a buffer.
4657 * manual/job.texi (ctermid): Update reasoning, note deviation
4658 from posix, suggest mtasurace when not passed a buffer, for
4659 future non-preliminary safety notes.
4660
a4ea5e28
AO
46612014-11-21 Alexandre Oliva <aoliva@redhat.com>
4662
4663 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4664 of not passing it a buffer.
4665 Reported by Peng Haitao.
4666
a2b581cb
AO
46672014-11-21 Alexandre Oliva <aoliva@redhat.com>
4668
4669 * manual/Makefile ($(objpfx)stamp-summary): Require
4670 check-safety.sh to pass.
4671 * manual/check-safety.sh: Wish for verification that every
4672 @deftypefn and @deftypefun is followed by a @safety remark.
4673
f214ff74
RM
46742014-11-20 Roland McGrath <roland@hack.frob.com>
4675
7f0dfae0
RM
4676 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4677
2f531bbb
RM
4678 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4679 PTHREAD_CANCEL_ASYNCHRONOUS.
4680 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4681 send SIGCANCEL.
4682
f214ff74
RM
4683 * nptl/default-sched.h: New file.
4684 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4685 * nptl/pthread_create.c: Include it.
4686 (__pthread_create_2_1): Use collect_default_sched instead of making
4687 Linux syscalls here directly.
4688
e37c91d4
TR
46892014-11-20 Torvald Riegel <triegel@redhat.com>
4690
4691 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4692 __pthread_once): Use C11 atomics.
4693
1eccfecd
TR
46942014-11-20 Torvald Riegel <triegel@redhat.com>
4695
4696 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4697
ff871426
TR
46982014-11-20 Torvald Riegel <triegel@redhat.com>
4699
4700 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4701 atomic_thread_fence_acquire, atomic_thread_fence_release,
4702 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4703 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4704 atomic_compare_exchange_weak_relaxed,
4705 atomic_compare_exchange_weak_acquire,
4706 atomic_compare_exchange_weak_release,
4707 atomic_exchange_acquire, atomic_exchange_release,
4708 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4709 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4710 atomic_fetch_and_acquire,
4711 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4712
1ea339b6
TR
47132014-11-20 Torvald Riegel <triegel@redhat.com>
4714
4715 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4716 USE_ATOMIC_COMPILER_BUILTINS): Define.
4717 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4718 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4719 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4720 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4721 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4722 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4723 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4724 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4725 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4726 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4727 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4728 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4729 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4730 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4731 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4732 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4733 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4734 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4735 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4736 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4737 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4738 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4739 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4740 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4741 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4742 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4743 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4744 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4745 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4746 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4747 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4748 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4749 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4750 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4751 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4752 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4753 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4754 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4755 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4756 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4757
cbd463e2
RM
47582014-11-19 Roland McGrath <roland@hack.frob.com>
4759
d960211f
RM
4760 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4761 the sched_priority value here. It was already checked when the user
4762 called pthread_attr_setschedparam.
4763
cbd463e2
RM
4764 * nptl/tst-bad-schedattr.c: New file.
4765 * nptl/Makefile (tests): Add it.
4766
a39208bd
CD
47672014-11-19 Carlos O'Donell <carlos@redhat.com>
4768 Florian Weimer <fweimer@redhat.com>
4769 Joseph Myers <joseph@codesourcery.com>
4770 Adam Conrad <adconrad@0c3.net>
4771 Andreas Schwab <schwab@suse.de>
4772 Brooks <bmoses@google.com>
4773
4774 [BZ #17625]
4775 * wordexp-test.c (__dso_handle): Add prototype.
4776 (__register_atfork): Likewise.
4777 (__app_register_atfork): New function.
4778 (registered_forks): New global.
4779 (register_fork): New function.
4780 (test_case): Add 3 new tests for WRDE_CMDSUB.
4781 (main): Call __app_register_atfork.
4782 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4783 fork count is non-zero fail the test.
4784 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4785 is set.
4786 (parse_dollars): Remove check for WRDE_NOCMD.
4787 (parse_dquote): Likewise.
4788
9cd47470
SP
47892014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4790
130ac68c
SP
4791 * Makeconfig (built-modules): List non-library modules to be
4792 built.
4793 (module-cppflags): Include libc-modules.h for
4794 everything except shlib-versions.v.i.
4795 (CPPFLAGS): Use it.
4796 (before-compile): Add libc-modules.h.
4797 ($(common-objpfx)libc-modules.h,
4798 $(common-objpfx)libc-modules.stmp): New targets.
4799 (common-generated): Add libc-modules.h and libc-modules.stmp.
4800 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4801 * include/libc-symbols.h: Don't include libc-modules.h.
4802 * include/libc-modules.h: Remove file.
4803 * scripts/gen-libc-modules.awk: New script to generate
4804 libc-modules.h.
4805 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4806 Depend on libc-modules.stmp.
4807
286663c3
SP
4808 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4809
9cd47470
SP
4810 * Makeconfig (in-module): Get value of libof set for the
4811 translation unit.
4812 (CPPFLAGS): Use $(in-module).
4813 * Makerules: Don't suffix routine names for nonlib.
4814 * include/libc-modules.h: New file.
4815 * include/libc-symbols.h: Include libc-modules.h
4816 (IS_IN): New macro to replace IS_IN_* macros.
4817 * elf/Makefile: Set libof-* for each routine.
4818 * elf/rtld-Rules: Likewise.
4819 * extra-modules.mk: Likewise.
4820 * iconv/Makefile: Likewise.
4821 * iconvdata/Makefile: Likewise.
4822 * locale/Makefile: Likewise.
4823 * malloc/Makefile: Likewise.
4824 * nss/Makefile: Likewise.
4825 * sysdeps/gnu/Makefile: Likewise.
4826 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4827 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4828 * sysdeps/s390/s390-64/Makefile: Likewise.
4829 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4830 CPPFLAGS for nscd instead of nonlib.
4831
32fed10f
RM
48322014-11-18 Roland McGrath <roland@hack.frob.com>
4833
d71035bd
RM
4834 * nptl/createthread.c: New file.
4835
6540b991
RM
4836 * nptl/createthread.c: Moved ...
4837 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4838
32fed10f
RM
4839 * nptl/createthread.c: Add proper top-line comment.
4840 (do_clone): Folded into ...
4841 (create_thread): ... here. Take new arguments STOPPED_START and
4842 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4843 increment __nptl_threads, do event-reporting logic, do
4844 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4845 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4846 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4847 just send SIGCANCEL.
4848 * nptl/pthread_create.c: Forward-declare create_thread before
4849 including createthread.c.
4850 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4851 declaration, and new macro START_THREAD_SELF to replace argument.
4852 Remove return statement.
4853 (report_thread_creation): New function.
4854 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4855 synchronization logic, and __nptl_nthreads increment here, around
4856 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4857 PD->parent_cancelhandling here, before create_thread. When
4858 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4859 __deallocate_stack, and ENOMEM translation here.
4860
107a5bf0
JM
48612014-11-18 Joseph Myers <joseph@codesourcery.com>
4862
4863 [BZ #17616]
4864 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4865 (mptwo): Rename to __mptwo.
4866 (__inv): Use __mptwo instead of mptwo.
4867 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4868 (mptwo): Rename to __mptwo.
4869 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4870 of mpone and __mptwo instead of mptwo.
4871 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4872 instead of mpone.
4873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4874 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4875 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4876 of mpone and __mptwo instead of mptwo.
4877 (__mpranred): Use __mpone instead of mpone.
4878 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4879 variable.
4880 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4881 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4882 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4883 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4884 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4885 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4886 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4887 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4888 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4889 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4890 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4891 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4892 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4893 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4894 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4895 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4896 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4897 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4898 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4899
3b679ab3
TV
49002014-11-18 Tom de Vries <tom@codesoucery.com>
4901
4902 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4903 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4904
49052014-11-17 Richard Henderson <rth@redhat.com>
4906
4907 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4908 (_FP_PACK_RAW_2): Remove.
4909 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4910 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4911 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4912 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4913 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4914 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4915 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4916 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4917 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4918 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4919 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4920 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4921 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4922 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4923 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4924 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4925
0781a777
RM
49262014-11-14 Roland McGrath <roland@hack.frob.com>
4927
4928 * signal/signal.h [__USE_MISC]
4929 (struct sigvec): Remove type.
4930 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4931 (sigvec): Remove declaration.
4932 * sysdeps/posix/sigvec.c: Moved ...
4933 * signal/sigvec.c: ... here, replacing old file.
4934 (struct sigvec): New type, copied from old signal.h definition.
4935 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4936 (__sigvec): Convert definition to prototype.
4937 (sigvec): Replace weak_alias with compat_symbol.
4938 * signal/Versions (libc: GLIBC_2.21): New version set.
4939 * include/signal.h: Remove __sigvec declaration.
4940 * sysdeps/unix/bsd/sigvec.c: Remove file.
4941 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4942 * manual/signal.texi (BSD Handler): Remove subsection.
4943 Move siginterrupt up to ...
4944 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4945 (Blocking in BSD): Fold subsection into its parent.
4946 * NEWS: Mention sigvec removal.
4947
a4733812
JM
49482014-11-14 Joseph Myers <joseph@codesourcery.com>
4949
5ae4fe60
JM
4950 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4951 (DLA_FMS): Make definition conditional only on [__FMA4__].
4952 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4953 definition.
4954
6a0dd472
JM
4955 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4956 Make definition conditional only on [PROF].
4957 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4958 definition.
4959 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4960 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4961
a4733812
JM
4962 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4963 !__GNUC__].
4964 * include/signal.h (__sigpause): Move declaration above call to
4965 libc_hidden_proto.
4966 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4967 variable.
4968 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4969 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4970
cf7246dd
DM
49712014-11-14 David S. Miller <davem@davemloft.net>
4972
4973 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4974 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4975
c1b0aadc
JM
49762014-11-14 Joseph Myers <joseph@codesourcery.com>
4977
4863355a
JM
4978 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4979 * configure: Regenerated.
4980 * manual/install.texi (Tools for Compilation): Document a
4981 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4982 compiler verified to work.
4983 * INSTALL: Regenerated.
4984
c1b0aadc
JM
4985 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4986 redeclare with asm name.
4987 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4988 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4989 including <string.h>.
4990 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4992 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4993 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4994 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4995 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4996 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4997
2a1cfd94
JM
49982014-11-13 Joseph Myers <joseph@codesourcery.com>
4999
bf438382
JM
5000 * stdlib/strtol.c (__strtol): Use prototype definition.
5001
2a1cfd94
JM
5002 [BZ #17594]
5003 * stdlib/strtol.c (SYM__): New macro.
5004 (SYM__1): Likewise.
5005 (__strtol): Likewise.
5006 (strtol): Rename to __strtol and define as weak alias of
5007 __strtol. Use libc_hidden_weak.
5008
20ed0d26
SL
50092014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5010
5011 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5012 Use numbered labels in inline assembly.
5013
53244a4e
SL
50142014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5015
5016 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5017 Add setjmp LIBC_PROBE.
5018 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5019 Likewise.
5020 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5021 Add longjmp, longjmp_target LIBC_PROBE.
5022 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5023 Likewise.
5024
47df8251
SL
50252014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5026
5027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5028 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5029 to get rid of unused variable warning.
5030
618cebef
SL
50312014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5032
5033 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5034 Check for unwind_backtrace == NULL only in SHARED case.
5035 (__backchain_backtrace): Compile only in SHARED case.
5036 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5037 Likewise.
5038 (__backchain_backtrace): Declare as static.
5039
c6aab2cb
RM
50402014-11-12 Roland McGrath <roland@hack.frob.com>
5041
5042 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5043 (__libc_multiple_threads_ptr): Variable moved ...
5044 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5045
5a6fa4d7
JM
50462014-11-12 Joseph Myers <joseph@codesourcery.com>
5047
24f4f825
JM
5048 * conform/GlibcConform.pm: New file.
5049 * conform/conformtest.pl: Use GlibcConform module.
5050 * conform/linknamespace.pl: New file.
5051 * conform/list-header-symbols.pl: Likewise.
5052 * conform/Makefile (linknamespace-symlists-base): New variable.
5053 (linknamespace-symlists-tests): Likewise.
5054 (linknamespace-header-base): Likewise.
5055 (linknamespace-header-tests): Likewise.
5056 (tests-special): Add new tests.
5057 ($(linknamespace-symlists-tests)): New rule.
5058 (linknamespace-libs): New variable.
5059 ($(objpfx)symlist-stdlibs): New rule.
5060 ($(linknamespace-header-tests)): Likewise.
5061 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5062 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5063 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5064 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5065 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5066 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5067 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5068 (test-xfail-ISO/math.h/linknamespace): Likewise.
5069 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5070 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5071 (test-xfail-ISO/time.h/linknamespace): Likewise.
5072 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5073 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5074 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5075 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5076 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5077 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5078 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5079 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5080 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5081 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5082 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5083 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5084 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5085 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5086 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5087 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5088 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5089 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5090 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5091 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5092 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5093 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5094 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5095 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5096 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5097 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5098 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5099 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5100 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5101 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5102 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5103 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5104 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5105 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5106 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5107 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5108 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5109 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5110 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5111 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5112 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5113 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5114 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5115 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5116 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5117 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5118 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5119 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5120 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5121 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5122 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5123 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5124 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5125 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5126 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5127 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5128 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5129 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5130 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5131 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5132 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5133 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5134 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5135 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5136 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5137 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5138 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5139 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5140 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5141 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5142 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5143 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5144 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5145 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5146 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5147 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5148 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5149 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5150 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5151 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5152 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5153 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5154 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5155 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5156 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5157 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5158 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5159 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5160 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5161 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5162 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5163 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5164 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5165 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5166 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5167 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5168 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5169 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5170 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5171 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5172 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5173 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5174 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5175 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5176 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5177 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5178 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5179 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5180 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5181 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5182 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5183 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5184 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5185 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5186 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5187 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5188 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5189 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5190 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5191 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5192 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5193 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5194 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5195 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5196 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5197 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5198 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5199 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5200 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5201 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5202 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5203 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5204 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5205 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5206 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5207 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5208 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5209 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5210 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5211 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5212 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5213 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5214 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5215 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5216 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5217 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5218 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5219 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5220 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5221 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5222
cc67478e
JM
5223 [BZ #17589]
5224 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5225 of fgets_unlocked.
5226
9975e3d3
JM
5227 [BZ #17585]
5228 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5229 (memmem): Rename to __memmem and define as weak alias of
5230 __memmem. Use libc_hidden_weak.
5231 (__memmem): Use libc_hidden_def.
5232 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5233 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5234 memmem.
5235
c4eae752
JM
5236 [BZ #17582]
5237 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5238 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5239 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5240 and define as weak alias of __fgets_unlocked. Use
5241 libc_hidden_weak.
5242 (__fgets_unlocked): Use libc_hidden_def.
5243 * include/stdio.h (__fgets_unlocked): Declare. Use
5244 libc_hidden_proto.
5245 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5246 __fgets_unlocked instead of fgets_unlocked.
5247 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5248 (GET_NPROCS_CONF_PARSER): Likewise.
5249 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5250 (GET_NPROCS_CONF_PARSER): Likewise.
5251
01cad84e
JM
5252 [BZ #17574]
5253 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5254 weak alias of __wmemset. Use libc_hidden_weak.
5255 (__wmemset): Use libc_hidden_def.
5256 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5257 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5258 of wmemset.
5259
939da411
JM
5260 [BZ #17573]
5261 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5262 with asm name __mempcpy.
5263 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5264
293d9a41
JM
5265 [BZ #17572]
5266 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5267 and define as weak alias of __rawmemchr.
5268 (__rawmemchr): Do not define as strong alias of rawmemchr.
5269
bef8fd60
JM
5270 [BZ #17571]
5271 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5272 alias of __qsort_r.
5273 (qsort): Call __qsort_r instead of qsort_r.
5274 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5275 (__qsort_r): Declare. Call libc_hidden_proto.
5276 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5277 instead of qsort_r.
5278 * nscd/gai.c (__qsort_r): Define to qsort_r.
5279 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5280 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5281 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5282
c52ff39e
JM
5283 [BZ #17570]
5284 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5285 define as weak alias of __malloc_info.
5286
2f5c1b00
JM
5287 [BZ #17584]
5288 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5289 as weak alias of __rewinddir. Don't use libc_hidden_def.
5290 (__rewinddir): Use libc_hidden_def.
5291 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5292 as weak alias of __rewinddir. Don't use libc_hidden_def.
5293 (__rewinddir): Use libc_hidden_def.
5294 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5295 weak alias of __rewinddir. Don't use libc_hidden_def.
5296 (__rewinddir): Use libc_hidden_def.
5297 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5298 (__rewinddir): Use libc_hidden_proto.
5299 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5300 rewinddir.
5301 (__getcwd): Use __rewinddir instead of rewinddir.
5302
5a6fa4d7
JM
5303 [BZ #17583]
5304 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5305 alias of __fileno. Use libc_hidden_weak.
5306 (__fileno): Use libc_hidden_def.
5307 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5308 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5309 alias of __ftello.
5310 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5311 __ftello.
5312 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5313 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5314 libc_hidden_def.
5315 (fread_unlocked): Don't use libc_hidden_ver.
5316 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5317 and define as weak alias of __fread_unlocked. Don't use
5318 libc_hidden_def.
5319 (__fread_unlocked): Use libc_hidden_def.
5320 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5321 (ftello): Don't use libc_hidden_proto.
5322 (__ftello): Declare. Use libc_hidden_proto.
5323 (fread_unlocked): Don't use libc_hidden_proto.
5324 (__fread_unlocked): Declare. Use libc_hidden_proto.
5325 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5326 and __ftello instead of fileno, fread_unlocked and ftello.
5327
2581b98e
SP
53282012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5329
5330 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5331 GOT12.
5332 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5333 Likewise.
5334 (_dl_start_user): Likewise.
5335 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5336
533bb7c2
SP
53372014-11-12 Carlos O'Donell <carlos@redhat.com>
5338 Siddhesh Poyarekar <siddhesh@redhat.com>
5339
5340 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5341 Move argv and envp down instead of moving argc up.
5342 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5343
fffa1cf8
LH
53442014-11-12 Leonhard Holz <leonhard.holz@web.de>
5345
5346 [BZ #17506]
5347 * test-skeleton.c (main): Return successful if one of
5348 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5349 * string/tst-strcoll-overflow.c: Define expected status.
5350
fb89b46d
TU
53512014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5352
5353 [BZ #17475]
5354 * locale/iso-639.def: Define Bhili and Tulu language codes.
5355
5c40c3ba
AH
53562014-11-11 Alan Hayward <alan.hayward@arm.com>
5357
5358 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5359
b17fe01b 53602014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
5361
5362 [BZ #17555]
5363 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5364
bd805071
AS
53652014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5366
5367 * configure.ac: Updated check of minimal required version to
5368 2.22.
5369 * manual/install.texi (Tools for Compilation): Updated version
5370 number.
5371 * configure: Regenerated.
5372 * INSTALL: Likewise.
5373
1400983e
AS
53742014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5375
5376 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5377 __tls_get_addr.
5378
2c46a66a
JM
53792014-11-07 Joseph Myers <joseph@codesourcery.com>
5380
5381 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5382 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5383 (__waitpid): Don't define as alias. Use libc_hidden_def not
5384 libc_hidden_weak.
5385 (waitpid): Define as alias of __waitpid.
5386 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5387 __waitpid.
5388 (__waitpid): Don't define as alias. Use libc_hidden_def not
5389 libc_hidden_weak.
5390 (waitpid): Define as alias of __waitpid.
5391 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5392 __libc_waitpid alias.
5393 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5394 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5395 Likewise.
5396 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5397 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5398 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5399 alias.
5400 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5401 __waitpid.
5402 (__waitpid): Don't define as alias. Use libc_hidden_def not
5403 libc_hidden_weak.
5404 (waitpid): Define as alias of __waitpid.
5405
da53d6db
CD
54062014-11-06 Carlos O'Donell <carlos@redhat.com>
5407
a2887bdb
CD
5408 * manual/llio.texi: Add comment that write safety has been
5409 fixed in Linux.
5410
da53d6db
CD
5411 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5412 (localplt-build-dso): Add elf/ld.so.
5413 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5414 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5415 and free for ld.so.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5417 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5419 Likewise.
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5421 Likewise.
5422 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5423 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5424 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5425 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5426 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5427 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5428 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5429 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5430 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5431 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5432 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5433
9cf27b8d
JM
54342014-11-05 Joseph Myers <joseph@codesourcery.com>
5435
5436 [BZ #14132]
5437 * include/libc-symbols.h (INTUSE): Remove macro.
5438 (INTDEF): Likewise.
5439 (INTVARDEF): Likewise.
5440 (_INTVARDEF): Likewise.
5441 (INTDEF2): Likewise.
5442 (INTVARDEF2): Likewise.
5443 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5444 rtld_hidden_def instead of INTVARDEF.
5445 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5446 (_dl_starting_up_internal): Remove declaration.
5447 (_dl_starting_up): Use rtld_hidden_proto.
5448 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5449 declaration.
5450 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5451 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5452 _dl_starting_up.
5453 * elf/dl-writev.h (_dl_writev): Likewise.
5454 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5455 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5456 _dl_starting_up_internal.
5457
af83568d
AZ
54582014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5459
5460 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5461 test-skeleton.c.
5462
b01ee67c
WN
54632014-11-05 Will Newton <will.newton@linaro.org>
5464
5465 * benchtests/Makefile: (bench-malloc): Add malloc thread
5466 scalability benchmark.
5467 * benchtests/bench-malloc-threads.c: New file.
5468
be9d4ccc
RE
54692014-11-05 Richard Earnshaw <rearnsha@arm.com>
5470
5471 * sysdeps/aarch64/strchrnul.S: New file.
5472
7110166d
AZ
54732014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5474
5475 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5476 definition.
5477 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5478 Likwise.
5479 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5480 Likewise.
5481 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5482 Likewise.
5483 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5484 Likewise.
5485 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5486 Likewise.
5487
54882014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
5489
5490 * catgets/test-gencat.c: Use test-skeleton.c.
5491 * catgets/tst-catgets.c: Likewise.
5492 * csu/tst-empty.c: Likewise.
5493 * elf/tst-audit2.c: Likewise.
5494 * elf/tst-global1.c: Likewise.
5495 * elf/tst-pathopt.c: Likewise.
5496 * elf/tst-piemod1.c: Likewise.
5497 * elf/tst-tls10.c: Likewise.
5498 * elf/tst-tls11.c: Likewise.
5499 * elf/tst-tls12.c: Likewise.
5500 * gnulib/tst-gcc.c: Likewise.
5501 * iconvdata/tst-e2big.c: Likewise.
5502 * iconvdata/tst-loading.c: Likewise.
5503 * iconv/tst-iconv1.c: Likewise.
5504 * iconv/tst-iconv2.c: Likewise.
5505 * inet/test-inet6_opt.c: Likewise.
5506 * inet/tst-gethnm.c: Likewise.
5507 * inet/tst-network.c: Likewise.
5508 * inet/tst-ntoa.c: Likewise.
5509 * intl/tst-codeset.c: Likewise.
5510 * intl/tst-gettext2.c: Likewise.
5511 * intl/tst-gettext3.c: Likewise.
5512 * intl/tst-ngettext.c: Likewise.
5513 * intl/tst-translit.c: Likewise.
5514 * io/test-stat.c: Likewise.
5515 * libio/test-fmemopen.c: Likewise.
5516 * libio/tst-freopen.c: Likewise.
5517 * libio/tst-sscanf.c: Likewise.
5518 * libio/tst-ungetwc1.c: Likewise.
5519 * libio/tst-ungetwc2.c: Likewise.
5520 * libio/tst-widetext.c: Likewise.
5521 * localedata/tst-ctype.c: Likewise.
5522 * localedata/tst-digits.c: Likewise.
5523 * localedata/tst-leaks.c: Likewise.
5524 * localedata/tst-mbswcs1.c: Likewise.
5525 * localedata/tst-mbswcs2.c: Likewise.
5526 * localedata/tst-mbswcs3.c: Likewise.
5527 * localedata/tst-mbswcs4.c: Likewise.
5528 * localedata/tst-mbswcs5.c: Likewise.
5529 * localedata/tst-setlocale.c: Likewise.
5530 * localedata/tst-trans.c: Likewise.
5531 * localedata/tst-wctype.c: Likewise.
5532 * localedata/tst-xlocale1.c: Likewise.
5533 * login/tst-grantpt.c: Likewise.
5534 * malloc/tst-calloc.c: Likewise.
5535 * malloc/tst-malloc.c: Likewise.
5536 * malloc/tst-mallocstate.c: Likewise.
5537 * malloc/tst-mcheck.c: Likewise.
5538 * malloc/tst-mtrace.c: Likewise.
5539 * malloc/tst-obstack.c: Likewise.
5540 * math/atest-exp2.c: Likewise.
5541 * math/atest-exp.c: Likewise.
5542 * math/atest-sincos.c: Likewise.
5543 * math/test-matherr.c: Likewise.
5544 * math/test-misc.c: Likewise.
5545 * math/test-powl.c: Likewise.
5546 * math/tst-definitions.c: Likewise.
5547 * misc/tst-dirname.c: Likewise.
5548 * misc/tst-efgcvt.c: Likewise.
5549 * misc/tst-fdset.c: Likewise.
5550 * misc/tst-hsearch.c: Likewise.
5551 * misc/tst-mntent2.c: Likewise.
5552 * nptl/tst-sem7.c: Likewise.
5553 * nptl/tst-sem8.c: Likewise.
5554 * nptl/tst-sem9.c: Likewise.
5555 * nss/test-netdb.c: Likewise.
5556 * posix/tst-fnmatch.c: Likewise.
5557 * posix/tst-getlogin.c: Likewise.
5558 * posix/tst-gnuglob.c: Likewise.
5559 * posix/tst-mmap.c: Likewise.
5560 * pwd/tst-getpw.c: Likewise.
5561 * resolv/tst-inet_ntop.c: Likewise.
5562 * rt/tst-timer.c: Likewise.
5563 * stdio-common/test-fseek.c: Likewise.
5564 * stdio-common/test-popen.c: Likewise.
5565 * stdio-common/test-vfprintf.c: Likewise.
5566 * stdio-common/tst-cookie.c: Likewise.
5567 * stdio-common/tst-fileno.c: Likewise.
5568 * stdio-common/tst-gets.c: Likewise.
5569 * stdio-common/tst-obprintf.c: Likewise.
5570 * stdio-common/tst-perror.c: Likewise.
5571 * stdio-common/tst-sprintf2.c: Likewise.
5572 * stdio-common/tst-sprintf3.c: Likewise.
5573 * stdio-common/tst-sprintf.c: Likewise.
5574 * stdio-common/tst-swprintf.c: Likewise.
5575 * stdio-common/tst-tmpnam.c: Likewise.
5576 * stdio-common/tst-unbputc.c: Likewise.
5577 * stdio-common/tst-wc-printf.c: Likewise.
5578 * stdlib/tst-environ.c: Likewise.
5579 * stdlib/tst-fmtmsg.c: Likewise.
5580 * stdlib/tst-limits.c: Likewise.
5581 * stdlib/tst-rand48-2.c: Likewise.
5582 * stdlib/tst-rand48.c: Likewise.
5583 * stdlib/tst-random2.c: Likewise.
5584 * stdlib/tst-random.c: Likewise.
5585 * stdlib/tst-strtol.c: Likewise.
5586 * stdlib/tst-strtoll.c: Likewise.
5587 * stdlib/tst-tls-atexit.c: Likewise.
5588 * stdlib/tst-xpg-basename.c: Likewise.
5589 * string/test-ffs.c: Likewise.
5590 * string/tst-bswap.c: Likewise.
5591 * string/tst-inlcall.c: Likewise.
5592 * string/tst-strtok.c: Likewise.
5593 * string/tst-strxfrm.c: Likewise.
5594 * sysdeps/x86_64/tst-audit10.c: Likewise.
5595 * sysdeps/x86_64/tst-audit3.c: Likewise.
5596 * sysdeps/x86_64/tst-audit4.c: Likewise.
5597 * sysdeps/x86_64/tst-audit5.c: Likewise.
5598 * time/tst-ftime_l.c: Likewise.
5599 * time/tst-getdate.c: Likewise.
5600 * time/tst-mktime3.c: Likewise.
5601 * time/tst-mktime.c: Likewise.
5602 * time/tst-posixtz.c: Likewise.
5603 * time/tst-strptime2.c: Likewise.
5604 * time/tst-strptime3.c: Likewise.
5605 * wcsmbs/tst-btowc.c: Likewise.
5606 * wcsmbs/tst-mbrtowc.c: Likewise.
5607 * wcsmbs/tst-mbsrtowcs.c: Likewise.
5608 * wcsmbs/tst-wchar-h.c: Likewise.
5609 * wcsmbs/tst-wcpncpy.c: Likewise.
5610 * wcsmbs/tst-wcrtomb.c: Likewise.
5611 * wcsmbs/tst-wcsnlen.c: Likewise.
5612 * wcsmbs/tst-wcstof.c: Likewise.
5613
2004e7fb
JM
56142014-11-04 Joseph Myers <joseph@codesourcery.com>
5615
ab97ee8f
JM
5616 [BZ #14132]
5617 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5618 INTDEF.
5619 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5620 declaration.
5621 (_dl_mcount): Use rtld_hidden_proto.
5622 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5623 _dl_mcount.
5624 * elf/rtld.c (_rtld_global_ro): Likewise.
5625
c5684fdb
JM
5626 [BZ #14132]
5627 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5628 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5629 of _dl_init_internal.
5630 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5631 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5632 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5633 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5634 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5635 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5636 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5637 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5638 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5639 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5640 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5641 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5642 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5643 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5644 * sysdeps/tile/dl-start.S (_start): Likewise.
5645 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5646 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5647
4243cbea
JM
5648 [BZ #14132]
5649 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5650 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5651 (rtld_progname): Make macro definition unconditional.
5652 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5653 INTDEF.
5654 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5655 (dl_main): Likewise.
5656 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5657 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5658 instead of _dl_argv_internal.
5659 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5660 __GI__dl_argv instead of INTUSE(_dl_argv).
5661 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5662 __GI__dl_argv instead of _dl_argv_internal.
5663
2004e7fb
JM
5664 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5665 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5666 macro.
5667 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5668 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5669 New macro.
5670 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5671 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5672 macro.
5673 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5674 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5675
97827bfc
AS
56762014-11-04 Andreas Schwab <schwab@suse.de>
5677
5678 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5679
5e4df284
AZ
56802014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5681
5682 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5683 mtvsrd instruction in binary form.
5684
04b76b5a
AS
56852014-11-03 Andreas Schwab <schwab@suse.de>
5686
5687 [BZ #17522]
5688 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5689 for less than MB_LEN_MAX use a local buffer of that size.
5690 * libio/tst-fputws.c: New file.
5691 * libio/Makefile (tests): Add tst-fputws.
5692
4c6da7da
JM
56932014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5694
5695 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5696 the size of the fpu_fr.fpu_dregs[] array.
5697
1679ba8e
JM
56982014-11-01 Joseph Myers <joseph@codesourcery.com>
5699
5700 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5701 (__nanosleep): Do not define as alias.
5702 (nanosleep): Define as alias of __nanosleep.
5703 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5704 __libc_nanosleep name.
5705
2626c183
JM
57062014-10-31 Joseph Myers <joseph@codesourcery.com>
5707
5708 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5709 install.texi in comment.
5710
7f981fc2
TR
57112014-10-31 Torvald Riegel <triegel@redhat.com>
5712
5713 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5714 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5715 ... add here and use lwsync or sync ...
5716 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5717 ... and add here using lwsync.
5718
d6f373d2
MF
57192014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5720
5721 * elf/dl-machine-reject-phdr.h: New file.
5722 * elf/dl-load.c: #include that.
5723 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5724 if that returned true.
5725
67c37987
RM
57262014-10-31 Roland McGrath <roland@hack.frob.com>
5727
5728 [BZ #17496]
5729 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5730 gen-as-const-headers chunk. Add a big scare comment after the last
5731 safe place to touch before-compile.
5732
94a42455 57332014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5734
f3f5d895
JM
5735 * manual/install.texi (Tools for Compilation): Update autoconf
5736 version requirements.
5737 * INSTALL: Regenerated.
5738
f62ff286
JM
5739 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5740 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5741 (__libc_pselect): Likewise.
94a42455
JM
5742
5743 [BZ #14138]
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5748
ff9dbdc0
TR
57492014-10-31 Torvald Riegel <triegel@redhat.com>
5750
5751 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5752 correct barrier instruction.
5753 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5754 Likewise.
5755 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5756 Likewise.
5757
b4f66884
RM
57582014-10-30 Roland McGrath <roland@hack.frob.com>
5759
5760 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5761 after defining inlines. Instead, just use parens to defeat macro
5762 expansion of __isctype in its declaration.
5763
e19c95fd
JM
57642014-10-30 Joseph Myers <joseph@codesourcery.com>
5765
5766 * include/sys/uio.h (__libc_readv): Remove declaration.
5767 (__libc_writev): Likewise.
5768 * misc/readv.c (__libc_readv): Rename to __readv.
5769 (__readv): Do not define as alias.
5770 (readv): Define as alias of __readv.
5771 * misc/writev.c (__libc_writev): Rename to __writev.
5772 (__writev): Do not define as alias.
5773 (writev): Define as alias of __writev.
5774 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5775 (__readv): Do not define as alias.
5776 (readv): Define unconditionally as alias of __readv.
5777 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5778 (__writev): Do not define as alias.
5779 (writev): Define unconditionally as alias of __writev.
5780 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5781 name.
5782 (writev): Do not define __libc_writev name.
5783
65b00b6c
RM
57842014-10-30 Roland McGrath <roland@hack.frob.com>
5785
5786 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5787 (convert_charseq): New function, broken out of ...
5788 (use_from_charmap): ... here. Call it.
5789 (use_to_charmap): Use convert_charseq and free instead of duplicating
5790 its code with a variable-length stack struct.
5791
d4e157aa
JM
57922014-10-30 Joseph Myers <joseph@codesourcery.com>
5793
5794 * include/fcntl.h (__libc_creat): Remove declaration.
5795 * io/creat.c (__libc_creat): Rename to creat.
5796 (creat): Do not define as alias.
5797 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5798 of creat instead of __libc_creat.
5799 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5800 to creat.
5801 (creat): Do not define as alias.
5802 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5803 __libc_creat.
5804 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5805 __libc_creat name.
5806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5807 Likewise.
5808
0c6891a0
CD
58092014-10-29 Carlos O'Donell <carlos@redhat.com>
5810
5811 * manual/llio.texi: Add comments discussing why write() may be
5812 considered MT-unsafe on Linux.
5813
cc00cece
CD
58142014-10-28 Carlos O'Donell <carlos@redhat.com>
5815
5816 * dl-load.c (local_strdup): Remove.
5817 (expand_dynamic_string_token): Use __strdup.
5818 (decompose_rpath): Likewise.
5819 (_dl_map_object): Likewise.
5820
51e623f2
JM
58212014-10-28 Joseph Myers <joseph@codesourcery.com>
5822
5823 [BZ #14132]
5824 * sysdeps/generic/unwind-dw2-fde.c
5825 (__register_frame_info_bases_internal): Do not declare.
5826 (__register_frame_info_table_bases_internal): Likewise.
5827 (__deregister_frame_info_bases_internal): Likewise.
5828 (__register_frame_info_bases): Declare and use hidden_proto before
5829 definition. Use hidden_def instead of INTDEF.
5830 (__register_frame_info_table_bases): Likewise.
5831 (__deregister_frame_info_bases): Likewise.
5832 (__register_frame_info): Do not use INTUSE.
5833 (__register_frame): Likewise.
5834 (__register_frame_info_table): Likewise.
5835 (__register_frame_table): Likewise.
5836 (__deregister_frame_info): Likewise.
5837 (__deregister_frame): Likewise.
5838
03d41216
GC
58392014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5840
5841 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5842 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5843 not undefine.
5844 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5845 Likewise.
5846 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5847 Likewise.
5848
a4b3624d
JM
58492014-10-27 Joseph Myers <joseph@codesourcery.com>
5850
5851 [BZ #14138]
5852 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5853 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5854 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5855 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5856 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5857 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5858 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5859 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5860 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5861 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5862 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5864 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5865 syscall.
5866 (setfsuid): Likewise.
5867 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5868 (setfsuid): Likewise.
5869 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5870 (setfsuid): Likewise.
5871 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5872 Likewise.
5873 (setfsuid): Likewise.
5874 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5875 (setfsuid): Likewise.
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5877 Likewise.
5878 (setfsuid): Likewise.
5879
3574f2fd
AS
58802014-10-27 Andreas Schwab <schwab@suse.de>
5881
5882 [BZ #17501]
5883 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5884 check for Slow_SSE4_2 feature bit.
5885 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5886 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5887 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5888 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5889
70996a37
RM
58902014-10-24 Roland McGrath <roland@hack.frob.com>
5891
461a7b1e
RM
5892 * configure.ac: Validate compiler version with a empirical test of
5893 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5894 $CC -v output.
5895 * configure: Regenerated.
5896
70996a37
RM
5897 * inet/htons.c (htons): Prototypify.
5898 * inet/htonl.c (htonl): Likewise.
5899
e80514b5
WD
59002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5901
5902 * string/strncat.c (strncat): Improve performance by using strlen.
5903
6e46de42
WD
59042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5905
5906 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5907
6a9ad2fa
WD
59082014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5909
5910 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5911 Call libc_fetestexcept_aarch64.
5912
1c8810ed
WD
59132014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5914
5915 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5916 Call libc_feholdexcept_aarch64.
5917
8b1af712
WD
59182014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5919
5920 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5921 Call get_rounding_mode.
5922
a7b00c11
WD
59232014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5924
5925 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5926 Simplify logic.
5927
3a84f1a6
WD
59282014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5929
5930 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5931 Simplify logic.
5932
48eb7a94
JM
59332014-10-24 Joseph Myers <joseph@codesourcery.com>
5934
c8bc4038
JM
5935 [BZ #14138]
5936 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5937 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5938 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5939 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5940 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5941 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5942 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5943 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5944 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5945 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5946 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5947 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5948 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5949 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5950 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5951 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5952 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5953 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5954 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5955 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5956 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5957 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5958 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5959 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5960 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5961 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5962 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5963 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5964 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5965 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5966 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5967 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5968 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5969 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5970 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5971 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5972 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5973 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5974 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5976 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5977 syscall.
5978 (geteuid): Likewise.
5979 (getgid): Likewise.
5980 (getuid): Likewise.
5981 (getresgid): Likewise.
5982 (getresuid): Likewise.
5983 (getgroups): Likewise.
5984 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5985 (geteuid): Likewise.
5986 (getgid): Likewise.
5987 (getuid): Likewise.
5988 (getresgid): Likewise.
5989 (getresuid): Likewise.
5990 (getgroups): Likewise.
5991 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5992 (geteuid): Likewise.
5993 (getgid): Likewise.
5994 (getuid): Likewise.
5995 (getresgid): Likewise.
5996 (getresuid): Likewise.
5997 (getgroups): Likewise.
5998 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5999 Likewise.
6000 (geteuid): Likewise.
6001 (getgid): Likewise.
6002 (getuid): Likewise.
6003 (getresgid): Likewise.
6004 (getresuid): Likewise.
6005 (getgroups): Likewise.
6006 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6007 (geteuid): Likewise.
6008 (getgid): Likewise.
6009 (getuid): Likewise.
6010 (getresgid): Likewise.
6011 (getresuid): Likewise.
6012 (getgroups): Likewise.
6013 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6014 Likewise.
6015 (geteuid): Likewise.
6016 (getgid): Likewise.
6017 (getuid): Likewise.
6018 (getgroups): Likewise.
6019
48eb7a94
JM
6020 [BZ #14138]
6021 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6022 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6023 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6024 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6025 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6026 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6027 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6028 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6029 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6030 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6031 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6033 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6034 __chown.
6035 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6036 (lchown): Likewise.
6037 (fchown): Likewise.
6038 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6039 Likewise.
6040 (lchown): Likewise.
6041 (fchown): Likewise.
6042 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6043 (lchown): Likewise.
6044 (fchown): Likewise.
6045 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6046 Likewise.
6047 (lchown): Likewise.
6048 (fchown): Likewise.
6049
ea9a7c8b
WD
60502014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6051
6052 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6053 Simplify logic.
6054
e226de33
WD
60552014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6056
6057 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6058 Cleanup logic.
6059
6e3d8ed3
WD
60602014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6061
6062 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6063 Remove unused include.
6064
eb04247d
WD
60652014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6066
6067 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6068 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6069 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6070 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6071
13d84554
CD
60722014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6073 Helge Deller <deller@gmx.de>
6074
6075 [BZ #17508]
6076 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6077 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6078 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6079
15f9c5df
JM
60802014-10-23 Joseph Myers <joseph@codesourcery.com>
6081
6082 [BZ #14132]
6083 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6084 Remove macro definition.
6085 (__ashrdi3_v_glibc20): Likewise.
6086 (__lshrdi3_v_glibc20): Likewise.
6087 (__cmpdi2_v_glibc20): Likewise.
6088 (__ucmpdi2_v_glibc20): Likewise.
6089 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6090 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6091 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6092 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6093 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6094 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6095
c6dfed24
RM
60962014-10-22 Roland McGrath <roland@hack.frob.com>
6097
6098 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6099 old GNU extension [0] syntax.
6100 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6101 alloca rather than an array member with variable length.
6102 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6103 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6104 (parse_opt): ... here. Likewise use alloca there.
6105 Validate the -i argument before checking for rootness.
6106 (send_shutdown): New function, broken out of ...
6107 (parse_opt): ... here.
6108
8c2b1ed8
RM
61092014-10-22 Roland McGrath <roland@hack.frob.com>
6110
6111 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6112 macro to get at the _rt_local_ro field.
6113 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6114 ([PIC] case) or _dl_hwcap ([!PIC] case).
6115 * sysdeps/arm/setjmp.S: Likewise.
6116
6117 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6118 * sysdeps/arm/configure.ac: New check to define it.
6119 * sysdeps/arm/configure: Regenerated.
6120 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6121 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6122 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6123 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6124 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6125 Use move/movt pair instead of a load.
6126 (LDST_GLOBAL): Macro removed.
6127 (LDR_GLOBAL): New macro replaces it.
6128 (LDR_HIDDEN): New macro.
6129 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6130 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6131
6132 * setjmp/tst-setjmp-static.c: New file.
6133 * setjmp/Makefile (tests): Add it.
6134 (tests-static): New variable.
6135
b5af9297
MR
61362014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6137
6138 [BZ #17485]
6139 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6140
a13d0d74
JM
61412014-10-21 Joseph Myers <joseph@codesourcery.com>
6142
6143 [BZ #14132]
6144 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6145
f05e73f6
RM
61462014-10-21 Roland McGrath <roland@hack.frob.com>
6147
6148 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6149
6ab1d1ea
RM
61502014-10-20 Roland McGrath <roland@hack.frob.com>
6151
6152 * io/fts.c (dirent_not_directory): New function.
6153 (fts_build): Call it.
6154
ab49e763
RM
61552014-10-20 Roland McGrath <roland@hack.frob.com>
6156
e436eb79
RM
6157 * nptl/version.c (__nptl_main): Use normal __write rather than
6158 INTERNAL_SYSCALL.
6159 (banner): Update copyright years.
6160
6af246cf
RM
6161 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6162 gettimeofday.
6163 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6164 * nptl/pthread_cond_timedwait.c: Likewise.
6165 * nptl/pthread_mutex_timedlock.c: Likewise.
6166 * nptl/sem_timedwait.c: Likewise.
6167
ab49e763
RM
6168 * sysdeps/nptl/bits/libc-lock.h
6169 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6170 (__libc_lock_init_recursive): Return void, not 0.
6171 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6172 (__libc_rwlock_init): Likewise.
6173 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6174
f50277c1
TR
61752014-10-20 Torvald Riegel <triegel@redhat.com>
6176
6177 [BZ #15215]
6178 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6179 (__pthread_once_slow): ... here.
6180 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6181 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6182
63668b70
TR
61832014-10-20 Torvald Riegel <triegel@redhat.com>
6184
6185 [BZ #15215]
6186 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6187 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6188 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6189 * nptl/pthread_once.c (__pthread_once): Likewise.
6190 Update comments.
6191
42b7f5d4
JM
61922014-10-20 Joseph Myers <joseph@codesourcery.com>
6193
6194 [BZ #14138]
6195 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6196 name.
6197 (writev): Use __libc_writev as strong name.
6198 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6199 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6200
b0643088
RM
62012014-10-17 Roland McGrath <roland@hack.frob.com>
6202
114c4e09
RM
6203 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6204
674b8978
RM
6205 * sysdeps/i386/nptl/tls.h
6206 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6207 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6208 New macros.
6209 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6210 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6211 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6212 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6213 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6214 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6215
184ee940
RM
6216 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6217 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6218 on [__NR_futex].
6219 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6220 broken out of ...
6221 (__pthread_mutex_init): ... here. Call it.
6222 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6223 Conditionalize PI cases on [__NR_futex].
6224 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6225 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6226 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6227
327ae257
RM
6228 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6229 conditional on [SIGSETXID].
6230 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6231 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6232 is defined. Likewise for SIGSETXID.
6233 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6234 Conditionalize definitions on [SIGSETXID].
6235 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6236 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6237 unblocking on [SIGCANCEL].
6238
b0643088
RM
6239 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6240 [__NR_set_robust_list].
6241
33cc770b
SP
62422014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6243
6244 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6245 (do_compare): Likewise.
6246
0742aef6
LH
62472014-10-17 Leonhard Holz <leonhard.holz@web.de>
6248
6249 [BZ #15884]
6250 * string/strcoll_l.c: Don't include stdio.h.
6251 (coll_seq): Remove members idxarr and rulearr.
6252 (get_next_seq_cached): Remove function.
6253 (get_next_seq): Likewise.
6254 (get_next_seq_nocache): Rename to get_next_seq.
6255 (do_compare): Remove function.
6256 (do_compare_nocache): Rename to do_compare.
6257 (STRCOLL): Remove weight and rules cache.
6258
ee54ce44
RM
62592014-10-16 Roland McGrath <roland@hack.frob.com>
6260
6261 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6262 * sysdeps/arm/sfp-machine.h: ... to here.
6263 * sysdeps/arm/Implies: Remove arm/soft-fp.
6264
a75d3b02
JM
62652014-10-14 Joseph Myers <joseph@codesourcery.com>
6266
6267 * conform/data/sys/utsname.h-data (*_t): Allow.
6268 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6269 [POSIX] (WEXITED): Do not expect constant.
6270 [POSIX] (WSTOPPED): Likewise.
6271 [POSIX] (WNOHANG): Likewise.
6272 [POSIX] (WNOWAIT): Likewise.
6273 [POSIX] (siginfo_t): Do not expect type or elements.
6274 [POSIX] (pid_t): Do not expect type.
6275 [POSIX] (signal.h): Do not allow header.
6276 [POSIX] (sys/resource.h): Likewise.
6277 [POSIX] (si_*): Do not allow pattern.
6278 [POSIX] (W*): Likewise.
6279 [POSIX] (P_*): Likewise.
6280 [POSIX] (BUS_*): Likewise.
6281 [POSIX] (CLD_*): Likewise.
6282 [POSIX] (FPE_*): Likewise.
6283 [POSIX] (ILL_*): Likewise.
6284 [POSIX] (POLL_*): Likewise.
6285 [POSIX] (SEGV_*): Likewise.
6286 [POSIX] (SI_*): Likewise.
6287 [POSIX] (TRAP_*): Likewise.
6288 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6289 variable.
6290
fda389c8
SP
62912014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6292
6293 [BZ #12926]
6294 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6295 infinite loop when __recvmsg returns 0.
6296
6bc6bd3b
JM
62972014-10-10 Joseph Myers <joseph@codesourcery.com>
6298
fcb32af1
JM
6299 * CANCEL-FCT-WAIVE: Remove file.
6300 * CANCEL-FILE-WAIVE: Likewise.
6301
6bc6bd3b
JM
6302 [BZ #14132]
6303 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6304 instead of INTVARDEF.
6305 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6306 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6307 rtld_hidden_data_def instead of INTVARDEF.
6308 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6309 * elf/dl-deps.c (expand_dst): Likewise.
6310 * elf/dl-load.c (_dl_dst_count): Likewise.
6311 (_dl_dst_substitute): Likewise.
6312 (decompose_rpath): Likewise.
6313 (_dl_init_paths): Likewise.
6314 (open_path): Likewise.
6315 (_dl_map_object): Likewise.
6316 * elf/rtld.c (dl_main): Likewise.
6317 (process_dl_audit): Likewise.
6318 (process_envvars): Likewise.
6319 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6320 Remove declaration.
6321 (__libc_enable_secure): Use rtld_hidden_proto.
6322
b8c80a7e
KS
63232014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6324
6325 * elf/dl-load.c
6326 (add_path): New function broken out of _dl_rtld_di_serinfo.
6327 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6328
ff12c11f
JM
63292014-10-09 Joseph Myers <joseph@codesourcery.com>
6330
5c0508a3
JM
6331 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6332 parentheses around macro arguments.
6333 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6334 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6335 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6336 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6337 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6338 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6339 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6340 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6341 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6342 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6343 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6344 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6345 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6346 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6347 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6348 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6349 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6351 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6352 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6353 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6354 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6355 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6356 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6357 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6358 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6359 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6360 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6361 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6362 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6363 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6364 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6365 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6366 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6367 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6368 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6369 Likewise.
6370 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6371 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6372 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6373 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6374 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6377 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6378 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6379 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6380 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6381 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6382 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6383 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6384 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6385 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6386 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6387 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6388 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6389 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6390 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6391 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6392 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6393 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6394 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6395 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6396 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6397 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6398 (_FP_FRAC_SRS_1): Likewise.
6399 (_FP_FRAC_CLZ_1): Likewise.
6400 (_FP_MUL_MEAT_1_imm): Likewise.
6401 (_FP_MUL_MEAT_1_wide): Likewise.
6402 (_FP_MUL_MEAT_1_hard): Likewise.
6403 (_FP_SQRT_MEAT_1): Likewise.
6404 (_FP_FRAC_ASSEMBLE_1): Likewise.
6405 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6406 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6407 (__FP_CLZ_2): Likewise.
6408 (_FP_MUL_MEAT_2_wide): Likewise.
6409 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6410 (_FP_MUL_MEAT_2_gmp): Likewise.
6411 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6412 (_FP_SQRT_MEAT_2): Likewise.
6413 (_FP_FRAC_ASSEMBLE_2): Likewise.
6414 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6415 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6416 (_FP_FRAC_CLZ_4): Likewise.
6417 (_FP_MUL_MEAT_4_wide): Likewise.
6418 (_FP_MUL_MEAT_4_gmp): Likewise.
6419 (_FP_SQRT_MEAT_4): Likewise.
6420 (_FP_FRAC_ASSEMBLE_4): Likewise.
6421 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6422 * soft-fp/op-common.h (_FP_CMP): Likewise.
6423 (_FP_CMP_EQ): Likewise.
6424 (_FP_CMP_UNORD): Likewise.
6425 (_FP_TO_INT): Likewise.
6426 (_FP_FROM_INT): Likewise.
6427 [!__FP_CLZ] (__FP_CLZ): Likewise.
6428 (_FP_DIV_HELP_imm): Likewise.
6429 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6430 Likewise.
6431 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6432 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6434 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6435 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6436 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6437 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6438 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6439 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6440 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6441 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6442 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6443 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6444 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6445 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6446 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6447 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6448 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6449 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6450 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6451 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6452 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6453 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6454 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6455 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6456 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6457 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6458 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6459 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6460 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6461 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6462 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6463 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6464 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6465 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6466 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6467 (FP_UNPACK_RAW_SP): Likewise.
6468 (FP_PACK_RAW_S): Likewise.
6469 (FP_PACK_RAW_SP): Likewise.
6470 (FP_UNPACK_S): Likewise.
6471 (FP_UNPACK_SP): Likewise.
6472 (FP_UNPACK_SEMIRAW_S): Likewise.
6473 (FP_UNPACK_SEMIRAW_SP): Likewise.
6474 (FP_PACK_S): Likewise.
6475 (FP_PACK_SP): Likewise.
6476 (FP_PACK_SEMIRAW_S): Likewise.
6477 (FP_PACK_SEMIRAW_SP): Likewise.
6478 (_FP_SQRT_MEAT_S): Likewise.
6479 (FP_CMP_S): Likewise.
6480 (FP_CMP_EQ_S): Likewise.
6481 (FP_CMP_UNORD_S): Likewise.
6482 (FP_TO_INT_S): Likewise.
6483 (FP_FROM_INT_S): Likewise.
6484
a736ec37
JM
6485 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6486
ff12c11f
JM
6487 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6488 (FP_EX_INVALID_IMZ): Likewise.
6489 (FP_EX_INVALID_IMZ_FMA): Likewise.
6490 (FP_EX_INVALID_ISI): Likewise.
6491 (FP_EX_INVALID_ZDZ): Likewise.
6492 (FP_EX_INVALID_IDI): Likewise.
6493 (FP_EX_INVALID_SQRT): Likewise.
6494 (FP_EX_INVALID_CVI): Likewise.
6495 (FP_EX_INVALID_VC): Likewise.
6496 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6497 "invalid" exceptions.
6498 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6499 (_FP_ADD_INTERNAL): Likewise.
6500 (_FP_MUL): Likewise.
6501 (_FP_FMA): Likewise.
6502 (_FP_DIV): Likewise.
6503 (_FP_CMP_CHECK_NAN): Likewise.
6504 (_FP_SQRT): Likewise.
6505 (_FP_TO_INT): Likewise.
6506 (FP_EXTEND): Likewise.
6507
b6dcfe8c
AM
65082014-10-09 Allan McRae <allan@archlinux.org>
6509
6510 * po/fr.po: Update French translation from translation project.
6511
2d6a47ba
JM
65122014-10-09 Joseph Myers <joseph@codesourcery.com>
6513
cb831245
JM
6514 [BZ #14132]
6515 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6516 of INTDEF.
6517 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6518 (__cxa_atexit): Use libc_hidden_proto.
6519 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6520
5deeb190
JM
6521 [BZ #14132]
6522 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6523 declaration.
6524 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6525 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6526 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6527 [!_ISOMAC] (__iswctype_internal): Likewise.
6528 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6529 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6530 alias.
6531 (fcntl): Remove __fcntl_internal alias.
6532 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6533 __connect_internal alias.
6534 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6535 Likewise.
6536
454ac701
JM
6537 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6538 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6539 FP_DENORM_ZERO.
6540 (_FP_CHECK_FLUSH_ZERO): New macro.
6541 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6542 (_FP_CMP): Likewise.
6543 (_FP_CMP_EQ): Likewise.
6544 (_FP_TO_INT): Do not set inexact for subnormal arguments if
6545 FP_DENORM_ZERO.
6546 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6547 (FP_TRUNC): Likewise.
6548
0022e688
JM
6549 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6550 treated as invalid conversion, not as normal exponent.
6551
73e28d9c
JM
6552 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6553 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
6554 (_FP_CMP_EQ): Likewise.
6555 (_FP_CMP_UNORD): Likewise.
6556 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6557 (FP_CMP_EQ_D): Likewise.
6558 (FP_CMP_UNORD_D): Likewise.
6559 * soft-fp/extended.h (FP_CMP_E): Likewise.
6560 (FP_CMP_EQ_E): Likewise.
6561 (FP_CMP_UNORD_E): Likewise.
6562 * soft-fp/quad.h (FP_CMP_Q): Likewise.
6563 (FP_CMP_EQ_Q): Likewise.
6564 (FP_CMP_UNORD_Q): Likewise.
6565 * soft-fp/single.h (FP_CMP_S): Likewise.
6566 (FP_CMP_EQ_S): Likewise.
6567 (FP_CMP_UNORD_S): Likewise.
6568 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6569 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6570 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6571 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6572 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6573 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6574 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6575 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6576 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6577 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6578 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6579 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6580 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6581 to FP_CMP_Q.
6582 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6583 FP_CMP_Q.
6584 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6585 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6586 FP_CMP_EQ_Q.
6587 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6588 FP_CMP_Q.
6589 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6590 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6591 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6592 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6593 FP_CMP_EQ_Q.
6594 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6595 FP_CMP_Q.
6596 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6597 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6598 FP_CMP_EQ_Q.
6599 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6600 FP_CMP_Q.
6601 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6602 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6603 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6604 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6605 FP_CMP_EQ_Q.
6606
43059f42
JM
6607 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6608 a subnormal result, set the underflow exception if trapping on
6609 underflow is enabled.
6610 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6611 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6612 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6613 redefine to 0.
6614 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6615 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6616 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6617 * soft-fp/extendxftf2.c (__extendxftf2): Use
6618 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6619
2d6a47ba
JM
6620 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6621 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6622 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6623 FP_HANDLE_EXCEPTIONS.
6624 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6625 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6626 FP_HANDLE_EXCEPTIONS.
6627 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6628 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6629 FP_HANDLE_EXCEPTIONS.
6630 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6631 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6632 FP_HANDLE_EXCEPTIONS.
6633
620f462e
JM
66342014-10-08 Joseph Myers <joseph@codesourcery.com>
6635
6636 [BZ #14132]
6637 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6638 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6639 use INTUSE.
6640 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6641 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6642 Remove alias.
6643 (__adjtimex): Define using libc_hidden_ver.
6644 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6645 Remove declaration.
6646 (ntp_gettime): Call __adjtimex directly.
6647 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6648 Remove declaration.
6649 (ntp_gettimex): Call __adjtimex directly.
6650 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6651 __adjtimex_internal alias.
6652
c763c5d2
RM
66532014-10-08 Roland McGrath <roland@hack.frob.com>
6654
6655 [BZ #17460]
6656 * nscd/nscd.c (more_help): Rewrite list of tables collection
6657 using xstrdup and asprintf.
6658
6659 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6660
7b8fb2b8
RM
66612014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6662 Roland McGrath <roland@hack.frob.com>
6663
6664 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6665 (do_lookup_unique): ... local function 'enter' here; update callers.
6666
abb280f7
JM
66672014-10-06 Joseph Myers <joseph@codesourcery.com>
6668
f7b42517
JM
6669 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6670 compat_symbol calls on [SHARED].
6671 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6672 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6673 Remove.
6674 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6675 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6676 (oldsetrlimit): Remove.
6677 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6679 (lchown): New syscall entry.
6680 (oldsetrlimit): Remove.
6681 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6682 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6683 (oldsetrlimit): Remove.
6684 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6685
abb280f7
JM
6686 [BZ #14138]
6687 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6688 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6689 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6690 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6691 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6692 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6693 (fchown): Likewise.
6694 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6695 (fchown): Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6697 Likewise.
6698
47d46237
AZ
66992014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6700
6701 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6702 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6703 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6704 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6705 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6706 Likewise.
6707 (__old_sem_post): Likewise.
6708
67092014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6710
845a7343
CM
6711 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6712 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6713 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6714 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6715 Use INLINE_VSYSCALL macro.
6716 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6717 __vdso_clock_gettime.
6718 * sysdeps/unix/sysv/linux/tile/init-first.c
6719 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6720 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6721 __vdso_clock_gettime.
6722
83d641ef
CM
6723 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6724 to set up frame more cleanly.
6725
d9cd52e6
CM
6726 * sysdeps/tile/memcmp.c: New file.
6727
4b68ea11
CM
6728 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6729
c86f7b80
CM
6730 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6731 * sysdeps/tile/tilegx/strcasestr.c: New file.
6732 * sysdeps/tile/tilegx/strnlen.c: New file.
6733 * sysdeps/tile/tilegx/strstr.c: New file.
6734
1c4c1a6f
CM
6735 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6736
99d86ea3
AS
67372014-10-06 Arjun Shankar <arjun.is@lostca.se>
6738
6739 * nptl/tst-setuid3.c: Write errors to stdout.
6740
06210a44
KS
67412014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6742
6743 * elf/dl-deps.c
6744 (preload): New functions broken out of _dl_map_object_deps.
6745 (_dl_map_object_deps): Remove a nested function. Update call sites.
6746
6268f532
JM
67472014-10-01 Joseph Myers <joseph@codesourcery.com>
6748
6749 [BZ #14138]
6750 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6751 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6752
b925285f
SE
67532014-10-01 Steve Ellcey <sellcey@mips.com>
6754
6755 * sysdeps/mips/strcmp.S: New.
6756
754a15c6
JM
67572014-09-30 Joseph Myers <joseph@codesourcery.com>
6758
6759 [BZ #14138]
6760 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6761 (linkat): Likewise.
6762 (mkdirat): Likewise.
6763 (readlinkat): Likewise.
6764 (renameat): Likewise.
6765 (symlinkat): Likewise.
6766 (unlinkat): Likewise.
6767 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6768 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6769 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6770 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6771 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6772 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6773 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6774
85bb81c9
WN
67752014-09-30 Will Newton <will.newton@linaro.org>
6776
dc6fe23b
WN
6777 * math/math.h: Define long double math functions if
6778 _LIBC_TEST is defined.
6779 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6780
85bb81c9
WN
6781 * localedata/Makefile: Move assignment to tests-special
6782 into an ifdef testing run-built-tests.
6783 * timezone/Makefile: Likewise.
6784
b7e02da4
JM
67852014-09-29 Joseph Myers <joseph@codesourcery.com>
6786
6787 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6788 with $(BASH) not $(SHELL).
6789
62058ce6
CD
67902014-09-29 Carlos O'Donell <carlos@redhat.com>
6791 Matthew LeGendre <legendre1@llnl.gov>
6792
6793 [BZ #17411]
6794 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6795 l_reloc_result.
6796
8e257a29
KS
67972014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6798
6799 * stdio-common/printf_fp.c
6800 (hack_digit): New function, broken out of ...
6801 (__printf_fp): ... local function here. Update call sites.
6802 hack_digit now takes an additional parameter that is a pointer
6803 to a struct of the referenced locals. Those locals moved inside
6804 the struct and references updated.
6805
f4a58f0d
L
68062014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6807
6808 * aclocal.m4: Require autoconf 2.69.
6809 * configure: Regenerated.
6810 * sysdeps/aarch64/configure: Likewise.
6811 * sysdeps/alpha/configure: Likewise.
6812 * sysdeps/arm/armv7/configure: Likewise.
6813 * sysdeps/arm/configure: Likewise.
6814 * sysdeps/ia64/configure: Likewise.
6815 * sysdeps/mach/configure: Likewise.
6816 * sysdeps/mips/configure: Likewise.
6817 * sysdeps/s390/configure: Likewise.
6818 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6820
6821 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6822 file.
6823 * sysdeps/ia64/configure.ac: Likewise.
6824
93ae1eba
JM
68252014-09-26 Joseph Myers <joseph@codesourcery.com>
6826
1810d3ab
JM
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6828 specify symbol version for ld.so. Do not include entry for
6829 libpthread.
6830 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6831 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6832 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6833
93ae1eba
JM
6834 [BZ #14171]
6835 * Makeconfig [$(build-shared) = yes]
6836 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6837 makefiles.
6838 [$(build-shared) = yes && $(soversions.mk-done) = t]
6839 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6840 [$(build-shared) = yes && $(soversions.mk-done) = t]
6841 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6842 to Makerules.
6843 [$(build-shared) = yes && $(soversions.mk-done) = t]
6844 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6845 here.
6846 [$(build-shared) = yes && $(soversions.mk-done) = t]
6847 (common-generated): Don't append gnu/lib-names.h and
6848 gnu/lib-names.stmp here.
6849 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6850 (lib-names-h-abi): New variable.
6851 [$(build-shared) = yes && $(soversions.mk-done) = t]
6852 (lib-names-stmp-abi): Likewise.
6853 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6854 abi-variants] (before-compile): Append
6855 $(common-objpfx)$(lib-names-h-abi).
6856 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6857 abi-variants] (common-generated): Append gnu/lib-names.h.
6858 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6859 abi-variants] (install-others-nosubdir): Depend on
6860 $(inst_includedir)/$(lib-names-h-abi).
6861 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6862 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6863 [$(build-shared) = yes && $(soversions.mk-done) = t]
6864 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6865 [$(build-shared) = yes && $(soversions.mk-done) = t]
6866 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6867 [$(build-shared) = yes && $(soversions.mk-done) = t]
6868 (common-generated): Append $(lib-names-h-abi) and
6869 $(lib-names-stmp-abi).
6870 * scripts/lib-names.awk: Do not handle multi being set.
6871 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6872 Remove variable.
6873 (abi-lp64_be-ld-soname): Likewise.
6874 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6875 Likewise.
6876 (abi-hard-ld-soname): Likewise.
6877 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6878 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6879 Remove variable.
6880 (abi-o32_hard-ld-soname): Likewise.
6881 (abi-o32_soft_2008-ld-soname): Likewise.
6882 (abi-o32_hard_2008-ld-soname): Likewise.
6883 (abi-n32_soft-ld-soname): Likewise.
6884 (abi-n32_hard-ld-soname): Likewise.
6885 (abi-n32_soft_2008-ld-soname): Likewise.
6886 (abi-n32_hard_2008-ld-soname): Likewise.
6887 (abi-n64_soft-ld-soname): Likewise.
6888 (abi-n64_hard-ld-soname): Likewise.
6889 (abi-n64_soft_2008-ld-soname): Likewise.
6890 (abi-n64_hard_2008-ld-soname): Likewise.
6891 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6892 Likewise.
6893 (abi-64-v2-ld-soname): Likewise.
6894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6895 ld.so entries.
6896 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6897 variable.
6898 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6899 entry.
6900 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6901 variable.
6902 (abi-64-ld-soname): Likewise.
6903 (abi-x32-ld-soname): Likewise.
6904 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6905 entry.
6906 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6907
68870f12
JM
69082014-09-23 Joseph Myers <joseph@codesourcery.com>
6909
6910 [BZ #14138]
6911 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6912 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6913 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6914 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6915 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6916 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6917 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6918 syscall entry for GLIBC_2.2 symbol version.
6919 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6920 Likewise.
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6922 (setrlimit): Likewise.
6923 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6924 Likewise.
6925
ea58f202
WN
69262014-09-23 Will Newton <will.newton@linaro.org>
6927
6928 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6929 _LINUX_ARM_SYSDEP_H include guard too.
6930 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6931 define.
6932
69eb9a18
RV
69332014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6934
6935 * sysdeps/unix/sysv/linux/eventfd.c:
6936 Make first argument unsigned.
6937 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6938 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6939
20e5a5f7
OB
69402014-09-20 Ondřej Bílka <neleai@seznam.cz>
6941
6942 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6943 * socket/sys/socket.h: Likewise
6944 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6945
d3c827e7
AK
69462014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6947
6948 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6949
fe1cc35a
AS
69502014-09-17 Arjun Shankar <arjun.is@lostca.se>
6951
6952 * time/tst-ftime.c: New test.
6953 * time/Makefile (tests): Add tst-ftime.
6954
4e8afe69
JM
69552014-09-17 Joseph Myers <joseph@codesourcery.com>
6956
c4fe3ea7
JM
6957 * soft-fp/extended.h: Fix comment formatting.
6958 * soft-fp/op-1.h: Likewise.
6959 * soft-fp/op-2.h: Likewise.
6960 * soft-fp/op-4.h: Likewise.
6961 * soft-fp/op-8.h: Likewise.
6962 * soft-fp/op-common.h: Likewise.
6963 * soft-fp/soft-fp.h: Likewise.
6964
4e8afe69
JM
6965 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6966
af296fcd
JM
69672014-09-16 Joseph Myers <joseph@codesourcery.com>
6968
6969 [BZ #6652]
6970 * Makeconfig (soversions-default-setname): Remove variable.
6971 ($(common-objpfx)soversions.i): Don't pass default_setname to
6972 soversions.awk.
6973 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6974 oldest_abi to abi-versions.awk.
6975 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6976 * config.make.in (oldest-abi): Remove variable.
6977 * configure.ac (--enable-oldest-abi): Remove configure option.
6978 * configure: Regenerated.
6979 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6980 text.
6981 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6982 * scripts/soversions.awk: Do not handle default_setname variable.
6983 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6984 variable.
6985 * sysdeps/mach/hurd/configure: Regenerated.
6986 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6987 variable.
6988 * sysdeps/unix/sysv/linux/configure: Regenerated.
6989
545583d6
SP
69902014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6991
d330b980
SP
6992 * elf/Makefile (CFLAGS-interp.c): Remove.
6993 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6994 path string.
6995 * elf/interp.c: Include generated runtime-linker.h
6996
02657da2
SP
6997 * Makerules (lib%.so): Don't include $(+interp) in
6998 prerequisites.
6999 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7000 * dlfcn/eval.c: Remove file.
7001
653b1080
SP
7002 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7003 macros.
7004
602f80ec
SP
7005 [BZ #17266]
7006 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7007 4.2 and newer.
7008
545583d6
SP
7009 [BZ #17370]
7010 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7011
884ddc50
SP
70122014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7013 Jakub Jelinek <jakub@redhat.com>
7014
7015 [BZ #17266]
7016 * libio/stdio.h: Check definition of __fortify_function
7017 instead of __extern_always_inline to include bits/stdio2.h.
7018 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7019 check if __extern_always_inline is defined.
7020 [__USE_MISC || __USE_XOPEN]: Likewise.
7021 [__USE_ISOC99] Likewise.
7022 * misc/sys/cdefs.h (__fortify_function): Define only if
7023 __extern_always_inline is defined.
7024 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7025 __extern_always_inline and __extern_inline only for g++-4.3
7026 and newer or a compatible gcc.
7027
a7b87268
AS
70282014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7029
7030 [BZ #17371]
7031 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7032 last change to handle zero prefix length.
7033
3f41521d
SP
70342014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7035
61fe374a
SP
7036 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7037 _SC_REGEX_VERSION.
7038
3f41521d
SP
7039 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7040 _POSIX_RAW_SOCKETS.
7041
d8f879ee
AM
70422014-09-13 Allan McRae <allan@archlinux.org>
7043
7044 * po/ru.po: Update Russian translation from translation project.
7045
c079afb7
RM
70462014-09-12 Roland McGrath <roland@hack.frob.com>
7047
a62b3c15
RM
7048 * locale/programs/locale.c (show_locale_vars): Inline local function
7049 into its sole call site. Clean up some style nits.
7050 (print_item): New function, broken out of ...
7051 (show_info): ... local function here. Clean up style nits.
7052
d7e49b19
RM
7053 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7054 out of ...
7055 (set_class_defaults): ... local function set_default here.
7056 Define set_default as a macro locally to pass constant parameters.
7057 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7058 rather than a shared local.
7059
c079afb7
RM
7060 * stdlib/rpmatch.c (try): New function, broken out of ...
7061 (rpmatch): ... local function here. Also, prototypify definition.
7062
0bd72468
JM
70632014-09-12 Joseph Myers <joseph@codesourcery.com>
7064
ba90e050
JM
7065 * scripts/soversions.awk: Do not handle configuration names.
7066 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7067 vendor and os variables to soversions.awk.
7068 * configure.ac: Do not modify gnu-* host_os.
7069 * configure: Regenerated
7070 * shlib-versions: Remove first column with configuration names.
7071 * nptl/shlib-versions: Likewise.
7072 * nptl_db/shlib-versions: Likewise.
7073 * sysdeps/hppa/shlib-versions: Likewise.
7074 * sysdeps/m68k/shlib-versions: Likewise.
7075 * sysdeps/mach/hurd/shlib-versions: Likewise.
7076 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7077 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7078 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7079 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7080 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7081 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7082 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7083 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7085 Likewise.
7086 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7087 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7088 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7089 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7090 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7091 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7092 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7093 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7094
73a39112
JM
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7096 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7098 Regenerated.
7099 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7101 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7102
c729e7c1
JM
7103 * shlib-versions: Remove OS-specific entries. Moved to files in
7104 sysdeps.
7105 * sysdeps/mach/hurd/shlib-versions: New file.
7106 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7107
dc932a24
JM
7108 * nptl/shlib-versions: Remove architecture-specific entries.
7109 Moved to files in sysdeps.
7110 * shlib-versions: Likewise.
7111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7112 file.
7113 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7114 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7115 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7117
0bd72468
JM
7118 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7119 (UDP_NO_CHECK6_RX): Likewise.
7120
920238e0
SP
71212014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7122
7123 * sysdeps/posix/sysconf.c (__sysconf): Spell
7124 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7125
ba7b4d29
FW
71262014-08-12 Florian Weimer <fweimer@redhat.com>
7127
7128 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7129 loading.
7130 * iconv/Versions (__gconv_transliterate): Export for use from
7131 gconv modules.
7132 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7133 (struct __gconv_trans_data, __gconv_trans_fct,
7134 __gconv_trans_context_fct, __gconv_trans_query_fct,
7135 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7136 definitions.
7137 (struct __gconv_step_data): Remove __trans member.
7138 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7139 longer hidden. Remove unused trans_data argument.
7140 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7141 (__gconv_translit_find): Remove declaration.
7142 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7143 prototype.
7144 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7145 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7146 trans_data argument. Add hidden definition.
7147 (__gconv_translit_find): Remove.
7148 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7149 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7150 * iconv/skeleton.c: Remove transliteration initialization.
7151 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7152 __gconv_step_data initialization.
7153 * libio/iofwide.c (__libio_translit_): Remove.
7154 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7155 * wcsmbs/btowc.c (__btowc): Likewise.
7156 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7157 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7158 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7159 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7160 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7161 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7162 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7163 * wcsmbs/wctob.c (wctob): Likewise.
7164
5379aebd
SP
71652014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7166
7167 [BZ #16194]
7168 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7169 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7170 register usage.
7171 * sysdeps/x86/Makefile: Adjust.
7172
8c0ab919
RM
71732014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7174 Roland McGrath <roland@hack.frob.com>
7175
7176 * locale/weight.h: Add include guard.
7177 (findidx): Make static rather than auto; take new parameters
7178 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7179 * locale/weightwc.h: Likewise.
7180 * posix/fnmatch_loop.c
7181 (FCT): Change type of EXTRA from int32_t to wint_t.
7182 Don't include either header inside the function.
7183 Call FINDIDX rather than findidx, and pass new arguments.
7184 #undef FINDIDX at the end of the file.
7185 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7186 FINDIDX before including fnmatch_loop.c for the non-wide version.
7187 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7188 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7189 for the wide version.
7190 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7191 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7192 Pass new arguments to findidx.
7193 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7194 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7195 Don't #include it inside the function. Pass new arguments to findidx.
7196 * posix/regex_internal.h
7197 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7198 (re_string_elem_size_at): Don't #include it inside the function.
7199 Pass new arguments to findidx.
7200 * string/strcoll_l.c: #include WEIGHT_H at top level.
7201 (get_next_seq): Don't #include it inside the function.
7202 Pass new arguments to findidx.
7203 (get_next_seq_nocache): Likewise.
7204 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7205 (STRXFRM): Don't #include it inside the function.
7206 Pass new arguments to findidx.
7207
52ffbdf2
FW
72082014-09-11 Florian Weimer <fweimer@redhat.com>
7209
7210 [BZ #17344]
7211 * malloc/malloc.c (unlink): Turn asserts into a call to
7212 malloc_printerr.
7213
984c0ea9
TL
72142014-09-11 Tim Lammens <tim.lammens@gmail.com>
7215
7216 [BZ #17370]
7217 * libio/wfileops (do_ftell_wide): Free OUT.
7218
3daee107
CM
72192014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7220
7221 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7222
58b930ae
SP
72232014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7224
7225 [BZ #17363]
7226 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7227 group if the current group is empty.
7228
3b473fec
AZ
72292014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7230
71ae8647
AZ
7231 * benchtests/bench-memset.c (test_main): Add more test from size
7232 from 32 to 512 bytes.
7233 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7234 Add POWER8 memset object.
7235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7236 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7237 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7238 implementation.
7239 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7240 Likewise.
7241 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7242 multiarch POWER8 memset optimization.
7243 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7244 POWER8 memset optimization.
7245
3b473fec
AZ
7246 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7247 Remove bzero multiarch objects.
7248 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7249 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7250 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7251 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7252 Remove define.
7253 [__bzero]: Redefine to specific name.
7254 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7255 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7256 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7257 define.
7258 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7259 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7260
e6fb9587
FW
72612014-09-10 Florian Weimer <fweimer@redhat.com>
7262
7263 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7264 warnings into errors.
7265
7266 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7267 __cxa_thread_atexit_impl prototype.
7268
9d3a350b
SE
72692014-09-09 Steve Ellcey <sellcey@mips.com>
7270
7271 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7272 Fix capitalization of error message.
7273
0febba23
SE
72742014-09-09 Steve Ellcey <sellcey@mips.com>
7275
7276 * sysdeps/mips/preconfigure: Modify ABI tests.
7277
645a0e9c
CD
72782014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7279
7280 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7281
d83f0734
CD
72822014-09-07 Roland McGrath <roland@hack.frob.com>
7283 Carlos O'Donell <carlos@systemhalted.org>
7284
7285 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7286 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7287 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7288 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7289 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7290 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7291 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7292 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7293 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7294 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7295 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7296 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7297 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7300 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7301 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7302 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7303 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7304 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7305 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7306 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7307 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7308 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7309 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7310 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7311 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7312 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7313 Deconditionalize the code that was previously under [RESET_PID].
7314 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7315 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7316 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7317 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7318 include sysdep.h.
7319
21c83793
AM
73202014-09-08 Allan McRae <allan@archlinux.org>
7321
7322 * version.h (RELEASE): Set to "development".
7323 (VERSION): Set to "2.20.90"
7324
1cd9b65c
AM
73252014-09-07 Allan McRae <allan@archlinux.org
7326
b8079dd0
AM
7327 * version.h (RELEASE): Set to "stable".
7328 (VERSION): Set to "2.20"
7329 * include/features.h (__GLIBC_MINOR__): Set to 20.
7330
c46303ef
AM
7331 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7332 Liebler.
7333
1cd9b65c
AM
7334 * po/ko.po: Update Korean translation from translation project.
7335
8622092d
CM
73362014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7337
7338 [BZ #17354]
7339 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7340 macro for handling signed relocations.
7341
41488498
FW
73422014-09-03 Florian Weimer <fweimer@redhat.com>
7343
7344 [BZ #17325]
7345 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7346 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7347 assert.
7348 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7349 * iconvdata/ibm935.c (BODY): Likewise.
7350 * iconvdata/ibm937.c (BODY): Likewise.
7351 * iconvdata/ibm939.c (BODY): Likewise.
7352 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7353 assert.
7354 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7355 script.
7356 * iconvdata/run-iconv-test.sh: New test loop for checking for
7357 decoder crashers.
7358
a78b712d
KR
73592014-09-02 Khem Raj <raj.khem@gmail.com>
7360
7361 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7362 libm_hidden_ver.
7363
cb08abc6
AM
73642014-09-01 Allan McRae <allan@archlinux.org>
7365
2c31e102
AM
7366 * po/eo.po: Update Esperanto translation from translation project.
7367
cb08abc6
AM
7368 * po/ca.po: Update Catalan translation from translation project.
7369
17a62de1
ST
73702014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7371
7372 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7373 __proc_dostop call.
7374
9570bc53
MW
73752014-08-27 Mark Wielaard <mjw@redhat.com>
7376
7377 [BZ #17319]
7378 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7379 to call set_thread_area instead of hand written asm.
7380 (__NR_set_thread_area): Removed define.
7381 (TLS_FLAG_WRITABLE): Likewise.
7382 (__ASSUME_SET_THREAD_AREA): Remove check.
7383 (TLS_EBX_ARG): Remove define.
7384 (TLS_LOAD_EBX): Likewise.
7385
b0f955c9
ST
73862014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7387
7388 Simplify atomicity of socket creation in bind.
7389
7390 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7391 looking up the name after linking the file.
7392
529bf515
AM
73932014-08-27 Allan McRae <allan@archlinux.org>
7394
7395 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7396
a1a6a401
FW
73972014-08-26 Florian Weimer <fweimer@redhat.com>
7398
7399 [BZ #17187]
7400 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7401 trans_compare, open_translit, __gconv_translit_find):
7402 Remove module loading code.
7403
686ab290
AM
74042014-08-26 Allan McRae <allan@archlinux.org>
7405
e4e7cfd2
AM
7406 * po/vi.po: Update Vietnamese translation from translation project.
7407
6aa09f71
AM
7408 * po/uk.po: Update Ukrainian translation from translation project.
7409
edc0660e
AM
7410 * po/fr.po: Update French translation from translation project.
7411
7eea72ac
AM
7412 * po/ru.po: Update Russian translation from translation project.
7413
93c49eff
AM
7414 * po/pl.po: Update Polish translation from translation project.
7415
46acaf63
AM
7416 * po/cs.po: Update Czech translation from translation project.
7417
a9f5ce98
AM
7418 * po/de.po: Update German translation from translation project.
7419
373f2b78
AM
7420 * po/bg.po: Update Bulgarian translation from translation project.
7421
e7548bd8
AM
7422 * po/sv.po: Update Sweedish translation from translation project.
7423
c526bf4d
AM
7424 * po/nl.po: Update Dutch translation from translation project.
7425
686ab290
AM
7426 * po/es.po: Update Spanish translation from translation project.
7427
eb72478a
SP
74282014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7429
dd763fdb
SP
7430 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7431
318c7a58
SP
7432 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7433 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7434 (CPPFLAGS-iconvconfig): Likewise.
7435 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7436
eb72478a
SP
7437 * include/libc-symbols.h: Remove unnecessary check for
7438 NOT_IN_libc.
7439 * nptl/pthreadP.h: Likewise.
7440 * sysdeps/aarch64/setjmp.S: Likewise.
7441 * sysdeps/alpha/setjmp.S: Likewise.
7442 * sysdeps/arm/sysdep.h: Likewise.
7443 * sysdeps/i386/setjmp.S: Likewise.
7444 * sysdeps/m68k/setjmp.c: Likewise.
7445 * sysdeps/posix/getcwd.c: Likewise.
7446 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7447 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7448 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7449 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7450 * sysdeps/sh/sh3/setjmp.S: Likewise.
7451 * sysdeps/sh/sh4/setjmp.S: Likewise.
7452 * sysdeps/unix/alpha/sysdep.h: Likewise.
7453 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7455 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7456 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7461 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7462 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7464 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7466 * sysdeps/x86_64/setjmp.S: Likewise.
7467
d44a052c
JM
74682014-08-13 Joseph Myers <joseph@codesourcery.com>
7469
7470 [BZ #17263]
7471 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7472 <stdint.h>.
7473 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7474 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7475
508ce3ac
SP
74762014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7477
e44c8b0e
SP
7478 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7479
508ce3ac
SP
7480 [BZ #17262]
7481 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7482 and __x86_64__ when disabling x87 inline functions.
7483
b4acef1f
L
74842014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7485
7486 [BZ #17259]
7487 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7488 asm statement with __cpuid_count.
7489
61b1ef6e
MF
74902014-08-12 Mike Frysinger <vapier@gentoo.org>
7491
7492 * configure.ac: Change __ehdr_start code to dereference the struct.
7493 Run readelf on the output to look for relocations.
7494 * configure: Regenerated.
7495
898c62f4
JM
74962014-08-12 Joseph Myers <joseph@codesourcery.com>
7497
7498 [BZ #17261]
7499 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7500 value to 0.
7501 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7502
9a8a5720
RM
75032014-08-12 Roland McGrath <roland@hack.frob.com>
7504
7505 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7506
4e75751c
BO
75072014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7508
7509 [BZ #16892]
7510 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7511 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7512
bb2ce416
SA
75132014-08-12 Sean Anderson <seanga2@gmail.com>
7514
7515 * malloc/malloc.c: Fix typo in comment.
7516
7950a4ee
AM
75172014-08-09 Allan McRae <allan@archlinux.org>
7518
7519 * Regenerate libc.po.
7520
f469c49f
MF
75212014-08-08 Mike Frysinger <vapier@gentoo.org>
7522
7523 * intl/tst-gettext2.sh: Check every lang file for creation.
7524
656b84c2
WD
75252014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7526
7527 * sysdeps/aarch64/fpu/math_private.h
7528 (libc_feholdsetround_noex_aarch64_ctx): New function.
7529
538e9e45
W
75302014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7531
7532 * sysdeps/arm/armv6/strcpy.S (strcpy):
7533 Fix performance issue in misaligned cases.
7534
d4795e4a
AZ
75352014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7536
7537 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7538 Move definition from termios.h.
7539 (struct termio): Likewise.
7540 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7541 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7542 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7543 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7544 Likewise.
7545 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7546 Move definition to ioctl-types.h
7547 (struct termio): Likewise.
7548 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7549 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7550 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7551 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7552 Likewise.
7553
64accb62
RH
75542014-08-05 Richard Henderson <rth@redhat.com>
7555
27bb6dc0
RH
7556 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7557 exceptions.
7558 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7559 Add fraiseexcpt.
7560 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7561 Use __feraiseexcept.
7562 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7563 Protect libm symbols with IS_IN_libm.
7564
64accb62
RH
7565 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7566
e5292691
BO
75672014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
7568
7569 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7570
5b4bd2d4
WN
75712014-08-04 Will Newton <will.newton@linaro.org>
7572
7573 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7574 file.
7575
fcadaeef
MF
75762014-08-04 Mike Frysinger <vapier@gentoo.org>
7577
7578 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7579 variants for each function.
7580
43a94c64
RM
75812014-08-04 Roland McGrath <roland@hack.frob.com>
7582
7583 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7584 appended ...
7585 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7586 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7587 appended ...
7588 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7589 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7590 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7591 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7592 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7593 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7594 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7595 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7596 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7597 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7598 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7599 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7600 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7601 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7602 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7603 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7604 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7605 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7606 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7607 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7608 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7609 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7610 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7611 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7612 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7613 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7614 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7615 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7616 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7617 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7618 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7619 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7620 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7621 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7622 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7624 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7625 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7626 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7627 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7628 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7630 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7632 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7634 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7635 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7636 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7637 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7638 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7639 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7640 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7641 Update #include.
7642 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7643 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7644
8f3c1fa4
RM
76452014-08-04 Roland McGrath <roland@hack.frob.com>
7646
7647 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7648 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7649 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7650 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7651 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7652 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7653
ca08746f
RM
76542014-08-04 Roland McGrath <roland@hack.frob.com>
7655
7656 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7657 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7658 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7659 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7660
9c925ff9
RM
76612014-08-04 Roland McGrath <roland@hack.frob.com>
7662
7663 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7664 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7665 (__libc_vfork): Define function under this name.
7666 (__vfork): Define as an alias.
7667 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7668 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7669
e641054c
RM
76702014-08-04 Roland McGrath <roland@hack.frob.com>
7671
7672 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7673 that was previously under [RESET_PID].
7674 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7675
dacdc867
AS
76762014-08-04 Andreas Schwab <schwab@suse.de>
7677
7678 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7679
41f725ff
MF
76802014-08-03 Mike Frysinger <vapier@gentoo.org>
7681
7682 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7683 (main): Likewise.
7684
277cfb31
RM
76852014-08-01 Roland McGrath <roland@hack.frob.com>
7686
7687 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7688
4896f049
RH
76892014-08-01 Richard Henderon <rth@redhat.com>
7690
7691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7692 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7693 typo in exact zero test.
7694 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7695 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7696 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7697
6f64e7d7
RM
76982014-08-01 Roland McGrath <roland@hack.frob.com>
7699
7700 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7701 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7702 * sysdeps/arm/sysdep.h: ... here.
7703 [!__ASSEMBLER__]: Include <stdint.h>.
7704
3f3dd810
SP
77052014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7706
a476ac4b
SP
7707 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7708 (HAVE_WCTYPE_H): Likewise.
7709 (HAVE_ISWCTYPE): Likewise.
7710 (ENABLE_NLS): Likewise.
7711 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7712 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7713
78dd658a
SP
7714 * posix/regex_internal.c: Check if DEBUG is defined and is
7715 set.
7716
3f3dd810
SP
7717 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7718 (HAVE_MBSRTOWCS): Likewise.
7719 * posix/fnmatch.c: Include string.h unconditionally.
7720
95ee7fb1
SL
77212014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7722
7723 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7724 reversal.
7725
23fe486b
RM
77262014-07-31 Roland McGrath <roland@hack.frob.com>
7727
f61a113f
RM
7728 * sysdeps/generic/safe-fatal.h: New file.
7729 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7730 * nptl/forward.c: Include it.
7731 (__pthread_unwind): Use __safe_fatal as default action, rather
7732 than a bogus use of INTERNAL_SYSCALL that could never work.
7733
9fe7e787
RM
7734 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7735 * configure.ac (libc_cv_builtin_trap): New test.
7736 * configure: Regenerated.
7737 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7738 (ABORT_INSTRUCTION): Define using __builtin_trap.
7739
23fe486b
RM
7740 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7741 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7742 * sysdeps/nptl/nptl-signals.h: New file.
7743 * nptl/pthreadP.h: Include <nptl-signals.h>.
7744
f349489e
SL
77452014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7746
7747 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7748 (ONE_DIRECTION): Define.
7749 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7750 (ONE_DIRECTION): Define.
7751 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7752 (ONE_DIRECTION): Define.
7753
2f438e20
SL
77542014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7755
7756 * sysdeps/s390/Makefile: Delete file.
7757 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7758 * sysdeps/s390/__longjmp.c: Delete file.
7759 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7760 Remove fields __flags and __reserved.
7761 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7762 and add versioning.
7763 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7764 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7765 * sysdeps/s390/rtld-setjmp.S: Likewise.
7766 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7767 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7768 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7769 * sysdeps/s390/s390-32/setjmp.S: ... here.
7770 Add versioning.
7771 (__sigsetjmp): Remove setting __flags field.
7772 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7773 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7774 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7775 * sysdeps/s390/s390-64/setjmp.S: ... here.
7776 Add versioning.
7777 (__sigsetjmp): Remove setting __flags field.
7778 * sysdeps/s390/setjmp.S: Delete file.
7779 * sysdeps/s390/sigjmp.c: Likewise.
7780 * sysdeps/s390/v1-longjmp.c: Likewise.
7781 * sysdeps/s390/v1-setjmp.h: Likewise.
7782 * sysdeps/s390/v1-sigjmp.c: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7784 Remove v1-longjmp_chk.
7785 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7786 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7787 Include debug/longjmp_chk.c and add versioning.
7788 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7789 Include nptl/pt-longjmp.c and add versioning.
7790 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7791 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7792 Include __longjmp.c.
7793 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7794 Move to ...
7795 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7796 (__getcontext): Remove setting __flags field.
7797 Add versioning.
7798 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7799 Don't restore upper high grps.
7800 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7801 Likewise.
7802 (__swapcontext): Remove setting uc_flags field.
7803 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7804 Delete file.
7805 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7806 Include __longjmp.c.
7807 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7808 Move to ...
7809 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7810 (__getcontext): Remove setting __flags field.
7811 Add versioning.
7812 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7813 (__swapcontext): Remove setting uc_flags field.
7814 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7815 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7816 Remove fields uc_high_gprs and __reserved.
7817 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7818 New file with reverted content.
7819 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7820 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7821 Regenerated.
7822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7823 Regenerated.
7824
6c9578a2
AS
78252014-07-31 Andreas Schwab <schwab@suse.de>
7826
7827 * config.h.in (HAVE_IFUNC): Define to 0.
7828 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7829 definedness.
7830
05f3633d
LM
78312014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7832
7833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7834 memmove-avx-unaligned, memcpy-avx-unaligned and
7835 mempcpy-avx-unaligned.
7836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7837 Add tests for AVX memcpy functions.
7838 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7839 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7840 memcpy_chk.
7841 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7842 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7843 memmove_chk.
7844 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7845 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7846 mempcpy_chk.
7847 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7848 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7849 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7850
a53fbd8e
AZ
78512013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7852
7853 [BZ #17213]
7854 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7855 powerpc64le.
7856
0961f7e1
JL
78572014-07-29 Jeff Layton <jlayton@poochiereds.net>
7858
7859 [BZ #16839]
7860 * manual/llio.texi: Add section about open file description locks.
7861 * manual/examples/ofdlocks.c: Example of open file description
7862 lock usage.
7863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7864 F_OFD_SETLK, and F_OFD_SETLKW.
7865
cc5fb300
AM
78662014-07-23 Allan McRae <allan@archlinux.org>
7867
7868 * po/es.po: Update Spanish translation from translation project.
7869
23329dca
AS
78702014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7871
7872 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7873
9c82da17
MR
78742014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7875
7876 [BZ #17078]
7877 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7878 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7879 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7880
29c4f53e
JM
78812014-07-17 Joseph Myers <joseph@codesourcery.com>
7882
831b9896
JM
7883 [BZ #17088]
7884 * math/fesetenv.c (__fesetenv)
7885 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7886 * math/feupdateenv.c (__feupdateenv)
7887 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7888
b21c2d50
JM
7889 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7890 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7891 (__ASSUME_SOCKETCALL): Do not define.
7892
067764ef
JM
7893 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7894 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7895 (__ASSUME_SOCKETCALL): Do not define.
7896 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7897 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7898 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7899 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7900 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7901 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7902 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7903 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7904
642530c1
JM
7905 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7906 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7907 (__ASSUME_SOCKETCALL): Do not define.
7908 (__ASSUME_IPC64): Define unconditionally.
7909 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7910 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7911 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7912 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7913 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7914 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7915 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7916 Likewise.
7917
03f77315
JM
7918 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7919 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7920 (__ASSUME_SOCKETCALL): Do not define.
7921 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7922 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7923 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7924 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7925 (__ASSUME_REQUEUE_PI): Define unconditionally.
7926 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7927 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7928 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7929 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7930 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7931 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7932
083b1f7c
JM
7933 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7934 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7935 (__ASSUME_SOCKETCALL): Do not define.
7936 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7937 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7938 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7939 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7940 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7941 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7942
5be44ea6
JM
7943 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7944 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7945 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7946 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7947 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7948 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7949 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7950 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7951 (__ASSUME_GETCPU_SYSCALL): Likewise.
7952
d95ffd4c
JM
7953 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7954 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7955 cases for individual architectures.
7956 * sysdeps/gnu/configure: Regenerated.
7957 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7958 LIBC_SLIBDIR_RTLDDIR.
7959 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7960 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7961 LIBC_SLIBDIR_RTLDDIR.
7962 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7964 LIBC_SLIBDIR_RTLDDIR.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7966 Regenerated.
7967 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7968 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7969 file.
7970 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7971 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7972 file.
7973 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7974 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7975 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7976 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7977
29c4f53e
JM
7978 * sysdeps/aarch64/shlib-versions: Move to ...
7979 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7980 * sysdeps/alpha/shlib-versions: Move to ...
7981 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7982 * sysdeps/arm/shlib-versions: Move to ...
7983 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7984 * sysdeps/hppa/shlib-versions: Move all contents except for
7985 libgcc_s entry to ...
7986 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7987 entry from ...
7988 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7989 * sysdeps/ia64/shlib-versions: Move to ...
7990 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7991 entry from ...
7992 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7993 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7994 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7995 * sysdeps/microblaze/shlib-versions: Move to ...
7996 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7997 * sysdeps/mips/shlib-versions: Move to ...
7998 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7999 entry from ...
8000 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8001 * sysdeps/tile/shlib-versions: Move to ...
8002 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8003 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8004 from ...
8005 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8006 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8007 entry from ...
8008 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8009
32bead5b
WN
80102014-07-17 Will Newton <will.newton@linaro.org>
8011
57977c4b
WN
8012 * sysdeps/arm/bits/atomic.h
8013 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8014 (__arch_compare_and_exchange_bool_16_int): Likewise.
8015 (__arch_compare_and_exchange_bool_64_int): Likewise.
8016
32bead5b
WN
8017 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8018 into an #else block.
8019
37fccd41
RM
80202014-07-16 Roland McGrath <roland@hack.frob.com>
8021
8022 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8023 just Linux configurations. Test empirically that the compiler sets
8024 __ARM_EABI__, rather than using the tuple to decide.
8025 * sysdeps/arm/preconfigure: Regenerated.
8026 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8027 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8028 contents appended ...
8029 * sysdeps/arm/configure.ac: ... here.
8030 * sysdeps/arm/configure: Regenerated.
8031
b365f3ec
RM
80322014-07-15 Roland McGrath <roland@hack.frob.com>
8033
8badf496
RM
8034 * nptl/pthread_kill.c: New file.
8035 * nptl/pthread_sigmask.c: New file.
8036 * nptl/pthread_sigqueue.c: New file.
8037
3df6f22e
RM
8038 * sysdeps/nptl/lowlevellock.h: New file.
8039 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8040 * sysdeps/nptl/lowlevellock-futex.h: New file.
8041
b365f3ec
RM
8042 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8043 Remove dead declarations.
8044
f2fef657
L
80452014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8048 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8049 config-cflags-avx2.
8050 * sysdeps/x86_64/configure.ac: Likewise.
8051 * sysdeps/i386/configure: Regenerated.
8052 * sysdeps/x86_64/configure: Likewise.
8053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8054 memset-avx2 only if config-cflags-avx2 is yes.
8055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8056 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8057 defined.
8058 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8059 only if HAVE_AVX2_SUPPORT is defined.
8060 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8061
f6c44d47
AM
80622014-07-14 Alan Modra <amodra@gmail.com>
8063
8064 [BZ #17153]
8065 * elf/elf.h (DT_PPC64_NUM): Correct value.
8066 * NEWS: Add to fixed bug list.
8067
7ee03f00
JM
80682014-07-13 Jim Meyering <meyering@fb.com>
8069
8070 [BZ 17150]
8071 regex: don't deref NULL upon heap allocation failure
8072 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8073 failure in one more place.
8074 To trigger the segfault, configure grep -with-included-regex,
8075 build it, and run these commands:
8076 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8077
9d39d517
AS
80782014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8079
8080 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8081
a75b89b7
RH
80822014-07-11 Richard Henderson <rth@redhat.com>
8083
8084 * sysdeps/aarch64/libm-test-ulps: Update.
8085
771eb141
FW
80862014-07-10 Florian Weimer <fweimer@redhat.com>
8087
8088 [BZ #17135]
8089 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8090 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8091 (__nptl_setxid): Initialize error member. Call
8092 __nptl_setxid_error.
8093 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8094 * nptl/descr.h (struct xid_command): Add error member.
8095 * nptl/tst-setuid3.c: New file.
8096 * nptl/Makefile (tests): Add it.
8097
bc1da176
AZ
80982014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8099
8100 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8101 New define.
8102 (__lll_trylock): Use __lll_base_trylock.
8103 (__lll_cond_trylock): Likewise.
8104
887865fc
RM
81052014-07-10 Roland McGrath <roland@hack.frob.com>
8106
c0c6bac9
RM
8107 * nptl/pthread_create.c (start_thread): Use atomic_or and
8108 lll_futex_wake directly rather than lll_robust_dead.
8109 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8110 (lll_robust_dead): Macro removed.
6a42be57 8111 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
8112 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8113 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8114 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8115 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8116 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8117 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8118 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8119 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8120 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8121 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8122 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8124 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8125 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8126
887865fc
RM
8127 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8128 Use atomic_compare_and_exchange_val_acq directly rather than
8129 lll_robust_trylock.
8130 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8131 (__lll_robust_trylock, lll_robust_trylock): Removed.
8132 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8133 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8134 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8135 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8136 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8137 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8138 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8139 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8141 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8142 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8143 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8144 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8146
58536726
FW
81472014-07-02 Florian Weimer <fweimer@redhat.com>
8148
8149 * manual/locale.texi (Locale Names): New section documenting
8150 locale name syntax. Adjust menu and node chaining accordingly.
8151 (Choosing Locale): Reference Locale Names, Locale Categories.
8152 Mention setting LC_ALL=C. Reflect that name syntax is now
8153 documented.
8154 (Locale Categories): New section title. Reference Locale Names.
8155 LC_ALL is an environment variable, but not a category.
8156 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8157 description, now in Locale Name. Reference that section. Locale
8158 name syntax is now documented.
8159
4e8f95a0
FW
81602014-07-02 Florian Weimer <fweimer@redhat.com>
8161
8162 [BZ #17137]
8163 * locale/findlocale.c (name_present, valid_locale_name): New
8164 functions.
8165 (_nl_find_locale): Use the loc_name variable to store name
8166 candidates. Call name_present and valid_locale_name to check and
8167 validate locale names. Return an error if the locale is invalid.
8168
d1836456
FW
81692014-07-02 Florian Weimer <fweimer@redhat.com>
8170
8171 * locale/setlocale.c (setlocale): Use strdup for allocating
8172 composite name copy.
8173
d69b7f5a
SP
81742014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8175
888c679b
SP
8176 Sync up with gnulib.
8177 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8178 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8179 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8180 and _GL_ARG_NONNULL.
8181 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8182 [!_LIBC]: Include code for Windows and Cygwin.
8183 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8184 Include prototype for int strerror_r.
8185 [!_LIBC] (is_open): New function.
8186 (flush_stdout): New function.
8187 (print_errno_message): Use it.
8188 (error): Likewise.
8189 (error_at_line): Likewise.
8190 (error_tail) Add function attribute macros. Use
8191 __builtin_expect.
8192
180e0e4b
SP
8193 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8194
d22f1fe2
SP
8195 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8196
12f2254b
SP
8197 * io/ftw.c: Include sys/param.h unconditionally.
8198
c3c7c360
SP
8199 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8200
d62aa75a
SP
8201 [BZ #17125]
8202 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8203 libc_freeres_ptr.
8204 (freecache): New function to free CACHE on exit.
8205
d69b7f5a
SP
8206 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8207 initialization.
8208
5efe06a1
DM
82092014-07-09 David S. Miller <davem@davemloft.net>
8210
8211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8212
7000d82e
DM
8213 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8214 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8215 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8216 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8217 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8218 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8219 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8220 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8221 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8222 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8223 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8224 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8225 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8226
c213442d
AS
82272014-07-09 Andreas Schwab <schwab@suse.de>
8228
4a2552c3
AS
8229 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8230 output.
8231 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8232 (do_test): Likewise.
8233
c213442d
AS
8234 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8235
82374e65
WN
82362014-07-09 Will Newton <will.newton@linaro.org>
8237
8238 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8239 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8240 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8241 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8242 * sysdeps/hppa/start.S (_start): Likewise.
8243
6680738a
SP
82442014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8245
6ee3eab4
SP
8246 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8247
6680738a
SP
8248 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8249 defined.
8250
80b5c505
SP
82512014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8252
e35c53e3
SP
8253 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8254 after checking that it is non-NULL.
8255
80b5c505
SP
8256 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8257
91f4b564
AZ
82582014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8259
27b75f56
AZ
8260 * sysdeps/powerpc/memmove.c: Remove file.
8261 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8262 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8264 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8265 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8266 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8267 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8268 string memmove instead of removed powerpc one.
8269
e7f95bb5
AZ
8270 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8271 [weak_alias]: Fix compiler warning due trailing data.
8272 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8273 [weak_alias]: Likewise.
8274 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8275 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8276
91f4b564
AZ
8277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8278 (__libc_ifunc_impl_list): Add memmove functions.
8279
7c33f1e5
SP
82802014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8281
8282 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8283 Remove code.
8284 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8285 Likewise
8286 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8287 Likewise
8288 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8289 Likewise
8290 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8291 Likewise
8292 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8293 Likewise
8294 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8295 Likewise
8296 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8297 Likewise
8298 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8299 Likewise
8300 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8301 Likewise
8302 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8303 Likewise
8304 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8305 Likewise
8306 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8307 Likewise
8308 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8309 Likewise
8310 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8311 Likewise
8312 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8313 Likewise
8314 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8315 Likewise
8316
3f17b03b
AZ
83172014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8318
87868c24
AZ
8319 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8320 to avoid alignment traps in non-cacheable memory.
8321 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8322
07aedd78
AZ
8323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8324 multiarch objects.
8325 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8326 file: multiarch power7 memmove.
8327 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8328 multiarch default memmove.
8329 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8330 multiarch memove for powerpc32/power4.
8331
17762f66
AZ
8332 * string/bcopy.c: Use full path to include memmove.c.
8333 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8334 multiarch objects.
8335 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8336 bcopy for powerpc64.
8337 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8338 bcopy for powerpc64.
8339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8340 and memmove implementations.
8341 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8342 optimized multiarch memmove for POWER7/powerpc64.
8343 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8344 default multiarch memmove for powerpc64.
8345 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8346 multiarch for powerpc64.
8347 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8348 for POWER7/powerpc64.
8349 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8350 memmove for POWER7/powerpc64.
8351
d6f68bbe
AZ
8352 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8353 glibc default one.
8354
3f17b03b
AZ
8355 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8356 __ELF_NATIVE_CLASS equal to 64.
8357
08192659
RM
83582014-07-07 Roland McGrath <roland@hack.frob.com>
8359
f4c4021b
RM
8360 * sysdeps/nptl/lowlevellock.h: File removed.
8361
f083450f
RM
8362 * NEWS: NPTL is no longer an add-on!
8363 * nptl/internaltypes.h: Moved ...
8364 * sysdeps/nptl/internaltypes.h: ... here.
8365 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8366 * sysdeps/nptl/fork.c: Likewise.
8367 * sysdeps/nptl/gai_misc.h: Likewise.
8368 * sysdeps/nptl/librt-cancellation.c: Likewise.
8369 * sysdeps/nptl/jmp-unwind.c: Likewise.
8370 * sysdeps/nptl/setxid.h: Likewise.
8371 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8372 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8373 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8374 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8375 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8376 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8377 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8378 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8379 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8380 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8381 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8382 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8383 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8384 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8385 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8386 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8387 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8388 * nptl/Makeconfig: Moved ...
8389 * sysdeps/nptl/Makeconfig: ... here.
8390 * nptl/configure: File removed.
8391 * nptl/ANNOUNCE: File removed.
8392 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8393 * sysdeps/unix/sysv/linux/configure: Regenerated.
8394
08192659
RM
8395 * nptl/Makefile (routines): Add libc_pthread_init,
8396 libc_multiple_threads, register-atfork and unregister-atfork.
8397 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8398 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8399 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8400 pthread-pi-defines.sym, structsem.sym.
8401 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8402 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8403 [$(subdir) = nptl] (tests): Add tst-setgetname.
8404 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8405 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8406 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8407 [!LIBC_SIGACTION]: Remove aliases.
8408 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8409 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8410 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8411 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8412 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8413 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8414 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8415 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8417 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8418 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8419 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8420 __libc_allocate_rtsig_private.
8421 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8422 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8423 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8424 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8425 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8426 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8427 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8428 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8429 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8430 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8431 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8432 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8433 * nptl/internaltypes.h: ... here.
8434 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8435 * sysdeps/nptl/jmp-unwind.c: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8437 * nptl/libc-lowlevellock.c: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8439 * nptl/libc_multiple_threads.c: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8441 * nptl/libc_pthread_init.c: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8443 * nptl/lowlevelbarrier.sym: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8445 * nptl/lowlevelcond.sym: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8447 * nptl/lowlevellock.c: ... here.
8448 * nptl/lowlevellock.h: Moved ...
8449 * sysdeps/nptl/lowlevellock.h: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8451 * nptl/lowlevelrobustlock.c: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8453 * nptl/lowlevelrobustlock.sym: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8455 * nptl/lowlevelrwlock.sym: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8457 * nptl/pt-fork.c: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8459 * nptl/pthread-pi-defines.sym: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8461 * nptl/pthread_attr_getaffinity.c: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8463 * nptl/pthread_attr_setaffinity.c: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8465 * nptl/pthread_mutex_cond_lock.c: ... here.
8466 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8467 Update #include.
8468 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8469 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8470 * nptl/pthread_once.c: ... here, replacing old file.
8471 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8472 * nptl/pthread_yield.c: ... here.
8473 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8474 * nptl/register-atfork.c: ... here.
8475 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8476 * nptl/sem_post.c: ... here.
8477 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8478 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8479 * nptl/sem_timedwait.c: ... here.
8480 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8481 * nptl/sem_trywait.c: ... here.
8482 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8483 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8484 * nptl/sem_wait.c: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8486 * nptl/structsem.sym: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8488 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8489 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8490 * nptl/unregister-atfork.c: ... here.
8491 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8492 * nptl/unwindbuf.sym: ... here.
8493 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8494 * sysdeps/nptl/fork.c: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8496 * sysdeps/nptl/fork.h: ... here.
8497 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8498 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8499 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8500 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8501 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8502 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8503 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8504 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8505 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8506 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8507 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8508 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8509 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8510 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8511 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8512 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8513 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8514 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8515 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8516 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8517 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8518 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8519 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8520 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8521 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8522 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8523 * sysdeps/unix/sysv/linux/raise.c: ... here.
8524 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8525 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8526 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8527 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8528 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8529 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8530 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8531 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8532 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8533 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8534 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8535 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8536 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8537 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8538 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8539
96baf6ff
SP
85402014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
8542 * sysdeps/generic/memcopy.h: Add comment for
8543 MEMCPY_OK_FOR_FWD_MEMMOVE.
8544
6b7b14b2
WN
85452014-07-04 Will Newton <will.newton@linaro.org>
8546
1570a72b
WN
8547 * string/memchr.c: Merge from gnulib.
8548 [_LIBC]: Remove conditionals.
8549 (__ptr_t): Remove define.
8550 (LONG_MAX_32_BITS): Likewise.
8551 (LONG_MAX): Likewise.
8552 (MEMCHR): Use ANSI prototype and optimize algorithm.
8553
6b7b14b2
WN
8554 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8555
38851324
SP
85562014-07-03 Roland McGrath <roland@hack.frob.com>
8557
3d9eb57c
RM
8558 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8559 (lll_futex_timed_wait_bitset): Fix syscall argument count.
8560
78b984ae
RM
8561 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8562 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8563 in a bare environment with no <stdlib.h> installed.
8564 * sysdeps/nptl/configure: Regenerated.
8565
2d5976a5
RM
8566 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8567
c1f5acd4
RM
8568 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8569 AC_EGREP_CPP for kernel header checks, so they only succeed if
8570 including <linux/version.h> actually works right.
8571 * sysdeps/unix/sysv/linux/configure: Regenerated.
8572
4d614fe5
RM
8573 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8574 value so it's not diagnosed as unused.
8575
38851324
SP
8576 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8577 thing) with "ifeq ($(subdir),rt)".
8578
b3ec00e5
RH
85792014-07-03 Richard Henderson <rth@redhat.com>
8580
69862e25
RH
8581 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8582 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8583 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8584
d5e16ade
RH
8585 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8586 (math_force_eval): New.
8587
ca7b945c
RH
8588 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8589 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8590
cd1175a3
RH
8591 * sysdeps/alpha/fpu/s_round.c: Remove file.
8592 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8593
b3ec00e5
RH
8594 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8595 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8596 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8597 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8598 (_dl_start, print_statistics): Likewise.
8599 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8600 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8601
8602 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8603 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8604 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8605 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8606 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8607 (HP_SMALL_TIMING_AVAIL): Define.
8608 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8609 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8610 (HP_SMALL_TIMING_AVAIL): Define.
8611 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8612 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8613
8614 * sysdeps/aarch64/hp-timing.h: New file.
8615
8616 * sysdeps/generic/hp-timing.h: Remove dead comment.
8617 * sysdeps/generic/hp-timing-common.h: New file.
8618 * sysdeps/alpha/hp-timing.h: Include it.
8619 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8620 * sysdeps/i386/i686/hp-timing.h: Likewise.
8621 * sysdeps/ia64/hp-timing.h: Likewise.
8622 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8624 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8625 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8626 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8627 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8628 (hp_timing_t): New.
8629
8630 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8631 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8632 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8633 * elf/rtld.c (_dl_start_final): Likewise.
8634 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8635 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8636 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8637 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8638 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8639 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8640 (HP_TIMING_DIFF_INIT): Remove.
8641 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8642 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8643 (HP_TIMING_DIFF_INIT): Remove.
8644 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8645 * sysdeps/i386/i686/hp-timing.c: Remove file.
8646 * sysdeps/x86_64/hp-timing.c: Remove file.
8647 * sysdeps/ia64/hp-timing.c: Remove file.
8648 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8649 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8651 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8652
8653 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8654 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8655 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8656 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8657 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8658 (HP_TIMING_ACCUM): Remove.
8659 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8660 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8661 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8662
8663 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8664 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8665 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8666 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8667 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8668 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8669 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8670 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8671
8672 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8673
225f410f
MR
86742014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8675
8676 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8677
3247f285
SP
86782014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8679
8680 Sync up with gettext.
8681 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8682 [_MSC_VER]: Include malloc.h
8683 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8684 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8685 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8686 TEMP_FAILURE_RETRY. Cast return of alloca.
8687 [!_LIBC] Call gl_rwlock_init.
8688 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8689
d12704c7
SP
86902014-07-02 Roland McGrath <roland@hack.frob.com>
8691
8692 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8693 before checking its value.
8694
99f8dc92
SP
86952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8696
05fdac77
SP
8697 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8698
99f8dc92
SP
8699 * debug/memcpy_chk.c: Don't include pagecopy.h.
8700 * debug/mempcpy_chk.c: Likewise.
8701 * string/memcpy.c: Likewise.
8702 * string/memmove.c: Likewise.
8703 * sysdeps/powerpc/memmove.c: Likewise.
8704 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8705 definition of PAGE_COPY_FWD_MAYBE here...
8706 * sysdeps/generic/pagecopy.h: ... from here.
8707 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8708
bc8ea385
VR
87092014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8710 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8711
8712 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8714 optimizations.
8715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8716 (__libc_ifunc_impl_list): Likewise.
8717 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8718 multiarch strcat for PPC64.
8719 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8720 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8721
fe5f34e4
RM
87222014-07-02 Roland McGrath <roland@hack.frob.com>
8723
8724 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8725
256aa665
SP
87262014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8727
d4eb8195
SP
8728 * intl/loadmsgcat.c: Remove declaration of
8729 get_sysdep_segment_value.
8730 (get_sysdep_segment_value): Use ISO C style.
8731 (_nl_load_domain): Use ISO C style. Get rid of redundant
8732 semicolon. Fix typo and formatting in comment.
8733 (_nl_unload_domain): Use ISO C style.
8734
256aa665
SP
8735 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8736
b100f9aa
WN
87372014-07-02 Will Newton <will.newton@linaro.org>
8738
8739 * malloc/obstack.c: Merge from gnulib master.
8740 [HAVE_CONFIG_H]: Remove conditional code.
8741 [!_LIBC]: Include config.h.
8742 [!ELIDE_CODE]: Don't include inttypes.h, include
8743 stdint.h unconditionally.
8744 (print_and_abort): Mark as _Noreturn.
8745 (_obstack_allocated_p): Mark as __attribute_pure__.
8746 (obstack_free): Rename to __obstack_free.
8747 [!__attribute__]: Remove conditional code.
8748 * malloc/obstack.h: Merge from gnulib master.
8749 [__cplusplus]: Move conditional down.
8750 [!__attribute_pure__]: Define __attribute_pure__ here
8751 if it is not already defined.
8752 (_obstack_memory_used): Mark as __attribute_pure__.
8753 [!__obstack_free]: Define as obstack_free.
8754 [__GNUC__]: Remove check for ancient NeXT gcc.
8755
c4c41244
PE
87562014-07-02 Will Newton <will.newton@linaro.org>
8757 Paul Eggert <eggert@cs.ucla.edu>
8758
8759 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8760
e1e041c4
SP
87612014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8762
8763 * resolv/gethnamaddr.c: Add comment warning that the file is
8764 not maintained.
8765
ccf431ff
CD
87662014-07-01 Carlos O'Donell <carlos@redhat.com>
8767
d34570a6
CD
8768 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8769 entries.
8770
ccf431ff
CD
8771 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8772 entry for aio_cancel and aio_cancel64.
8773 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8774 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8775 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8776 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8777 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8778 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8779 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8780 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8781 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8782 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8783 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8784 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8785 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8786
ca06321d
RM
87872014-07-01 Roland McGrath <roland@hack.frob.com>
8788
8789 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8790 * nptl/pthread_mutex_lock.c: Likewise.
8791 * nptl/pthread_mutex_timedlock.c: Likewise.
8792 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8793
a1ac3184
RH
87942014-07-01 Richard henderson <rth@redhat.com>
8795
631021e0
RH
8796 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8797 (__isnan, __isnanl): Remove.
8798 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8799
a1ac3184
RH
8800 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8801
0c1d731f
SL
88022014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8803
8804 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8805
76985d3e
SP
88062014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8807
8808 * resolv/nss_dns/dns-host.c (getanswer_r)
8809 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8810
b0cb3096
JM
88112014-07-01 Joseph Myers <joseph@codesourcery.com>
8812
8813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8814 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8815 undefine.
8816 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8817 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8818
4d76cb39
RM
88192014-07-01 Roland McGrath <roland@hack.frob.com>
8820
8821 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8822 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8823
8824 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8825 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8826
8827 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8828 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8829 ... here.
8830 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8831 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8832
8833 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8834 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8835 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8836 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8837
8838 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8839 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8840 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8841 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8842 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8843 Moved ...
8844 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8845 ... here.
8846 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8847 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8857 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8858 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8859 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8860 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8861 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8862 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8863 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8865 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8866 ... here.
8867 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8868 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8869 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8870 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8871 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8872 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8873 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8874 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8875
0cdcad17
DH
88762014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8877
8878 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8879 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8880 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8881 Add sysdep.
8882
9b71d0e3
AZ
88832014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8884
8885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8886
665390c2
JM
88872014-06-30 Joseph Myers <joseph@codesourcery.com>
8888
ae05a9d7
JM
8889 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8890 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8891
a7672a2f
JM
8892 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8893
665390c2
JM
8894 * sysdeps/arm/libm-test-ulps: Regenerated.
8895
d7a05d07
MR
88962014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8897 Roland McGrath <roland@hack.frob.com>
8898
8899 * test-skeleton.c (signal_handler): Kill the whole process group
8900 before killing the child individually.
8901 (main): Report any failure on `setpgid'.
8902
46f1d8a6
RM
89032014-06-30 Roland McGrath <roland@hack.frob.com>
8904
8905 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8906 from _TLS_H to _ARM_NPTL_TLS_H.
8907 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8908 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8909
9c37ec0b
JM
89102014-06-30 Joseph Myers <joseph@codesourcery.com>
8911
ce9c5b3e
JM
8912 [BZ #16539]
8913 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8914 (__expm1l): Return argument unchanged when small but not
8915 subnormal.
8916
3a6e9887
JM
8917 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8918 include macro name.
8919 (_FP_UNPACK_RAW_1_P): Likewise.
8920 (_FP_PACK_RAW_1): Likewise.
8921 (_FP_PACK_RAW_1_P): Likewise.
8922 (_FP_MUL_MEAT_1_wide): Likewise.
8923 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8924 (_FP_MUL_MEAT_1_hard): Likewise.
8925 (_FP_DIV_MEAT_1_imm): Likewise.
8926 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8927 (_FP_DIV_MEAT_1_udiv): Likewise.
8928 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8929 (_FP_UNPACK_RAW_2): Likewise.
8930 (_FP_UNPACK_RAW_2_P): Likewise.
8931 (_FP_PACK_RAW_2): Likewise.
8932 (_FP_PACK_RAW_2_P): Likewise.
8933 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8934 (_FP_MUL_MEAT_2_wide): Likewise.
8935 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8936 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8937 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8938 (_FP_MUL_MEAT_2_gmp): Likewise.
8939 (_FP_DIV_MEAT_2_udiv): Likewise.
8940 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8941 (_FP_FRAC_SRL_4): Likewise.
8942 (_FP_FRAC_SRST_4): Likewise.
8943 (_FP_FRAC_SRS_4): Likewise.
8944 (_FP_UNPACK_RAW_4): Likewise.
8945 (_FP_UNPACK_RAW_4_P): Likewise.
8946 (_FP_PACK_RAW_4): Likewise.
8947 (_FP_PACK_RAW_4_P): Likewise.
8948 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8949 (_FP_MUL_MEAT_4_wide): Likewise.
8950 (_FP_MUL_MEAT_4_gmp): Likewise.
8951 (umul_ppppmnnn): Likewise.
8952 (_FP_DIV_MEAT_4_udiv): Likewise.
8953 (__FP_FRAC_ADD_4): Likewise.
8954 (__FP_FRAC_SUB_3): Likewise.
8955 (__FP_FRAC_SUB_4): Likewise.
8956 (__FP_FRAC_DEC_3): Likewise.
8957 (__FP_FRAC_DEC_4): Likewise.
8958 (__FP_FRAC_ADDI_4): Likewise.
8959 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8960 (_FP_FRAC_SRL_8): Likewise.
8961 (_FP_FRAC_SRS_8): Likewise.
8962
9c37ec0b
JM
8963 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8964 include macro name.
8965 (FP_UNPACK_RAW_EP): Likewise.
8966 (FP_PACK_RAW_E): Likewise.
8967 (FP_PACK_RAW_EP): Likewise.
8968 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8969 (_FP_ISSIGNAN): Likewise.
8970 (_FP_ADD_INTERNAL): Likewise.
8971 (_FP_FMA): Likewise.
8972 (_FP_CMP): Likewise.
8973 (_FP_SQRT): Likewise.
8974 (_FP_TO_INT): Likewise.
8975 (_FP_FROM_INT): Likewise.
8976 (FP_EXTEND): Likewise.
8977 (_FP_DIV_MEAT_N_loop): Likewise.
8978
2125f674
MR
89792014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8980
8981 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8982 throughout.
8983
edea4028
JM
89842014-06-29 Joseph Myers <joseph@codesourcery.com>
8985
8986 [BZ #17097]
8987 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8988 result with correct sign in case of exponents that produce
8989 overflow except for X very close to 1.
8990
dd0ba018
PE
89912014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8992
8993 mktime: merge #if/#ifdef usage from glibc
8994 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8995 as that works with both Glibc's and Gnulib's style.
8996 See thread starting at Siddhesh Poyarekar's bug report at:
8997 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8998
64df73c2
SP
89992014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9000
9001 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9002 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9003 * sysdeps/tile/tilegx/memmove.c: Remove file.
9004
f1eafb41
JM
90052014-06-27 Joseph Myers <joseph@codesourcery.com>
9006
9007 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9008 abi-name definition.
9009 * scripts/soversions.awk: Do not handle or generate ABI lines.
9010 * shlib-versions: Remove ABI entries.
9011 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9012 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9013
58eb0862
RM
90142014-06-27 Roland McGrath <roland@hack.frob.com>
9015
37caf178
RM
9016 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9017 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9018 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9019 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9020 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9021 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9023 Moved ...
9024 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9025 ... here.
9026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9027 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9029 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9031 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9033 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9035 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9036 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9037 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9039 Moved ...
9040 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9044 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9046 Moved ...
9047 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9048 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9049 Moved ...
9050 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9051 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9052 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9053 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9054 Moved ...
9055 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9057 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9059 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9060 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9061 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9062 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9063 Moved ...
9064 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9065 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9066 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9067 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9068 Moved ...
9069 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9070 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9071 Moved ...
9072 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9073 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9074 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9075 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9076 Moved ...
9077 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9078 ... here.
9079 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9080 Identical file removed.
9081 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9082 Moved ...
9083 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9084 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9085 Identical file removed.
9086 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9087 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9088 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9089 Moved ...
9090 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9092 Identical file removed.
9093 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9094 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9095 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9096 Identical file removed.
9097 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9098 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9099 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9100 Identical file removed.
9101 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9102 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9104 Identical file removed.
9105 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9106 Moved ...
9107 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9108 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9109 Identical file removed.
9110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9111 Moved ...
9112 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9113 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9114 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9115 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9116 Identical file removed.
9117 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9118 Moved ...
9119 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9120 ... here.
9121 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9122 Identical file removed.
9123 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9124 Moved ...
9125 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9127 Identical file removed.
9128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9129 Moved ...
9130 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9132 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9134 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9135 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9136 Moved ...
9137 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9139 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9140
58eb0862
RM
9141 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9142 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9143 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9144 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9145 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9146
6f12d062
AS
91472014-06-27 Arjun Shankar <arjun.is@lostca.se>
9148
9149 [BZ #17092]
9150 * nscd/nscd.c (monitor_child): Return exit status of child
9151 instead of return value from wait syscall.
9152
be254932
JM
91532014-06-27 Joseph Myers <joseph@codesourcery.com>
9154
cb403c34
JM
9155 * configure.ac (libc_commonpagesize): Remove variable.
9156 (libc_relro_required): Likewise.
9157 (libc_cv_z_relro): Remove configure test.
9158 * configure: Regenerated.
9159 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9160 variable.
9161 (libc_relro_required): Likewise.
9162 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9163 (libc_relro_required): Likewise.
9164 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9165 (libc_relro_required): Likewise.
9166 * sysdeps/arm/preconfigure: Regenerated.
9167 * sysdeps/ia64/preconfigure: Remove file.
9168 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9169 variable.
9170 (libc_relro_required): Likewise.
9171
be254932
JM
9172 [BZ #16561]
9173 [BZ #16562]
9174 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9175 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9176 recompute overflowing results in original rounding mode.
9177 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9178 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9179 recompute overflowing results in original rounding mode.
9180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9181 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9182 recompute overflowing results in original rounding mode.
9183 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9184 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9185 recompute overflowing results in original rounding mode.
9186 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9187 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9188 recompute overflowing results in original rounding mode.
9189 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9190 (libc_feholdsetround_ctx): New macro.
9191 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9192 * sysdeps/i386/fpu/libm-test-ulps: Update.
9193 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9194
b351d85a
JM
91952014-06-26 Joseph Myers <joseph@codesourcery.com>
9196
9197 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9198 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9199 corresponding .cpsetup call.
9200
3cb4de47
RM
92012014-06-26 Roland McGrath <roland@hack.frob.com>
9202
9203 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9204 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9205 * sysdeps/arm/Makefile [$(subdir) = csu]
9206 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9207 (static-only-routines): Add aeabi_read_tp here.
9208 (shared-only-routines): Add libc-aeabi_read_tp here.
9209 (CFLAGS-libc-start.c): Add -fexceptions here.
9210 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9211 (sysdep_routines, static-only-routines, shared-only-routines):
9212 Don't add to these here.
9213 (CFLAGS-libc-start.c): Likewise.
9214
9215 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9216 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9217 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9218 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9219 * sysdeps/arm/Makefile [$(subdir) = rt]
9220 (librt-sysdep_routines, librt-shared-only-routines):
9221 Append rt-aeabi_unwind_cpp_pr1 here.
9222 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9223 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9224 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9225 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9226 Append nptl-aeabi_unwind_cpp_pr1 here.
9227 (tests): Filter out tst-cleanupx4 here.
9228 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9229 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9230 Don't do those here.
9231
354426bb
JM
92322014-06-26 Joseph Myers <joseph@codesourcery.com>
9233
9234 * scripts/list-sources.sh: Do not handle ports specially.
9235
28b0a8c9
RM
92362014-06-26 Roland McGrath <roland@hack.frob.com>
9237
a3dd035d
RM
9238 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9239 * sysdeps/arm/feupdateenv.c: Likewise.
9240
28b0a8c9
RM
9241 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9242
e66a8203
JM
92432014-06-26 Joseph Myers <joseph@codesourcery.com>
9244
9245 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9246 trailing whitespace removed.
9247 * scripts/config.guess: Update to version 2014-03-23.
9248 * scripts/config.sub: Update to version 2014-05-01
9249 * scripts/install-sh: Update to version 2013-12-25.23.
9250 * scripts/move-if-change: Update from gnulib.
9251
74171115
SP
92522014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9253
b97c9ce5
SP
9254 * debug/memmove_chk.c: Remove pagecopy.h include.
9255
4000f892
SP
92562014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9257
74171115
SP
9258 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9259 identical to gnulib mktime.
9260
a8779c28
JM
92612014-06-26 Joseph Myers <joseph@codesourcery.com>
9262
e64708de
JM
9263 * configure.ac: Do not test for machine being rs6000. Do not test
9264 for powerpc*-*soft.
9265 * configure: Regenerated.
9266
a8779c28
JM
9267 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9268 test.
9269 * configure: Regenerated.
9270 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9271 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9272 Remove configure test.
9273 * sysdeps/arm/configure: Regenerated.
9274 * sysdeps/nptl/configure.ac: Do not check
9275 libc_cv_asm_cfi_directives.
9276 * sysdeps/nptl/configure: Regenerated.
9277 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9278 * sysdeps/x86_64/nptl/configure: Remove generated file.
9279 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9280 unconditional.
9281 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9282
2aac0a86
SP
92832014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9284
059bf913
SP
9285 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9286 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9287 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9288 it is defined.
9289
4cf5b6d0
SP
9290 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9291 instead of whether it is defined.
9292 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9293 * sysdeps/hppa/dl-machine.h: Likewise.
9294 * sysdeps/ia64/dl-machine.h: Likewise.
9295 * sysdeps/m68k/dl-machine.h: Likewise.
9296 * sysdeps/microblaze/dl-machine.h: Likewise.
9297 * sysdeps/mips/dl-machine.: Likewise.
9298 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9299 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9300 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9301 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9302 * sysdeps/sh/dl-machine.h: Likewise.
9303 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9304 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9305 * sysdeps/tile/dl-machine.h: Likewise.
9306 * sysdeps/x86_64/dl-machine.h: Likewise.
9307
2aac0a86
SP
9308 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9309 code.
9310 (verify_persistent_db): Likewise.
9311
6ad2df0b
RM
93122014-06-26 Roland McGrath <roland@hack.frob.com>
9313
d8a483f3
RM
9314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9315 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9319 Moved ...
9320 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9321 ... here.
9322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9323 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9325 Identical file removed.
9326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9327 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9329 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9331 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9333 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9335 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9337 Moved ...
9338 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9340 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9342 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9344 Moved ...
9345 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9347 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9349 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9351 Identical file removed.
9352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9353 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9355 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9357 Moved ...
9358 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9359 ... here.
9360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9361 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9363 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9365 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9367 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9369 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9371 Moved ...
9372 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9374 Moved ...
9375 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9377 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9379 Moved ...
9380 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9382 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9383
52ae23b4
RM
9384 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9385 folded into ...
9386 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9387 * sysdeps/unix/sysv/linux/s390/Versions
9388 (libpthread: GLIBC_2.19): New version set.
9389 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9390 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9391 (librt: GLIBC_2.3.3): New version set.
9392 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9393 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9394 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9395 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9396 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9397 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9398 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9399 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9400 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9401 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9402 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9403 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9404 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9405 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9406 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9407 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9408 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9409 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9410 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9411 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9412 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9413 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9414 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9415 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9416 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9417 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9418 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9419 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9420 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9421 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9422 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9423 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9424 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9425 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9426 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9427 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9428 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9429 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9430 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9431 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9432 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9434 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9435 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9436 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9437
39507e4a
RM
9438 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9439 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9440 (__libc_vfork): Define the function under this name.
9441 [!NOT_IN_libc] (__vfork): Make this an alias.
9442 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9443 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9444 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9445 (__libc_vfork): Define the function under this name.
9446 [!NOT_IN_libc] (__vfork): Make this an alias.
9447 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9448 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9449 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9450 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9451 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9452 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9453
e549ee56
RM
9454 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9455 code that was previously under [RESET_PID].
9456 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9457 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9458 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9459
6ad2df0b
RM
9460 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9461 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9462 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9463 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9464 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9465 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9466 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9467 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9468 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9469 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9470 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9471 Moved ...
9472 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9473 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9474 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9476 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9477 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9478 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9479 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9480 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9481 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9482 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9483 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9484 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9485 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9486 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9487 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9488 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9489 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9490 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9491 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9492 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9493 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9494 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9495 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9496 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9497 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9498 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9499 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9500 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9501
7c1c1d8e
RM
95022014-06-25 Roland McGrath <roland@hack.frob.com>
9503
9504 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9505 that was previously under [RESET_PID].
9506 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9507
3e239be6
JM
95082014-06-25 Joseph Myers <joseph@codesourcery.com>
9509
74385da5
JM
9510 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9511 not undefine and redefine.
9512 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9513 [O_CLOEXEC]: Make code unconditional.
9514 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9516 <kernel-features.h>.
9517 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9518 conditional variable definition.
9519 (shm_open) [O_CLOEXEC]: Make code unconditional.
9520 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9521 code.
9522
c2570a0b
JM
9523 * configure.ac (USE_REGPARMS): Don't define here.
9524 * configure: Regenerated.
9525 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9526 * sysdeps/i386/configure: Regenerated.
9527
11b076bb
JM
9528 * nptl/createthread.c: Don't include kernel-features.h.
9529 * nptl/pthread_cancel.c: Likewise.
9530 * nptl/pthread_condattr_setclock.c: Likewise.
9531 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9532 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9533 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9534 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9535 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9536 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9537 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9538 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9539 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9540 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9541 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9542 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9543 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9544 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9545 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9546 * nscd/gai.c: Likewise.
9547 * nss/nss_db/db-open.c: Likewise.
9548 * sysdeps/generic/ldsodefs.h: Likewise.
9549 * sysdeps/sh/nptl/tls.h: Likewise.
9550 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9551 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9552 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9553 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9554 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9555 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9556 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9557 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9558 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9559 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9560 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9561 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9562 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9563 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9564 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9565 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9566 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9567 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9568 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9569 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9570 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9571 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9572 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9573 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9575 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9576 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9577 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9578 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9579 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9580 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9581 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9582 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9583 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9584 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9585 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9586 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9587 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9588 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9589 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9590 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9591 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9592 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9593 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9594 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9595 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9596 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9597 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9598 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9599 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9600 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9601 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9602 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9603 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9604 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9605 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9606 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9607 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9630 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9631 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9632 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9633 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9634 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9635 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9636 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9637 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9638 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9639 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9640 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9641 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9642 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9643 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9644 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9645 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9647 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9648 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9649 * sysdeps/unix/sysv/linux/system.c: Likewise.
9650 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9651 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9652 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9653 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9654 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9655 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9656 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9657
92072d57
JM
9658 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9659 * configure: Regenerated.
9660 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9661
3e239be6
JM
9662 * configure.ac (base_machine): Do not set specially for particular
9663 machines here.
9664 * configure: Regenerated.
9665 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9666 settings from configure.ac.
9667 * sysdeps/i386/preconfigure: New file.
9668 * sysdeps/s390/preconfigure: Likewise.
9669 * sysdeps/sh/preconfigure: Likewise.
9670 * sysdeps/sparc/preconfigure: Likewise.
9671
06d50baa
RM
96722014-06-25 Roland McGrath <roland@hack.frob.com>
9673
74836003
RM
9674 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9675 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9676 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9677 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9678 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9679 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9680 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9681 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9682 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9683 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9684 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9685 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9686 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9687 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9688 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9689 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9690 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9691 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9692 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9693
9694 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9695 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9696 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9697 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9698 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9699 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9700 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9701 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9702 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9703 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9704 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9705 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9706 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9707 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9708 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9709 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9710 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9711 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9712 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9713 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9714 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9715 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9716 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9717 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9718 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9719 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9720 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9721 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9722 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9723 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9724 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9725 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9726 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9727 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9728 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9729 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9730 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9731 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9732
06d50baa
RM
9733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9734 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9736 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9738 Moved ...
9739 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9740 ... here.
9741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9742 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9744 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9746 Moved ...
9747 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9749 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9751 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9753 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9755 Moved ...
9756 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9758 Moved ...
9759 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9761 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9763 Moved ...
9764 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9766 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9768 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9770 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9772 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9774 Moved ...
9775 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9776 ... here.
9777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9778 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9780 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9782 Moved ...
9783 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9785 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9791 Moved ...
9792 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9794 Moved ...
9795 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9799 Moved ...
9800 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9802 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9804 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9805
a4ccbc9b
JM
98062014-06-25 Joseph Myers <joseph@codesourcery.com>
9807
0828edbf
JM
9808 * timezone/checktab.awk: Update from tzcode 2014e.
9809 * timezone/private.h: Likewise.
9810 * timezone/tzfile.h: Likewise.
9811 * timezone/zdump.c: Likewise.
9812 * timezone/zic.c: Likewise.
9813
a4ccbc9b
JM
9814 * sysdeps/unix/sysv/linux/kernel-features.h
9815 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9816 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9817 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9818 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9819 Remove conditional code.
9820
9aea0cb8
WN
98212014-06-25 Will Newton <will.newton@linaro.org>
9822
9823 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9824 (_dl_arm_cap_flags): Add HWCAP2 values.
9825 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9826 (_DL_HWCAP_COUNT): Increase to 37.
9827 (_DL_HWCAP_LAST): New define.
9828 (_DL_HWCAP2_LAST): New define.
9829 (_dl_procinfo): Add support for printing
9830 AT_HWCAP2 entries.
9831 (_dl_string_hwcap): Use _dl_hwcap_string.
9832
6eaa65ce
AZ
98332014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9834
9835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9836
0f5b7185
JM
98372014-06-25 Joseph Myers <joseph@codesourcery.com>
9838
cfd2ea50
JM
9839 * README: Do not mention ports directory.
9840
cecf2ed4
JM
9841 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9842 Remove macro.
9843 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9844 <kernel-features.h>.
9845 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9846 conditional variable definition.
9847 (__futimes): Update comment.
9848 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9849 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9850
a638de82
JM
9851 [BZ #16560]
9852 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9853 arguments close to 0.
9854 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9855 Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9857 Likewise.
9858 * math/auto-libm-test-in: Add more tests of exp10.
9859 * math/auto-libm-test-out: Regenerated.
9860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9861
0f5b7185
JM
9862 * sysdeps/unix/sysv/linux/kernel-features.h
9863 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9864 * sysdeps/unix/sysv/linux/readv.c: Do not include
9865 <kernel-features.h>.
9866 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9867 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9868 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9869 unconditional.
9870 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9871 conditional code.
9872 * sysdeps/unix/sysv/linux/writev.c: Do not include
9873 <kernel-features.h>.
9874 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9875 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9876 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9877 unconditional.
9878 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9879 conditional code.
9880
c7aec4be
WN
98812014-06-25 Will Newton <will.newton@linaro.org>
9882
9883 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9884 comment changes throughout the file. Remove checks
9885 for HAVE_*_H definitions that are not required.
9886 (__gen_tempname): Call abort if an unknown kind value is
9887 passed.
9888
c5241f95
AS
98892014-06-25 Andreas Schwab <schwab@suse.de>
9890
9891 [BZ #17086]
9892 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9893 scalbln, scalblnf, scalblnl in libc.
9894
911422da
SP
98952014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9896
9897 [BZ #17086]
9898 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9899 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9900 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9901
0d749bbe
RM
99022014-06-24 Roland McGrath <roland@hack.frob.com>
9903
9904 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9905 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9906 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9907 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9908 Update #include.
9909 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9910 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9911 Update #include.
9912 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9913 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9914 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9915 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9916 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9917 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9918 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9919 * sysdeps/x86/bits/semaphore.h: ... here.
9920 * sysdeps/x86/nptl/elide.h: Moved ...
9921 * sysdeps/x86/elide.h: ... here.
9922 * sysdeps/x86_64/nptl/Implies: File removed.
9923 * sysdeps/i386/nptl/Implies: File removed.
9924
0ea5d373
JM
99252014-06-24 Joseph Myers <joseph@codesourcery.com>
9926
4060283d
JM
9927 [BZ #16539]
9928 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9929 return the argument for normal arguments with exponent below -64.
9930 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9931 Likewise.
9932 * math/auto-libm-test-in: Add another test of expm1.
9933 * math/auto-libm-test-out: Regenerated.
9934
e7dd3c8c
JM
9935 [BZ #16287]
9936 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9937 calling __erfcl for arguments at least 16.
9938 * math/auto-libm-test-in: Add more tests of erf.
9939 * math/auto-libm-test-out: Regenerated.
9940
0ea5d373
JM
9941 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9942 individual architectures.
9943 * sysdeps/unix/sysv/linux/configure: Regenerated.
9944 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9945 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9946 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9947 (ldd_rewrite_script): Define variable.
9948 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9950 file.
9951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9952 generated file.
9953 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9954 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9955 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9956 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9957 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9958 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9959 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9960 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9961
2307e126
SP
99622014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9963
9964 [BZ #17084]
9965 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9966 Rename member __data.d to __data.__elision_data.
9967
c0a4ed77
W
99682014-06-24 Wilco <wdijkstr@arm.com>
9969
9970 * NEWS: Add 16918 to fixed bug list.
9971
b8c00573
W
99722014-06-24 Wilco <wdijkstr@arm.com>
9973
9974 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9975
b5570d92
W
99762014-06-24 Wilco <wdijkstr@arm.com>
9977
9978 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9979 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9980 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9981 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9982 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9983 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9984 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9985 Use _FPU_MASK_RM.
9986
947bdca2
W
99872014-06-24 Wilco <wdijkstr@arm.com>
9988
9989 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9990
00f669ed
W
99912014-06-24 Wilco <wdijkstr@arm.com>
9992
9993 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9994 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9995 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9996 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9997
db59bad3
W
99982014-06-24 Wilco <wdijkstr@arm.com>
9999
10000 [BZ #16918]
10001 * sysdeps/arm/feupdateenv.c (feupdateenv):
10002 Rewrite to reduce FPSCR accesses and fix return value.
10003
001f7b77
W
100042014-06-24 Wilco <wdijkstr@arm.com>
10005
10006 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10007 Optimize to avoid unnecessary FPSCR writes.
10008 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10009 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10010 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10011 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10012
4841e6a6
W
100132014-06-24 Wilco <wdijkstr@arm.com>
10014
10015 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10016 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10017 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10018 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10019 Call libc_fetestexcept_vfp.
10020 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10021 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10022 __SOFTFP__ ifdef so that they can be built for softfp.
10023
0813022c
SP
100242014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10025
08e5862f
SP
10026 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10027 argument type signed char.
10028
0813022c
SP
10029 * Makerules (check-abi): Dump diff of symlist if the test
10030 fails.
10031
3fc7236a
RM
100322014-06-23 Roland McGrath <roland@hack.frob.com>
10033
aba8ef95
RM
10034 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10035 using abort.
10036
3fc7236a
RM
10037 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10038 Remove unused variable ST.
10039
4da6db51
JM
100402014-06-23 Joseph Myers <joseph@codesourcery.com>
10041
4648909d
JM
10042 [BZ #16354]
10043 [BZ #17061]
10044 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10045 small arguments before calling __expm1.
10046 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10047 small arguments before calling __expm1f.
10048 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10049 small arguments before calling __expm1l.
10050 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10051 Likewise.
10052 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10053 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10054 spurious underflow for some cosh tests.
10055 * math/auto-libm-test-out: Regenerated.
10056 * sysdeps/i386/fpu/libm-test-ulps: Update.
10057
46a3d3c7
JM
10058 [BZ #17050]
10059 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10060 (__ieee754_y1): Set errno if return value overflows.
10061 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10062 (__ieee754_y1f): Set errno if return value overflows.
10063 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10064 (__ieee754_y1l): Set errno if return value overflows.
10065 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10066 (__ieee754_y1l): Set errno if return value overflows.
10067 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10068 * math/auto-libm-test-out: Regenerated.
10069
863893ec
JM
10070 * math/gen-auto-libm-tests.c: Document use of
10071 ignore-zero-inf-sign.
10072 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10073 (input_flags): Add ignore-zero-inf-sign.
10074 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10075 * math/gen-libm-test.pl (generate_testfile): Handle
10076 ignore-zero-inf-sign.
10077 * math/auto-libm-test-in: Mark some cpow tests with
10078 ignore-zero-inf-sign and some with xfail-rounding.
10079 * math/auto-libm-test-out: Regenerated.
10080 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10081 * sysdeps/i386/fpu/libm-test-ulps: Update.
10082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10083
4da6db51
JM
10084 [BZ #16315]
10085 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10086 overflowing or underflowing operations take place with sign of
10087 result.
10088 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10089 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10090 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10091 (__ieee754_pow): Recompute overflowing and underflowing results in
10092 original rounding mode.
10093 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10094 (__powl_helper): Allow negative argument X and scale negated value
10095 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10096 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10097 overflowing or underflowing operations take place with sign of
10098 result.
10099 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10100 Include <math.h>.
10101 * math/auto-libm-test-in: Add more tests of pow.
10102 * math/auto-libm-test-out: Regenerated.
10103 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10104 (pow_tonearest_test_data): Remove.
10105 (pow_test_tonearest): Likewise.
10106 (pow_towardzero_test_data): Likewise.
10107 (pow_test_towardzero): Likewise.
10108 (pow_downward_test_data): Likewise.
10109 (pow_test_downward): Likewise.
10110 (pow_upward_test_data): Likewise.
10111 (pow_test_upward): Likewise.
10112 (main): Don't call removed functions.
10113 * sysdeps/i386/fpu/libm-test-ulps: Update.
10114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10115
5686b236
RM
101162014-06-23 Roland McGrath <roland@hack.frob.com>
10117
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10119 Moved ...
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10122 Moved ...
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10125 Moved ...
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10128 Moved ...
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10131 File removed.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10133 File removed.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10135 File removed.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10137 File removed.
10138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10139 File removed.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10141 File removed.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10143 File removed.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10145 File removed.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10147 File removed.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10149 File removed.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10151 File removed.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10153 File removed.
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10155 Moved ...
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10158 Moved ...
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10160 ... here.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10162 Moved ...
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10165 Moved ...
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10168 Moved ...
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10171 Moved ...
10172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10174 Moved ...
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10177 Moved ...
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10180 Moved ...
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10184 ... here.
10185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10186 Moved ...
10187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10189 Moved ...
10190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10191 ... here.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10193 Moved ...
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10195 ... here.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10197 Moved ...
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10199 ... here.
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10201 Moved ...
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10204 Moved ...
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10209 Moved ...
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10211 ... here.
10212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10213 Moved ...
10214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10215 ... here.
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10217 Moved ...
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10220 Moved ...
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10223 Moved ...
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10226 Moved ...
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10229 Moved ...
10230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10231 ... here.
10232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10233 Moved ...
10234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10236 Moved ...
10237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10239 Moved ...
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10242 Moved ...
10243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10247 Moved ...
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10250 Moved ...
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10253 Moved ...
10254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10255 ... here.
10256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10257 Moved ...
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10259 ... here.
10260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10261 Moved ...
10262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10263 ... here.
10264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10265 Moved ...
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10268 Moved ...
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10271 Moved ...
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10274 Moved ...
10275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10276 ... here.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10278 Moved ...
10279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10280 ... here.
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10282 Moved ...
10283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10284 ... here.
10285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10286 Moved ...
10287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10289 Moved ...
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10291
e6d90d67
WD
102922014-06-23 Will Newton <will.newton@linaro.org>
10293 Wilco <wdijkstr@arm.com>
10294
10295 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10296 implementation. Include get-rounding-mode.h.
10297 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10298 [!libc_feholdsetround_noex_ctx]: Define
10299 libc_feholdsetround_noex_ctx.
10300 [!libc_feholdsetround_noexf_ctx]: Define
10301 libc_feholdsetround_noexf_ctx.
10302 [!libc_feholdsetround_noexl_ctx]: Define
10303 libc_feholdsetround_noexl_ctx.
10304 (libc_feholdsetround_ctx): New function.
10305 (libc_feresetround_ctx): New function.
10306 (libc_feholdsetround_noex_ctx): New function.
10307 (libc_feresetround_noex_ctx): New function.
10308
d42df555
RM
103092014-06-23 Roland McGrath <roland@hack.frob.com>
10310
88a46474
RM
10311 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10312 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10313 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10314 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10315 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10316 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10317
15bed472
RM
10318 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10319 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10320 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10321 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10322 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10323 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10324 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10325 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10326 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10327 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10329 Moved ...
10330 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10331 ... here.
10332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10333 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10334 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10335 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10336 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10337 Moved ...
10338 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10344 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10346 Moved ...
10347 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10349 Moved ...
10350 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10351 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10352 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10353 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10354 Moved ...
10355 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10357 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10358 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10359 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10360 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10361 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10362 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10365 Moved ...
10366 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10367 ... here.
10368 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10369 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10371 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10373 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10375 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10379 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10380 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10381 Moved ...
10382 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10384 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10386 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10388 Moved ...
10389 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10393 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10394
d42df555
RM
10395 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10396 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10397 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10398 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10399 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10400 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10402 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10403 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10404 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10405 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10406 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10408 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10409 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10410 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10412 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10413 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10414 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10415 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10416 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10417 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10418 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10419 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10420 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10421 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10422 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10423
76e5216e
JM
104242014-06-23 Joseph Myers <joseph@codesourcery.com>
10425
10426 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10427 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10428 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10429 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10430 (IPV6_PMTUDISC_INTERFACE): Likewise.
10431 (IPV6_PMTUDISC_OMIT): Likewise.
10432
7a81cbcc
AS
104332014-06-23 Andreas Schwab <schwab@suse.de>
10434
10435 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10436 Remove unused errout label.
10437
db224009
AZ
104382014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10439
10440 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10441 macro: hardware supports Vector Crypto instructions.
10442
f393b4aa
WN
104432014-06-23 Will Newton <will.newton@linaro.org>
10444
cc7d0447
WN
10445 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10446 rather than __builtin_expect.
10447
d6d06225
WN
10448 * elf/dl-lookup.c (undefined_msg): Remove variable.
10449 (_dl_lookup_symbol_x): Replace undefined_msg with string
10450 literal.
10451
f393b4aa
WN
10452 * elf/dl-lookup.c (do_lookup_unique): New function.
10453 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10454 to a separate function.
10455
ac60763e
AS
104562014-06-23 Andreas Schwab <schwab@suse.de>
10457
10458 [BZ #17079]
10459 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10460 before reading the next line.
10461
c5c13355
WN
104622014-06-23 Will Newton <will.newton@linaro.org>
10463
10464 * test-skeleton.c (signal_handler): Use printf and %m
10465 rather than perror. Use printf rather than fprintf to
10466 stderr. Use puts rather than fputs to stderr.
10467 (main): Likewise.
10468
bd3675f9
LC
104692014-06-22 Ludovic Courtès <ludo@gnu.org>
10470
10471 * nscd/nscd.c (thread_info_t): Remove typedef.
10472 (thread_info): Remove variable.
10473
d03efb2f
AM
104742014-06-21 Allan McRae <allan@archlinux.org>
10475
10476 * NEWS: Mention CVE-2014-4043.
10477
bc4a86fa
RM
104782014-06-20 Roland McGrath <roland@hack.frob.com>
10479
dc9a54f8
RM
10480 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10481 * nptl/smp.h: ... here.
10482
bd7022c4
RM
10483 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10484
26ffd5e6
RM
10485 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10486 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10487 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10488 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10489
93a6d082
RM
10490 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10491 * nptl/stack-aliasing.h: New file.
10492 * sysdeps/i386/i686/stack-aliasing.h: New file.
10493 * sysdeps/i386/i686/nptl/Makefile: File removed.
10494 * sysdeps/x86_64/stack-aliasing.h: New file.
10495 * sysdeps/x86_64/nptl/Makefile
10496 (CFLAGS-pthread_create.c): Variable removed.
10497
bc4a86fa
RM
10498 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10499 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10500 old file.
10501 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10502 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10503 old file.
10504
2272ffc1
JM
105052014-06-21 Joseph Myers <joseph@codesourcery.com>
10506
10507 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10508 (__ASSUME_SIGFRAME_V2): Remove macro.
10509 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10510 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10511 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10512 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10513 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10514 Declare as function. Remove conditional macro definitions.
10515 (__default_rt_sa_restorer): Likewise.
10516 (__default_sa_restorer_v1): Remove declaration.
10517 (__default_sa_restorer_v2): Likewise.
10518 (__default_rt_sa_restorer_v1): Likewise.
10519 (__default_rt_sa_restorer_v2): Likewise.
10520 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10521 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10522 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10523
4b88139b
RM
105242014-06-20 Roland McGrath <roland@hack.frob.com>
10525
10526 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10527 (libpthread-routines): Add sysdep.
10528 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10529 * sysdeps/unix/sysv/linux/sparc/Versions
10530 (libpthread: GLIBC_2.3.3): New version set.
10531 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10532 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10533 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10534 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10535 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
10536 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10537 Moved ...
10538 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10539 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10540 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10541 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10542 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10543 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10544 * sysdeps/sparc/nptl/sem_init.c: ... here.
10545 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10546 * sysdeps/sparc/nptl/sem_post.c: ... here.
10547 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10548 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10549 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10550 * sysdeps/sparc/nptl/sem_wait.c: ... here.
10551 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10552 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10553 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10554 (libpthread-routines): Add cpu_relax.
10555 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10556 File removed.
10557 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10558 (librt: GLIBC_2.3.3): New version set.
10559 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10560 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10561 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10562 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10565 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10567 Moved ...
10568 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10569 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10570 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10572 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10574 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10575 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10576 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10577 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10578 Moved ...
10579 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10580 Update #include.
10581 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10582 Moved ...
10583 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10584 Update #include.
10585 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10586 Moved ...
10587 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10588 Update #include.
10589 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10590 Moved ...
10591 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10592 Update #include.
10593 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10594 Moved ...
10595 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10596 Update #include.
10597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10598 Moved ...
10599 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10600 Update #include.
10601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10602 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10608 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10612 Moved ...
10613 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10615 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10617 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10618
d7109027
JM
106192014-06-20 Joseph Myers <joseph@codesourcery.com>
10620
9bc6103d
JM
10621 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10622 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10623 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10624 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10625 * nscd/nscd.c: Likewise.
10626 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10627 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10628 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10629 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10630
d7109027
JM
10631 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10632 <kernel-features.h>.
10633 (init_mq_netlink): Remove conditional have_sock_cloexec
10634 definitions. Remove code conditional on have_sock_cloexec < 0.
10635 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10636 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10637 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10638 <kernel-features.h>.
10639 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10640 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10641
d92d8f8a
L
106422014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10643
10644 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10645 Add tests for memset_chk and memset.
10646
10647 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10648 with AVX2_Usable.
10649
4e6d2347
MR
106502014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10651
257ce712
MR
10652 [BZ #16046]
10653 * elf/tst-dl-iter-static.c: New file.
10654 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10655
4e6d2347
MR
10656 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10657 error.
10658
a2a76afe
JM
106592014-06-20 Joseph Myers <joseph@codesourcery.com>
10660
7fd00f99
JM
10661 * sysdeps/unix/sysv/linux/kernel-features.h
10662 (__ASSUME_F_GETOWN_EX): Remove macro.
10663 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10664 <kernel-features.h>.
10665 (miss_F_GETOWN_EX): Remove variable or macro.
10666 (do_fcntl): Do not check miss_F_GETOWN_EX.
10667 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10668
4a103975
JM
10669 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10670 Remove macro.
10671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10672 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10673 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10674
a2a76afe
JM
10675 * sysdeps/unix/sysv/linux/kernel-features.h
10676 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10677 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10678 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10679 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10680
90e5dd48
MR
106812014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10682
10683 [BZ #17075]
10684 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10685 Fix calculation of the symbol's value.
10686 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10687 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10688 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10689 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10690 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10691 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10692 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10693 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10694 (modules-names): Add `tst-armtlsdescmod',
10695 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10696 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10697 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10698 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10699 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10700 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10701 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10702 ($(objpfx)tst-armtlsdescloc): New dependency.
10703 ($(objpfx)tst-armtlsdescextnow): Likewise.
10704 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10705 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10706 TLS scheme support.
10707 * sysdeps/arm/configure: Regenerate.
10708
809fdf0d
JM
107092014-06-20 Joseph Myers <joseph@codesourcery.com>
10710
10711 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10712 (__atfct_seterrno_2): Likewise.
10713 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10714 <kernel-features.h>.
10715 (__ASSUME_ATFCTS): Do not undefine and redefine.
10716 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10717 (__have_atfcts): Remove conditional definition.
10718 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10719 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10720 unreachable if [__ASSUME_ATFCTS].
10721 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10722 not undefine and redefine.
10723 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10724 <kernel-features.h>.
10725 (faccessat) [__NR_faccessat]: Make code unconditional.
10726 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10727 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10728 <kernel-features.h>.
10729 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10730 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10731 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10732 <kernel-features.h>.
10733 (fchownat) [__NR_fchownat]: Make code unconditional.
10734 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10735 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10736 <kernel-features.h>.
10737 (futimesat) [__NR_futimesat]: Make code unconditional.
10738 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10739 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10740 <kernel-features.h>.
10741 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10742 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10743 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10744 <kernel-features.h>.
10745 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10746 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10747 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10748 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10749 <kernel-features.h>.
10750 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10751 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10752 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10753 <kernel-features.h>.
10754 (linkat) [__NR_linkat]: Make code unconditional.
10755 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10756 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10757 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10758 <kernel-features.h>.
10759 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10760 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10761 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10762 <kernel-features.h>.
10763 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10764 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10765 * sysdeps/unix/sysv/linux/openat.c: Do not include
10766 <kernel-features.h>.
10767 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10768 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10769 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10770 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10771 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10772 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10773 <kernel-features.h>.
10774 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10775 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10776 result of INLINE_SYSCALL directly, not via int variable.
10777 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10778 <kernel-features.h>.
10779 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10780 (renameat) [__NR_renameat]: Make code unconditional.
10781 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10782 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10783 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10784 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10785 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10786 (__ASSUME_ATFCTS): Do not undefine and redefine.
10787 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10788 <kernel-features.h>.
10789 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10790 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10791 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10792 <kernel-features.h>.
10793 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10794 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10795 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10796 (__ASSUME_ATFCTS): Do not undefine and redefine.
10797 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10798 <kernel-features.h>.
10799 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10800 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10801 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10802 <kernel-features.h>.
10803 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10804 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10805
224c6c51
L
108062014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10807
10808 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10809
aa6ec754
AS
108102014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10811
10812 [BZ #17069]
10813 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10814 constructed tree before returning error.
10815 * posix/bug-regexp36.c: Expand test case.
10816
d8c2869d
SL
108172014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10818
3ef6b850
SL
10819 [BZ #6803]
10820 * math/libm-test.inc (scalbln_test_date):
10821 Add errno expectations.
10822 * math/w_scalblnf.c: New File.
10823 Add wrapper which checks for setting errno to ERANGE.
10824 Add weak_alias for corresponding scalbln function.
10825 * math/w_scalbln.c: Likewise.
10826 * math/w_scalblnl.c: Likewise.
10827 * math/Makefile (libm-calls): Add w_scalbln.
10828 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10829 Remove weak_alias for corresponding scalbln function.
10830 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10831 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10832 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10834 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10835 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10836 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10837 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10838 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10839 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10840 Remove long_double_symbol for scalblnl function in libm, libc.
10841 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10842 Add wrapper which checks for setting errno to ERANGE.
10843 Add long_double_symbol for scalblnl function in libm, libc.
10844 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10845 Remove long_double_symbol for scalblnl in libm.
10846 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10847 Add wrapper which checks for setting errno to ERANGE.
10848 Add long_double_symbol for scalblnl function in libm.
10849 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10850 Do not use wrapper because of own implementation.
10851
c8daec5c
L
108522014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10853
10854 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10855 3 bytes for __pad1 for x32.
10856 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10857
5c74e47c
LM
108582014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10859 H.J. Lu <hongjiu.lu@intel.com>
10860
10861 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10862 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10863 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10864 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10865 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10866
4d43ef1e
AS
108672014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10868
10869 [BZ #17069]
10870 * posix/regcomp.c (parse_expression): Deallocate partially
10871 constructed tree before returning error.
10872 * posix/Makefile.c (tests): Add bug-regex36.
10873 (generated): Add bug-regex36.mtrace.
10874 (tests-special): Add $(objpfx)bug-regex36-mem.out
10875 (bug-regex36-ENV): New variable.
10876 ($(objpfx)bug-regex36-mem.out): New rule.
10877 * posix/bug-regex36.c: New file.
10878
51a7380b
WN
108792014-06-19 Will Newton <will.newton@linaro.org>
10880
10881 * malloc/malloc.c (systrim): If extra is zero then return
10882 early.
10883
91b84fe5
SP
108842014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10885
10886 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10887
f940b965
RE
108882014-06-19 Richard Earnshaw <rearnsha@arm.com>
10889
10890 * sysdeps/aarch64/strchr.S: New file.
10891
4ba7a00f
JM
108922014-06-18 Joseph Myers <joseph@codesourcery.com>
10893
10894 [BZ #17022]
10895 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10896 from arguments -2 or below.
10897 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10898 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10899
b3a9f56b
AS
109002014-06-18 Andreas Schwab <schwab@suse.de>
10901
10902 [BZ #17062]
10903 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10904 of a bracket expr not to run off the end of the string.
10905 * posix/Makefile (tests): Add tst-fnmatch3.
10906 * posix/tst-fnmatch3.c: New file.
10907
85d89278
JM
109082014-06-18 Joseph Myers <joseph@codesourcery.com>
10909
10910 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10911 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10912 [$(cross-compiling) = no]: Likewise.
10913 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10914 [$(cross-compiling) = no]: Likewise.
10915
754c5a08
RS
109162014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10917
10918 [BZ #17031]
10919 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10920 double, adjusted for any remainder from the high double.
10921 * math/libm-test.inc (nearbyint): Add tests.
10922 (rint): Likewise.
10923
556f529d
AZ
109242014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10925
10926 * nptl/sysdeps/powerpc/Makefile: Moved ...
10927 * sysdeps/powerpc/nptl/Makefile: ... here.
10928 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10929 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10930 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10931 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10932 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10933 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10934 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10935 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10936 * nptl/sysdeps/powerpc/tls.h: Moved ...
10937 * sysdeps/powerpc/nptl/tls.h: ... here.
10938
91c03c53
JM
109392014-06-16 Joseph Myers <joseph@codesourcery.com>
10940
10941 [BZ #16681]
10942 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10943 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10944 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10945 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10946 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10947 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10948 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10949 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10950 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10951
a76e63c5
AS
109522014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10953
10954 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10955
f2f6d82f
AS
109562014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10957
ea8a15f6
AS
10958 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10959 defined operator.
10960
f2f6d82f
AS
10961 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10962 $TIMEOUTFACTOR.
10963
a7291117
FW
109642014-06-16 Florian Weimer <fweimer@redhat.com>
10965
10966 [BZ #17058]
10967 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10968 non-executed part of the test.
10969
3d7c00e3
AS
109702014-06-16 Andreas Schwab <schwab@suse.de>
10971
10972 * string/bits/string2.h (strdup, strndup): Update feature guard.
10973
6957fb31
DM
109742014-06-14 David S. Miller <davem@davemloft.net>
10975
10976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10977
11b9e55b
AS
109782014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10979
1d2a0492
AS
10980 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10981 that was previously under [RESET_PID].
10982 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10983
11b9e55b
AS
10984 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10985 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10986 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10987 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10988 (__libc_vfork): New strong alias.
10989 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10990
0f6901d0
AK
109912014-06-14 Andi Kleen <ak@linux.intel.com>
10992
10993 * sysdeps/generic/elide.h: New file.
10994
38bbbb9f
SL
109952014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10996
10997 * Makefile (installed-headers): Adjust path of pthread.h header.
10998
45193bb8
RM
109992014-06-13 Roland McGrath <roland@hack.frob.com>
11000
9a25fd1e
RM
11001 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11002 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11003 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11004 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11005
4004f7e4
RM
11006 * nptl/sysdeps/s390/Makefile: Moved ...
11007 * sysdeps/s390/nptl/Makefile: ... here.
11008 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11009 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11010 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11011 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11012 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11013 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11014 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11015 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11016 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11017 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11018 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11019 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11020 * nptl/sysdeps/s390/tls.h: Moved ...
11021 * sysdeps/s390/nptl/tls.h: ... here.
11022
45193bb8
RM
11023 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11024 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11025
f6fdf533
DM
110262014-06-13 David S. Miller <davem@davemloft.net>
11027
11028 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11031 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11033 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11035 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11036 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11037 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11038 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11039 Remove RESET_PID cpp guards.
11040 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11041 Remove RESET_PID cpp guards.
11042 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11043
f5d71e14
AS
110442014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11045
11046 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11047 __sp to uintptr_t.
11048
b7aa8caa
AK
110492014-06-13 Andi Kleen <ak@linux.intel.com>
11050
4b266200
AZ
11051 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11052 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11053 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11054 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11055 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11056 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11057 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11058 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11059 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11060 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11062 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11063 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11064 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11065 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11066 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11067 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11068 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11069 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11070 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
11071
11072 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
11073 (pthread_rwlock_rdlock): Add elision.
11074 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11075 (pthread_rwlock_wrlock): Add elision.
11076 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11077 (pthread_rwlock_trywrlock): Add elision.
11078 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11079 (pthread_rwlock_tryrdlock): Add elision.
11080 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11081 (pthread_rwlock_tryrdlock): Add elision unlock.
11082 * nptl/sysdeps/pthread/pthread.h:
11083 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11084 (PTHREAD_RWLOCK_INITIALIZER,
11085 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11086 Handle new elision field.
11087 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11088 * sysdeps/arm/nptl/bits/pthreadtypes.h
11089 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11090 * sysdeps/sh/nptl/bits/pthreadtypes.h
11091 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11092 * sysdeps/tile/nptl/bits/pthreadtypes.h
11093 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11094 * sysdeps/a/nptl/bits/pthreadtypes.h
11095 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11096 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11097 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11098 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11099 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11100 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11102 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11104 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11106 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11108 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11110 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11112 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11113 (elision_init): Set try_xbegin to zero when no RTM.
11114 * sysdeps/x86/nptl/bits/pthreadtypes.h
11115 (pthread_rwlock_t): Change __pad1 to __rwelision.
11116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 11117
a832bdd3
AK
111182014-06-13 Andi Kleen <ak@linux.intel.com>
11119
11120 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11121 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11122 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11123 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11124
995a46bb
MI
111252014-06-13 Meador Inge <meadori@codesourcery.com>
11126
11127 [BZ #16996]
03ed7738 11128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
11129 that the cached result has been set before returning it.
11130
45262aee
RM
111312014-06-12 Roland McGrath <roland@hack.frob.com>
11132
febf6cc5
RM
11133 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11134 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11135 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11136 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11137 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11138 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11139
e2682246
RM
11140 * nptl/sysdeps/sparc/Makefile: Moved ...
11141 * sysdeps/sparc/nptl/Makefile: ... here.
11142 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11143 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11144 * nptl/sysdeps/sparc/tls.h: Moved ...
11145 * sysdeps/sparc/nptl/tls.h: ... here.
11146 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11147 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11148 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11149 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11150 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11151 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11152 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11153 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11154 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11155 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11156 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11157 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11158 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11159 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11160 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11161 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11162 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11163 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11164 Update #include.
11165 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11166 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11167 Update #include.
11168 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11169 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11170 Update #include.
11171 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11172 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11173 Update #include.
11174
b0725f43
RM
11175 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11176
b14368b8
RM
11177 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11178 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11179
c5620eb3
RM
11180 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11181 (struct list_links): Type removed.
11182 (struct thread_node, struct timer_node): Replace struct list_links
11183 with struct list_head.
11184 (list_unlink_ip): Likewise.
11185 * sysdeps/pthread/timer_routines.c
11186 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11187 (list_append, list_insbefore): Likewise.
11188 (list_init): Function removed.
11189 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
11190 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11191 * sysdeps/pthread/Makefile: ... here, new file.
11192
11193 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11194 * sysdeps/nptl/Implies: ... here.
11195 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11196 * nptl/sysdeps/pthread/list.h: Moved ...
11197 * include/list.h: ... here.
11198 * nptl/sysdeps/pthread/createthread.c: Moved ...
11199 * nptl/createthread.c: ... here.
11200 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11201 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11202 * nptl/pt-longjmp.c: ... here.
11203 * nptl/sysdeps/pthread/Makefile: Moved ...
11204 * sysdeps/nptl/Makefile: ... here.
11205 * nptl/sysdeps/pthread/Subdirs: Moved ...
11206 * sysdeps/nptl/Subdirs: ... here.
11207 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11208 * sysdeps/nptl/aio_misc.h: ... here.
11209 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11210 * sysdeps/nptl/bits/libc-lock.h: ... here.
11211 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11212 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11213 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11214 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11215 * nptl/sysdeps/pthread/configure: Moved ...
11216 * sysdeps/nptl/configure: ... here.
11217 * nptl/sysdeps/pthread/configure.ac: Moved ...
11218 * sysdeps/nptl/configure.ac: ... here.
11219 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11220 * sysdeps/nptl/gai_misc.h: ... here.
11221 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11222 * sysdeps/nptl/librt-cancellation.c: ... here.
11223 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11224 * sysdeps/nptl/malloc-machine.h: ... here.
11225 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11226 * sysdeps/nptl/pthread-functions.h: ... here.
11227 * nptl/sysdeps/pthread/pthread.h: Moved ...
11228 * sysdeps/nptl/pthread.h: ... here.
11229 * nptl/sysdeps/pthread/setxid.h: Moved ...
11230 * sysdeps/nptl/setxid.h: ... here.
11231 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11232 * sysdeps/nptl/sigfillset.c: ... here.
11233 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11234 * sysdeps/nptl/tcb-offsets.h: ... here.
11235 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11236 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11237 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11238 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11239 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11240 * sysdeps/pthread/allocalim.h: ... here.
11241 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11242 * sysdeps/pthread/bits/sigthread.h: ... here.
11243 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11244 * sysdeps/pthread/flockfile.c: ... here.
11245 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11246 * sysdeps/pthread/ftrylockfile.c: ... here.
11247 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11248 * sysdeps/pthread/funlockfile.c: ... here.
11249 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11250 * sysdeps/pthread/posix-timer.h: ... here.
11251 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11252 * sysdeps/pthread/timer_create.c: ... here.
11253 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11254 * sysdeps/pthread/timer_delete.c: ... here.
11255 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11256 * sysdeps/pthread/timer_getoverr.c: ... here.
11257 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11258 * sysdeps/pthread/timer_gettime.c: ... here.
11259 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11260 * sysdeps/pthread/timer_routines.c: ... here.
11261 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11262 * sysdeps/pthread/timer_settime.c: ... here.
11263 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11264 * sysdeps/pthread/tst-timer.c: ... here.
11265 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11266 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11267
e876b090
RM
11268 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11269 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11270
f6b07b3d
RM
11271 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11272 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11273 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11274 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11275 Update #include target.
11276 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11277 * sysdeps/i386/i686/nptl/Makefile: ... here.
11278 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11279 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11280 Update #include target.
11281 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11282 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11283 * nptl/sysdeps/i386/Makefile: Moved ...
11284 * sysdeps/i386/nptl/Makefile: ... here.
11285 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11286 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11287 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11288 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11289 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11290 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11291 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11292 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11293 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11294 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11295 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11296 * nptl/sysdeps/i386/tls.h: Moved ...
11297 * sysdeps/i386/nptl/tls.h: ... here.
11298
45262aee
RM
11299 * sysdeps/sh/Makefile [$(subdir) = csu]
11300 (gen-as-const-headers): Add tcb-offsets.sym.
11301 * nptl/sysdeps/sh/Makefile: File removed.
11302 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11303 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11304 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11305 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11306 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11307 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11308 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11309 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11310 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11311 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11312 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11313 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11314 * nptl/sysdeps/sh/tls.h: Moved ...
11315 * sysdeps/sh/nptl/tls.h: ... here.
11316 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11317 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11319 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11320 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11321 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11323 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11325 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11326 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11327 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11329 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11331 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11333 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11335 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11337 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11339 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11341 Moved ...
11342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11344 Moved ...
11345 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11347 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11350 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11351 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11352 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11353 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11354 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11355 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11356 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11357 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11358 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11359 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11360 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11361 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11362 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11363 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11364
35a5e3e3
SL
113652014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11366
11367 * posix/spawn_faction_addopen.c: Include string.h.
11368
14642b85
RM
113692014-06-11 Roland McGrath <roland@hack.frob.com>
11370
11371 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11372 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11373 * nptl/sysdeps/x86_64/Makefile: Moved ...
11374 * sysdeps/x86_64/nptl/Makefile: ... here.
11375 * nptl/sysdeps/x86_64/configure: Moved ...
11376 * sysdeps/x86_64/nptl/configure: ... here.
11377 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11378 * sysdeps/x86_64/nptl/configure.ac: ... here.
11379 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11380 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11381 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11382 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11383 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11384 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11385 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11386 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11387 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11388 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11389 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11390 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11391 * nptl/sysdeps/x86_64/tls.h: Moved ...
11392 * sysdeps/x86_64/nptl/tls.h: ... here.
11393 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11394 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11395 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11396 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11397
11398 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11399
31c44fea
AZ
114002014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11401
11402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11403
e81a4f9a
JM
114042014-06-11 Joseph Myers <joseph@codesourcery.com>
11405
11406 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11407 type.
11408 [POSIX] (off_t): Likewise.
11409 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11410 [POSIX] (S_ISBLK): Require macro.
11411 [POSIX] (S_ISCHR): Likewise.
11412 [POSIX] (S_ISDIR): Likewise.
11413 [POSIX] (S_ISFIFO): Likewise.
11414 [POSIX] (S_ISREG): Likewise.
11415 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11416 optional-macro.
11417 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11418 type.
11419 [POSIX] (time_t): Likewise.
11420 [POSIX] (timer_t): Likewise.
11421
89e435f3
FW
114222014-06-11 Florian Weimer <fweimer@redhat.com>
11423
11424 [BZ #17048]
11425 * posix/spawn_int.h (struct __spawn_action): Make the path string
11426 non-const to support deallocation.
11427 * posix/spawn_faction_addopen.c
11428 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11429 * posix/spawn_faction_destroy.c
11430 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11431 path in all spawn_do_open actions.
11432 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11433 posix_spawn_file_actions_addopen.
11434
c3a2ebe1
CM
114352014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11436
11437 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11438 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11439 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11440 conditional code always true.
11441 (__libc_vfork): New alias.
11442
9503784a
RM
114432014-06-11 Roland McGrath <roland@hack.frob.com>
11444
c9cab3d2
RM
11445 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11446 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11447
d3996c79
RM
11448 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11449
ba5ec611
RM
11450 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11451 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11452
f12b4814
RM
11453 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11454 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11455
9503784a
RM
11456 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11457 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11458
e23d3d26
VR
114592014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11460
11461 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11462 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11463 multiarch strcmp for PPC64.
11464 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11465 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11467 multiarch optimizations.
11468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11469 (__libc_ifunc_impl_list): Likewise.
11470
42b1161e
SP
114712014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11472
11473 * benchtests/scripts/validate_benchout.py: New script.
11474 * benchtests/Makefile (bench-func): Call it.
11475 * benchtests/scripts/benchout.schema.json: New file.
11476
2d0fc4dc
CM
114772014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11478
4a594c34
AZ
11479 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11480 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11481 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11482 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11483 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11484 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11485 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11486 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11487 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11488 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11489 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11490 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11491 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11492 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11493 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11494 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 11496 Moved ...
4a594c34 11497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 11498 ... here.
4a594c34 11499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 11500 Moved ...
4a594c34
AZ
11501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 11503 Moved ...
4a594c34 11504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 11505 ... here.
4a594c34 11506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 11507 Moved ...
4a594c34 11508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 11509 ... here.
4a594c34 11510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 11511 Moved ...
4a594c34
AZ
11512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 11514 Moved ...
4a594c34 11515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 11516 ... here.
4a594c34 11517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 11518 Moved ...
4a594c34 11519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 11520 ... here.
4a594c34 11521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 11522 Moved ...
4a594c34
AZ
11523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 11525 Moved ...
4a594c34 11526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 11527 ... here.
4a594c34 11528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 11529 Moved ...
4a594c34 11530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 11531 ... here.
4a594c34 11532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 11533 Moved ...
4a594c34 11534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 11535 ... here.
4a594c34 11536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 11537 Moved ...
4a594c34
AZ
11538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 11540 Moved ...
4a594c34 11541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 11542 ... here.
4a594c34 11543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 11544 Moved ...
4a594c34 11545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 11546 ... here.
4a594c34 11547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 11548 Moved ...
4a594c34 11549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 11550 ... here.
4a594c34 11551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 11552 Moved ...
4a594c34
AZ
11553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 11555 Moved ...
4a594c34 11556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 11557 ... here.
4a594c34 11558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 11559 Moved ...
4a594c34 11560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 11561 ... here.
4a594c34 11562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 11563 Moved ...
4a594c34
AZ
11564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 11566 Moved ...
4a594c34 11567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 11568 ... here.
4a594c34 11569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 11570 Moved ...
4a594c34
AZ
11571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 11573 Moved ...
4a594c34
AZ
11574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 11576 Moved ...
4a594c34 11577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 11578 ... here.
4a594c34 11579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 11580 Moved ...
4a594c34 11581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 11582 ... here.
4a594c34 11583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 11584 Moved ...
4a594c34 11585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 11586 ... here.
4a594c34 11587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 11588 Moved ...
4a594c34
AZ
11589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 11591 Moved ...
4a594c34 11592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 11593 ... here.
4a594c34 11594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 11595 Moved ...
4a594c34 11596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 11597 ... here.
4a594c34
AZ
11598 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11599 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11600 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11601 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 11603 Moved ...
4a594c34 11604 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 11605 ... here.
4a594c34
AZ
11606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11607 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11609 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11611 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11613 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11615 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11617 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11619 Moved ...
4a594c34
AZ
11620 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11622 Moved ...
4a594c34
AZ
11623 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11625 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11627 Moved ...
4a594c34
AZ
11628 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11629 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11630 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11631 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11632 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11633 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11634 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11635
0570cfed
W
116362014-06-10 Wilco <wdijkstr@arm.com>
11637
11638 * math/test-fenv-return.c: New file.
11639 * math/Makefile: Add new test test-fenv-return.
11640
f8ba1b56
JM
116412014-06-10 Joseph Myers <joseph@codesourcery.com>
11642
11643 [BZ #17042]
11644 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11645 when x - 1 is zero.
11646 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11647 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11648 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11649 0.0L for an argument of 1.0L.
11650 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11651 Likewise.
11652 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11653 value when x - 1 is zero.
11654 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11655 * sysdeps/i386/fpu/libm-test-ulps: Update.
11656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11657
2c3520d9
BO
116582014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11659
11660 [BZ #15119]
11661 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11662
acaa4d24
RM
116632014-06-09 Roland McGrath <roland@hack.frob.com>
11664
11665 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11666 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11667
962b744d
RM
116682014-06-09 Roland McGrath <roland@hack.frob.com>
11669
d752f0cc
RM
11670 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11671 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11672
34eda6d1
RM
11673 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11674 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11675
50f0a637
RM
11676 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11677 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11678
08f41f04
RM
11679 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11680 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11681
962b744d
RM
11682 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11683 if not already defined.
11684 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11685 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11686 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11687 (TLS_INIT_TP): Use it.
11688 (TLS_DEFINE_INIT_TP): New macro.
11689 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11690
09f19b05
JM
116912014-06-09 Joseph Myers <joseph@codesourcery.com>
11692
11693 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11694 constant.
11695 [POSIX] (IXANY): Likewise.
11696 [POSIX] (OLCUC): Likewise.
11697 [POSIX || POSIX2008] (CBAUD): Do not allow.
11698 [POSIX || POSIX2008] (DEFECHO): Likewise.
11699 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11700 [POSIX || POSIX2008] (ECHOKE): Likewise.
11701 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11702 [POSIX || POSIX2008] (EXTA): Likewise.
11703 [POSIX || POSIX2008] (EXTB): Likewise.
11704 [POSIX || POSIX2008] (FLUSHO): Likewise.
11705 [POSIX || POSIX2008] (LOBLK): Likewise.
11706 [POSIX || POSIX2008] (PENDIN): Likewise.
11707 [POSIX || POSIX2008] (SWTCH): Likewise.
11708 [POSIX || POSIX2008] (VDISCARD): Likewise.
11709 [POSIX || POSIX2008] (VDSUSP): Likewise.
11710 [POSIX || POSIX2008] (VLNEXT): Likewise.
11711 [POSIX || POSIX2008] (VREPRINT): Likewise.
11712 [POSIX || POSIX2008] (VSTATUS): Likewise.
11713 [POSIX || POSIX2008] (VWERASE): Likewise.
11714 (B*): Change to B[0123456789]*.
11715 * conform/data/time.h-data [POSIX || UNIX98]
11716 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11717 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11718 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11719 [POSIX] (tm_*): Do not allow.
11720
686554bf
JM
117212014-06-07 Joseph Myers <joseph@codesourcery.com>
11722
11723 * Makefile (install): Don't set LANGUAGE.
11724 * Makefile.in (install): Likewise.
11725 * assert/Makefile (test-assert-ENV): Remove variable.
11726 (test-assert-perr-ENV): Likewise.
11727 * elf/Makefile (neededtest4-ENV): Likewise.
11728 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11729 [$(cross-compiling) = no]: Don't set LANGUAGE.
11730 * io/ftwtest-sh (LANG): Remove variable.
11731 * libio/Makefile (tst-widetext-ENV): Likewise.
11732 * manual/install.texi (Running make install): Don't refer to
11733 environment settings for make install.
11734 * INSTALL: Regenerated.
11735 * nptl/tst-tls6.sh: Don't set LANG.
11736 * posix/globtest.sh (LANG): Remove variable.
11737 * string/Makefile (tester-ENV): Likewise.
11738 (inl-tester-ENV): Likewise.
11739 (noinl-tester-ENV): Likewise.
11740 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11741 [$(cross-compiling) = no]: Don't set LANGUAGE.
11742 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11743 without explicit environment settings.
11744
68e6b6b1
RM
117452014-06-06 Roland McGrath <roland@hack.frob.com>
11746
11747 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11748 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11749 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11750 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11751
4d3ae034
CM
117522014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11753
11754 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11755 other files in the crypt directory.
11756 * crypt/crypt.c: Remove duplicate includes.
11757 * crypt/crypt-entry.c: Likewise.
11758 * crypt/crypt_util.c: Likewise.
11759
8540f6d2
JM
117602014-06-06 Joseph Myers <joseph@codesourcery.com>
11761
11762 * Makeconfig (run-program-env): New variable.
11763 (run-program-prefix-before-env): Likewise.
11764 (run-program-prefix-after-env): Likewise.
11765 (run-program-prefix): Define in terms of new variables.
11766 (built-program-cmd-before-env): New variable.
11767 (built-program-cmd-after-env): Likewise.
11768 (built-program-cmd): Define in terms of new variables.
11769 (test-program-prefix-before-env): New variable.
11770 (test-program-prefix-after-env): Likewise.
11771 (test-program-prefix): Define in terms of new variables.
11772 (test-program-cmd-before-env): New variable.
11773 (test-program-cmd-after-env): Likewise.
11774 (test-program-cmd): Define in terms of new variables.
11775 * Rules (make-test-out): Use $(run-program-env).
11776 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11777 (help): Do not mention environment variables. Mention
11778 --timeoutfactor option.
11779 (timeoutfactor): New variable.
11780 (blacklist_exports): Remove function.
11781 (exports): Remove variable.
11782 (command): Do not include ${exports}.
11783 * manual/install.texi (Configuring and compiling): Do not mention
11784 test wrappers preserving environment variables. Mention that last
11785 assignment to a variable must take precedence.
11786 * INSTALL: Regenerated.
11787 * benchtests/Makefile (run-bench): Use $(run-program-env).
11788 * catgets/Makefile ($(objpfx)test1.cat): Use
11789 $(built-program-cmd-before-env), $(run-program-env) and
11790 $(built-program-cmd-after-env).
11791 ($(objpfx)test2.cat): Do not specify environment variables
11792 explicitly.
11793 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11794 $(run-program-env) and $(built-program-cmd-after-env).
11795 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11796 $(run-program-env) and $(test-program-cmd-after-env).
11797 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11798 explicitly.
11799 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11800 run_program_env and test_program_cmd_after_env arguments.
11801 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11802 * elf/tst-pathopt.sh: Use run_program_env argument.
11803 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11804 $(test-wrapper-env) and $(run-program-env).
11805 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11806 run_program_env arguments.
11807 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11808 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11809 $(test-program-prefix-before-env), $(run-program-env) and
11810 $(test-program-prefix-after-env).
11811 ($(objpfx)tst-gettext2.out): Likewise.
11812 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11813 run_program_env and test_program_prefix_after_env arguments.
11814 * intl/tst-gettext2.sh: Likewise.
11815 * intl/tst-gettext4.sh: Do not set environment variables
11816 explicitly.
11817 * intl/tst-gettext6.sh: Likewise.
11818 * intl/tst-translit.sh: Likewise.
11819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11820 $(test-program-prefix-before-env), $(run-program-env) and
11821 $(test-program-prefix-after-env).
11822 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11823 run_program_env and test_program_prefix_after_env arguments.
11824 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11825 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11826 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11827 explicitly with each use of ${test_wrapper_env}.
11828 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11829 $(test-program-prefix-before-env), $(run-program-env) and
11830 $(test-program-prefix-after-env).
11831 * posix/tst-getconf.sh: Do not set environment variables
11832 explicitly.
11833 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11834 run_program_env and test_program_prefix_after_env arguments.
11835 * stdio-common/tst-printf.sh: Do not set environment variables
11836 explicitly.
11837 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11838 $(test-program-prefix-before-env), $(run-program-env) and
11839 $(test-program-prefix-after-env).
11840 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11841 run_program_env and test_program_prefix_after_env arguments.
11842 Split $test calls into $test_pre and $test.
11843 * timezone/Makefile (build-testdata): Use
11844 $(built-program-cmd-before-env), $(run-program-env) and
11845 $(built-program-cmd-after-env).
11846
ed36bfa1
AZ
118472014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11848
11849 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11850 strlen for non SHARED builds.
11851
fc75bf46
SP
118522014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11853
11854 * nptl/allocatestack.c (check_list): Inlined function...
11855 (__reclaim_stacks): ... here.
11856
d89b3d80
OB
118572014-06-05 Ondřej Bílka <neleai@seznam.cz>
11858
11859 [BZ #15698]
11860 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11861 memory overrun.
11862
2bf18041
JM
118632014-06-05 Joseph Myers <joseph@codesourcery.com>
11864
11865 * Rules (make-test-out): Include
11866 LOCPATH=$(common-objpfx)localedata in default environment.
11867 * debug/Makefile (tst-chk1-ENV): Remove variable.
11868 (tst-chk2-ENV): Likewise.
11869 (tst-chk3-ENV): Likewise.
11870 (tst-chk4-ENV): Likewise.
11871 (tst-chk5-ENV): Likewise.
11872 (tst-chk6-ENV): Likewise.
11873 (tst-lfschk1-ENV): Likewise.
11874 (tst-lfschk2-ENV): Likewise.
11875 (tst-lfschk3-ENV): Likewise.
11876 (tst-lfschk4-ENV): Likewise.
11877 (tst-lfschk5-ENV): Likewise.
11878 (tst-lfschk6-ENV): Likewise.
11879 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11880 (tst-iconv7-ENV): Likewise.
11881 * intl/Makefile (LOCPATH-ENV): Likewise.
11882 (tst-codeset-ENV): Likewise.
11883 (tst-gettext3-ENV): Likewise.
11884 (tst-gettext5-ENV): Likewise.
11885 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11886 (tst-fopenloc-ENV): Likewise.
11887 (tst-fgetws-ENV): Remove variable.
11888 (tst-ungetwc1-ENV): Likewise.
11889 (tst-ungetwc2-ENV): Likewise.
11890 (bug-ungetwc2-ENV): Likewise.
11891 (tst-swscanf-ENV): Likewise.
11892 (bug-ftell-ENV): Likewise.
11893 (tst-fgetwc-ENV): Likewise.
11894 (tst-fseek-ENV): Likewise.
11895 (tst-ftell-partial-wide-ENV): Likewise.
11896 (tst-ftell-active-handler-ENV): Likewise.
11897 (tst-ftell-append-ENV): Likewise.
11898 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11899 (tst-regexloc-ENV): Likewise.
11900 (bug-regex1-ENV): Likewise.
11901 (tst-regex-ENV): Likewise.
11902 (tst-regex2-ENV): Likewise.
11903 (bug-regex5-ENV): Likewise.
11904 (bug-regex6-ENV): Likewise.
11905 (bug-regex17-ENV): Likewise.
11906 (bug-regex18-ENV): Likewise.
11907 (bug-regex19-ENV): Likewise.
11908 (bug-regex20-ENV): Likewise.
11909 (bug-regex22-ENV): Likewise.
11910 (bug-regex23-ENV): Likewise.
11911 (bug-regex25-ENV): Likewise.
11912 (bug-regex26-ENV): Likewise.
11913 (bug-regex30-ENV): Likewise.
11914 (bug-regex32-ENV): Likewise.
11915 (bug-regex33-ENV): Likewise.
11916 (bug-regex34-ENV): Likewise.
11917 (bug-regex35-ENV): Likewise.
11918 (tst-rxspencer-ENV): Likewise.
11919 (tst-rxspencer-no-utf8-ENV): Likewise.
11920 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11921 (tst-sscanf-ENV): Likewise.
11922 (tst-swprintf-ENV): Likewise.
11923 (tst-swscanf-ENV): Likewise.
11924 (test-vfprintf-ENV): Likewise.
11925 (scanf13-ENV): Likewise.
11926 (bug14-ENV): Likewise.
11927 (tst-grouping-ENV): Likewise.
11928 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11929 (tst-strtod3-ENV): Likewise.
11930 (tst-strtod4-ENV): Likewise.
11931 (tst-strtod5-ENV): Likewise.
11932 (testmb2-ENV): Likewise./
11933 * string/Makefile (tst-strxfrm-ENV): Likewise.
11934 (tst-strxfrm2-ENV): Likewise.
11935 (bug-strcoll1-ENV): Likewise.
11936 (test-strcasecmp-ENV): Likewise.
11937 (test-strncasecmp-ENV): Likewise.
11938 * time/Makefile (tst-strptime-ENV): Likewise.
11939 (tst-ftime_l-ENV): Likewise.
11940 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11941 (tst-mbrtowc-ENV): Likewise.
11942 (tst-wcrtomb-ENV): Likewise.
11943 (tst-mbrtowc2-ENV): Likewise.
11944 (tst-c16c32-1-ENV): Likewise.
11945 (tst-mbsnrtowcs-ENV): Likewise.
11946
cd1fb604
OB
119472014-06-05 Ondřej Bílka <neleai@seznam.cz>
11948
11949 * manual/resource.texi (How to get information about the memory
11950 subsystem?): Fix typo.
11951 Reported by Peon de la Parra Ivan <peon@keba.com>
11952
b42eca7d
GY
119532014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11954
11955 [BZ #16882]
11956 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11957 (pthread_spin_lock): Branch out of spin loop to proper location.
11958 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11959 (pthread_spin_lock): Likewise.
11960
902b71f9
DM
11961 * nptl/tst-spin4.c: New test.
11962 * nptl/Makefile (tests): Add tst-spin4.
11963
f9d2d032
AS
119642014-06-03 Andreas Schwab <schwab@suse.de>
11965
11966 [BZ #15946]
11967 * resolv/res_send.c (send_dg): Reload file descriptor after
11968 calling reopen.
11969
cf7bfd28
SL
119702014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11971
11972 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11973
111cc714
RH
119742014-06-03 Richard Henderson <rth@redhat.com>
11975
89b4bd6b
RH
11976 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11977 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11978 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11979 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11980 in the SAVE_PID block.
11981 (__libc_vfork): New alias.
71840409 11982 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11983
111cc714
RH
11984 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11985 child in registers, not on the stack. Remove RESET_PID conditionals.
11986 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11987
ccc39911
MS
119882014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11989
11990 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11991
693096cc
W
119922014-06-03 Wilco <wdijkstr@arm.com>
11993
11994 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11995 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11996 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11997 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11998 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11999 Likewise.
12000
0b4366bc
W
120012014-06-03 Wilco <wdijkstr@arm.com>
12002
12003 * sysdeps/aarch64/fpu/math_private.h
12004 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12005 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12006 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12007 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12008 Fix declarations.
12009
8747cd03
KS
120102014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12011
12012 * crypt/crypt-private.h: Include ufc-crypt.h.
12013 (__b64_from_24bit): Declare extern.
12014 * crypt/crypt_util.c(__b64_from_24bit): New function.
12015 (b64t): New static const variable.
12016 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12017 (b64t): Remove variable.
12018 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12019 * crypt/sha256-crypt.c: Include crypt-private.h.
12020 (b64t): Remove variable.
12021 (__sha256_crypt_r): Remove b64_from_24bit and replace
12022 with __b64_from_24bit.
12023 * crypt/sha512-crypt.c: Likewise.
12024
d936d379
RM
120252014-06-02 Roland McGrath <roland@hack.frob.com>
12026
12027 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12028 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12029 Label the code __libc_vfork rather than __vfork.
12030 [!NOT_IN_libc] (vfork): Define as weak alias.
12031 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12032 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12033 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12034
9fa76613
SP
120352014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12036
12037 * malloc/malloc.c (malloc_info): Fix format specifier for
12038 n_mmaps.
12039
a88dadbe
W
120402014-06-02 Wilco <wdijkstr@arm.com>
12041
12042 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12043 FPCR write.
12044
c95b3011
W
120452014-06-02 Wilco <wdijkstr@arm.com>
12046
12047 [BZ #17009]
12048 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12049 Rewrite to reduce FPCR/FPSR accesses.
12050
6b4d7a90
DM
120512014-06-01 David S. Miller <davem@davemloft.net>
12052
12053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12054
30f3d07c
DM
120552014-05-31 David S. Miller <davem@davemloft.net>
12056
12057 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12058 to occur in round to nearest mode when |x| >= 2.0
12059
74f31c18
RH
120602014-05-30 Richard Henderson <rth@twiddle.net>
12061
f0712b54
RH
12062 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12063 (PSEUDO_RET_NOERRNO): Remove.
12064 (ret): Don't redefine.
12065 (ret_NOERRNO): Define in terms of ret.
12066 (ret_ERRVAL): Likewise.
12067
74f31c18
RH
12068 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12069 use of PSEUDO_RET; perform the error check directly.
12070
30477995
MM
120712014-05-30 Marko Myllynen <myllynen@redhat.com>
12072
12073 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12074 with __int128_t.
12075
62a58816
SP
120762014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12077
12078 * malloc/malloc (malloc_info): Fix formatting.
12079
4d653a59
SP
120802014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12081 Roland McGrath <roland@hack.frob.com>
12082
12083 * malloc/malloc (malloc_info): Also print mmapped statistics.
12084
5190c17f
RM
120852014-05-30 Roland McGrath <roland@hack.frob.com>
12086
12087 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12088 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12089
987c0269
OB
120902014-05-30 Ondřej Bílka <neleai@seznam.cz>
12091
12092 * malloc/malloc.c (malloc_info): Inline mi_arena.
12093
af4e8ef9
RH
120942014-05-29 Richard Henderson <rth@twiddle.net>
12095
1670e207
RH
12096 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12097 Remove comma before expanding ASM_ARGS_##nr.
12098 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12099 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12100 of ASM_ARGS_##nr.
12101 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12102 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12103 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12104 (ASM_ARGS_1): Add leading comma.
12105
11a28aee
RH
12106 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12107 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12108 to __errno_location.
12109 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12110 Remove the expected plt for __errno_location.
12111
a17e5ffb 12112 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 12113 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
12114 call to __read_tp.
12115
b5be4597
RH
12116 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12117 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12118 it and break it down.
12119 (DOCARGS_0, DOCARGS_1): Do nothing.
12120 (DOCARGS_2): Update to store into the new stack frame.
12121 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12122 (UNDOCARGS_1): Update to restore from the new stack frame.
12123 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12124 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12125
645d44ab
RH
12126 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12127 (SINGLE_THREAD_P): New parameter for result regno.
12128 (PSEUDO): Update to match; use cbz instead of beq.
12129
a8b4f04a
RH
12130 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12131 Use ENTRY to define the _nocancel entry point. Share the syscall
12132 and syscall error check paths with the cancel path.
12133 (PSEUDO_END): New.
12134
af4e8ef9
RH
12135 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12136 whitespace; tabs before and after asm mnemonics.
12137
26b0d2e1
EW
121382014-05-29 Eric Wong <normalperson@yhbt.net>
12139
12140 [BZ #15132]
12141 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12142 Call fstat64 or stat64 internally, depending on arguments passed.
12143 Replace stat buffer argument with file descriptor argument.
12144 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12145 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12146 Pass fd to __internal_statvfs instead of calling fstat64.
12147 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12148 Pass fd to __internal_statvfs64 instead of calling fstat64.
12149 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12150 Pass -1 to __internal_statvfs instead of calling stat64.
12151 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12152 Pass -1 to __internal_statvfs64 instead of calling stat64.
12153
1efe2bd9
RM
121542014-05-28 Roland McGrath <roland@hack.frob.com>
12155
0d3b7a19
RM
12156 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12157 that was previously under [RESET_PID].
12158 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12159
1efe2bd9
RM
12160 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12161 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12162
a6bea3ca
RM
121632014-05-27 Roland McGrath <roland@hack.frob.com>
12164
30b6629e
RM
12165 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12166
a6bea3ca
RM
12167 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12168 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12169
3dfb9a5c
OB
121702014-05-27 Ondřej Bílka <neleai@seznam.cz>
12171
12172 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12173
774f9285
AS
121742014-05-27 Andreas Schwab <schwab@suse.de>
12175
12176 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12177 TLS_INIT_TP macro.
12178 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12179 * elf/rtld.c (init_tls, dl_main): Likewise.
12180 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12181 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12182 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12183 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12184 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12185 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12186 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12187 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12188 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12189 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12190 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12191 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12192 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12193 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12194 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12195 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12196 * sysdeps/generic/tls.h: Update description.
12197
36ffe739
WN
121982014-05-27 Will Newton <will.newton@linaro.org>
12199
12200 [BZ #16990]
12201 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12202 and restore r2 rather than just restoring.
12203
2482ae43
SP
122042014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12205
12206 [BZ #16724]
12207 * libio/tst-ftell-append.c: New test case.
12208 * libio/Makefile (tests): Add test case.
12209 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12210 append mode.
12211 * libio/wfileops.c (do_ftell_wide): Likewise.
12212
3d1024e8
AZ
122132014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12214
bab90016
AZ
12215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12216
c7a8d667
AZ
12217 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12218 ...
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12221 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12222 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12223 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12224 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12225 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12226 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12228 Moved ...
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12231 Moved ...
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12233 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12234 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12235 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12236 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12237 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12238 ...
12239 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12240 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12241 Moved ...
12242 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12243 here.
12244 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12245 ...
12246 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12247 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12248 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12249
daee7851
AZ
12250 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12251 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12252 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12253 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12254
50a40819
AZ
12255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12256 merge into ...
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12259 ...
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12262 ...
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12264 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12265 Moved ...
12266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12267 here.
12268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12269 Moved ...
12270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12272 Moved ...
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12274
8464c2a1
AZ
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12276 conditional [RESET_PID].
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12279 removed.
12280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12281 removed.
12282
3d1024e8
AZ
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12284 <tcb-offsets.h>.
12285 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12286 (__libc_vfork): New strong alias.
12287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12288 removed.
12289 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12290 Removed.
12291
12292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12293 <tcb-offsets.h>.
12294 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12295 (__libc_vfork): New strong alias.
12296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12297 removed.
12298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12299 removed.
12300
fdfd175d
CD
123012014-05-26 Carlos O'Donell <carlos@redhat.com>
12302
12303 * malloc/malloc.c (mi_arena): New function.
12304 (malloc_info): Remove nested function mi_arena. Call non-nosted
12305 function mi_arena.
12306
d298c416
AZ
123072014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12308
12309 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12310 by insrwi.
12311 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12312 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12313 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12314 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12315 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12316 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12317 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12318
b60ea6ff
AS
123192014-05-26 Andreas Schwab <schwab@suse.de>
12320
12321 [BZ #16984]
12322 * locale/programs/repertoire.c (repertoire_read): Add slash
12323 between I18NPATH element and file name.
12324 * locale/programs/locfile.c (locfile_read): Likewise.
12325
67365926
SL
123262014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12327
12328 * nptl/pthread_mutexattr_settype.c
12329 (__pthread_mutexattr_settype):
12330 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12331
f8bdf1f0
SL
123322014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12333
12334 * nptl/tst-mutex5 (do_test):
12335 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12336
15eaf6ff
SP
123372014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12338
12339 * benchtests/README: Document 'init' directive.
12340 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12341 BENCH_INIT.
12342 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12343 (parse_file): Recognize 'init' directive.
12344
75f11331
KM
123452014-05-26 Kyle McMartin <kyle@redhat.com>
12346
12347 [BZ #16796]
12348 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12349 alignment of struct pthread.
12350
c3ec475c
SP
123512014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12352
12353 [BZ #16878]
12354 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12355 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12356 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12357 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12358
82aab97c
RH
123592014-05-25 Richard Henderson <rth@twiddle.net>
12360
aa2f176d
RH
12361 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12362 (SINGLE_THREAD_P_PIC): Remove.
12363 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12364 (SINGLE_THREAD_P_PIC): Remove.
12365
ca3cfa40
RH
12366 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12367 branch to syscall error ...
12368 (PSEUDO): ... here.
12369 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12370 from __local_syscall_error to .Lsyscall_error.
12371 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12372 (SYSCALL_ERROR): Update label name.
12373
6e6c2d01
RH
12374 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12375 Do not use DOARGS/UNDOARGS.
12376 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12377 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12378 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12379 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12380 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12381
c69abcee
RH
12382 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12383 block comment.
12384
82aab97c
RH
12385 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12386 define if !NOT_IN_libc.
12387 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12388 define with non-default symbol versions.
12389
8820e3ac
RH
123902014-05-23 Richard Henderson <rth@twiddle.net>
12391
900e445f
RH
12392 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12393 (vfork, __vfork): Define via compat_symbol.
12394
8820e3ac
RH
12395 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12396 [!HAVE_IFUNC] (vfork_compat): Remove.
12397 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12398
e59252a5
JM
123992014-05-23 Joseph Myers <joseph@codesourcery.com>
12400
12401 [BZ #16978]
12402 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12403 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12404 variable.
12405
132c7f5f
RH
124062014-05-23 Richard Henderson <rth@twiddle.net>
12407
bc89e962
RH
12408 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12409 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12410 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12411 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12412
12413 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12414 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12415 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12416 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12417 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12418 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12420 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12421 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12422 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12423 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12424 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12425 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12426 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12427 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12428 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12429 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12430 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12431 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12432 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12433 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12434 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12435 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12436 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12437 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12438 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12439 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12440 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12441 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12442 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12443 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12444 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12445 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12446 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12447 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12448 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12449 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12450 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12451 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12452 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12453 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12454 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12455 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12456 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12457 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12458 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12459 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12460 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12461 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12462 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12464 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12466 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12468 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12469
e2fa4bc2
RH
12470 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12471 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12472 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12473 before exiting on error.
12474 (__libc_vfork): New strong alias.
12475 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12476 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12477
279b24e2
RH
12478 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12479 that was previously under [RESET_PID].
12480 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12481
132c7f5f
RH
12482 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12483
b72592e7
JM
124842014-05-23 Joseph Myers <joseph@codesourcery.com>
12485
12486 [BZ #16977]
12487 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12488 value when x - 1 is zero.
12489 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12490 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12491 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12492 0.0L for an argument of 1.0L.
12493 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12494 Likewise.
12495 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12496 value when x - 1 is zero.
12497 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12498 * sysdeps/i386/fpu/libm-test-ulps: Update.
12499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12500
2302d679
RV
125012014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12502
12503 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12504 alphasort and versionsort.
12505
32999d63
AZ
125062014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12507
12508 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12509 macro.
12510 [copysignf]: Likewise.
12511
019324d0
SP
125122014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12513
12514 * crypt/md5-crypt.c: Fix formatting.
12515
34fff5c2
KS
125162014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12517
12518 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12519 (b64_from_24bit): New function.
12520
3d2badac
AZ
125212014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12522
12523 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12524 libc_hidden_builtin_def to ifunc.
12525 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12526 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12527
f7bb179f 125282014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
12529
12530 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12531 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12532
4134b50d
JM
125332014-05-21 Joseph Myers <joseph@codesourcery.com>
12534
bb7d0337
JM
12535 * nscd/Depend (linuxthreads): Remove.
12536 (nptl): Add.
12537 * resolv/Depend (linuxthreads): Remove.
12538 * rt/Depend (linuxthreads): Remove.
12539
4134b50d
JM
12540 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12541 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12542 $(common-objpfx)elf/.
12543 (link-libc-before-gnulib): Likewise.
12544 (elfobjdir): Remove variable.
12545 * Makefile (install): Use $(elf-objpfx) instead of
12546 $(common-objpfx)elf/.
12547 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12548 $(elfobjdir)/.
12549 (link-libc-deps): Likewise.
12550 ($(common-objpfx)libc.so): Likewise.
12551 ($(common-objpfx)linkobj/libc.so): Likewise.
12552 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12553 instead of $(common-objpfx)elf/.
12554 (symbolic-link-list): Likewise.
12555 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12556 [$(cross-compiling) = no]: Likewise.
12557 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12558 $(elfobjdir)/.
12559 (static-gnulib-arch): Likewise.
12560 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12561 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12562 $(common-objpfx)elf/.
12563
3612eb8f
RH
125642014-05-21 Richard Henderson <rth@redhat.com>
12565
a6b3657b
RH
12566 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12567 (SINGLE_THREAD_P): Use the correct width load. Fold
12568 into the ldr offset.
12569
3612eb8f
RH
12570 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12571 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12572
175cef41
JM
125732014-05-20 Joseph Myers <joseph@codesourcery.com>
12574
12575 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12576 (libgcc_s_resume): Use __attribute_used__.
12577 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12578 Likewise.
12579
e13bccd3
AZ
125802014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12581
12582 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12583 optimization when used with float constants.
12584
7c112a38
AZ
12585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12586
ae75a883
AJ
125872014-05-20 Aurelien Jarno <aurelien@aurel32.net>
12588
12589 [BZ #16915]
12590 * locale/nl_langinfo_l.c: Make direct reference to every
12591 _nl_current_CATEGORY symbol.
12592 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12593 (tests-static): Add tst-langinfo-static.
12594 (tests-special): Add tst-langinfo-static.out.
12595 ($(objpfx)tst-langinfo.out): Redirect output.
12596 ($(objpfx)tst-langinfo-static.out): New.
12597 * localedata/tst-langinfo.sh: Send output to stdout.
12598 * localedata/tst-langinfo-static.c: New file.
12599
4406c41c
AJ
12600 [BZ #16965]
12601 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12602 when the shift amount is modulo the limb size.
12603
4c0a1e63
RH
126042014-05-20 Richard Henderson <rth@redhat.com>
12605
de9d8f20
RH
12606 [BZ #16967]
12607 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12608 Change type of sa_flags from unsigned int to int.
12609
4c0a1e63
RH
12610 [BZ #16966]
12611 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
12612
12613 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12614
a60339aa
WN
126152014-05-20 Will Newton <will.newton@linaro.org>
12616
12617 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12618 Test the return value of the system call in the nocancel case.
12619
7d05a816
YR
126202014-05-20 Will Newton <will.newton@linaro.org>
12621 Yvan Roux <yvan.roux@linaro.org>
12622
12623 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12624 #include of asm/ptrace.h.
12625 (PTRACE_GET_THREAD_AREA): Remove #undef.
12626 (PTRACE_GETHBPREGS): Likewise.
12627 (PTRACE_SETHBPREGS): Likewise.
12628 (struct user_regs_struct): New structure.
12629 (struct user_fpsimd_struct): New structure.
12630 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12631 #include of asm/ptrace.h and second #include of sys/user.h.
12632 (PTRACE_GET_THREAD_AREA): Remove #undef.
12633 (PTRACE_GETHBPREGS): Likewise.
12634 (PTRACE_SETHBPREGS): Likewise.
12635 (ELF_NGREG): Use new struct user_regs_struct.
12636 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12637
af121e37
AZ
126382014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12639
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12641 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12642
834caf06
JM
126432014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12644
12645 [BZ #16958]
12646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12647 membar to avoid block loads/stores to overlap previous stores.
12648
e184a918
RH
126492014-05-17 Richard Henderson <rth@redhat.com>
12650
12651 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12652 Create the __##syscall_name##_nocancel entry point.
12653 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12654 Remove; let the sysdep-cancel.h code create it.
12655
f56c7a6a
DM
126562014-05-17 David S. Miller <davem@davemloft.net>
12657
12658 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12659 Protect with __USE_GNU.
12660 (TIOCSET_TEMPT): Likewise.
12661 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12662 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12663 these are already provided in bits/ioctl-types.h
12664
f75616b2
RM
126652014-05-16 Roland McGrath <roland@hack.frob.com>
12666
3edeca86
RM
12667 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12668 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12669
f75616b2
RM
12670 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12671 Use wait4 regardless of [__NR_waitpid].
12672
deb0f7f6
MR
126732014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12674
12675 PR libgcc/60166
12676 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12677 (_FP_NANSIGN_Q): Set the quiet bit.
12678
79520f4b
JM
126792014-05-16 Joseph Myers <joseph@codesourcery.com>
12680
12681 * benchtests/Makefile
12682 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12683 not $(common-objpfx)math/libm.so.
12684 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12685 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12686 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12687 $(common-objpfx)dlfcn/libdl.so.
12688 ($(objpfx)tst-audit8): Depend on $(libm), not
12689 $(common-objpfx)math/libm.so.
12690 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12691 not $(common-objpfx)dlfcn/libdl.so.
12692 * math/Makefile
12693 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12694 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12695 [$(build-shared) = yes].
12696 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12697 $(common-objpfx)nptl/libpthread.so.
12698 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12699 $(common-objpfx)math/libm.so$(libm.so-version) or
12700 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12701 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12702 $(common-objpfx)dlfcn/libdl.so.
12703 * setjmp/Makefile (link-libm): Remove variable.
12704 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12705 * stdio-common/Makefile (link-libm): Remove variable.
12706 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12707 * stdlib/Makefile (link-libm): Remove variable.
12708 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12709 ($(objpfx)tst-strtod-round): Likewise.
12710 ($(objpfx)tst-tininess): Likewise.
12711 ($(objpfx)tst-strtod-underflow): Likewise.
12712 ($(objpfx)tst-strtod6): Likewise.
12713 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12714 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12715 $(common-objpfx)dlfcn/libdl.so.
12716
026b0fe4
AZ
127172014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12718
12719 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12720 BSD terminal modes definitions.
12721
def4bcb2
RM
127222014-05-16 Roland McGrath <roland@hack.frob.com>
12723
fe39b021
RM
12724 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12725 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12726
1d1fc46e 12727 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12728 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12729 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12730 Don't do #include_next.
12731 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12732 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12733 Don't do #include_next.
12734 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12735 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12736 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12737 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12738
c72399fb
AM
127392014-05-16 Allan McRae <allan@archlinux.org>
12740
d51d659d
AM
12741 * po/sv.po: Update Swedish translation from translation project.
12742
c72399fb
AM
12743 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12744 in sed expression.
12745
d0583c40
AJ
127462014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12747
12748 [BZ #16917]
12749 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12750 errno if the TIOCGPTN ioctl fails with an error different than
12751 EINVAL.
12752 * login/tst-ptsname.c: New file.
12753 * login/Makefile (tests): Add tst-ptsname.
12754
d16e6ec7
AJ
12755 [BZ #16943]
12756 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12757 and prlimit64.
12758
cf26a0cb
SP
127592014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12760
12761 [BZ #16849]
12762 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12763 herrno to return EAI_AGAIN.
12764
5675da1e
RM
127652014-05-14 Roland McGrath <roland@hack.frob.com>
12766
a5d87b3d
RM
12767 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12768 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12769 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12770 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12771 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12772 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12773 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12774 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12775 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12776 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12777 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12778 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12779 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12780 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12781 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12782 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12783 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12784 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12785 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12786 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12787 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12788 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12789 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12790 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12792 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12794 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12795 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12796 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12798 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12800 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12802 Moved ...
12803 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12805 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12807 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12809 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12811 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12813 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12815 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12817 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12819 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12821 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12823 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12825 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12827 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12829 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12831 Moved ...
12832 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12834 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12836 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12838 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12840 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12842 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12844 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12846 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12848 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12850 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12852 Moved ...
12853 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12855 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12856
039890a6
RM
12857 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12858 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12859 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12860 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12861 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12862 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12863 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12864 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12865 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12866 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12867 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12868 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12869 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12870 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12871 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12872 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12873 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12874 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12875 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12876 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12877 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12878 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12879 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12880 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12881 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12882 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12883 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12884 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12885 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12886 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12887 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12888
65c89320
RM
12889 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12890 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12891
348f8e8c
RM
12892 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12893 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12894 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12895 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12896 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12897 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12898 Moved ...
12899 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12901 Moved ...
12902 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12903 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12904 Moved ...
12905 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12906 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12907 Moved ...
12908 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12909 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12910 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12911 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12912 Moved ...
12913 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12914 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12915 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12916 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12917 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12918 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12919 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12921 Moved ...
12922 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12924 Moved ...
12925 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12926 ... here.
12927 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12928 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12929 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12930 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12931 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12932 Moved ...
12933 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12934 ... here.
12935 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12936 Moved ...
12937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12938 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12939 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12940 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12941 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12942 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12943 Moved ...
12944 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12946 Moved ...
12947 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12948 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12949 Moved ...
12950 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12951 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12952 Moved ...
12953 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12954 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12955 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12956 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12957 Moved ...
12958 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12959 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12960 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12961 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12962 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12963 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12964 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12966 Moved ...
12967 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12969 Moved ...
12970 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12971 ... here.
12972 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12973 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12974 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12975 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12976 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12977 Moved ...
12978 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12979 ... here.
12980 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12981 Moved ...
12982 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12983 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12984 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12985 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12986 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12987 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12988 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12989 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12990 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12991 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12992 Moved ...
12993 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12994 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12995 Moved ...
12996 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12997 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12998 Moved ...
12999 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13000 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13001 Moved ...
13002 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13003 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13004 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13005 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13006 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13008 Moved ...
13009 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13010 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13011 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13012 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13013 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13014 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13015 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13016 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13017 Moved ...
13018 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13019 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13020 Moved ...
13021 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13022 ... here.
13023 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13024 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13025 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13026 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13027 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13028 Moved ...
13029 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13030 ... here.
13031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13032 Moved ...
13033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13034 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13035 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13036 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13037 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13038 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13039 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13040 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13041 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13042 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13043 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13044
5085af05
RM
13045 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13046 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13047
708f0813
RM
13048 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13049 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13050
c96067bc
RM
13051 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13052 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13053 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13054 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13055 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13056 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13057 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13058 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13059 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13060 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13062 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13063 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13064 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13065 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13066 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13067 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13068 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13069 Moved ...
13070 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13071 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13072 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13074 Moved ...
13075 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13077 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13079 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13081 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13082 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13083 Moved ...
13084 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13086 Moved ...
13087 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13089 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13091 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13093 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13094 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13095 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13096 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13097 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13098 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13099 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13100 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13101 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13102 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13103 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13104
ec136444
RM
13105 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13106 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13107 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13108 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13109 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13110
2fbdf533
RM
13111 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13112 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13113 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13114 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13115 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13116 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13117 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13118 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13119 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13120 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13121
4c68138b
RM
13122 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13124
4eaae765
RM
13125 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13126 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
13127 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13128 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13129 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13130 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13131 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13132 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13133 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13134 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13135 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13136 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13137 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13138 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13139 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13140 Update #include.
13141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13142 Likewise.
13143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13144 Likewise.
13145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13146 Likewise.
13147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13148 Likewise.
13149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13150 Likewise.
13151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13152 Likewise.
13153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13154 Likewise.
13155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13156 Likewise.
13157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13158 Likewise.
4ef6befa
RM
13159 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13160 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13161 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13162 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13163 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
13164 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13165 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13166 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13167 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13168 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13169 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13170 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13171 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13172 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13173 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 13174
941d7dfd
RM
13175 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13176 that was previously under [RESET_PID].
13177 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13178 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13179 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13180
1b731c35
RM
13181 * sysdeps/i386/nptl/Implies: New file.
13182 * sysdeps/x86_64/nptl/Implies: New file.
13183 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13184 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13185 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13186 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13187
e2787137
RM
13188 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13189 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13190 (__libc_vfork): New strong alias.
13191 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13192 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13193
13194 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13195 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13196 (__libc_vfork): New strong alias.
13197 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13198 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13199
5675da1e
RM
13200 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13201 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13202 (__libc_vfork): New strong alias.
13203 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13204 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13205 * nptl/pt-vfork.c: New file.
13206 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13207 (libpthread: GLIBC_2.20): New version set (empty).
13208
4f02e2b8
WN
132092014-05-14 Will Newton <will.newton@linaro.org>
13210
13211 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13212 rather than #if.
13213
0bf061d3
JM
132142014-05-14 Joseph Myers <joseph@codesourcery.com>
13215
1a84c3d6
JM
13216 [BZ #16564]
13217 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13218 arguments with exponent 65 or above.
13219 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13220 arguments 0x1p113L or above.
13221 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13222 to arguments 0x1p107L or above.
13223 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13224 positive arguments with exponent 65 or above.
13225 * math/auto-libm-test-in: Add more tests of log1p.
13226 * math/auto-libm-test-out: Regenerated.
13227
01dbacd2
JM
13228 [BZ #16928]
13229 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13230 non-finite arguments is +0.
13231 * math/s_cacosf.c (__cacosf): Likewise.
13232 * math/s_cacosl.c (__cacosl): Likewise.
13233 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13234 * sysdeps/i386/fpu/libm-test-ulps: Update.
13235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13236
913d03c8
JM
13237 [BZ #16927]
13238 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13239 value.
13240 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13241 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13242 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13243 for explicit high bit of mantissa when testing for argument equal
13244 to 1.
13245 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13246 * sysdeps/i386/fpu/libm-test-ulps: Update.
13247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13248
0bf061d3
JM
13249 [BZ #16516]
13250 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13251 (__erf): Scale by 16 instead of 8 in potentially underflowing
13252 case. Ensure exception if result actually underflows.
13253 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13254 (__erff): Scale by 16 instead of 8 in potentially underflowing
13255 case. Ensure exception if result actually underflows.
13256 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13257 (efx8): Remove variable.
13258 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13259 case. Ensure exception if result actually underflows.
13260 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13261 (efx8): Remove variable.
13262 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13263 case. Ensure exception if result actually underflows.
13264 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13265 (efx8): Remove variable.
13266 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13267 case. Ensure exception if result actually underflows.
13268 * math/auto-libm-test-in: Add more tests of erf.
13269 * math/auto-libm-test-out: Regenerated.
13270
73ba67cb
AS
132712014-05-14 Andreas Schwab <schwab@suse.de>
13272
3d8c8bff
AS
13273 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13274 Remove code conditionalized on USE___THREAD.
13275
73ba67cb
AS
13276 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13277 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13278 not definedness.
13279
5c521ecd
JM
132802014-05-14 Joseph Myers <joseph@codesourcery.com>
13281
5e7698c6
JM
13282 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13283 Define unconditionally.
13284 (__ASSUME_O_CLOEXEC): Likewise.
13285 (__ASSUME_SOCK_CLOEXEC): Likewise.
13286 (__ASSUME_IN_NONBLOCK): Likewise.
13287 (__ASSUME_PIPE2): Likewise.
13288 (__ASSUME_EVENTFD2): Likewise.
13289 (__ASSUME_SIGNALFD4): Likewise.
13290 (__ASSUME_DUP3): Likewise.
13291 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13292 (__ASSUME_DUP3): Do not define.
13293 (__ASSUME_EVENTFD2): Likewise.
13294 (__ASSUME_IN_NONBLOCK): Likewise.
13295 (__ASSUME_O_CLOEXEC): Likewise.
13296 (__ASSUME_PIPE2): Likewise.
13297 (__ASSUME_SIGNALFD4): Likewise.
13298 (__ASSUME_SOCK_CLOEXEC): Likewise.
13299 (__ASSUME_UTIMES): Undefine.
13300 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13301 (__ASSUME_UTIMES): Do not define.
13302 (__ASSUME_O_CLOEXEC): Likewise.
13303 (__ASSUME_SOCK_CLOEXEC): Likewise.
13304 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13305 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13306 0x020621].
13307 (__ASSUME_PIPE2): Likewise.
13308 (__ASSUME_EVENTFD2): Likewise.
13309 (__ASSUME_SIGNALFD4): Likewise.
13310 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13311 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13312 Do not define.
13313 (__ASSUME_EVENTFD2): Likewise.
13314 (__ASSUME_SIGNALFD4): Likewise.
13315 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13316 (__ASSUME_32BITUIDS): Likewise.
13317 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13318 (__ASSUME_IPC64): Likewise.
13319 (__ASSUME_ST_INO_64_BIT): Likewise.
13320 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13321 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13322 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13323 (__ASSUME_UTIMES): Do not define.
13324 (__ASSUME_PSELECT): Likewise.
13325 (__ASSUME_PPOLL): Likewise.
13326 (__ASSUME_O_CLOEXEC): Likewise.
13327 (__ASSUME_SOCK_CLOEXEC): Likewise.
13328 (__ASSUME_IN_NONBLOCK): Likewise.
13329 (__ASSUME_PIPE2): Likewise.
13330 (__ASSUME_EVENTFD2): Likewise.
13331 (__ASSUME_SIGNALFD4): Likewise.
13332 (__ASSUME_DUP3): Likewise.
13333 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13334 (__ASSUME_UTIMES): Likewise.
13335 (__ASSUME_O_CLOEXEC): Likewise.
13336 (__ASSUME_SOCK_CLOEXEC): Likewise.
13337 (__ASSUME_IN_NONBLOCK): Likewise.
13338 (__ASSUME_PIPE2): Likewise.
13339 (__ASSUME_EVENTFD2): Likewise.
13340 (__ASSUME_SIGNALFD4): Likewise.
13341 (__ASSUME_DUP3): Likewise.
13342 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13343 (__ASSUME_UTIMES): Likewise.
13344 (__ASSUME_O_CLOEXEC): Likewise.
13345 (__ASSUME_SOCK_CLOEXEC): Likewise.
13346 (__ASSUME_IN_NONBLOCK): Likewise.
13347 (__ASSUME_PIPE2): Likewise.
13348 (__ASSUME_EVENTFD2): Likewise.
13349 (__ASSUME_SIGNALFD4): Likewise.
13350 (__ASSUME_DUP3): Likewise.
13351 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13352 Likewise.
13353 (__ASSUME_UTIMES): Likewise.
13354 (__ASSUME_EVENTFD2): Likewise.
13355 (__ASSUME_SIGNALFD4): Likewise.
13356 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13357 (__ASSUME_O_CLOEXEC): Likewise.
13358 (__ASSUME_SOCK_CLOEXEC): Likewise.
13359 (__ASSUME_IN_NONBLOCK): Likewise.
13360 (__ASSUME_PIPE2): Likewise.
13361 (__ASSUME_EVENTFD2): Likewise.
13362 (__ASSUME_SIGNALFD4): Likewise.
13363 (__ASSUME_DUP3): Likewise.
13364 (__ASSUME_UTIMES): Undefine.
13365
5c521ecd
JM
13366 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13367 feclearexcept. Remove symbol versioning code.
13368 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13369 symbol versioning code.
13370 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13371 symbol versioning code.
13372 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13373 feupdateenv. Remove symbol versioning code.
13374 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13375 fegetexceptflag. Remove symbol versioning code.
13376 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13377 fesetexceptflag. Remove symbol versioning code.
13378 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13379 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13380 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13381 (__posix_fadvise64_l32): Remove prototype.
13382 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13383 code.
13384
5da9dfad
RM
133852014-05-13 Roland McGrath <roland@hack.frob.com>
13386
13387 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13388 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13389 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13390 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13391
893b4f37
SK
133922014-05-13 Sami Kerola <kerolasa@iki.fi>
13393
13394 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13395 current working directory
13396
e0db6517
RM
133972014-05-13 Roland McGrath <roland@hack.frob.com>
13398
58aa195d
RM
13399 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13400 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13401 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13402 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13403 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13404 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13405 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13406 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13407 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13408 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13409 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13410 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13411 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13412 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13413 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13414 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13415 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13416 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13417 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13418 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13419 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13420 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13421 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13422 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13423 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13424 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13425 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13426 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13427 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13428 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13429 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13430 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13431 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13432 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13433 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13434 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13435 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13436 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13437 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13438 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13439 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13440 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13441
8c6d01f0
RM
13442 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13443 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13444
13445 * sysdeps/unix/sysv/linux/arm/Makefile
13446 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13447 Add rt-aeabi_unwind_cpp_pr1.
13448 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13449 Add nptl-aeabi_unwind_cpp_pr1.
13450 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13451 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13452 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13453 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13454 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13455 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13456
13457 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13458 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13459 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13460 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13461
bba6da4e
RM
13462 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13463 Deconditionalize the code that was previously under [RESET_PID].
13464 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13465
e0db6517
RM
13466 * sysdeps/generic/exit-thread.h: New file.
13467 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13468 * include/unistd.h (__exit_thread): Remove declaration.
13469 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13470 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13471 * csu/libc-start.c: Include <exit-thread.h>.
13472 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13473 * nptl/pthread_create.c: Include <exit-thread.h>.
13474 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13475 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13476 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13477 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13478 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13479 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13480 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13481 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13482 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13483 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13484 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13485 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13486 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13487 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13488 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13489 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13490 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13491
01eb16fd
AS
134922014-05-13 Andreas Schwab <schwab@suse.de>
13493
13494 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13495
637461d9
JM
134962014-05-12 Joseph Myers <joseph@codesourcery.com>
13497
13498 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13499 (__ASSUME_UTIMES): Do not condition on kernel version.
13500 (__ASSUME_PSELECT): Define unconditionally.
13501 (__ASSUME_PPOLL): Likewise.
13502 (__ASSUME_ATFCTS): Likewise.
13503 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13504 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13505 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13506 (__ASSUME_UTIMENSAT): Define unconditionally.
13507 (__ASSUME_PRIVATE_FUTEX): Likewise.
13508 (__ASSUME_FALLOCATE): Likewise.
13509 (__ASSUME_O_CLOEXEC): Likewise.
13510 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13511 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13512 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13513 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13514 (__ASSUME_IN_NONBLOCK): Likewise.
13515 (__ASSUME_PIPE2): Likewise.
13516 (__ASSUME_EVENTFD2): Likewise.
13517 (__ASSUME_SIGNALFD4): Likewise.
13518 (__ASSUME_DUP3): Likewise.
13519 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13520 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13521 (__ASSUME_AT_RANDOM): Likewise.
13522 (__ASSUME_PREADV): Likewise.
13523 (__ASSUME_PWRITEV): Likewise.
13524 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13525 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13526 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13527 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13528 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13530 (__ASSUME_O_CLOEXEC): Define unconditionally.
13531 (__ASSUME_PSELECT): Do not undefine conditionally.
13532 (__ASSUME_PPOLL): Likewise.
13533 (__ASSUME_ATFCTS): Likewise.
13534 (__ASSUME_SET_ROBUST_LIST): Likewise.
13535 (__ASSUME_UTIMENSAT): Likewise.
13536 (__ASSUME_FDATASYNC): Define unconditionally.
13537 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13538 (__ASSUME_SIGFRAME_V2): Likewise.
13539 )__ASSUME_EVENTFD2): Likewise.
13540 (__ASSUME_SIGNALFD4): Likewise.
13541 (__ASSUME_PSELECT): Do not undefine conditionally.
13542 (__ASSUME_PPOLL): Likewise.
13543 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13544 (__ASSUME_PSELECT): Define unconditionally.
13545 (__ASSUME_PPOLL): Likewise.
13546 (__ASSUME_O_CLOEXEC): Likewise.
13547 (__ASSUME_SOCK_CLOEXEC): Likewise.
13548 (__ASSUME_IN_NONBLOCK): Likewise.
13549 (__ASSUME_PIPE2): Likewise.
13550 (__ASSUME_EVENTFD2): Likewise.
13551 (__ASSUME_SIGNALFD4): Likewise.
13552 (__ASSUME_DUP3): Likewise.
13553 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13554 (__ASSUME_O_CLOEXEC): Likewise.
13555 (__ASSUME_SOCK_CLOEXEC): Likewise.
13556 (__ASSUME_IN_NONBLOCK): Likewise.
13557 (__ASSUME_PIPE2): Likewise.
13558 (__ASSUME_EVENTFD2): Likewise.
13559 (__ASSUME_SIGNALFD4): Likewise.
13560 (__ASSUME_DUP3): Likewise.
13561 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13562 (__ASSUME_EVENTFD2): Likewise.
13563 (__ASSUME_SIGNALFD4): Likewise.
13564 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13565
315eb1d8
AS
135662014-05-12 Andreas Schwab <schwab@suse.de>
13567
13568 [BZ #16932]
13569 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13570 (_nss_nis_gethostbyname4_r): Return error if item length is larger
13571 than maximum RPC packet size.
13572 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13573 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13574 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13575 (_nss_nis_getservbyport_r): Likewise.
13576
91df99f7
WN
135772014-05-12 Will Newton <will.newton@linaro.org>
13578
13579 * malloc/Makefile (tests): Add tst-mallopt.
13580 * malloc/tst-mallopt.c: New file.
13581
0a982a29
RM
135822014-05-09 Roland McGrath <roland@hack.frob.com>
13583
13584 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13585 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13586
0ded08a5
AZ
135872014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13588
13589 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13590 (tst-tlsmod6.so): Likewise.
13591
55d4d550
RM
135922014-05-09 Roland McGrath <roland@hack.frob.com>
13593
13594 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13595
77d08aca
JM
135962014-05-09 Joseph Myers <joseph@codesourcery.com>
13597
13598 [BZ #16064]
13599 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13600 and <dl-procinfo.h>.
13601 (__fegetenv): Save SSE state in envp->__eip if supported.
13602 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13603 envp->__eip if supported.
13604 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13605 and <dl-procinfo.h>.
13606 (__fesetenv): Always set __eip, __cs_selector, __opcode,
13607 __data_offset and __data_selector in environment to 0. Set SSE
13608 state if supported.
13609 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13610 test-fenv-sse.
13611 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13612 -mfpmath=sse.
13613 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13614
28162f4d
WN
136152014-05-09 Will Newton <will.newton@linaro.org>
13616
13617 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13618 and libc_relro_required for ARM.
13619 * sysdeps/arm/preconfigure: Regenerate.
13620
5a414ff7
DV
136212014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13622 Stefan Liebler <stli@linux.vnet.ibm.com>
13623
13624 * config.make.in (enable-lock-elision): New Makefile variable.
13625 * configure.ac: Likewise.
13626 * configure: Regenerate.
13627 * sysdeps/s390/configure.ac:
13628 Add check for gcc transactions support.
13629 * sysdeps/s390/configure: Regenerate.
13630 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13631 Build elision files if enabled.
13632 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13633 Add lock elision support for s390.
13634 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13635 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13636 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13637 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13638 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13639 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13640 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13641 Likewise.
13642 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13643 Likewise.
13644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13645 Likewise.
13646 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13647 Likewise.
13648 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13649 (__lll_timedlock_elision, __lll_lock_elision)
13650 (__lll_unlock_elision, __lll_trylock_elision)
13651 (lll_timedlock_elision, lll_lock_elision)
13652 (lll_unlock_elision, lll_trylock_elision): Add.
13653 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13654 (pthread_mutex_t): Add lock elision support for s390.
13655
1a2f40e5
W
136562014-05-14 Wilco <wdijkstr@arm.com>
13657
13658 * sysdeps/arm/fclrexcpt.c: Cleanup.
13659 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13660 * sysdeps/arm/feenablxcpt.c: Cleanup.
13661 * sysdeps/arm/fegetenv.c: Cleanup.
13662 * sysdeps/arm/fegetexcept.c: Cleanup.
13663 * sysdeps/arm/fegetround.c: Cleanup.
13664 * sysdeps/arm/feholdexcpt.c: Cleanup.
13665 * sysdeps/arm/fesetenv.c: Cleanup.
13666 * sysdeps/arm/fesetround.c: Cleanup.
13667 * sysdeps/arm/feupdateenv.c: Cleanup.
13668 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13669 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13670 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13671 * sysdeps/arm/ftestexcept.c: Cleanup.
13672 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13673 * sysdeps/arm/setfpucw.c: Cleanup.
13674
f63c86fe
WN
136752014-05-09 Will Newton <will.newton@linaro.org>
13676
13677 * sysdeps/arm/armv7/strcmp.S: New file.
13678 * NEWS: Mention addition of ARMv7 optimized strcmp.
13679
7a1a51b5
RM
136802014-05-08 Roland McGrath <roland@hack.frob.com>
13681
95afbbe5
RM
13682 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13683 look for %.ac rather than %.in.
13684
13685 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13686 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13687 * sysdeps/mach/hurd/configure: Regenerated.
13688 * sysdeps/unix/sysv/linux/configure: Regenerated.
13689
7a1a51b5
RM
13690 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13691
5057ad3b
SE
136922014-05-07 Steve Ellcey <sellcey@mips.com>
13693
13694 [BZ# 16922]
13695 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13696 (LONG_SUB): Ditto.
13697 (PTR_SUB): Ditto.
13698
8dc97517
AS
136992014-05-07 Andreas Schwab <schwab@suse.de>
13700
13701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13702 when skipping over non-matching result from nscd.
13703
ce0c5b8f
OB
137042014-05-07 Ondřej Bílka <neleai@seznam.cz>
13705
13706 [BZ #16876]
13707 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13708
a1189263
OB
13709 [BZ #16877]
13710 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13711 nscd security class.
ce0c5b8f 13712
0f58d252
RM
137132014-05-06 Roland McGrath <roland@hack.frob.com>
13714
13715 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13716 * sysdeps/arm/unwind.h: ... here.
13717
83df9ad0
AJ
137182014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13719
ce0c5b8f
OB
13720 [BZ# 16916]
13721 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13722 Define.
83df9ad0 13723
f360f94a
VR
137242014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13725
13726 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13727 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13728 multiarch strncpy for PPC64.
13729 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13730 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13732 multiarch optimizations.
13733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13734 (__libc_ifunc_impl_list): Likewise.
13735 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13736 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13737 multiarch stpncpy for PPC64.
13738 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13739 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13740
978a41c3
AS
137412014-05-06 Andreas Schwab <schwab@suse.de>
13742
13743 [BZ #16912]
13744 * gmon/mcount.c (_MCOUNT_DECL): Use
13745 atomic_compare_and_exchange_bool_acq instead of
13746 catomic_compare_and_exchange_bool_acq.
13747
eb1ed03d
RM
137482014-05-05 Roland McGrath <roland@hack.frob.com>
13749
fe658845
RM
13750 * elf/Makefile (others, install-bin): Remove pldd.
13751 (pldd-modules): Variable removed.
13752 ($(objpfx)pldd): Target removed.
13753 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13754 (others, install-bin): Append pldd here.
13755 ($(objpfx)pldd): New target.
13756
eb1ed03d
RM
13757 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13758 to 0, so the first #if test emitted later doesn't see it undefined.
13759 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13760 * sysdeps/gnu/errlist.c: Regenerated.
13761
19c4bec0
AZ
137622014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13763
13764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13765 [libc_hidden_builtin_def]: Define to empty value.
13766 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13767 [libc_hidden_builtin_def]: Likewise.
13768 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13769 [libc_hidden_builtin_def]: Likewise.
13770 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13771 [libc_hidden_builtin_def]: Likewise.
13772 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13773 __redirect_memcpy and define ifunc as default hidden symbol.
13774 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13775 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13776
7776e669
AC
137772014-05-04 Adam Conrad <adconrad@0c3.net>
13778
13779 * locale/iso-4217.def: Reintroduce XDR currency.
13780
d69aeb12
AM
137812014-05-04 Allan McRae <allan@archlinux.org>
13782
13783 * po/eo.po: Update Esperanto translation from translation project.
13784
8f1df5cf
CD
137852014-05-02 Carlos O'Donell <carlos@redhat.com>
13786
13787 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13788 and FEATURE_INDEX_MAX to 1.
13789 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13790
13e402e7
SE
137912014-05-01 Steve Ellcey <sellcey@mips.com>
13792
13793 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13794 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13795 * iconvdata/big5.c (ONE_DIRECTION): Define.
13796 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13797 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13798 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13799 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13800 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13801 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13802 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13803 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13804 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13805 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13806 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13807 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13808 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13809 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13810 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13811 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13812 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13813 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13814 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13815 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13816 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13817 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13818 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13819 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13820 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13821 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13822 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13823 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13824 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13825 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13826 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13827 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13828 * iconvdata/johab.c (ONE_DIRECTION): Define.
13829 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13830 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13831 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13832 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13833 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13834 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13835 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13836 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13837 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13838 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13839
c727f032
RM
138402014-05-01 Roland McGrath <roland@hack.frob.com>
13841
8f2f08d0
RM
13842 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13843 (_IO_JUMPS_OFFSET): Define to 0.
13844
c727f032
RM
13845 * nptl/sysdeps/pthread/bits/libc-lock.h
13846 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13847 (__libc_lock_define_initialized_recursive): Always define using
13848 initializer. Modern compilers treat uninitialized (implicit zero) and
13849 explicit zero initializers the same (i.e. put the datum in bss).
13850
a849e800
AS
138512014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13852
13853 * nscd/nscd-client.h: Include <string.h>.
13854
5331255b
DM
138552014-05-01 David S. Miller <davem@davemloft.net>
13856
13857 [BZ #16885]
13858 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13859 multiple zero bytes exist at the end of a string.
13860 Reported by Aurelien Jarno <aurelien@aurel32.net>
13861
13862 * string/test-strcmp.c (check): Add explicit test for situations where
13863 there are multiple zero bytes after the first.
13864
4fdfe821
AS
138652014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13866
13867 [BZ #16890]
13868 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13869 when compiling wprintf.
13870 * stdio-common/tstdiomisc.c (t3): New function.
13871 (main): Call it.
13872
0cdddc25
SE
138732014-05-01 Steve Ellcey <sellcey@mips.com>
13874
13875 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13876 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13877 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13878 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13879
6426d77e
SE
138802014-05-01 Steve Ellcey <sellcey@mips.com>
13881
13882 * stdlib/longlong.h: Updated from GCC.
13883
6d96f5e4
WN
138842014-05-01 Will Newton <will.newton@linaro.org>
13885 Bernard Ogden <bernie.ogden@linaro.org>
13886
7470db0c
WN
13887 * NEWS: Update fixed bug list.
13888
6d96f5e4
WN
13889 [BZ #15119]
13890 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13891
211d653c
DM
138922014-04-30 David S. Miller <davem@davemloft.net>
13893
4fa262fa
DM
13894 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13895 (libc_feholdexcept_setround_sparc_ctx): New function.
13896 (libc_fesetenv_sparc_ctx): Likewise.
13897 (libc_feupdateenv_sparc_ctx): Likewise.
13898 (libc_feholdsetround_sparc_ctx): Likewise.
13899 (libc_feholdexcept_setround_ctx): Define.
13900 (libc_feholdexcept_setroundf_ctx): Likewise.
13901 (libc_feholdexcept_setroundl_ctx): Likewise.
13902 (libc_fesetenv_ctx): Likewise.
13903 (libc_fesetenvf_ctx): Likewise.
13904 (libc_fesetenvl_ctx): Likewise.
13905 (libc_feupdateenv_ctx): Likewise.
13906 (libc_feupdateenvf_ctx): Likewise.
13907 (libc_feupdateenvl_ctx): Likewise.
13908 (libc_feresetround_ctx): Likewise.
13909 (libc_feresetroundf_ctx): Likewise.
13910 (libc_feresetroundl_ctx): Likewise.
13911 (libc_feholdsetround_ctx): Likewise.
13912 (libc_feholdsetroundf_ctx): Likewise.
13913 (libc_feholdsetroundl_ctx): Likewise.
13914
1d3d93ef
DM
13915 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13916 with __USE_GNU instead of XOPEN cpp guards.
13917
8aa583c3
DM
13918 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13919 0.
13920
211d653c
DM
13921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13922 with XOPEN cpp guards.
13923
60c8f1f6
JB
139242014-04-30 Julian Brown <julian@codesourcery.com>
13925
13926 [BZ #16888]
13927 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13928 handling.
13929
9a461d46
JM
139302014-04-30 Joseph Myers <joseph@codesourcery.com>
13931
d0f5b3f8
JM
13932 [BZ #9894]
13933 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13934 Change to 2.6.32.
13935 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13936 * sysdeps/unix/sysv/linux/configure: Regenerated.
13937 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13938 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13939 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13940 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13941 * README: Update reference to required Linux kernel version.
13942 * manual/install.texi (Linux): Update reference to required Linux
13943 kernel headers version.
13944 * INSTALL: Regenerated.
13945
9a461d46
JM
13946 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13947 header inclusion.
13948 [POSIX] (limits.h): Likewise.
13949 [POSIX] (math.h): Likewise.
13950 [POSIX] (sys/wait.h): Likewise.
13951 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13952 function.
13953 [POSIX] (stddef.h): Do not allow header inclusion.
13954
1775babf
AZ
139552014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13956
57f41c40 13957 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13958
8f630cca
YY
139592014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13960
13961 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13962 Return immediately after lll_futex_wake.
13963
1cdeb237
SP
139642014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13965
bc8f194c
SP
13966 [BZ #16791]
13967 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13968 structure.
13969 (datahead_init_pos): Call datahead_init_common early.
13970 (datahead_init_neg): Likewise.
13971
1cdeb237
SP
13972 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13973 datahead_init_neg): New functions.
13974 * nscd/aicache.c (addhstaiX): Use them.
13975 * nscd/grpcache.c (cache_addgr): Likewise.
13976 * nscd/hstcache.c (cache_addhst): Likewise.
13977 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13978 * nscd/netgroupcache.c (do_notfound): Likewise.
13979 (addgetnetgrentX): Likewise.
13980 (addinnetgrX): Likewise.
13981 * nscd/pwdcache.c (cache_addpw): Likewise.
13982 * nscd/servicescache.c (cache_addserv): Likewise.
13983
16b293a7
SP
139842014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13985 Atsushi Onoe <atsushi@onoe.org>
13986
13987 [BZ #14308]
13988 [BZ #12994]
13989 [BZ #13651]
13990 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13991 one response is valid.
13992 * resolv/res_send.c (send_dg): Check for validity of other
13993 response if the current response is a referral.
13994
a28a9b94
SE
139952014-04-29 Steve Ellcey <sellcey@mips.com>
13996
13997 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13998
2ca180e9
SL
139992014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14000
14001 [BZ #16823]
14002 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14003 Always divide by positive zero when computing -Inf result.
14004 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14005 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14006
18f2945a
AZ
140072014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14008
14009 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14010 FPSCR if value do not change.
14011 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14012 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14013 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14014 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14015 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14016 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14017 function.
14018
5abebba4
CD
140192014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14020
14021 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14022 * sysdeps/unix/sysv/linux/hppa: Move directory from
14023 ports/systeps/unix/sysv/linux/hppa.
14024 * README: Update listing for hppa-*-linux-gnu.
14025
f7ed60c2
OB
140262014-04-28 Ondřej Bílka <neleai@seznam.cz>
14027
fff763a5
OB
14028 [BZ #16754]
14029 * manual/stdio.texi (Hook functions): Fix types of stream hook
14030 functions.
f7ed60c2
OB
14031 [BZ #16854]
14032 * socket/sys/socket.h: Fix typo in comment.
14033
df639d73
WD
140342014-04-28 Wilco <wdijkstr@arm.com>
14035
f7ed60c2 14036 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
14037 * sysdeps/arm/math_private.h: New file.
14038 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14039
48332d82
L
140402014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14041
14042 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14043 with __int128_t.
14044 (La_x86_64_retval): Likewise.
14045
e5e0d9a4
IB
140462014-04-24 Ian Bolton <ian.bolton@arm.com>
14047
14048 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14049 fpsr if value didn't change.
14050 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14051 to fpcr if value didn't change.
14052 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14053 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14054 fpsr or fpcr if value didn't change.
14055 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14056 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14057 fpcr if value didn't change.
14058 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14059 to fpsr if value didn't change.
14060
bacc75f7
SP
140612014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14062
14063 * nptl/tst-sem3.c: Use test-skeleton.c
14064 (main): Rename to do_test. Use return instead of
14065 exit.
14066 * nptl/tst-sem4.c: Use test-skeleton.c
14067 (main): Rename to do_test.
14068
a059d359
DM
140692014-04-22 David S. Miller <davem@davemloft.net>
14070
14071 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14072 (struct sigaction): New struct member __glibc_reserved0, change
14073 type of sa_flags to int.
14074
ea6c92f3
YZ
140752014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14076
14077 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14078 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14079
766c4a36
SP
140802014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14081
14082 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14083 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14084
140cc7ab
VK
140852014-04-22 Will Newton <will.newton@linaro.org>
14086 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14087
14088 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14089 (__longjmp): Add longjmp and longjmp_target SystemTap
14090 probes.
14091 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14092 (__sigsetjmp): Add setjmp SystemTap probe.
14093
c54e5cf7
CD
140942014-04-17 Carlos O'Donell <carlos@redhat.com>
14095
14096 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14097 match manual order.
14098
75ffb047
AZ
140992014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14100
14101 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14102
2cd925f7
AZ
14103 * sysdeps/powerpc/fpu/fenv_private.h
14104 (libc_feholdexcept_setroundl_ctx): Define to
14105 libc_feholdexcept_setround_ppc_ctx.
14106 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14107 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14108 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14109 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14110
39e6cd8d
IB
141112014-04-17 Ian Bolton <ian.bolton@arm.com>
14112
14113 * sysdeps/aarch64/math-tests.h: New file.
14114
f9281df9
SY
141152014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14116
14117 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14118 New.
14119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14120 Check and set bit_AVX2_Usable.
14121 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14122 macro.
14123 (bit_AVX2): Likewise.
14124 (index_AVX2_Usable): Likewise.
14125 (CPUID_AVX2): Likewise.
14126 (HAS_AVX2): Likewise.
14127
37d35007
WN
141282014-04-17 Will Newton <will.newton@linaro.org>
14129
7c677662
WN
14130 * manual/setjmp.texi (System V contexts): Add note that
14131 calling setcontext on a context created by a call to a
14132 signal handler is undefined. Update text to note that
14133 setcontext from a signal handler is possible but not
14134 recommended.
14135
37d35007 14136 [BZ #16629]
e04a4e9d
WN
14137 * stdlib/tst-setcontext.c: Include signal.h.
14138 (main): Check that the signal stack before and
14139 after swapcontext is the same.
14140
37d35007
WN
14141 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14142 Re-implement to restore registers in user code and avoid
14143 rt_sigreturn system call.
14144
423a7160
W
141452014-04-17 Wilco <wdijkstr@arm.com>
14146
14147 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14148 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14149 * math/test-fenv.c: Skip exception trap tests on targets which only
14150 support non-stop mode.
14151
bc93ab29
IB
141522014-04-17 Ian Bolton <ian.bolton@arm.com>
14153 Wilco Dijkstra <wilco.dijkstra@arm.com>
14154
14155 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14156 (libc_feholdsetround_aarch64_ctx)
14157 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14158 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14159 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14160 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14161 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14162 (libc_feresetround_noexl_ctx): Define.
14163
95fc5fa3
RH
141642014-04-16 Richard Henderson <rth@redhat.com>
14165
ddb04724
RH
14166 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14167
d77c0899
RH
14168 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14169 unwind tables.
14170
a3df56fc
RH
14171 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14172 const from the non-libc, non-ldso copy.
14173
95fc5fa3
RH
14174 * sysdeps/alpha/libm-test-ulps: Regenerate.
14175
7e0b6763
IB
141762014-04-16 Ian Bolton <ian.bolton@arm.com>
14177 Wilco Dijkstra <wilco.dijkstra@arm.com>
14178
14179 * sysdeps/aarch64/fpu/math_private.h: New file.
14180
a9ea2e0c
MS
141812014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14182
14183 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14184
ea8ba7cd
IZ
141852014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14186
7e54fd04 14187 [BZ #16275]
ea8ba7cd
IZ
14188 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14189 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14191 Intel MPX bound registers before _dl_profile_fixup.
14192 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14193 registers after _dl_profile_fixup. Save and restore bound
14194 registers bnd0/bnd1 when calling _dl_call_pltexit.
14195 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14196 (LR_BND_OFFSET): Likewise.
14197 (LRV_BND0_OFFSET): Likewise.
14198 (LRV_BND1_OFFSET): Likewise.
14199
9f2a4fbc
ST
142002014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14201
14202 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14203 to...
14204 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
14205 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14206 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14207 fields.
9f2a4fbc 14208
fd15a59b
ST
142092014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14210
14211 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14212
f19dfa0a
SL
142132014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14214
14215 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14216
4fa8bc3b
SL
142172014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14218
14219 [BZ #14770]
14220 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14221 * sysdeps/s390/configure: Regenerate.
14222
8ea587db
SL
14223 [BZ #16824]
14224 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14225 Set round-to-nearest internally to reduce error accumulation.
14226
aa5f0ff1
AM
142272014-04-16 Alan Modra <amodra@gmail.com>
14228
14229 [BZ #16740]
14230 [BZ #16619]
14231 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14232 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 14233 * NEWS: Update fixed bug list.
aa5f0ff1 14234
bb9c256f
SP
142352014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14236
14237 * benchtests/Makefile: Depend on libraries in build directory.
14238 (bench-math): Separate out math tests.
14239 (bench-pthread): Separate out pthread tests.
14240 (bench): Include math and pthread tests.
14241
f737dfd0
CD
142422014-04-14 Carlos O'Donell <carlos@redhat.com>
14243
14244 [BZ #16831]
14245 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14246 _dl_debug_initialize.
14247
0699f766
CD
14248 * configure.ac: Remove SELinux header check.
14249 * configure: Regenerate.
14250 * nscd/selinux.c (perms): Array of const char* to permission names.
14251 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14252 default policy. Call string_to_security_class and string_to_av_perm to
14253 translate strings. Enforce default policy and call avs_has_perm with
14254 results of translated strings.
14255
809bd45f
DM
142562014-04-13 David S. Miller <davem@davemloft.net>
14257
14258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14259
89e691f2
AM
142602014-04-12 Allan McRae <allan@archlinux.org>
14261
14262 [BZ #16838]
14263 * manual/string.texi (Collation Functions): Fix qsort argument
14264 order in example.
14265 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14266
9c9daaeb
CM
142672014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14268
14269 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14270 Make the test a no-op if there are no exceptions defined.
14271
95561fb9
PP
142722014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14273
fe8d072c 14274 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
14275 enable-hardcoded-path-in-tests
14276
970c602a
WN
142772014-04-11 Will Newton <will.newton@linaro.org>
14278
14279 * benchtests/Makefile (extra-objs): Add json-lib.o.
14280 (bench-func): Tidy up JSON output.
14281 * benchtests/bench-skeleton.c: Include json-lib.h.
14282 (main): Use JSON library functions to do output of
14283 benchmark results.
14284 * benchtests/bench-timing-type.c (main): Output the
14285 timing type simply, leaving formatting to the user.
14286 * benchtests/json-lib.c: New file.
14287 * benchtests/json-lib.h: Likewise.
14288
36875b06
TR
142892014-04-11 Torvald Riegel <triegel@redhat.com>
14290
14291 [BZ #15215]
14292 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14293 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14294 memory barriers. Add comments.
14295 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14296 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14297 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14298 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14299 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14300 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14301
579db35a
SL
143022014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14303
14304 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14305 * sysdeps/s390/s390-64/configure.ac: ... this ...
14306 * sysdeps/s390/configure.ac: ... to here.
14307 * sysdeps/s390/s390-32/configure: Delete file.
14308 * sysdeps/s390/s390-64/configure: Delete file.
14309 * sysdeps/s390/configure: Regenerate.
14310
c12e9f37
JAPH
143112014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14312
14313 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14314
439bda32
WN
143152014-04-11 Will Newton <will.newton@linaro.org>
14316
14317 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14318 to zero if it is not defined elsewhere. (mtrim): Test
14319 the value of MALLOC_DEBUG with #if rather than #ifdef.
14320
6a5d6ea1
TR
143212014-04-10 Torvald Riegel <triegel@redhat.com>
14322
14323 * benchtests/pthread_once-inputs: New file.
14324 * benchtests/pthread_once-source.c: New file.
14325 * benchtests/README: Update documentation.
14326
a4c75cfd
IZ
143272014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14328 H.J. Lu <hongjiu.lu@intel.com>
14329
7e54fd04 14330 [BZ #16275]
a4c75cfd
IZ
14331 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14332 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14333 * sysdeps/x86_64/configure: Regenerated.
14334 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14335 macro.
14336 (REGISTER_SAVE_RAX): Likewise.
14337 (REGISTER_SAVE_RCX): Likewise.
14338 (REGISTER_SAVE_RDX): Likewise.
14339 (REGISTER_SAVE_RSI): Likewise.
14340 (REGISTER_SAVE_RDI): Likewise.
14341 (REGISTER_SAVE_R8): Likewise.
14342 (REGISTER_SAVE_R9): Likewise.
14343 (REGISTER_SAVE_BND0): Likewise.
14344 (REGISTER_SAVE_BND1): Likewise.
14345 (REGISTER_SAVE_BND2): Likewise.
14346 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14347 bound registers when calling _dl_fixup.
14348
27822ce6
AZ
143492014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14350
14351 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
14352 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14353 of its definition.
27822ce6
AZ
14354 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14355 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14356 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14357 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14358 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14359 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14360 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14361
a88ddc90
PTB
143622014-04-09 Peter Brett <peter@peter-b.co.uk>
14363
14364 [BZ #15514]
14365 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14366 pathconf(_PC_NAME_MAX).
14367
01f8eac2
AZ
143682014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14369
14370 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14371 Remove macro usage.
14372 (__PTHREAD_SPINS): Move definition to ...
14373 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14374 (__PTHREAD_SPINS): ... here.
14375 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14376 (__PTHREAD_SPIN): Likewise.
14377 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14378 (__PTHREAD_SPIN): Likewise.
14379 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14380 (__PTHREAD_SPIN): Likewise.
14381 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14382 (__PTHREAD_SPIN): Likewise.
14383 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14384 (__PTHREAD_SPIN): Likewise.
14385 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14386 (__PTHREAD_SPIN): Likewise.
14387 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14388 (__PTHREAD_SPIN): Likewise.
14389 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14390 (__PTHREAD_SPIN): Likewise.
14391 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14392 (__PTHREAD_SPIN): Likewise.
14393 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14394 (__PTHREAD_SPIN): Likewise.
14395 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14396 (__PTHREAD_SPIN): Likewise.
14397 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14398 (__PTHREAD_SPIN): Likewise.
14399
de21c33c
AZ
14400 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14401 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14402 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14403 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14404 imply folder.
14405 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14406 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14407 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14408 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14409 correct imply path.
14410 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14411 strlen symbol for non multi-arch builds.
14412 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14413 missing hidden_def and weak_alias.
14414
862c472e
CD
144152014-04-08 Carlos O'Donell <carlos@redhat.com>
14416
14417 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14418
8667f90e
WN
144192014-04-07 Will Newton <will.newton@linaro.org>
14420
14421 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14422 and contents. [!_LIBC] Remove #ifndef and contents.
14423 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14424 * string/memccpy.c (__memccpy): Use ANSI prototype.
14425 * string/memfrob.c (memfrob): Likewise.
14426 * string/strcoll.c (STRCOLL): Likewise.
14427 * string/strlen.c (strlen): Likewise.
14428 * string/strtok.c (STRTOK): Likewise.
14429 * string/strcat.c: Remove unused #include of memcopy.h.
14430 (strcat): Use ANSI prototype.
14431 * string/strchr.c: Remove unused #include of memcopy.h.
14432 (strchr): Use ANSI prototype.
14433 * string/strcmp.c: Remove unused #include of memcopy.h.
14434 (strcmp): Use ANSI prototype.
14435 * string/strcpy.c: Remove unused #include of memcopy.h.
14436 (strcpy): Use ANSI prototype.
14437
7ffa9423
AZ
144382014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14439
14440 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14441 * config.make.in (config-extra-cppflags): Set it from
14442 libc_extra_cppflags.
14443 * configure.ac (libc_extra_cflags): Make it accumulate over
14444 configure fragments.
14445 (libc_extra_cppflags): New flag.
14446 * configure. Regenerate.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
14448 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14449 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14451
8bd70862
AZ
14452 [BZ #16815]
14453 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14454 result for FE_DOWNWARD rounding mode.
14455 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14456 Likewise.
14457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14458
d42f3448
CM
144592014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14460
14461 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14462 in function argument name.
14463
1c21d115
DS
144642014-04-03 David Svoboda <svoboda@cert.org>
14465
14466 [BZ #5666]
14467 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14468 explicitly.
14469
fcccd512
RM
144702014-04-03 Roland McGrath <roland@hack.frob.com>
14471
14472 * elf/dl-unmap-segments.h: New file.
14473 * sysdeps/generic/ldsodefs.h
14474 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14475 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14476 * elf/dl-fptr.c: Likewise.
14477 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14478 * sysdeps/aarch64/tlsdesc.c: Likewise.
14479 * sysdeps/arm/tlsdesc.c: Likewise.
14480 * sysdeps/i386/tlsdesc.c: Likewise.
14481 * sysdeps/tile/dl-runtime.c: Likewise.
14482 * sysdeps/x86_64/tlsdesc.c: Likewise.
14483 * elf/dl-load.h: New file.
14484 * elf/dl-load.c: Include it.
14485 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14486 Macros moved to dl-load.h.
14487 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14488 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14489 Use _dl_unmap_segments in place of __munmap.
14490 Break out segment-mapping loop into ...
14491 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14492
f6488e2b
WN
144932014-04-03 Will Newton <will.newton@linaro.org>
14494
14495 * elf/dl-lookup.c (do_lookup_x): Remove comment
14496 referring to nested function and move variable
14497 declarations down to before first use.
14498
6f05bafe
JM
144992014-04-02 Joseph Myers <joseph@codesourcery.com>
14500
a84e78c8
JM
14501 [BZ #16799]
14502 [BZ #16800]
14503 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14504 with 0 numerator.
14505 * math/s_catanf.c (__catanf): Likewise.
14506 * math/s_catanh.c (__catanh): Likewise.
14507 * math/s_catanhf.c (__catanhf): Likewise.
14508 * math/s_catanhl.c (__catanhl): Likewise.
14509 * math/s_catanl.c (__catanl): Likewise.
14510 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14511 by positive zero when computing -Inf result.
14512 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14513 (catanh_test): Likewise.
14514 * sysdeps/i386/fpu/libm-test-ulps: Update.
14515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14516
6f05bafe
JM
14517 [BZ #16789]
14518 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14519 instead of using underflowing value in computing result.
14520 * math/s_clog10.c (__clog10): Likewise.
14521 * math/s_clog10f.c (__clog10f): Likewise.
14522 * math/s_clog10l.c (__clog10l): Likewise.
14523 * math/s_clogf.c (__clogf): Likewise.
14524 * math/s_clogl.c (__clogl): Likewise.
14525 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14526 (clog10_test): Likewise.
14527 * sysdeps/i386/fpu/libm-test-ulps: Update.
14528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14529
b0abbc21
AM
145302014-04-02 Alan Modra <amodra@gmail.com>
14531
14532 [BZ #16739]
14533 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14534 output when value is near a power of two. Use int64_t for lx and
14535 remove casts. Use decimal rather than hex exponent constants.
14536 Don't use long double multiplication when double will suffice.
14537 * math/libm-test.inc (nextafter_test_data): Add tests.
14538 * NEWS: Add 16739 and 16786 to bug list.
14539
af6b1797
AM
14540 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14541
483818d7
AM
14542 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14543
f6c55796
WN
145442014-04-01 Will Newton <will.newton@linaro.org>
14545
14546 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14547 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
14548
13f7fe35
FW
145492014-04-01 Florian Weimer <fweimer@redhat.com>
14550
14551 [BZ #13347]
14552 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14553 * nptl/tst-setuid2.c: New file.
14554 * nptl/Makefile (xtests): Add tst-setuid2.
14555
c859b32e
AM
145562014-04-01 Alan Modra <amodra@gmail.com>
14557
14558 [BZ #16786]
14559 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14560
54fa2475
JM
145612014-03-31 Joseph Myers <joseph@codesourcery.com>
14562
8795b4a4
JM
14563 [BZ #6803]
14564 [BZ #6804]
14565 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14566 set errno as appropriate.
14567 * math/w_scalbf.c (__scalbf): Likewise.
14568 * math/w_scalbl.c (__scalbl): Likewise.
14569 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14570 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14571 * math/libm-test.inc (scalb_test_data): Add errno expectations.
14572 Add more NaN tests.
14573
54fa2475
JM
14574 [BZ #16349]
14575 * math/w_atan2.c: Include <errno.h>.
14576 (__atan2): Set errno for result underflowing to zero.
14577 * math/w_atan2f.c: Include <errno.h>.
14578 (__atan2f): Set errno for result underflowing to zero.
14579 * math/w_atan2l.c: Include <errno.h>.
14580 (__atan2l): Set errno for result underflowing to zero.
14581 * math/auto-libm-test-in: Don't allow missing errno for some atan2
14582 tests.
14583 * math/auto-libm-test-out: Regenerated.
14584
757d9dd5
AZ
145852014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14586
14587 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14588 Encode instruction correctly in little endian.
14589 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14590 Likewise.
14591 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14592 Likewise.
14593 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14594 Likewise.
14595 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14596 Likewise.
14597
d7a68734
JM
145982014-03-31 Joseph Myers <joseph@codesourcery.com>
14599
47c5adeb
JM
14600 [BZ #9894]
14601 * sysdeps/unix/sysv/linux/kernel-features.h
14602 [__sparc__ && !__arch64__ && !__sparc_v9__]
14603 (__ASSUME_SET_ROBUST_LIST): Do not define.
14604 [__sparc__ && !__arch64__ && !__sparc_v9__]
14605 (__ASSUME_FUTEX_LOCK_PI): Likewise.
14606 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14607 Likewise.
14608 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14609 (__ASSUME_FUTEX_LOCK_PI): Undefine.
14610 (__ASSUME_REQUEUE_PI): Likewise.
14611 (__ASSUME_SET_ROBUST_LIST): Likewise.
14612 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14613 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14614 Undefine.
14615 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14616 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14617 Likewise.
14618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14619 Likewise.
14620 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14621 Likewise.
14622 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14623 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14624 Undefine.
14625 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14626 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14627 Likewise.
14628
d7a68734
JM
14629 [BZ #16648]
14630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14631 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14632 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14633
c760f5c2
WN
146342014-03-31 Will Newton <will.newton@linaro.org>
14635
14636 * benchtests/Makefile (bench): Add ffs and ffsll to list
14637 of tests.
14638 * benchtests/ffs-inputs: New file.
14639 * benchtests/ffsll-inputs: Likewise.
14640
ea6029b1
JM
146412014-03-29 Joseph Myers <joseph@codesourcery.com>
14642
14643 [BZ #16770]
14644 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14645 too large before casting to int.
14646 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14647 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14648 * math/libm-test.inc (scalb_test_data): Add more tests.
14649
cf806aff
SP
146502014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14651
56737508
SP
14652 * benchtests/Makefile (DETAILED_OPT): New make option.
14653 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14654 set.
14655 * benchtests/bench-skeleton.c: Include stdbool.h.
14656 (main): Store and print timings per input.
14657 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14658 member to each argument value.
14659 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14660 (_print_arg_data): Initialize per-input timing to 0.
14661
cb5e4aad
SP
14662 * benchtests/Makefile (timing-type): New binary.
14663 (bench-clean): Also remove bench-timing-type.
14664 (bench): New target for timing-type.
14665 (bench-func): Print output in JSON format.
14666 * benchtests/bench-skeleton.c (main): Print output in JSON
14667 format.
14668 * benchtests/bench-timing-type.c: New file.
14669 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14670 (TIMING_PRINT_STATS): Remove.
14671 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14672 name separately.
14673
cf806aff
SP
14674 * benchtests/bench-modf.c: Remove.
14675 * benchtests/modf-inputs: New inputs file.
14676
289e0779
JM
146772014-03-28 Joseph Myers <joseph@codesourcery.com>
14678
14679 [BZ #16362]
14680 * math/s_clog10.c (M_PI_LOG10E): New macro.
14681 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14682 imaginary parts are 0.
14683 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14684 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14685 imaginary parts are 0.
14686 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14687 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14688 imaginary parts are 0.
14689 * math/libm-test.inc (clog10_test_data): Update expected results
14690 for when real and imaginary parts are 0.
14691
277ae3f1
PP
146922014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14693
14694 * elf/dl-load.c: Finish conversion of __builtin_expect into
14695 __glibc_{un}likely.
14696
03a7091f
JM
146972014-03-27 Joseph Myers <joseph@codesourcery.com>
14698
14699 [BZ #16348]
14700 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14701 1+x for argument with exponent below -67.
14702 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14703 Likewise.
14704 * math/auto-libm-test-in: Add more tests of exp.
14705 * math/auto-libm-test-out: Regenerated.
14706
ea7d8b95
SP
147072014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14708
dd3022d7
SP
14709 [BZ #16759]
14710 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14711 (nscd_getnetgrent): Use it.
14712
ea7d8b95
SP
14713 [BZ #16760]
14714 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14715 of stpcpy.
14716
df5b85da
AK
147172014-03-27 Andi Kleen <ak@linux.intel.com>
14718
57f41c40
AS
14719 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14720 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14721 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14722 (lll_robust_unlock): Remove out of line section. Use cfi
14723 intrinsics.
df5b85da 14724 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14725 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14726 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14727 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14728 (lll_robust_unlock): Remove out of line section. Use cfi
14729 intrinsics.
df5b85da
AK
14730 (LLL_STUB_UNWIND_INFO*): Remove.
14731
fbd6b5a4
SP
147322014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14733
14734 [BZ #16758]
14735 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14736 blank values.
14737
1b26b855
PP
147382014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14739
14740 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14741
9be36fb8
JM
147422014-03-26 Joseph Myers <joseph@codesourcery.com>
14743
14744 [BZ #16198]
14745 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14746 fnstenv.
14747 * math/test-fenv-preserve.c: New file.
14748 * math/Makefile (tests): Add test-fenv-preserve.
14749
60a2f3c1
WN
147502014-03-26 Will Newton <will.newton@linaro.org>
14751
14752 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14753
a5e5f1e2
RM
147542014-03-25 Roland McGrath <roland@hack.frob.com>
14755
14756 * scripts/versionlist.awk: Partition the version sets and emit all
14757 GLIBC_* (sorted) before all others (sorted).
14758
00f4012a
JM
147592014-03-25 Joseph Myers <joseph@codesourcery.com>
14760
14761 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14762 GLIBC_2.2.5 version.
14763
7bc5a741
AZ
147642014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14765
14766 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14767 calls.
14768
7578473b
AZ
14769 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14770 previous change.
14771
f3f1dab3
AZ
14772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14773
6da36183
AS
147742014-03-25 Andreas Schwab <schwab@suse.de>
14775
14776 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14777 label to be used after in6ailist is initialized.
14778
f3f1dab3 147792014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14780
7578473b 14781 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14782 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14783
046651c1
JM
147842014-03-25 Joseph Myers <joseph@codesourcery.com>
14785
14786 [BZ #16357]
14787 [BZ #16599]
14788 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14789 min_plus_half.
14790 (fp_formats): Update initializers.
14791 (init_fp_formats): Initialize new field.
14792 (output_for_one_input_case): Allow underflow for results up to
14793 min_plus_half.
14794 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14795 * math/auto-libm-test-in: Don't mark some underflows from asin and
14796 atanh as spurious.
14797 * math/auto-libm-test-out: Regenerated.
14798 * sysdeps/i386/fpu/libm-test-ulps: Update.
14799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14800
003e49ed
AS
148012014-03-25 Andreas Schwab <schwab@suse.de>
14802
14803 * libio/Makefile (tst-ftell-partial-wide-ENV)
14804 (tst-ftell-active-handler-ENV): Define.
14805
de031874
SL
148062014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14807
14808 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14809
55a81e3b
PP
148102014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14811
14812 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14813
f3426898
JM
148142014-03-24 Joseph Myers <joseph@codesourcery.com>
14815
14816 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14817 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14818 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14819
a42faf59
PP
148202014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14821
14822 [BZ #16634]
a42faf59 14823 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14824 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14825 (open_path): Change from boolean 'secure' to complete flag 'mode'
14826 (_dl_map_object): Adjust.
a42faf59
PP
14827 * elf/Makefile (tests): Add tst-dlopen-aout.
14828 * elf/tst-dlopen-aout.c: New test.
14829
50936127
SL
148302014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14831
14832 [BZ #16714]
14833 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14834 (struct stat): Rename member pad0 to __glibc_reserved0.
14835
26011b5c
SL
14836 [BZ #16712]
14837 * sysdeps/s390/s390-32/bits/wordsize.h
14838 (__WORDSIZE32_SIZE_ULONG): New define.
14839 * sysdeps/s390/s390-64/bits/wordsize.h
14840 (__WORDSIZE32_SIZE_ULONG): Likewise.
14841 * sysdeps/generic/stdint.h (SIZE_MAX):
14842 Define as UL if __WORDSIZE32_SIZE_ULONG.
14843
a2d86bf1
SL
14844 [BZ #16713]
14845 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14846 (__glibc_reserved0): New variable.
14847 (sa_flags): Change type to int.
14848
78b6eebc
SL
14849 * posix/Makefile (before-compile): Use += before-compile instead
14850 of a :=.
14851
f1399b5a
SL
14852 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14853 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14854
a071766e
AS
148552014-03-20 Andreas Schwab <schwab@suse.de>
14856
14857 [BZ #16743]
14858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14859 non-matching result from nscd.
14860
27c673b8
SP
148612014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14862
14863 * scripts/bench.py: Moved to ...
14864 * benchtests/scripts/bench.py: ... here.
14865 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14866
44152e4b
AS
148672014-03-24 Andreas Schwab <schwab@suse.de>
14868
14869 [BZ #16002]
14870 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14871 alloca_account and account alloca use for struct in6ailist.
14872
b376a11a
JM
148732014-03-24 Joseph Myers <joseph@codesourcery.com>
14874
14875 [BZ #16284]
14876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14877 rounding mode to recompute results that overflow to infinity or
14878 underflow to zero.
14879 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14880 bug 16284.
14881 * math/auto-libm-test-out: Regenerated.
14882 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14883 (ccosh_test): Likewise.
14884 (csin_test_data): Use plus_oflow.
14885 (csin_test): Use ALL_RM_TEST.
14886 (csinh_test_data): Use plus_oflow.
14887 (csinh_test): Use ALL_RM_TEST.
14888 * sysdeps/i386/fpu/libm-test-ulps: Update.
14889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14890
f7be7376
JM
148912014-03-21 Joseph Myers <joseph@codesourcery.com>
14892
1ca2d03e
JM
14893 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14894 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14895 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14896
f7be7376
JM
14897 [BZ #16731]
14898 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14899 when x - 1 is zero.
14900 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14901 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14902 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14903 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14904 argument is 1.
14905 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14906 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14907 zero.
14908 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14909 * sysdeps/i386/fpu/libm-test-ulps: Update.
14910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14911
fdf4534d
SP
149122014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14913
df26ea53
SP
14914 * scripts/bench.pl: Remove file.
14915 * scripts/bench.py: New benchmark script.
14916 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14917 * benchtests/README: Mention python dependency.
14918 * scripts/pylintrc: New file.
14919 * scripts/pylint: New file.
14920
fdf4534d
SP
14921 * bits/mathdef.h: Use #ifdef instead of #if.
14922 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14923 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14924 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14925 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14926 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14927 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14928
6f23d093
AZ
149292014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14930 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14931
14932 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14934 and strpbrk-ppc64 objects.
14935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14936 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14937 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14938 multiarch strpbrk for POWER7.
14939 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14940 multiarch strpbrk for PPC64.
14941 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14942 ifunc selector.
14943 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14944 strpbrk for POWER7.
14945
8c92dfff
JM
149462014-03-20 Joseph Myers <joseph@codesourcery.com>
14947
14948 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14949 (atan_test): Likewise.
14950 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14951 (atanh_test): Use ALL_RM_TEST.
14952 (atan2_test_data): Likewise.
14953 (cabs_test): Likewise.
14954 (cacosh_test): Likewise.
14955 (carg_test): Likewise.
14956 (casin_test): Likewise.
14957 (casinh_test): Likewise.
14958 (cbrt_test): Likewise.
14959 (csqrt_test): Likewise.
14960 (erf_test): Likewise.
14961 (erfc_test): Likewise.
14962 (pow10_test): Likewise.
14963 (exp2_test): Likewise.
14964 (hypot_test): Likewise.
14965 (j0_test): Likewise.
14966 (j1_test): Likewise.
14967 (lgamma_test): Likewise.
14968 (gamma_test): Likewise.
14969 (sincos_test): Likewise.
14970 (tanh_test): Likewise.
14971 (y0_test): Likewise.
14972 (y1_test): Likewise.
14973 * sysdeps/i386/fpu/libm-test-ulps: Update.
14974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14975
6eaf95cb
AZ
149762014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14977
a387428c
SP
14978 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14980 and strcspn-ppc64 objects.
14981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14982 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14983 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14984 multiarch strcspn for POWER7.
14985 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14986 multiarch strcspn for PPC64.
14987 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14988 ifunc selector.
14989 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14990 strcspn for POWER7.
14991
ae3a5dff
JM
149922014-03-20 Joseph Myers <joseph@codesourcery.com>
14993
14994 * math/gen-libm-test.pl (generate_testfile): Expect only function
14995 name as argument to AUTO_TESTS_* and pass results for all rounding
14996 modes to parse_args.
14997 (parse_auto_input): Separate inputs of automatic tests from
14998 outputs before storing in %auto_tests.
14999 * math/libm-test.inc (acos_test_data): Update call to
15000 AUTO_TESTS_f_f.
15001 (acos_test): Use ALL_RM_TEST.
15002 (acos_tonearest_test_data): Remove.
15003 (acos_test_tonearest): Likewise.
15004 (acos_towardzero_test_data): Likewise.
15005 (acos_test_towardzero): Likewise.
15006 (acos_downward_test_data): Likewise.
15007 (acos_test_downward): Likewise.
15008 (acos_upward_test_data): Likewise.
15009 (acos_test_upward): Likewise.
15010 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15011 (asin_test_data): Likewise.
15012 (asin_test): Use ALL_RM_TEST.
15013 (asin_tonearest_test_data): Remove.
15014 (asin_test_tonearest): Likewise.
15015 (asin_towardzero_test_data): Likewise.
15016 (asin_test_towardzero): Likewise.
15017 (asin_downward_test_data): Likewise.
15018 (asin_test_downward): Likewise.
15019 (asin_upward_test_data): Likewise.
15020 (asin_test_upward): Likewise.
15021 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15022 (atan_test_data): Likewise.
15023 (atanh_test_data): Likewise.
15024 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15025 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15026 (carg_test_data): Likewise.
15027 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15028 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15029 (ccosh_test_data): Likewise.
15030 (cexp_test_data): Likewise.
15031 (clog_test_data): Likewise.
15032 (clog10_test_data): Likewise.
15033 (cos_test_data): Update call to AUTO_TESTS_f_f.
15034 (cos_test): Use ALL_RM_TEST.
15035 (cos_tonearest_test_data): Remove.
15036 (cos_test_tonearest): Likewise.
15037 (cos_towardzero_test_data): Likewise.
15038 (cos_test_towardzero): Likewise.
15039 (cos_downward_test_data): Likewise.
15040 (cos_test_downward): Likewise.
15041 (cos_upward_test_data): Likewise.
15042 (cos_test_upward): Likewise.
15043 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15044 (cosh_test): Use ALL_RM_TEST.
15045 (cosh_tonearest_test_data): Remove.
15046 (cosh_test_tonearest): Likewise.
15047 (cosh_towardzero_test_data): Likewise.
15048 (cosh_test_towardzero): Likewise.
15049 (cosh_downward_test_data): Likewise.
15050 (cosh_test_downward): Likewise.
15051 (cosh_upward_test_data): Likewise.
15052 (cosh_test_upward): Likewise.
15053 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15054 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15055 (ctan_test_data): Likewise.
15056 (ctan_test): Use ALL_RM_TEST.
15057 (ctan_tonearest_test_data): Remove.
15058 (ctan_test_tonearest): Likewise.
15059 (ctan_towardzero_test_data): Likewise.
15060 (ctan_test_towardzero): Likewise.
15061 (ctan_downward_test_data): Likewise.
15062 (ctan_test_downward): Likewise.
15063 (ctan_upward_test_data): Likewise.
15064 (ctan_test_upward): Likewise.
15065 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15066 (ctanh_test): Use ALL_RM_TEST.
15067 (ctanh_tonearest_test_data): Remove.
15068 (ctanh_test_tonearest): Likewise.
15069 (ctanh_towardzero_test_data): Likewise.
15070 (ctanh_test_towardzero): Likewise.
15071 (ctanh_downward_test_data): Likewise.
15072 (ctanh_test_downward): Likewise.
15073 (ctanh_upward_test_data): Likewise.
15074 (ctanh_test_upward): Likewise.
15075 (erf_test_data): Update call to AUTO_TESTS_f_f.
15076 (erfc_test_data): Likewise.
15077 (exp_test_data): Likewise.
15078 (exp_test): Use ALL_RM_TEST.
15079 (exp_tonearest_test_data): Remove.
15080 (exp_test_tonearest): Likewise.
15081 (exp_towardzero_test_data): Likewise.
15082 (exp_test_towardzero): Likewise.
15083 (exp_downward_test_data): Likewise.
15084 (exp_test_downward): Likewise.
15085 (exp_upward_test_data): Likewise.
15086 (exp_test_upward): Likewise.
15087 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15088 (exp10_test): Use ALL_RM_TEST.
15089 (exp10_tonearest_test_data): Remove.
15090 (exp10_test_tonearest): Likewise.
15091 (exp10_towardzero_test_data): Likewise.
15092 (exp10_test_towardzero): Likewise.
15093 (exp10_downward_test_data): Likewise.
15094 (exp10_test_downward): Likewise.
15095 (exp10_upward_test_data): Likewise.
15096 (exp10_test_upward): Likewise.
15097 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15098 (expm1_test_data): Likewise.
15099 (expm1_test): Use ALL_RM_TEST.
15100 (expm1_tonearest_test_data): Remove.
15101 (expm1_test_tonearest): Likewise.
15102 (expm1_towardzero_test_data): Likewise.
15103 (expm1_test_towardzero): Likewise.
15104 (expm1_downward_test_data): Likewise.
15105 (expm1_test_downward): Likewise.
15106 (expm1_upward_test_data): Likewise.
15107 (expm1_test_upward): Likewise.
15108 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15109 (fma_test): Use ALL_RM_TEST.
15110 (fma_towardzero_test_data): Remove.
15111 (fma_test_towardzero): Likewise.
15112 (fma_downward_test_data): Likewise.
15113 (fma_test_downward): Likewise.
15114 (fma_upward_test_data): Likewise.
15115 (fma_test_upward): Likewise.
15116 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15117 (j0_test_data): Update call to AUTO_TESTS_f_f.
15118 (j1_test_data): Likewise.
15119 (jn_test_data): Update call to AUTO_TESTS_if_f.
15120 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15121 (log_test_data): Update call to AUTO_TESTS_f_f.
15122 (log10_test_data): Likewise.
15123 (log1p_test_data): Likewise.
15124 (log2_test_data): Likewise.
15125 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15126 (pow_tonearest_test_data): Likewise.
15127 (sin_test_data): Update call to AUTO_TESTS_f_f.
15128 (sin_test): Use ALL_RM_TEST.
15129 (sin_tonearest_test_data): Remove.
15130 (sin_test_tonearest): Likewise.
15131 (sin_towardzero_test_data): Likewise.
15132 (sin_test_towardzero): Likewise.
15133 (sin_downward_test_data): Likewise.
15134 (sin_test_downward): Likewise.
15135 (sin_upward_test_data): Likewise.
15136 (sin_test_upward): Likewise.
15137 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15138 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15139 (sinh_test): Use ALL_RM_TEST.
15140 (sinh_tonearest_test_data): Remove.
15141 (sinh_test_tonearest): Likewise.
15142 (sinh_towardzero_test_data): Likewise.
15143 (sinh_test_towardzero): Likewise.
15144 (sinh_downward_test_data): Likewise.
15145 (sinh_test_downward): Likewise.
15146 (sinh_upward_test_data): Likewise.
15147 (sinh_test_upward): Likewise.
15148 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15149 (sqrt_test): Use ALL_RM_TEST.
15150 (sqrt_tonearest_test_data): Remove.
15151 (sqrt_test_tonearest): Likewise.
15152 (sqrt_towardzero_test_data): Likewise.
15153 (sqrt_test_towardzero): Likewise.
15154 (sqrt_downward_test_data): Likewise.
15155 (sqrt_test_downward): Likewise.
15156 (sqrt_upward_test_data): Likewise.
15157 (sqrt_test_upward): Likewise.
15158 (tan_test_data): Update call to AUTO_TESTS_f_f.
15159 (tan_test): Use ALL_RM_TEST.
15160 (tan_tonearest_test_data): Remove.
15161 (tan_test_tonearest): Likewise.
15162 (tan_towardzero_test_data): Likewise.
15163 (tan_test_towardzero): Likewise.
15164 (tan_downward_test_data): Likewise.
15165 (tan_test_downward): Likewise.
15166 (tan_upward_test_data): Likewise.
15167 (tan_test_upward): Likewise.
15168 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15169 (tgamma_test_data): Likewise.
15170 (y0_test_data): Likewise.
15171 (y1_test_data): Likewise.
15172 (yn_test_data): Update call to AUTO_TESTS_if_f.
15173 (main): Do not call removed functions.
15174
d71aeee8
JM
151752014-03-19 Joseph Myers <joseph@codesourcery.com>
15176
15177 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15178 (ldexp_test_data): Remove.
15179 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15180 scalbn_test_data.
15181 (scalb_test): Use ALL_RM_TEST.
15182
baaf1ded
AS
151832014-03-19 Andreas Schwab <schwab@suse.de>
15184
15185 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15186
b1115e91
JM
151872014-03-19 Joseph Myers <joseph@codesourcery.com>
15188
15189 [BZ #16649]
15190 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15191 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15192 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15194 (__ASSUME_PREADV): Undefine.
15195 (__ASSUME_PWRITEV): Likewise.
15196
0283ecca
RM
151972014-03-18 Roland McGrath <roland@hack.frob.com>
15198
7d375303
RM
15199 * bits/mman-linux.h: Add comment about non-Linux use.
15200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15201 bits/mman-linux.h resting place.
15202
0283ecca
RM
15203 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15204 * bits/mman-linux.h: ... here.
15205
aebe1003
AZ
152062014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15207
15208 * conform/conformtest.pl: Add standard definition when calling C
15209 preprocessor on data files.
15210 (checknamespace): Remove unused variable.
15211
b29b6bb8
JM
152122014-03-18 Joseph Myers <joseph@codesourcery.com>
15213
15214 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15215 minus_oflow, plus_uflow and minus_uflow in expected results.
15216 * math/libm-test.inc (scalbn_test_data): Add more tests of
15217 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15218 minus_uflow.
15219 (scalbn_test): Use ALL_RM_TEST.
15220 (scalbln_test_data): Add more tests of negative arguments. Use
15221 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15222 (scalbln_test): Use ALL_RM_TEST.
15223
c8f8fa15
RM
152242014-03-18 Roland McGrath <roland@hack.frob.com>
15225
15226 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15227
fede7a5f
WN
152282014-03-18 Will Newton <will.newton@linaro.org>
15229
15230 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15231 inaccurate comment.
15232
80cf0a58
JM
152332014-03-18 Joseph Myers <joseph@codesourcery.com>
15234
15235 * Makerules [!subdir] (check-abi): Exit with error status if a
15236 test failed.
15237
b3620862
JM
152382014-03-17 Joseph Myers <joseph@codesourcery.com>
15239
15240 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15241 for rint. Include results for all rounding modes.
15242 (nearbyint_test): Use ALL_RM_TEST.
15243 (rint_test_data): Include all tests used for nearbyint.
15244
788bba36
WN
152452014-03-17 Will Newton <will.newton@linaro.org>
15246
04ec140a
WN
15247 * nptl/sysdeps/pthread/pthread.h: Revert previous
15248 change.
15249
7579d8d5
WN
15250 * sysdeps/generic/ldsodefs.h: Revert previous
15251 change.
15252
c15cf13a
WN
15253 * libio/genops.c: Revert previous change.
15254 * libio/libioP.h: Likewise.
15255 * stdio-common/vfprintf.c: Likewise.
15256
d0ac1324
WN
15257 * sysdeps/generic/math_private.h: Revert previous
15258 change.
15259
9290130a
WN
15260 * sysdeps/generic/math_private.h: Check whether
15261 HAVE_RM_CTX is defined with #ifdef rather
15262 than #if.
15263
afb466fc
WN
15264 * argp/argp-fmtstream.h: Check whether
15265 __STRICT_ANSI__ is defined with #ifdef rather
15266 than #if.
15267 * argp/argp.h: Likewise.
15268
f7efd7c3
WN
15269 * libio/genops.c: Check whether
15270 _IO_JUMPS_OFFSET is defined with #ifdef rather
15271 than #if.
15272 * libio/libioP.h: Likewise.
15273 * stdio-common/vfprintf.c: Likewise.
15274
53f1bed3
WN
15275 * sysdeps/generic/ldsodefs.h: Check whether
15276 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15277 than #if.
15278
788bba36
WN
15279 * nptl/sysdeps/pthread/pthread.h: Check
15280 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15281 its value.
15282
fcd89ebe
SP
152832014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15284
ae42bbc5
SP
15285 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15286 setting O_APPEND.
15287 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15288 test case.
15289
ea33158c
SP
15290 [BZ #16680]
15291 * libio/fileops.c (_IO_file_open): Seek to end of file but
15292 don't cache the offset.
15293 (get_file_offset): Remove function.
15294 (do_ftell): Use cached offset when available.
15295 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15296 don't cache the offset.
15297 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15298 case.
15299 (do_one_test): Call it.
15300 (do_ftell_test): Fix up expected old offset for a+ mode.
15301 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15302 available.
15303
b1dbb426
SP
15304 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15305 up test status with function return status.
15306 (do_write_test): Likewise.
15307 (do_append_test): Likewise.
15308
fcd89ebe
SP
15309 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15310 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15311 Remove.
15312
9962a2d3
JM
153132014-03-17 Joseph Myers <joseph@codesourcery.com>
15314
15315 * math/gen-libm-test.pl (parse_args): Handle results specified for
15316 each rounding mode separately.
15317 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15318 tests and results from lrint_tonearest_test_data,
15319 lrint_towardzero_test_data, lrint_downward_test_data and
15320 lrint_upward_test_data.
15321 (lrint_test): Use ALL_RM_TEST.
15322 (lrint_tonearest_test_data): Remove.
15323 (lrint_test_tonearest): Likewise.
15324 (lrint_towardzero_test_data): Likewise.
15325 (lrint_test_towardzero): Likewise.
15326 (lrint_downward_test_data): Likewise.
15327 (lrint_test_downward): Likewise.
15328 (lrint_upward_test_data): Likewise.
15329 (lrint_test_upward): Likewise.
15330 (llrint_test_data): Merge in per-rounding-mode tests and results
15331 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15332 llrint_downward_test_data and llrint_upward_test_data.
15333 (llrint_test): Use ALL_RM_TEST.
15334 (llrint_tonearest_test_data): Remove.
15335 (llrint_test_tonearest): Likewise.
15336 (llrint_towardzero_test_data): Likewise.
15337 (llrint_test_towardzero): Likewise.
15338 (llrint_downward_test_data): Likewise.
15339 (llrint_test_downward): Likewise.
15340 (llrint_upward_test_data): Likewise.
15341 (llrint_test_upward): Likewise.
15342 (rint_test_data): Merge in per-rounding-mode tests and results
15343 from rint_tonearest_test_data, rint_towardzero_test_data,
15344 rint_downward_test_data and rint_upward_test_data. Add
15345 per-rounding-mode results for tests not in those arrays.
15346 (rint_test): Use ALL_RM_TEST.
15347 (rint_tonearest_test_data): Remove.
15348 (rint_test_tonearest): Likewise.
15349 (rint_towardzero_test_data): Likewise.
15350 (rint_test_towardzero): Likewise.
15351 (rint_downward_test_data): Likewise.
15352 (rint_test_downward): Likewise.
15353 (rint_upward_test_data): Likewise.
15354 (rint_test_upward): Likewise.
15355 (main): Don't call removed functions.
15356
5006148e
RM
153572014-03-14 Roland McGrath <roland@hack.frob.com>
15358
15359 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15360 "Compiled on ..." crapola. It is anti-useful.
15361
d6fe5e58
JM
153622014-03-14 Joseph Myers <joseph@codesourcery.com>
15363
15364 * scripts/evaluate-test.sh: Handle fourth argument to determine
15365 whether test run should stop on failure.
15366 * Makeconfig (stop-on-test-failure): New variable.
15367 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15368 $(stop-on-test-failure).
15369 * Makefile (tests): Give a summary of results from testing and
15370 exit with failure status if they include an ERROR or FAIL.
15371 (xtests): Likewise.
15372 * manual/install.texi (Configuring and compiling): Mention
15373 stop-on-test-failure=y.
15374 * INSTALL: Regenerated.
15375
498a2233
RM
153762014-03-14 Roland McGrath <roland@hack.frob.com>
15377
22dbc19d
RM
15378 * scripts/versionlist.awk: New file.
15379 * Makerules [$(build-shared) = yes]
15380 (postclean-generated): Add Versions.def, not Versions.def.v and
15381 Versions.def.v.i.
15382 ($(common-objpfx)Versions.def.v.i): Target removed.
15383 ($(common-objpfx)Versions.def): New target.
15384 ($(common-objpfx)Versions.all): Depend on that rather that
15385 $(common-objpfx)Versions.def.v.
15386 * Versions.def: File removed.
15387
498a2233
RM
15388 * Makeconfig (+gccwarn): Add -Wundef.
15389 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15390 a dl-sysdep.h breaking its contract.
15391 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15392 * include/stackinfo.h: New file.
15393 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15394 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15395 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15396 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15397 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15398 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15399 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15400 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15401 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15402 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15403 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15404 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15405 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15406 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15407 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15408
c7de5025
AZ
154092014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15410
15411 [BZ #16707]
15412 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15413 implementation.
15414 * math/libm-test.inc (round_test_data): Add more tests.
15415
98fb27a3
AZ
15416 [BZ #16706]
15417 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15418 implementation.
15419 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15420
374f7f61
AZ
15421 [BZ #16701]
15422 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15423 implementation.
15424 * math/libm-test.inc (ceil_test_data): Add more tests.
15425
4655c291
AZ
15426 * math/libm-test.inc (trunc_test_data): Add more tests related to
15427 BZ#16414.
15428
d7329d4b
RM
154292014-03-14 Roland McGrath <roland@hack.frob.com>
15430
15431 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15432 with #if rather than #ifdef.
15433 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15434
aa4de9ce
L
154352014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15436
15437 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15438 first. Disable AVX-512 GCC support if assembler doesn't support
15439 it.
15440 * sysdeps/x86_64/configure: Regenerated.
15441
2e03fae7
CD
154422014-03-13 Carlos O'Donell <carlos@redhat.com>
15443
15444 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15445 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15446 (__old_pthread_attr_setstack): Likewise.
15447 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15448 [!_STACK_GROWS_DOWN]: Likewise.
15449
43ca83ec
MF
154502014-03-13 Mike Frysinger <vapier@gentoo.org>
15451
15452 * config.make.in (have-bash2): Delete.
15453 * configure.ac (libc_cv_have_bash2): Delete.
15454 * configure: Regenerate.
15455 * elf/Makefile (common-ldd-rewrite): Rename to ...
15456 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15457 (sh-ldd-rewrite): Delete.
15458 (bash-ldd-rewrite): Delete.
15459 (have-bash2): Delete checks.
57f41c40
AS
15460 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15461 ldd-rewrite.
c66e48b4
MF
15462
15463 * config.make.in (have-ksh): Delete.
15464 (KSH): Delete.
15465 * configure.ac (libc_cv_have_ksh): Delete.
15466 * configure: Regenerate.
15467
b93834ef
MF
15468 * elf/Makefile: Delete $(have-ksh) check.
15469 ($(objpfx)sotruss): Change KSH to BASH.
15470 * elf/sotruss.ksh: Rename to ...
15471 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15472 function style to match POSIX. Drop ksh vim mode setting.
15473
f3a4632a
MF
15474 * manual/time.texi (Specifying the Time Zone with TZ): Change
15475 Tuesday to Thursday.
15476
5896c8bd
MF
15477 * debug/tst-longjmp_chk2.c: Update header comment.
15478 (stackoverflow_handler): Add comment. Call assert on pass value.
15479
2d63a517
IZ
154802014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15481
7e54fd04 15482 [BZ #16194]
2d63a517
IZ
15483 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15484 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15485 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15486 (La_x86_64_vector): Add zmm.
15487 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15488 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15489 ($(objpfx)tst-audit10): New target.
15490 ($(objpfx)tst-audit10.out): Likewise.
15491 (tst-audit10-ENV): New.
15492 (AVX512-CFLAGS): Likewise.
15493 (CFLAGS-tst-audit10.c): Likewise.
15494 (CFLAGS-tst-auditmod10a.c): Likewise.
15495 (CFLAGS-tst-auditmod10b.c): Likewise.
15496 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15497 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15498 * sysdeps/x86_64/configure: Regenerated.
15499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15500 AVX-512 zmm register support.
15501 (_dl_x86_64_save_sse): Likewise.
15502 (_dl_x86_64_restore_sse): Likewise.
15503 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15504 size vector registers.
15505 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15506 (ZMM_SIZE): Likewise.
15507 * sysdeps/x86_64/tst-audit10.c: New file.
15508 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15509 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15510
44c4e5d5
RM
155112014-03-13 Roland McGrath <roland@hack.frob.com>
15512
15513 * configure.ac (HAVE_EHDR_START): New check.
15514 * configure: Regenerated.
15515 * config.h.in (HAVE_EHDR_START): New #undef.
15516 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15517 assuming the lowest-addressed segment maps the start of the file.
15518
acd6e389
JM
155192014-03-13 Joseph Myers <joseph@codesourcery.com>
15520
15521 * INSTALL: Regenerated.
15522
6f918f36
WN
155232014-03-13 Will Newton <will.newton@linaro.org>
15524
15525 * manual/setjmp.texi (System V contexts): Improve
15526 clarity and grammar of documentation.
15527
798212a0
PP
155282014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
15529
15530 [BZ #16381]
798212a0 15531 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 15532 (tests-pie): Add tst-pie2.
798212a0
PP
15533 * elf/tst-pie2.c: New file.
15534 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15535 for ET_EXEC.
15536 * elf/rtld.c (map_doit): Load executable as lt_executable.
15537 (dl_main): Likewise.
15538
abe6d90c
JM
155392014-03-12 Joseph Myers <joseph@codesourcery.com>
15540
15541 [BZ #16642]
15542 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15543 (__ASSUME_PSELECT): Undefine.
15544
dd3946c6
AZ
155452014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15546
15547 [BZ #16689]
15548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15549 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15550 static build.
15551 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15552 selector for static builds.
15553
c44496df
SP
155542014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15555
15556 [BZ #16695]
15557 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15558 key in the buffer.
15559
27c7220a
AZ
155602014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15561
57f41c40
AS
15562 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15563 IFUNC selector for static builds.
27c7220a 15564
600fa361
JM
155652014-03-11 Joseph Myers <joseph@codesourcery.com>
15566
76c96cf7
JM
15567 * sysdeps/mips/math_private.h [__mips_hard_float]
15568 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15569 libc_feresetround_mips_ctx.
15570 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15571 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15572 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15573
600fa361
JM
15574 [BZ #16677]
15575 * math/s_nextafter.c (__nextafter): Do not return value from
15576 overflowing computation.
15577 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15578 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15579 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15580 Likewise.
15581 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15582 Likewise.
15583 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15584 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15585
d7706c32
RM
155862014-03-11 Roland McGrath <roland@hack.frob.com>
15587
15588 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15589 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15590 Move sfi_sp use from the load-multiple (that no longer sets sp) to
15591 the new mov targetting sp.
15592
4facea47
AZ
155932014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15594
15595 [BZ #16683]
15596 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15597 Define it for static builds as well.
15598 (NO_BZERO_IMPL): Likewise.
15599
e65caf1f
VR
156002014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15601
15602 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15603 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15604 multiarch strspn for PPC64.
15605 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15606 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15608 (__libc_ifunc_impl_list): Likewise.
15609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15610 multiarch optimizations
15611 * string/strspn.c (strspn): Using macro to redefine symbol name.
15612
ba9cc071
AZ
156132014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15614 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15615
15616 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15617 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15618 multiarch strncat for PPC64.
15619 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15620 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15622 (__libc_ifunc_impl_list): Likewise.
15623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15624 multiarch optimizations
15625
8b4ff974
SP
156262014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15627
15628 [BZ #16639]
15629 * nscd/nscd.service: Make service type forking.
15630
54b46a4b
AZ
156312014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15632
15633 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15634 sign in non default rounding modes.
15635 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15636
e9996ef7
JM
156372014-03-08 Joseph Myers <joseph@codesourcery.com>
15638
15639 * math/libm-test.inc (ALL_RM_TEST): New macro.
15640 (ceil_test): Use ALL_RM_TEST.
15641 (cimag_test): Likewise.
15642 (conj_test): Likewise.
15643 (copysign_test): Likewise.
15644 (cproj_test): Likewise.
15645 (creal_test): Likewise.
15646 (fabs_test): Likewise.
15647 (floor_test): Likewise.
15648 (fmax_test): Likewise.
15649 (fmin_test): Likewise.
15650 (fmod_test): Likewise.
15651 (fpclassify_test): Likewise.
15652 (frexp_test): Likewise.
15653 (ilogb_test): Likewise.
15654 (isfinite_test): Likewise.
15655 (finite_test): Likewise.
15656 (isgreater_test): Likewise.
15657 (isgreaterequal_test): Likewise.
15658 (isinf_test): Likewise.
15659 (isless_test): Likewise.
15660 (islessequal_test): Likewise.
15661 (islessgreater_test): Likewise.
15662 (isnan_test): Likewise.
15663 (isnormal_test): Likewise.
15664 (issignaling_test): Likewise.
15665 (isunordered_test): Likewise.
15666 (logb_test): Likewise.
15667 (logb_downward_test_data): Remove.
15668 (logb_test_downward): Likewise.
15669 (lround_test): Use ALL_RM_TEST.
15670 (llround_test): Likewise.
15671 (modf_test): Likewise.
15672 (nexttoward_test): Likewise.
15673 (remainder_test): Likewise.
15674 (drem_test): Likewise.
15675 (remainder_tonearest_test_data): Likewise.
15676 (remainder_test_tonearest): Likewise.
15677 (drem_test_tonearest): Likewise.
15678 (remainder_towardzero_test_data): Likewise.
15679 (remainder_test_towardzero): Likewise.
15680 (drem_test_towardzero): Likewise.
15681 (remainder_downward_test_data): Likewise.
15682 (remainder_test_downward): Likewise.
15683 (drem_test_downward): Likewise.
15684 (remainder_upward_test_data): Likewise.
15685 (remainder_test_upward): Likewise.
15686 (drem_test_upward): Likewise.
15687 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15688 (round_test): Use ALL_RM_TEST.
15689 (signbit_test): Likewise.
15690 (trunc_test): Likewise.
15691 (significand_test): Likewise.
15692 (main): Don't call removed functions.
15693
bc61d27c
JM
156942014-03-07 Joseph Myers <joseph@codesourcery.com>
15695
5c780849
JM
15696 [BZ #16674]
15697 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15698 || __USE_XOPEN2K8].
15699 (ILL_ILLOPN): Likewise.
15700 (ILL_ILLADR): Likewise.
15701 (ILL_ILLTRP): Likewise.
15702 (ILL_PRVOPC): Likewise.
15703 (ILL_PRVREG): Likewise.
15704 (ILL_COPROC): Likewise.
15705 (ILL_BADSTK): Likewise.
15706 (FPE_INTDIV): Likewise.
15707 (FPE_INTOVF): Likewise.
15708 (FPE_FLTDIV): Likewise.
15709 (FPE_FLTOVF): Likewise.
15710 (FPE_FLTUND): Likewise.
15711 (FPE_FLTRES): Likewise.
15712 (FPE_FLTINV): Likewise.
15713 (FPE_FLTSUB): Likewise.
15714 (SEGV_MAPERR): Likewise.
15715 (SEGV_ACCERR): Likewise.
15716 (BUS_ADRALN): Likewise.
15717 (BUS_ADRERR): Likewise.
15718 (BUS_OBJERR): Likewise.
15719 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15720 (TRAP_TRACE): Likewise.
15721 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15722 __USE_XOPEN2K8].
15723 (CLD_KILLED): Likewise.
15724 (CLD_DUMPED): Likewise.
15725 (CLD_TRAPPED): Likewise.
15726 (CLD_STOPPED): Likewise.
15727 (CLD_CONTINUED): Likewise.
15728 (POLL_IN): Likewise.
15729 (POLL_OUT): Likewise.
15730 (POLL_MSG): Likewise.
15731 (POLL_ERR): Likewise.
15732 (POLL_PRI): Likewise.
15733 (POLL_HUP): Likewise.
15734 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15735 Likewise.
15736 (ILL_ILLOPN): Likewise.
15737 (ILL_ILLADR): Likewise.
15738 (ILL_ILLTRP): Likewise.
15739 (ILL_PRVOPC): Likewise.
15740 (ILL_PRVREG): Likewise.
15741 (ILL_COPROC): Likewise.
15742 (ILL_BADSTK): Likewise.
15743 (FPE_INTDIV): Likewise.
15744 (FPE_INTOVF): Likewise.
15745 (FPE_FLTDIV): Likewise.
15746 (FPE_FLTOVF): Likewise.
15747 (FPE_FLTUND): Likewise.
15748 (FPE_FLTRES): Likewise.
15749 (FPE_FLTINV): Likewise.
15750 (FPE_FLTSUB): Likewise.
15751 (SEGV_MAPERR): Likewise.
15752 (SEGV_ACCERR): Likewise.
15753 (BUS_ADRALN): Likewise.
15754 (BUS_ADRERR): Likewise.
15755 (BUS_OBJERR): Likewise.
15756 (BUS_MCEERR_AR): Likewise.
15757 (BUS_MCEERR_AO): Likewise.
15758 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15759 (TRAP_TRACE): Likewise.
15760 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15761 __USE_XOPEN2K8].
15762 (CLD_KILLED): Likewise.
15763 (CLD_DUMPED): Likewise.
15764 (CLD_TRAPPED): Likewise.
15765 (CLD_STOPPED): Likewise.
15766 (CLD_CONTINUED): Likewise.
15767 (POLL_IN): Likewise.
15768 (POLL_OUT): Likewise.
15769 (POLL_MSG): Likewise.
15770 (POLL_ERR): Likewise.
15771 (POLL_PRI): Likewise.
15772 (POLL_HUP): Likewise.
15773 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15774 (ILL_ILLOPN): Likewise.
15775 (ILL_ILLADR): Likewise.
15776 (ILL_ILLTRP): Likewise.
15777 (ILL_PRVOPC): Likewise.
15778 (ILL_PRVREG): Likewise.
15779 (ILL_COPROC): Likewise.
15780 (ILL_BADSTK): Likewise.
15781 (FPE_INTDIV): Likewise.
15782 (FPE_INTOVF): Likewise.
15783 (FPE_FLTDIV): Likewise.
15784 (FPE_FLTOVF): Likewise.
15785 (FPE_FLTUND): Likewise.
15786 (FPE_FLTRES): Likewise.
15787 (FPE_FLTINV): Likewise.
15788 (FPE_FLTSUB): Likewise.
15789 (SEGV_MAPERR): Likewise.
15790 (SEGV_ACCERR): Likewise.
15791 (BUS_ADRALN): Likewise.
15792 (BUS_ADRERR): Likewise.
15793 (BUS_OBJERR): Likewise.
15794 (BUS_MCEERR_AR): Likewise.
15795 (BUS_MCEERR_AO): Likewise.
15796 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15797 (TRAP_TRACE): Likewise.
15798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15799 __USE_XOPEN2K8].
15800 (CLD_KILLED): Likewise.
15801 (CLD_DUMPED): Likewise.
15802 (CLD_TRAPPED): Likewise.
15803 (CLD_STOPPED): Likewise.
15804 (CLD_CONTINUED): Likewise.
15805 (POLL_IN): Likewise.
15806 (POLL_OUT): Likewise.
15807 (POLL_MSG): Likewise.
15808 (POLL_ERR): Likewise.
15809 (POLL_PRI): Likewise.
15810 (POLL_HUP): Likewise.
15811 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15812 Likewise.
15813 (ILL_ILLOPN): Likewise.
15814 (ILL_ILLADR): Likewise.
15815 (ILL_ILLTRP): Likewise.
15816 (ILL_PRVOPC): Likewise.
15817 (ILL_PRVREG): Likewise.
15818 (ILL_COPROC): Likewise.
15819 (ILL_BADSTK): Likewise.
15820 (ILL_BADIADDR): Likewise.
15821 (ILL_BREAK): Likewise.
15822 (FPE_INTDIV): Likewise.
15823 (FPE_INTOVF): Likewise.
15824 (FPE_FLTDIV): Likewise.
15825 (FPE_FLTOVF): Likewise.
15826 (FPE_FLTUND): Likewise.
15827 (FPE_FLTRES): Likewise.
15828 (FPE_FLTINV): Likewise.
15829 (FPE_FLTSUB): Likewise.
15830 (FPE_DECOVF): Likewise.
15831 (FPE_DECDIV): Likewise.
15832 (FPE_DECERR): Likewise.
15833 (FPE_INVASC): Likewise.
15834 (FPE_INVDEC): Likewise.
15835 (SEGV_MAPERR): Likewise.
15836 (SEGV_ACCERR): Likewise.
15837 (SEGV_PSTKOVF): Likewise.
15838 (BUS_ADRALN): Likewise.
15839 (BUS_ADRERR): Likewise.
15840 (BUS_OBJERR): Likewise.
15841 (BUS_MCEERR_AR): Likewise.
15842 (BUS_MCEERR_AO): Likewise.
15843 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15844 (TRAP_TRACE): Likewise.
15845 (TRAP_BRANCH): Likewise.
15846 (TRAP_HWBKPT): Likewise.
15847 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15848 __USE_XOPEN2K8].
15849 (CLD_KILLED): Likewise.
15850 (CLD_DUMPED): Likewise.
15851 (CLD_TRAPPED): Likewise.
15852 (CLD_STOPPED): Likewise.
15853 (CLD_CONTINUED): Likewise.
15854 (POLL_IN): Likewise.
15855 (POLL_OUT): Likewise.
15856 (POLL_MSG): Likewise.
15857 (POLL_ERR): Likewise.
15858 (POLL_PRI): Likewise.
15859 (POLL_HUP): Likewise.
15860 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15861 (ILL_ILLOPN): Likewise.
15862 (ILL_ILLADR): Likewise.
15863 (ILL_ILLTRP): Likewise.
15864 (ILL_PRVOPC): Likewise.
15865 (ILL_PRVREG): Likewise.
15866 (ILL_COPROC): Likewise.
15867 (ILL_BADSTK): Likewise.
15868 (FPE_INTDIV): Likewise.
15869 (FPE_INTOVF): Likewise.
15870 (FPE_FLTDIV): Likewise.
15871 (FPE_FLTOVF): Likewise.
15872 (FPE_FLTUND): Likewise.
15873 (FPE_FLTRES): Likewise.
15874 (FPE_FLTINV): Likewise.
15875 (FPE_FLTSUB): Likewise.
15876 (SEGV_MAPERR): Likewise.
15877 (SEGV_ACCERR): Likewise.
15878 (BUS_ADRALN): Likewise.
15879 (BUS_ADRERR): Likewise.
15880 (BUS_OBJERR): Likewise.
15881 (BUS_MCEERR_AR): Likewise.
15882 (BUS_MCEERR_AO): Likewise.
15883 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15884 (TRAP_TRACE): Likewise.
15885 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15886 __USE_XOPEN2K8].
15887 (CLD_KILLED): Likewise.
15888 (CLD_DUMPED): Likewise.
15889 (CLD_TRAPPED): Likewise.
15890 (CLD_STOPPED): Likewise.
15891 (CLD_CONTINUED): Likewise.
15892 (POLL_IN): Likewise.
15893 (POLL_OUT): Likewise.
15894 (POLL_MSG): Likewise.
15895 (POLL_ERR): Likewise.
15896 (POLL_PRI): Likewise.
15897 (POLL_HUP): Likewise.
15898 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15899 (ILL_ILLOPN): Likewise.
15900 (ILL_ILLADR): Likewise.
15901 (ILL_ILLTRP): Likewise.
15902 (ILL_PRVOPC): Likewise.
15903 (ILL_PRVREG): Likewise.
15904 (ILL_COPROC): Likewise.
15905 (ILL_BADSTK): Likewise.
15906 (FPE_INTDIV): Likewise.
15907 (FPE_INTOVF): Likewise.
15908 (FPE_FLTDIV): Likewise.
15909 (FPE_FLTOVF): Likewise.
15910 (FPE_FLTUND): Likewise.
15911 (FPE_FLTRES): Likewise.
15912 (FPE_FLTINV): Likewise.
15913 (FPE_FLTSUB): Likewise.
15914 (SEGV_MAPERR): Likewise.
15915 (SEGV_ACCERR): Likewise.
15916 (BUS_ADRALN): Likewise.
15917 (BUS_ADRERR): Likewise.
15918 (BUS_OBJERR): Likewise.
15919 (BUS_MCEERR_AR): Likewise.
15920 (BUS_MCEERR_AO): Likewise.
15921 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15922 (TRAP_TRACE): Likewise.
15923 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15924 __USE_XOPEN2K8].
15925 (CLD_KILLED): Likewise.
15926 (CLD_DUMPED): Likewise.
15927 (CLD_TRAPPED): Likewise.
15928 (CLD_STOPPED): Likewise.
15929 (CLD_CONTINUED): Likewise.
15930 (POLL_IN): Likewise.
15931 (POLL_OUT): Likewise.
15932 (POLL_MSG): Likewise.
15933 (POLL_ERR): Likewise.
15934 (POLL_PRI): Likewise.
15935 (POLL_HUP): Likewise.
15936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15937 (ILL_ILLOPN): Likewise.
15938 (ILL_ILLADR): Likewise.
15939 (ILL_ILLTRP): Likewise.
15940 (ILL_PRVOPC): Likewise.
15941 (ILL_PRVREG): Likewise.
15942 (ILL_COPROC): Likewise.
15943 (ILL_BADSTK): Likewise.
15944 (FPE_INTDIV): Likewise.
15945 (FPE_INTOVF): Likewise.
15946 (FPE_FLTDIV): Likewise.
15947 (FPE_FLTOVF): Likewise.
15948 (FPE_FLTUND): Likewise.
15949 (FPE_FLTRES): Likewise.
15950 (FPE_FLTINV): Likewise.
15951 (FPE_FLTSUB): Likewise.
15952 (SEGV_MAPERR): Likewise.
15953 (SEGV_ACCERR): Likewise.
15954 (BUS_ADRALN): Likewise.
15955 (BUS_ADRERR): Likewise.
15956 (BUS_OBJERR): Likewise.
15957 (BUS_MCEERR_AR): Likewise.
15958 (BUS_MCEERR_AO): Likewise.
15959 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15960 (TRAP_TRACE): Likewise.
15961 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15962 __USE_XOPEN2K8].
15963 (CLD_KILLED): Likewise.
15964 (CLD_DUMPED): Likewise.
15965 (CLD_TRAPPED): Likewise.
15966 (CLD_STOPPED): Likewise.
15967 (CLD_CONTINUED): Likewise.
15968 (POLL_IN): Likewise.
15969 (POLL_OUT): Likewise.
15970 (POLL_MSG): Likewise.
15971 (POLL_ERR): Likewise.
15972 (POLL_PRI): Likewise.
15973 (POLL_HUP): Likewise.
15974 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15975 (ILL_ILLOPN): Likewise.
15976 (ILL_ILLADR): Likewise.
15977 (ILL_ILLTRP): Likewise.
15978 (ILL_PRVOPC): Likewise.
15979 (ILL_PRVREG): Likewise.
15980 (ILL_COPROC): Likewise.
15981 (ILL_BADSTK): Likewise.
15982 (ILL_DBLFLT): Likewise.
15983 (ILL_HARDWALL): Likewise.
15984 (FPE_INTDIV): Likewise.
15985 (FPE_INTOVF): Likewise.
15986 (FPE_FLTDIV): Likewise.
15987 (FPE_FLTOVF): Likewise.
15988 (FPE_FLTUND): Likewise.
15989 (FPE_FLTRES): Likewise.
15990 (FPE_FLTINV): Likewise.
15991 (FPE_FLTSUB): Likewise.
15992 (SEGV_MAPERR): Likewise.
15993 (SEGV_ACCERR): Likewise.
15994 (BUS_ADRALN): Likewise.
15995 (BUS_ADRERR): Likewise.
15996 (BUS_OBJERR): Likewise.
15997 (BUS_MCEERR_AR): Likewise.
15998 (BUS_MCEERR_AO): Likewise.
15999 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16000 (TRAP_TRACE): Likewise.
16001 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16002 __USE_XOPEN2K8].
16003 (CLD_KILLED): Likewise.
16004 (CLD_DUMPED): Likewise.
16005 (CLD_TRAPPED): Likewise.
16006 (CLD_STOPPED): Likewise.
16007 (CLD_CONTINUED): Likewise.
16008 (POLL_IN): Likewise.
16009 (POLL_OUT): Likewise.
16010 (POLL_MSG): Likewise.
16011 (POLL_ERR): Likewise.
16012 (POLL_PRI): Likewise.
16013 (POLL_HUP): Likewise.
16014 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16015 (ILL_ILLOPN): Likewise.
16016 (ILL_ILLADR): Likewise.
16017 (ILL_ILLTRP): Likewise.
16018 (ILL_PRVOPC): Likewise.
16019 (ILL_PRVREG): Likewise.
16020 (ILL_COPROC): Likewise.
16021 (ILL_BADSTK): Likewise.
16022 (FPE_INTDIV): Likewise.
16023 (FPE_INTOVF): Likewise.
16024 (FPE_FLTDIV): Likewise.
16025 (FPE_FLTOVF): Likewise.
16026 (FPE_FLTUND): Likewise.
16027 (FPE_FLTRES): Likewise.
16028 (FPE_FLTINV): Likewise.
16029 (FPE_FLTSUB): Likewise.
16030 (SEGV_MAPERR): Likewise.
16031 (SEGV_ACCERR): Likewise.
16032 (BUS_ADRALN): Likewise.
16033 (BUS_ADRERR): Likewise.
16034 (BUS_OBJERR): Likewise.
16035 (BUS_MCEERR_AR): Likewise.
16036 (BUS_MCEERR_AO): Likewise.
16037 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16038 (TRAP_TRACE): Likewise.
16039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16040 __USE_XOPEN2K8].
16041 (CLD_KILLED): Likewise.
16042 (CLD_DUMPED): Likewise.
16043 (CLD_TRAPPED): Likewise.
16044 (CLD_STOPPED): Likewise.
16045 (CLD_CONTINUED): Likewise.
16046 (POLL_IN): Likewise.
16047 (POLL_OUT): Likewise.
16048 (POLL_MSG): Likewise.
16049 (POLL_ERR): Likewise.
16050 (POLL_PRI): Likewise.
16051 (POLL_HUP): Likewise.
16052 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16053 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16054
bc61d27c
JM
16055 [BZ #16670]
16056 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16057 before #include of <time.h>.
16058 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16059 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16060 (test-xfail-UNIX98/sched.h/conform): Likewise.
16061
302949e2
MS
160622014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16063
16064 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16065 error absence of trapping exception support.
16066 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16067
a00f522a
JM
160682014-03-07 Joseph Myers <joseph@codesourcery.com>
16069
6f99f280
JM
16070 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16071 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16072 * timezone/Makefile (testdata): Move definition above include of
16073 Rules.
16074 (test-zones): New variable.
16075 (tests-special): Add zone files.
16076 (build-testdata): Use $(evaluate-test).
16077
0b20a9e8
JM
16078 * elf/Makefile (tests-special): Rename tests to end with .out.
16079 ($(objpfx)noload-mem): Likewise.
16080 ($(objpfx)tst-leaks1-mem): Likewise.
16081 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16082 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16083 $(objpfx)test-iconvconfig.out.
16084 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16085 set -e inside subshell and redirect output to file.
16086 * iconvdata/Makefile (generated): Rename tests to end with .out.
16087 Correct type.
16088 (tests-special): Rename tests to end with .out.
16089 ($(objpfx)mtrace-tst-loading): Likewise.
16090 * intl/Makefile (generated): Likewise.
16091 (tests-special): Likewise.
16092 ($(objpfx)mtrace-tst-gettext): Likewise.
16093 * misc/Makefile (generated): Likewise.
16094 (tests-special): Likewise.
16095 ($(objpfx)tst-error1-mem): Likewise.
16096 * nptl/Makefile (tests-special): Likewise.
16097 ($(objpfx)tst-stack3-mem): Likewise.
16098 (generated): Likewise.
16099 * posix/Makefile (generated): Likewise.
16100 (tests-special): Likewise.
16101 (xtests-special): Likewise.
16102 ($(objpfx)tst-fnmatch-mem): Likewise.
16103 ($(objpfx)bug-regex2-mem): Likewise.
16104 ($(objpfx)bug-regex14-mem): Likewise.
16105 ($(objpfx)bug-regex21-mem): Likewise.
16106 ($(objpfx)bug-regex31-mem): Likewise.
16107 ($(objpfx)tst-vfork3-mem): Likewise.
16108 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16109 ($(objpfx)tst-pcre-mem): Likewise.
16110 ($(objpfx)tst-boost-mem): Likewise.
16111 ($(objpfx)bug-ga2-mem): Likewise.
16112 ($(objpfx)bug-glob2-mem): Likewise.
16113 * resolv/Makefile (generate): Likewise.
16114 (tests-special): Likewise.
16115 (xtests-special): Likewise.
16116 (generated): Likewise.
16117 ($(objpfx)mtrace-tst-leaks): Likewise.
16118 ($(objpfx)mtrace-tst-leaks2): Likewise.
16119
265d52ab
JM
16120 * scripts/merge-test-results.sh: New file.
16121 * Makefile (tests-special-notdir): New variable.
16122 (tests): Run merge-test-results.sh.
16123 (xtests): Likewise.
16124 * Rules (tests-special-notdir): New variable.
16125 (xtests-special-notdir): Likewise.
16126 (tests): Run merge-test-results.sh
16127 (xtests): Likewise.
16128
54ee292d
JM
16129 * Makeconfig (test-xfail-name): New variable.
16130 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16131 compute variable name for expected failures.
16132 * conform/Makefile (conformtest-headers-data): New variable.
16133 (conformtest-standards): Likewise.
16134 (conformtest-headers-ISO): Likewise.
16135 (conformtest-headers-ISO99): Likewise.
16136 (conformtest-headers-ISO11): Likewise.
16137 (conformtest-headers-POSIX): Likewise.
16138 (conformtest-headers-XPG3): Likewise.
16139 (conformtest-headers-XPG4): Likewise.
16140 (conformtest-headers-UNIX98): Likewise.
16141 (conformtest-headers-XOPEN2K): Likewise.
16142 (conformtest-headers-POSIX2008): Likewise.
16143 (conformtest-headers-XOPEN2K8): Likewise.
16144 (conformtest-header-list-base): Likewise.
16145 (conformtest-header-list-tests): Likewise.
16146 (conformtest-header-base): Likewise.
16147 (conformtest-header-tests): Likewise.
16148 (tests-special): Add $(conformtest-header-list-tests). If
16149 [$(fast-check) && !$(cross-compiling)], add
16150 $(conformtest-header-tests) instead of
16151 $(objpfx)run-conformtest.out.
16152 (generated): Add $(conformtest-header-list-base). If
16153 [$(fast-check) && !$(cross-compiling)], add
16154 $(conformtest-header-base). Remove previous setting.
16155 ($(conformtest-header-list-tests)): New target.
16156 (test-xfail-run-conformtest): Remove variable.
16157 ($(objpfx)run-conformtest.out): Remove target.
16158 (test-xfail-ISO11/complex.h/conform): New variable.
16159 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16160 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16161 (test-xfail-XPG3/varargs.h/conform): Likewise.
16162 (test-xfail-XPG4/varargs.h/conform): Likewise.
16163 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16164 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16165 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16166 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16167 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16168 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16169 (test-xfail-XPG3/ftw.h/conform): Likewise.
16170 (test-xfail-XPG3/grp.h/conform): Likewise.
16171 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16172 (test-xfail-XPG3/limits.h/conform): Likewise.
16173 (test-xfail-XPG3/pwd.h/conform): Likewise.
16174 (test-xfail-XPG3/search.h/conform): Likewise.
16175 (test-xfail-XPG3/signal.h/conform): Likewise.
16176 (test-xfail-XPG3/stdio.h/conform): Likewise.
16177 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16178 (test-xfail-XPG3/string.h/conform): Likewise.
16179 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16180 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16181 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16182 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16183 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16184 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16185 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16186 (test-xfail-XPG3/termios.h/conform): Likewise.
16187 (test-xfail-XPG3/time.h/conform): Likewise.
16188 (test-xfail-XPG3/unistd.h/conform): Likewise.
16189 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16190 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16191 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16192 (test-xfail-XPG4/netdb.h/conform): Likewise.
16193 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16194 (test-xfail-XPG4/signal.h/conform): Likewise.
16195 (test-xfail-XPG4/stdio.h/conform): Likewise.
16196 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16197 (test-xfail-XPG4/stropts.h/conform): Likewise.
16198 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16199 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16200 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16201 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16202 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16203 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16204 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16205 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16206 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16207 (test-xfail-XPG4/termios.h/conform): Likewise.
16208 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16209 (test-xfail-XPG4/unistd.h/conform): Likewise.
16210 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16211 (test-xfail-POSIX/sched.h/conform): Likewise.
16212 (test-xfail-POSIX/signal.h/conform): Likewise.
16213 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16214 (test-xfail-POSIX/tar.h/conform): Likewise.
16215 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16216 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16217 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16218 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16219 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16220 (test-xfail-UNIX98/sched.h/conform): Likewise.
16221 (test-xfail-UNIX98/signal.h/conform): Likewise.
16222 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16223 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16224 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16225 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16226 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16227 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16228 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16229 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16230 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16231 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16232 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16233 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16234 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16235 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16236 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16237 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16238 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16239 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16240 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16241 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16242 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16243 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16244 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16245 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16246 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16247 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16248 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16249 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16250 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16251 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16252 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16253 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16254 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16255 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16256 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16257 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16258 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16259 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16260 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16261 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16262 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16263 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16264 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16265 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16266 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16267 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16268 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16269 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16270 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16271 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16272 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16273 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16274 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16275 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16276 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16277 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16278 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16279 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16280 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16281 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16282 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16283 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16284 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16285 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16286 (conformtest-cc-flags): Likewise.
16287 ($(conformtest-header-tests): New target.
16288 * conform/check-header-lists.sh: New file.
16289 * conform/run-conformtest.sh: Remove.
16290
a00f522a
JM
16291 * conform/conformtest.pl: Allow ' and \ in values given for
16292 constants.
16293 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16294 inclusion.
16295 [POSIX] (sys/types.h): Likewise.
16296 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16297 inclusion.
16298 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16299 inclusion.
16300 * conform/data/signal.h-data (SIGIO): Remove expectation.
16301 [XPG3] (SIGBUS): Do not expect.
16302 [POSIX || XPG3] (SIGPOLL): Likewise.
16303 [POSIX || XPG3] (SIGPROF): Likewise.
16304 [POSIX || XPG3] (SIGSYS): Likewise.
16305 [XPG3] (SIGTRAP): Likewise.
16306 [POSIX || XPG3] (SIGURG): Likewise.
16307 [POSIX || XPG3] (SIGVTALRM): Likewise.
16308 [POSIX || XPG3] (SIGXCPU): Likewise.
16309 [POSIX || XPG3] (SIGXFSZ): Likewise.
16310 [POSIX] (SA_SIGINFO): Expect.
16311 [XPG3] (siginfo_t): Do not expect type or contents.
16312 [POSIX] (si_pid): Do not expect element.
16313 [POSIX] (si_uid): Likewise.
16314 [POSIX] (si_addr): Likewise.
16315 [POSIX] (si_status): Likewise.
16316 [POSIX] (si_band): Likewise.
16317 [XPG4] (si_value): Likewise.
16318 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16319 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16320 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16321 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16322 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16323 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16324 [POSIX || XPG3] (ILL_COPROC): Likewise.
16325 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16326 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16327 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16328 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16329 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16330 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16331 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16332 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16333 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16334 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16335 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16336 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16337 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16338 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16339 [POSIX || XPG3] (CLD_EXITED): Likewise.
16340 [POSIX || XPG3] (CLD_KILLED): Likewise.
16341 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16342 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16343 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16344 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16345 [POSIX || XPG3] (POLL_IN): Likewise.
16346 [POSIX || XPG3] (POLL_OUT): Likewise.
16347 [POSIX || XPG3] (POLL_MSG): Likewise.
16348 [POSIX || XPG3] (POLL_ERR): Likewise.
16349 [POSIX || XPG3] (POLL_PRI): Likewise.
16350 [POSIX || XPG3] (POLL_HUP): Likewise.
16351 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16352 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16353 (SIG*): Do not allow.
16354 [XPG3] (si_*): Likewise.
16355 [XPG3] (SI_*): Likewise.
16356 [XPG3 || XPG4] (sigev_*): Likewise.
16357 [XPG3 || XPG4] (SIGEV_*): Likewise.
16358 [XPG3 || XPG4] (sival_*): Likewise.
16359 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16360 [POSIX || XPG3] (BUS_*): Likewise.
16361 [POSIX || XPG3] (CLD_*): Likewise.
16362 [POSIX || XPG3] (FPE_*): Likewise.
16363 [POSIX || XPG3] (ILL_*): Likewise.
16364 [POSIX || XPG3] (POLL_*): Likewise.
16365 [POSIX || XPG3] (SEGV_*): Likewise.
16366 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16367 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16368 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16369 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16370 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16371 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16372 Specify type and value.
16373 (TVERSLEN): Likewise.
16374 (REGTYPE): Likewise.
16375 (AREGTYPE): Likewise.
16376 (LNKTYPE): Likewise.
16377 (SYMTYPE): Likewise.
16378 (CHRTYPE): Likewise.
16379 (BLKTYPE): Likewise.
16380 (DIRTYPE): Likewise.
16381 (FIFOTYPE): Likewise.
16382 (CONTTYPE): Likewise.
16383 (TSUID): Likewise.
16384 (TSGID): Likewise.
16385 (TSVTX): Likewise.
16386 (TUREAD): Likewise.
16387 (TUWRITE): Likewise.
16388 (TUEXEC): Likewise.
16389 (TGREAD): Likewise.
16390 (TGWRITE): Likewise.
16391 (TGEXEC): Likewise.
16392 (TOREAD): Likewise.
16393 (TOWRITE): Likewise.
16394 (TOEXEC): Likewise.
16395 [POSIX] (TSVTX): Expect constant.
16396
aa97dee1
JM
163972014-03-06 Joseph Myers <joseph@codesourcery.com>
16398
f214606a
JM
16399 * Makefile (tests): Change dependencies to ....
16400 (tests-special): ... additions to this variable.
16401 (tests): Depend on $(tests-special).
16402 * Makerules (check-abi-list): New variable.
16403 (check-abi): Depend on $(check-abi-list).
16404 [$(subdir) = elf] (tests-special): Add
16405 $(objpfx)check-abi-libc.out.
16406 [$(build-shared) = yes && subdir] (tests-special): Add
16407 $(check-abi-list).
16408 [$(build-shared) = yes && subdir] (tests): Do not depend on
16409 check-abi.
16410 * Rules (tests): Depend on $(tests-special).
16411 (xtests): Depend on $(xtests-special).
16412 * catgets/Makefile (tests): Change dependencies to ....
16413 (tests-special): ... additions to this variable.
16414 * conform/Makefile (tests): Change dependencies to ....
16415 (tests-special): ... additions to this variable.
16416 * elf/Makefile (tests): Change dependencies to ....
16417 (tests-special): ... additions to this variable.
16418 * grp/Makefile (tests): Change dependencies to ....
16419 (tests-special): ... additions to this variable.
16420 * iconv/Makefile (xtests): Change dependencies to ....
16421 (xtests-special): ... additions to this variable.
16422 * iconvdata/Makefile (tests): Change dependencies to ....
16423 (tests-special): ... additions to this variable.
16424 * intl/Makefile (tests): Change dependencies to ....
16425 (tests-special): ... additions to this variable. Also add
16426 $(objpfx)tst-gettext.out.
16427 * io/Makefile (tests): Change dependencies to ....
16428 (tests-special): ... additions to this variable.
16429 * libio/Makefile (tests): Change dependencies to ....
16430 (tests-special): ... additions to this variable.
16431 * malloc/Makefile (tests): Change dependencies to ....
16432 (tests-special): ... additions to this variable.
16433 * misc/Makefile (tests): Change dependencies to ....
16434 (tests-special): ... additions to this variable.
16435 * nptl/Makefile (tests): Change dependencies to ....
16436 (tests-special): ... additions to this variable.
16437 * nptl_db/Makefile (tests): Change dependencies to ....
16438 (tests-special): ... additions to this variable.
16439 * posix/Makefile (tests): Change dependencies to ....
16440 (tests-special): ... additions to this variable.
16441 (xtests): Change dependencies to ....
16442 (xtests-special): ... additions to this variable.
16443 * resolv/Makefile (tests): Change dependencies to ....
16444 (tests-special): ... additions to this variable.
16445 (xtests): Change dependencies to ....
16446 (xtests-special): ... additions to this variable.
16447 * stdio-common/Makefile (tests): Change dependencies to ....
16448 (tests-special): ... additions to this variable.
16449 (do-tst-unbputc): Remove target.
16450 (do-tst-printf): Likewise.
16451 * stdlib/Makefile (tests): Change dependencies to ....
16452 (tests-special): ... additions to this variable.
16453 * string/Makefile (tests): Change dependencies to ....
16454 (tests-special): ... additions to this variable.
16455 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16456 (tests-special): ... additions to this variable.
16457
81700b53
JM
16458 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16459 whole file.
16460 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16461 whole file.
16462 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16463 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16464
2ea18461
JM
16465 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16466 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16467 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16468 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16469 * conform/data/libgen.h-data [XPG3]: Likewise.
16470 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16471 * conform/data/ndbm.h-data [XPG3]: Likewise.
16472 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16473 * conform/data/netdb.h-data [XPG3]: Likewise.
16474 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16475 * conform/data/poll.h-data [XPG3]: Likewise.
16476 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16477 * conform/data/strings.h-data [XPG3]: Likewise.
16478 * conform/data/stropts.h-data [XPG3]: Likewise.
16479 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16480 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16481 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16482 Likewise.
16483 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16484 * conform/data/sys/time.h-data [XPG3]: Likewise.
16485 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16486 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16487 * conform/data/sys/un.h-data [XPG3]: Likewise.
16488 * conform/data/syslog.h-data [XPG3]: Likewise.
16489 * conform/data/ucontext.h-data [XPG3]: Likewise.
16490 * conform/data/utmpx.h-data [XPG3]: Likewise.
16491 * conform/data/varargs.h-data [UNIX98]: Enable file.
16492
355bc986
JM
16493 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16494
215db402
JM
16495 * math/libm-test.inc (struct test_f_f_data): Move expected results
16496 into structure for each rounding mode.
16497 (struct test_ff_f_data): Likewise.
16498 (struct test_ff_f_data_nexttoward): Likewise.
16499 (struct test_fi_f_data): Likewise.
16500 (struct test_fl_f_data): Likewise.
16501 (struct test_if_f_data): Likewise.
16502 (struct test_fff_f_data): Likewise.
16503 (struct test_c_f_data): Likewise.
16504 (struct test_f_f1_data): Likewise.
16505 (struct test_fF_f1_data): Likewise.
16506 (struct test_ffI_f1_data): Likewise.
16507 (struct test_c_c_data): Likewise.
16508 (struct test_cc_c_data): Likewise.
16509 (struct test_f_i_data): Likewise.
16510 (struct test_ff_i_data): Likewise.
16511 (struct test_f_l_data): Likewise.
16512 (struct test_f_L_data): Likewise.
16513 (struct test_fFF_11_data): Likewise.
16514 (RM_): New macro.
16515 (RM_FE_DOWNWARD): Likewise.
16516 (RM_FE_TONEAREST): Likewise.
16517 (RM_FE_TOWARDZERO): Likewise.
16518 (RM_FE_UPWARD): Likewise.
16519 (RUN_TEST_LOOP_f_f): Update references to expected results.
16520 (RUN_TEST_LOOP_2_f): Likewise.
16521 (RUN_TEST_LOOP_fff_f): Likewise.
16522 (RUN_TEST_LOOP_c_f): Likewise.
16523 (RUN_TEST_LOOP_f_f1): Likewise.
16524 (RUN_TEST_LOOP_fF_f1): Likewise.
16525 (RUN_TEST_LOOP_fI_f1): Likewise.
16526 (RUN_TEST_LOOP_ffI_f1): Likewise.
16527 (RUN_TEST_LOOP_c_c): Likewise.
16528 (RUN_TEST_LOOP_cc_c): Likewise.
16529 (RUN_TEST_LOOP_f_i): Likewise.
16530 (RUN_TEST_LOOP_f_i_tg): Likewise.
16531 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16532 (RUN_TEST_LOOP_f_b): Likewise.
16533 (RUN_TEST_LOOP_f_b_tg): Likewise.
16534 (RUN_TEST_LOOP_f_l): Likewise.
16535 (RUN_TEST_LOOP_f_L): Likewise.
16536 (RUN_TEST_LOOP_fFF_11): Likewise.
16537 * math/gen-libm-test.pl (parse_args): Output four copies of
16538 expected results for each test.
16539
67737b8f
JM
16540 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16541 (__ASSUME_UTIMES): Remove.
16542 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16543 (__ASSUME_UTIMES): Likewise.
16544
aa97dee1
JM
16545 * math/gen-auto-libm-tests.c: Update comment on output format.
16546 (output_for_one_input_case): Generate before-rounding and
16547 after-rounding information as conditions on output flags not
16548 floating-point format.
16549 * math/auto-libm-test-out: Regenerated.
16550 * math/gen-libm-test.pl (cond_value): New function.
16551 (or_cond_value): Use cond_value.
16552 (generate_testfile): Handle conditional exceptions.
16553
e6b6a857
JM
165542014-03-05 Joseph Myers <joseph@codesourcery.com>
16555
2f0a0f44
JM
16556 * math/libm-test.inc (max_valid_error): New variable.
16557 (init_max_error): Take new argument specifying whether function
16558 results are exactly determined. Set max_valid_error and bound
16559 other variables for errors based on this argument.
16560 (set_max_error): Do not record results above max_valid_error.
16561 (check_float_internal): Only accept errors of up to 0.5ulps if
16562 also at most max_valid_error.
16563 (START): Take new argument EXACT and pass it to init_max_error.
16564 (acos_test): Update call to START.
16565 (acos_test_tonearest): Likewise.
16566 (acos_test_towardzero): Likewise.
16567 (acos_test_downward): Likewise.
16568 (acos_test_upward): Likewise.
16569 (acosh_test): Likewise.
16570 (asin_test): Likewise.
16571 (asin_test_tonearest): Likewise.
16572 (asin_test_towardzero): Likewise.
16573 (asin_test_downward): Likewise.
16574 (asin_test_upward): Likewise.
16575 (asinh_test): Likewise.
16576 (atan_test): Likewise.
16577 (atanh_test): Likewise.
16578 (atan2_test): Likewise.
16579 (cabs_test): Likewise.
16580 (cacos_test): Likewise.
16581 (cacosh_test): Likewise.
16582 (carg_test): Likewise.
16583 (casin_test): Likewise.
16584 (casinh_test): Likewise.
16585 (catan_test): Likewise.
16586 (catanh_test): Likewise.
16587 (cbrt_test): Likewise.
16588 (ccos_test): Likewise.
16589 (ccosh_test): Likewise.
16590 (ceil_test): Likewise.
16591 (cexp_test): Likewise.
16592 (cimag_test): Likewise.
16593 (clog_test): Likewise.
16594 (clog10_test): Likewise.
16595 (conj_test): Likewise.
16596 (copysign_test): Likewise.
16597 (cos_test): Likewise.
16598 (cos_test_tonearest): Likewise.
16599 (cos_test_towardzero): Likewise.
16600 (cos_test_downward): Likewise.
16601 (cos_test_upward): Likewise.
16602 (cosh_test): Likewise.
16603 (cosh_test_tonearest): Likewise.
16604 (cosh_test_towardzero): Likewise.
16605 (cosh_test_downward): Likewise.
16606 (cosh_test_upward): Likewise.
16607 (cpow_test): Likewise.
16608 (cproj_test): Likewise.
16609 (creal_test): Likewise.
16610 (csin_test): Likewise.
16611 (csinh_test): Likewise.
16612 (csqrt_test): Likewise.
16613 (ctan_test): Likewise.
16614 (ctan_test_tonearest): Likewise.
16615 (ctan_test_towardzero): Likewise.
16616 (ctan_test_downward): Likewise.
16617 (ctan_test_upward): Likewise.
16618 (ctanh_test): Likewise.
16619 (ctanh_test_tonearest): Likewise.
16620 (ctanh_test_towardzero): Likewise.
16621 (ctanh_test_downward): Likewise.
16622 (ctanh_test_upward): Likewise.
16623 (erf_test): Likewise.
16624 (erfc_test): Likewise.
16625 (exp_test): Likewise.
16626 (exp_test_tonearest): Likewise.
16627 (exp_test_towardzero): Likewise.
16628 (exp_test_downward): Likewise.
16629 (exp_test_upward): Likewise.
16630 (exp10_test): Likewise.
16631 (exp10_test_tonearest): Likewise.
16632 (exp10_test_towardzero): Likewise.
16633 (exp10_test_downward): Likewise.
16634 (exp10_test_upward): Likewise.
16635 (pow10_test): Likewise.
16636 (exp2_test): Likewise.
16637 (expm1_test): Likewise.
16638 (expm1_test_tonearest): Likewise.
16639 (expm1_test_towardzero): Likewise.
16640 (expm1_test_downward): Likewise.
16641 (expm1_test_upward): Likewise.
16642 (fabs_test): Likewise.
16643 (fdim_test): Likewise.
16644 (floor_test): Likewise.
16645 (fma_test): Likewise.
16646 (fma_test_towardzero): Likewise.
16647 (fma_test_downward): Likewise.
16648 (fma_test_upward): Likewise.
16649 (fmax_test): Likewise.
16650 (fmin_test): Likewise.
16651 (fmod_test): Likewise.
16652 (fpclassify_test): Likewise.
16653 (frexp_test): Likewise.
16654 (hypot_test): Likewise.
16655 (ilogb_test): Likewise.
16656 (isfinite_test): Likewise.
16657 (finite_test): Likewise.
16658 (isgreater_test): Likewise.
16659 (isgreaterequal_test): Likewise.
16660 (isinf_test): Likewise.
16661 (isless_test): Likewise.
16662 (islessequal_test): Likewise.
16663 (islessgreater_test): Likewise.
16664 (isnan_test): Likewise.
16665 (isnormal_test): Likewise.
16666 (issignaling_test): Likewise.
16667 (isunordered_test): Likewise.
16668 (j0_test): Likewise.
16669 (j1_test): Likewise.
16670 (jn_test): Likewise.
16671 (ldexp_test): Likewise.
16672 (lgamma_test): Likewise.
16673 (gamma_test): Likewise.
16674 (lrint_test): Likewise.
16675 (lrint_test_tonearest): Likewise.
16676 (lrint_test_towardzero): Likewise.
16677 (lrint_test_downward): Likewise.
16678 (lrint_test_upward): Likewise.
16679 (llrint_test): Likewise.
16680 (llrint_test_tonearest): Likewise.
16681 (llrint_test_towardzero): Likewise.
16682 (llrint_test_downward): Likewise.
16683 (llrint_test_upward): Likewise.
16684 (log_test): Likewise.
16685 (log10_test): Likewise.
16686 (log1p_test): Likewise.
16687 (log2_test): Likewise.
16688 (logb_test): Likewise.
16689 (logb_test_downward): Likewise.
16690 (lround_test): Likewise.
16691 (llround_test): Likewise.
16692 (modf_test): Likewise.
16693 (nearbyint_test): Likewise.
16694 (nextafter_test): Likewise.
16695 (nexttoward_test): Likewise.
16696 (pow_test): Likewise.
16697 (pow_test_tonearest): Likewise.
16698 (pow_test_towardzero): Likewise.
16699 (pow_test_downward): Likewise.
16700 (pow_test_upward): Likewise.
16701 (remainder_test): Likewise.
16702 (drem_test): Likewise.
16703 (remainder_test_tonearest): Likewise.
16704 (drem_test_tonearest): Likewise.
16705 (remainder_test_towardzero): Likewise.
16706 (drem_test_towardzero): Likewise.
16707 (remainder_test_downward): Likewise.
16708 (drem_test_downward): Likewise.
16709 (remainder_test_upward): Likewise.
16710 (drem_test_upward): Likewise.
16711 (remquo_test): Likewise.
16712 (rint_test): Likewise.
16713 (rint_test_tonearest): Likewise.
16714 (rint_test_towardzero): Likewise.
16715 (rint_test_downward): Likewise.
16716 (rint_test_upward): Likewise.
16717 (round_test): Likewise.
16718 (scalb_test): Likewise.
16719 (scalbn_test): Likewise.
16720 (scalbln_test): Likewise.
16721 (signbit_test): Likewise.
16722 (sin_test): Likewise.
16723 (sin_test_tonearest): Likewise.
16724 (sin_test_towardzero): Likewise.
16725 (sin_test_downward): Likewise.
16726 (sin_test_upward): Likewise.
16727 (sincos_test): Likewise.
16728 (sinh_test): Likewise.
16729 (sinh_test_tonearest): Likewise.
16730 (sinh_test_towardzero): Likewise.
16731 (sinh_test_downward): Likewise.
16732 (sinh_test_upward): Likewise.
16733 (sqrt_test): Likewise.
16734 (sqrt_test_tonearest): Likewise.
16735 (sqrt_test_towardzero): Likewise.
16736 (sqrt_test_downward): Likewise.
16737 (sqrt_test_upward): Likewise.
16738 (tan_test): Likewise.
16739 (tan_test_tonearest): Likewise.
16740 (tan_test_towardzero): Likewise.
16741 (tan_test_downward): Likewise.
16742 (tan_test_upward): Likewise.
16743 (tanh_test): Likewise.
16744 (tgamma_test): Likewise.
16745 (trunc_test): Likewise.
16746 (y0_test): Likewise.
16747 (y1_test): Likewise.
16748 (yn_test): Likewise.
16749 (significand_test): Likewise.
16750
e6b6a857
JM
16751 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16752 individual tests in comment.
16753 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16754 (prev_max_error): New variable.
16755 (prev_real_max_error): Likewise.
16756 (prev_imag_max_error): Likewise.
16757 (compare_ulp_data): Don't refer to test names in comment.
16758 (find_test_ulps): Remove function.
16759 (find_function_ulps): Likewise.
16760 (find_complex_function_ulps): Likewise.
16761 (init_max_error): Take function name as argument. Look up ulps
16762 for that function.
16763 (print_ulps): Remove function.
16764 (print_max_error): Use prev_max_error instead of calling
16765 find_function_ulps.
16766 (print_complex_max_error): Use prev_real_max_error and
16767 prev_imag_max_error instead of calling find_complex_function_ulps.
16768 (check_float_internal): Take max_ulp parameter instead of calling
16769 find_test_ulps. Don't call print_ulps.
16770 (check_float): Update call to check_float_internal.
16771 (check_complex): Update calls to check_float_internal.
16772 (START): Pass argument to init_max_error.
16773 * math/gen-libm-test.pl (%results): Don't include "kind"
16774 information.
16775 (parse_ulps): Don't handle ulps of individual tests.
16776 (print_ulps_file): Likewise.
16777 (output_ulps): Likewise.
16778 * math/README.libm-test: Update.
16779 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16780 individual tests.
16781 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16782 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16783 * sysdeps/arm/libm-test-ulps: Likewise.
16784 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16785 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16786 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16787 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16788 * sysdeps/microblaze/libm-test-ulps: Likewise.
16789 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16790 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16791 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16792 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16793 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16794 * sysdeps/sh/libm-test-ulps: Likewise.
16795 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16796 * sysdeps/tile/libm-test-ulps: Likewise.
16797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16798
45adef3c
JM
167992014-03-04 Joseph Myers <joseph@codesourcery.com>
16800
16801 * math/libm-test.inc (print_complex_max_error): Check separately
16802 whether real and imaginary errors are within allowed range and
16803 pass 0 to print_complex_function_ulps instead of value within
16804 allowed range.
16805
000232b9
SP
168062014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16807
d4b17258
SP
16808 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16809 formatting.
16810 (get_handles_fopen): Likewise.
16811 (do_write_test): Likewise.
16812
091eff71
SP
16813 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16814
fa3cd248
SP
16815 * libio/fileops.c (do_ftell): Use cached offset when
16816 available.
16817 * libio/iofwide.c (do_ftell_wide): Likewise.
16818 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16819 _IO_file_attach.
16820 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16821
000232b9
SP
16822 [BZ #16532]
16823 * libio/libioP.h (get_file_offset): New function.
16824 * libio/fileops.c (get_file_offset): Likewise.
16825 (do_ftell): Likewise.
16826 (_IO_new_file_seekoff): Split out ftell logic.
16827 * libio/wfileops.c (do_ftell_wide): Likewise.
16828 (_IO_wfile_seekoff): Split out ftell logic.
16829 * libio/tst-ftell-active-handler.c: New test case.
16830 * libio/Makefile (tests): Add it.
16831
116f4d1a
RM
168322014-03-03 Roland McGrath <roland@hack.frob.com>
16833
16834 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16835 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16836
532a6035
SP
168372014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16838
16839 [BZ #16639]
16840 * nscd/connections.c (nscd_init): Call do_exit.
16841 (start_threads): Call do_exit and notify_parent.
16842 (begin_drop_privileges): Call do_exit.
16843 (finish_drop_privileges): Likewise.
16844 * nscd/selinux.c (preserve_capabilities): Likewise.
16845 (install_real_capabilities): Likewise.
16846 (nscd_selinux_enabled): Likewise.
16847 (avc_create_thread): Likewise.
16848 (avc_alloc_lock): Likewise.
16849 (nscd_avc_init): Likewise.
16850 * nscd/nscd.c (parent_fd): New static variable.
16851 (main): Create a pipe between parent and child processes.
16852 Skip closing parent_fd.
16853 (monitor_child): New function.
16854 (do_exit): Likewise.
16855 (notify_parent): Likewise.
16856 * nscd/nscd.h (notify_parent): Likewise.
16857 (do_exit): Likewise.
16858
d6285c9f
CD
168592014-03-03 Carlos O'Donell <carlos@redhat.com>
16860
16861 * malloc/malloc.c (__libc_calloc): Revert last change.
16862
2b85d2a0
AZ
168632014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16864
16865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16866
c7debbdf
RS
168672014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16868
16869 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16871 implementation.
16872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16873 (__libc_ifunc_impl_list): Likewise.
16874 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16875 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16876 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16877 * string/strrchr.c: Define STRRCHR.
16878
235eed86
OB
168792014-02-28 Ondřej Bílka <neleai@seznam.cz>
16880
16881 * benchtest/bench-strtok.c (simple_strtok): Delete.
16882 (strtok_string): Use as benchmark.
16883 * string/strtok (STRTOK): New macro.
16884
8e25d1e7
CD
168852014-02-28 Carlos O'Donell <carlos@redhat.com>
16886
ef563f92
CD
16887 * manual/threads.texi: Add header and standard comments to all
16888 functions.
16889
8e25d1e7
CD
16890 * elf/dl-lookup.c (check_match): New function.
16891 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16892 (do_lookup_x): Remove nested function check_match. Use non-nested
16893 function check_match.
16894
ff71cc37
RM
168952014-02-28 Roland McGrath <roland@hack.frob.com>
16896
f08e9a26
RM
16897 * csu/Makefile (generated, before-compile): Use += rather than =.
16898 * catgets/Makefile (generated, generated-dirs): Likewise.
16899 * debug/Makefile (generated): Likewise.
16900 * dlfcn/Makefile (generated): Likewise.
16901 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16902 * iconvdata/Makefile (before-compile, generated): Likewise.
16903 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16904 * libio/Makefile (generated): Likewise.
16905 * malloc/Makefile (generated): Likewise.
16906 * manual/Makefile (generated, generated-dirs): Likewise.
16907 * misc/Makefile (generated): Likewise.
16908 * posix/Makefile (generated): Likewise.
16909 * resolv/Makefile (generated): Likewise.
16910 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16911 * timezone/Makefile (generated, generated-dirs): Likewise.
16912
ff71cc37
RM
16913 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16914
fe13a20c
AZ
169152014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16916
57f41c40
AS
16917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16918 power8 implementation.
16919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16920 file: POWER8 llround ifunc implementation.
16921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16922 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16923 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16924 POWER8 llround implementation.
16925
57f41c40
AS
16926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16927 power8 implementation.
16928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16929 file: POWER8 llrint ifunc implementation.
16930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16931 Add POWER8 implementation.
1ad8950a
AZ
16932 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16933 POWER8 llrint implementation.
16934
57f41c40
AS
16935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16936 power8 implementation.
16937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16938 file: POWER8 finite ifunc implementation.
16939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16940 Add POWER8 implementation.
cac626d6
AZ
16941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16942 Likewise.
16943 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16944 POWER8 finite implementation.
16945 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16946
57f41c40
AS
16947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16948 power8 implementation.
16949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16950 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16952 POWER8 implementation.
16953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16954 Likewise.
57f41c40
AS
16955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16956 isinf implementation.
4393fc11
AZ
16957 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16958
57f41c40
AS
16959 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16960 (INIT_ARCH): Add hwcap2 initialization.
16961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16962 power8 implementation.
16963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16964 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16966 POWER8 implementation.
16967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16968 Likewise.
57f41c40
AS
16969 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16970 isnan implementation.
487972ae
AZ
16971 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16972
7d92b787
JY
169732014-02-27 Joey Ye <joey.ye@arm.com>
16974
16975 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16976 (_FP_NANFRAC_Q): Set to zero.
16977
1cadc858
SP
169782014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16979
16980 [BZ #16623]
16981 * math/auto-libm-test-in: New test inputs.
16982 * math/auto-libm-test-out: Regenerate.
16983 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16984 and DA.
16985 (__cos): Likewise.
16986 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16987
f8c17e79
JM
169882014-02-27 Joseph Myers <joseph@codesourcery.com>
16989
16990 * scripts/evaluate-test.sh: Take new argument indicating whether
16991 failure is expected.
16992 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16993 indicating whether failure is expected.
16994 * conform/Makefile (test-xfail-run-conformtest): New variable.
16995 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16996 level.
16997 * posix/Makefile (test-xfail-annexc): New variable.
16998 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16999
a5f891ac
JM
170002014-02-26 Joseph Myers <joseph@codesourcery.com>
17001
17002 * argp/Makefile: Include Makeconfig immediately after defining
17003 subdir.
17004 * assert/Makefile: Likewise.
17005 * benchtests/Makefile: Likewise.
17006 * catgets/Makefile: Likewise.
17007 * conform/Makefile: Likewise.
17008 * crypt/Makefile: Likewise.
17009 * csu/Makefile: Likewise.
17010 (all): Remove target.
17011 * ctype/Makefile: Include Makeconfig immediately after defining
17012 subdir.
17013 * debug/Makefile: Likewise.
17014 * dirent/Makefile: Likewise.
17015 * dlfcn/Makefile: Likewise.
17016 * gmon/Makefile: Likewise.
17017 * gnulib/Makefile: Likewise.
17018 * grp/Makefile: Likewise.
17019 * gshadow/Makefile: Likewise.
17020 * hesiod/Makefile: Likewise.
17021 * hurd/Makefile: Likewise.
17022 (all): Remove target.
17023 * iconvdata/Makefile: Include Makeconfig immediately after
17024 defining subdir.
17025 * inet/Makefile: Likewise.
17026 * intl/Makefile: Likewise.
17027 * io/Makefile: Likewise.
17028 * libio/Makefile: Likewise.
17029 (all): Remove target.
17030 * locale/Makefile: Include Makeconfig immediately after defining
17031 subdir.
17032 * login/Makefile: Likewise.
17033 * mach/Makefile: Likewise.
17034 (all): Remove target.
17035 * malloc/Makefile: Include Makeconfig immediately after defining
17036 subdir.
17037 (all): Remove target.
17038 * manual/Makefile: Include Makeconfig immediately after defining
17039 subdir.
17040 * math/Makefile: Likewise.
17041 * misc/Makefile: Likewise.
17042 * nis/Makefile: Likewise.
17043 * nss/Makefile: Likewise.
17044 * po/Makefile: Likewise.
17045 (all): Remove target.
17046 * posix/Makefile: Include Makeconfig immediately after defining
17047 subdir.
17048 * pwd/Makefile: Likewise.
17049 * resolv/Makefile: Likewise.
17050 * resource/Makefile: Likewise.
17051 * rt/Makefile: Likewise.
17052 * setjmp/Makefile: Likewise.
17053 * shadow/Makefile: Likewise.
17054 * signal/Makefile: Likewise.
17055 * socket/Makefile: Likewise.
17056 * soft-fp/Makefile: Likewise.
17057 * stdio-common/Makefile: Likewise.
17058 * stdlib/Makefile: Likewise.
17059 * streams/Makefile: Likewise.
17060 * string/Makefile: Likewise.
17061 * sunrpc/Makefile: Likewise.
17062 (all): Remove target.
17063 * sysvipc/Makefile: Include Makeconfig immediately after defining
17064 subdir.
17065 * termios/Makefile: Likewise.
17066 * time/Makefile: Likewise.
17067 * timezone/Makefile: Likewise.
17068 (all): Remove target.
17069 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17070 subdir.
17071 * wctype/Makefile: Likewise.
17072
5b456e9d
SE
170732014-02-26 Steve Ellcey <sellcey@mips.com>
17074
17075 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17076 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17077 (libc_feholdexcept_setround_mips): Ditto.
17078 (libc_feholdsetround): New.
17079 (libc_feholdsetroundf): New.
17080 (libc_feholdsetroundl): New.
17081 (libc_feupdateenv_test_mips): New.
17082 (libc_feupdateenv_test): New.
17083 (libc_feupdateenv_testf): New.
17084 (libc_feupdateenv_testl): New.
17085 (libc_feresetround): New.
17086 (libc_feresetroundf): New.
17087 (libc_feresetroundl): New.
17088 (libc_fetestexcept_mips): New.
17089 (libc_fetestexcept): New.
17090 (libc_fetestexceptf): New.
17091 (libc_fetestexceptl): New.
17092 (HAVE_RM_CTX): New.
17093 (libc_feholdexcept_setround_mips_ctx): New.
17094 (libc_feholdexcept_setround_ctx): New.
17095 (libc_feholdexcept_setroundf_ctx): New.
17096 (libc_feholdexcept_setroundl_ctx): New.
17097 (libc_fesetenv_mips_ctx): New.
17098 (libc_fesetenv_ctx): New.
17099 (libc_fesetenv_ctxf): New.
17100 (libc_fesetenv_ctxl): New.
17101 (libc_feupdateenv_mips_ctx): New.
17102 (libc_feupdateenv_ctx): New.
17103 (libc_feupdateenvf_ctx): New.
17104 (libc_feupdateenvl_ctx): New.
17105 (libc_feholdsetround_mips_ctx): New.
17106 (libc_feholdsetround_ctx): New.
17107 (libc_feholdsetroundf_ctx): New.
17108 (libc_feholdsetroundl_ctx): New.
17109 (libc_feresetround_mips_ctx): New.
17110 (libc_feresetround_ctx): New.
17111 (libc_feresetroundf_ctx): New.
17112 (libc_feresetroundl_ctx): New.
17113
085d0e35
CD
171142014-02-26 Carlos O'Donell <carlos@redhat.com>
17115
f067bf1f
CD
17116 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17117
085d0e35
CD
17118 * manual/ipc.texi: New file.
17119 * manual/Makefile (chapters): Add ipc.
17120 * manual/job.texi: Add "Inter-Process Communication" to next.
17121 * manual/process.texi: Add "Inter-Process Communication" to prev.
17122
86e58c08
AZ
171232014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17124
17125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17126
4248f0da
OB
171272014-02-26 Ondřej Bílka <neleai@seznam.cz>
17128
17129 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17130
cf822e3c
OB
17131 * manual/arith.texi: Fix spaces after sentences.
17132 * manual/charset.texi: Likewise.
17133 * manual/errno.texi: Likewise.
17134 * manual/install.texi: Likewise.
17135 * manual/llio.texi: Likewise.
17136 * manual/locale.texi: Likewise.
17137 * manual/maint.texi: Likewise.
17138 * manual/math.texi: Likewise.
17139 * manual/memory.texi: Likewise.
17140 * manual/message.texi: Likewise.
17141 * manual/probes.texi: Likewise.
17142 * manual/resource.texi: Likewise.
17143 * manual/signal.texi: Likewise.
17144 * manual/socket.texi: Likewise.
17145 * manual/stdio.texi: Likewise.
17146 * manual/string.texi: Likewise.
17147 * manual/time.texi: Likewise.
17148 * manual/users.texi: Likewise.
17149
ade40b10
CD
171502014-02-25 Carlos O'Donell <carlos@redhat.com>
17151
17152 [BZ #16632]
17153 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17154 _DEFAULT_SOURCE is defined.
17155
d0503676
CD
171562014-02-25 Ulrich Drepper <drepper@gmail.com>
17157 Carlos O'Donell <carlos@redhat.com>
17158
17159 [BZ #16613]
17160 * elf/dl-tls.c (_dl_count_modids): New function.
17161 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17162 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17163 audit library and increment generation counter.
17164 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17165 * elf/tst-audit9.c: New file.
17166 * elf/tst-auditmod9a.c: New file.
17167 * elf/tst-auditmod9b.c: New file.
17168 * elf/Makefile: Add rules to build and run tst-audit9.
17169
4cbf380c
FW
171702014-02-25 Florian Weimer <fweimer@redhat.com>
17171
17172 [BZ #15347]
17173 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17174
80a56cc3
WN
171752014-02-25 Will Newton <will.newton@linaro.org>
17176
17177 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17178 (__longjmp): Restore sp and lr before restoring callee
17179 saved registers. Add longjmp and longjmp_target
17180 SystemTap probe point.
17181 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17182 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17183 Define to zero to match jmpbuf layout.
17184 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17185 (__sigsetjmp): Save sp and lr before saving callee
17186 saved registers. Add setjmp SystemTap probe point.
17187
3ea0f74e
SL
171882014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17189
17190 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17191
b04acb26
AS
171922014-02-24 Andreas Schwab <schwab@suse.de>
17193
17194 [BZ #15804]
17195 * elf/pldd.c (wait_for_ptrace_stop): New function.
17196 (main): Call it after attaching.
17197
098ad55c
RM
171982014-02-22 Roland McGrath <roland@hack.frob.com>
17199
d4ec6ae1
RM
17200 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17201 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17202 Versions files is now verboten.
17203 * hurd/Versions (libc: GLIBC_2.0):
17204 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17205 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17206 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17207 * mach/Versions: Likewise.
17208
098ad55c
RM
17209 * csu/Versions: Remove unused %include.
17210 * resolv/Versions: Likewise.
17211
acd7f096
JM
172122014-02-21 Joseph Myers <joseph@codesourcery.com>
17213
f0881698
JM
17214 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17215 ($(objpfx)check-local-headers.out): Likewise.
17216 ($(objpfx)begin-end-check.out): Likewise.
17217 * Makerules (check-abi-%.out): Likewise.
17218 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17219 ($(objpfx)test2.cat): Likewise.
17220 ($(objpfx)de/libc.cat): Likewise.
17221 ($(objpfx)test-gencat.out): Likewise.
17222 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17223 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17224 ($(objpfx)noload-mem): Likewise.
17225 ($(objpfx)tst-pathopt.out): Likewise.
17226 ($(objpfx)tst-rtld-load-self.out): Likewise.
17227 ($(objpfx)tst-array1-cmp.out): Likewise.
17228 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17229 ($(objpfx)tst-array2-cmp.out): Likewise.
17230 ($(objpfx)tst-array3-cmp.out): Likewise.
17231 ($(objpfx)tst-array4-cmp.out): Likewise.
17232 ($(objpfx)tst-array5-cmp.out): Likewise.
17233 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17234 ($(objpfx)check-textrel.out): Likewise.
17235 ($(objpfx)check-execstack.out): Likewise.
17236 ($(objpfx)check-localplt.out): Likewise.
17237 ($(objpfx)order2-cmp.out): Likewise.
17238 ($(objpfx)tst-leaks1-mem): Likewise.
17239 ($(objpfx)tst-leaks1-static-mem): Likewise.
17240 ($(objpfx)tst-initorder-cmp.out): Likewise.
17241 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17242 ($(objpfx)tst-unused-dep.out): Likewise.
17243 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17244 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17245 * iconv/Makefile (test-iconvconfig): Likewise.
17246 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17247 ($(objpfx)iconv-test.out): Likewise.
17248 ($(objpfx)tst-tables.out): Likewise.
17249 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17250 ($(objpfx)tst-gettext.out): Likewise.
17251 ($(objpfx)tst-translit.out): Likewise.
17252 ($(objpfx)tst-gettext2.out): Likewise.
17253 ($(objpfx)tst-gettext4.out): Likewise.
17254 ($(objpfx)tst-gettext6.out): Likewise.
17255 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17256 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17257 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17258 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17259 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17260 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17261 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17262 ($(objpfx)wordexp-tst.out): Likewise.
17263 ($(objpfx)annexc.out): Likewise.
17264 ($(objpfx)tst-fnmatch-mem): Likewise.
17265 ($(objpfx)bug-regex2-mem): Likewise.
17266 ($(objpfx)bug-regex14-mem): Likewise.
17267 ($(objpfx)bug-regex21-mem): Likewise.
17268 ($(objpfx)bug-regex31-mem): Likewise.
17269 ($(objpfx)tst-vfork3-mem): Likewise.
17270 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17271 ($(objpfx)tst-pcre-mem): Likewise.
17272 ($(objpfx)tst-boost-mem): Likewise.
17273 ($(objpfx)tst-getconf.out): Likewise.
17274 ($(objpfx)bug-ga2-mem): Likewise.
17275 ($(objpfx)bug-glob2-mem): Likewise.
17276 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17277 ($(objpfx)mtrace-tst-leaks2): Likewise.
17278 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17279 ($(objpfx)tst-printf.out): Likewise.
17280 ($(objpfx)tst-setvbuf1.out): Likewise.
17281 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17282 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17283 ($(objpfx)tst-fmtmsg.out): Likewise.
17284 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17285 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17286
acd7f096
JM
17287 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17288 * bits/sigaction.h [__USE_MISC]: Likewise.
17289 * bits/waitstatus.h: Update #endif comments.
17290 * ctype/ctype.h: Likewise.
17291 * dirent/dirent.h: Likewise.
17292 [__USE_MISC]: Remove redundant conditionals.
17293 * grp/grp.h: Update #endif comments.
17294 [__USE_GNU]: Remove redundant conditionals.
17295 [__USE_MISC]: Likewise.
17296 * inet/netinet/in.h [__USE_GNU]: Likewise.
17297 * io/sys/stat.h [__USE_MISC]: Likewise.
17298 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17299 * libio/bits/stdio.h: Update #endif comments.
17300 [__USE_MISC]: Remove redundant conditionals.
17301 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17302 * libio/stdio.h: Update #endif comments.
17303 [__USE_MISC]: Remove redundant conditionals.
17304 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17305 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17306 * math/math.h: Update #else and #endif comments.
17307 [__USE_MISC]: Remove redundant conditionals.
17308 * misc/sys/uio.h: Update #endif comments.
17309 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17310 * posix/glob.h [__USE_MISC]: Likewise.
17311 * posix/sys/types.h: Update #endif comments.
17312 [__USE_MISC]: Remove redundant conditionals.
17313 * posix/sys/wait.h: Update #endif comments.
17314 [__USE_MISC]: Remove redundant conditionals.
17315 * posix/unistd.h: Update #endif comments.
17316 [__USE_MISC]: Remove redundant conditionals.
17317 * pwd/pwd.h [__USE_GNU]: Likewise.
17318 [__USE_MISC]: Likewise.
17319 * resolv/netdb.h [__USE_GNU]: Likewise.
17320 * signal/signal.h: Update #endif comments.
17321 [__USE_MISC]: Remove redundant conditionals.
17322 * stdlib/stdlib.h: Update #else and #endif comments.
17323 [__USE_MISC]: Remove redundant conditionals.
17324 [__USE_GNU]: Likewise.
17325 * string/bits/string2.h [__USE_MISC]: Likewise.
17326 * string/string.h: Update #endif comments.
17327 [__USE_MISC]: Remove redundant conditionals.
17328 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17329 Likewise.
17330 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17331 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17332 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17333 Likewise.
17334 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17335 Likewise.
17336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17337 comments.
17338 [__USE_MISC]: Remove redundant conditionals.
17339 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17340 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17341 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17342 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17343 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17344 Likewise.
17345 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17346 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17347 Likewise.
17348 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17350 Likewise.
17351 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17352 Likewise.
17353 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17354 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17355 Likewise.
17356 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17357 Likewise.
17358 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17359 * sysdeps/x86/bits/string.h: Update #endif comments.
17360 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17361 conditionals.
17362 * time/sys/time.h: Update #endif comments.
17363 * time/time.h: Likewise.
17364 [__USE_MISC]: Remove redundant conditionals.
17365
a5d82e4e
YG
173662014-02-21 Yury Gribov <y.gribov@samsung.com>
17367
17368 [BZ #16600]
17369 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17370
9a80491d
AS
173712014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17372
17373 * Versions.def (librt): Add GLIBC_2.17.
17374
105fa381
AC
173752014-02-21 Adam Conrad <adconrad@0c3.net>
17376
17377 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17378 synonym for _SYS_AUXV_H to allow direct inclusion.
17379 * sysdeps/sparc/bits/hwcap.h: Likewise.
17380 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17381 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17382 * sysdeps/sparc/sysdep.h: Likewise.
17383
b8cd1c4e
SP
173842014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17385
17386 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17387
bd939d23
RS
173882014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17389
17390 * benchtests/bench-strrchr.c: Print length instead of position.
17391
5d7b57ca
JM
173922014-02-20 Joseph Myers <joseph@codesourcery.com>
17393
bc688c10
JM
17394 [BZ #16611]
17395 * sysdeps/unix/sysv/linux/kernel-features.h
17396 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17397 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17398 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17399 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17400 Likewise.
17401 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17402 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17403 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17404 (__ASSUME_SENDMMSG): Define instead of using previous
17405 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17406 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17407 (__ASSUME_SENDMMSG_SYSCALL): Define.
17408 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17409 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17410 Likewise.
17411 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17412 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17413 Likewise.
17414 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17415 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17416 Likewise.
17417 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17418 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17419 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17420 [__ASSUME_SENDMMSG]: Change conditionals to
17421 [__ASSUME_SENDMMSG_SOCKETCALL].
17422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17423 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17424 Define.
17425 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17426 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17427 Likewise.
17428 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17429 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17430 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17431 [!__ASSUME_SENDMMSG]: Change conditional to
17432 [!__ASSUME_SENDMMSG_SOCKETCALL].
17433 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17434 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17435 Define.
17436
0e31b18c
JM
17437 [BZ #16610]
17438 * sysdeps/unix/sysv/linux/kernel-features.h
17439 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17440 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17441 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17442 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17443 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17444 [__i386__ || __sparc__]
17445 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17446 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17447 (__ASSUME_RECVMMSG): Define instead of using previous
17448 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17449 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17450 (__ASSUME_RECVMMSG_SYSCALL): Define.
17451 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17452 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17453 Likewise.
17454 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17455 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17456 Likewise.
17457 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17458 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17459 Likewise.
17460 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17461 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17462 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17463 [__ASSUME_RECVMMSG]: Change condition to
17464 [__ASSUME_RECVMMSG_SOCKETCALL].
17465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17466 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17467 Define.
17468 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17469 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17471 Likewise.
17472 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17473 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17474 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17475 [!__ASSUME_RECVMMSG]: Change condition to
17476 [!__ASSUME_RECVMMSG_SOCKETCALL].
17477 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17478 (__ASSUME_RECVMMSG_SYSCALL): Define.
17479
dd481ccf
JM
17480 [BZ #16609]
17481 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17482 __powerpc__ || __s390__ || __sh__ || __sparc__]
17483 (__ASSUME_SOCKETCALL): Define.
17484 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17485 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17486 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17487 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17488 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17489 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17490 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17491 (__ASSUME_ACCEPT4): Define instead of using previous
17492 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17493 __powerpc__ || __sparc__ || __s390__)] condition.
17494 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17495 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17496 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17497 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17498 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17499 [!__ASSUME_ACCEPT4]: Change condition to
17500 [!__ASSUME_ACCEPT4_SOCKETCALL].
17501 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17502 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17503 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17504 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17505 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17506 __ASSUME_ACCEPT4_SYSCALL.
17507 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17508 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17509 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17510 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17511 __ASSUME_ACCEPT4_SYSCALL.
17512 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17513 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17514 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17515 [__ASSUME_ACCEPT4]: Change condition to
17516 [__ASSUME_ACCEPT4_SOCKETCALL].
17517 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17518 (__ASSUME_SOCKETCALL): Define.
17519 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17520 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17521 (__ASSUME_SOCKETCALL): Define.
17522 (__ASSUME_ACCEPT4): Remove.
17523 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17524 Define.
17525 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17526 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17527 Likewise.
17528 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17529 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17530
5d7b57ca
JM
17531 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17532 macro.
17533 (HWCAP_ARM_LPAE): Likewise.
17534 (HWCAP_ARM_EVTSTRM): Likewise.
17535 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17536 Add vpfd32, lpae and evtstrm.
17537 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17538 Increase to 22.
17539
63689d61
JM
175402014-02-19 Joseph Myers <joseph@codesourcery.com>
17541
17542 * math/auto-libm-test-in: Add tests of clog10.
17543 * math/auto-libm-test-out: Regenerated.
17544 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17545 * sysdeps/i386/fpu/libm-test-ulps: Update.
17546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17547
ab09bf61
AS
175482014-02-18 Andreas Schwab <schwab@suse.de>
17549
17550 [BZ #16574]
17551 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17552 Store non-zero if the second buffer was newly allocated.
17553 (send_dg): Likewise.
17554 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17555 to send_vc and send_dg.
17556 (res_nsend): Pass NULL for ansp2_malloced.
17557 * resolv/res_query.c (__libc_res_nquery): Add parameter
17558 answerp2_malloced and pass it down to __libc_res_nsend.
17559 (res_nquery): Pass additional NULL to __libc_res_nquery.
17560 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17561 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
17562 second answer buffer if answerp2_malloced was set.
17563 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17564 (__libc_res_nquerydomain): Add parameter
17565 answerp2_malloced and pass it down to __libc_res_nquery.
17566 (res_nquerydomain): Pass additional NULL to
17567 __libc_res_nquerydomain.
17568 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17569 additional NULL to __libc_res_nsend and __libc_res_nquery.
17570 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17571 additional NULL to __libc_res_nsearch.
17572 (_nss_dns_gethostbyname4_r): Revert last change. Use new
17573 parameter of __libc_res_nsearch to check for separately allocated
17574 second buffer.
17575 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17576 __libc_res_nquery.
17577 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17578 additional NULL to __libc_res_nquery.
17579 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17580 __libc_res_nsearch.
17581 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17582 * include/resolv.h: Update prototypes of __libc_res_nquery,
17583 __libc_res_nsearch, __libc_res_nsend.
17584
a4fb7861
JM
175852014-02-18 Joseph Myers <joseph@codesourcery.com>
17586
c6af2d89
JM
17587 * math/auto-libm-test-in: Add tests of fma.
17588 * math/auto-libm-test-out: Regenerated.
17589 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17590 (fma_towardzero_test_data): Likewise.
17591 (fma_downward_test_data): Likewise.
17592 (fma_upward_test_data): Likewise.
17593 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17594 mpc_mode.
17595 (rounding_modes): Add values for new field.
17596 (func_calc_method): Add value mpfr_fff_f.
17597 (func_calc_desc): Add mpfr_fff_f union field.
17598 (test_function): Add field exact_args.
17599 (FUNC): Add macro argument EXACT_ARGS.
17600 (FUNC_mpfr_f_f): Update call to FUNC.
17601 (FUNC_mpfr_f_f): Likewise.
17602 (FUNC_mpfr_ff_f): Likewise.
17603 (FUNC_mpfr_if_f): Likewise.
17604 (FUNC_mpc_c_f): Likewise.
17605 (FUNC_mpc_c_c): Likewise.
17606 (test_functions): Add fma. Update calls to FUNC.
17607 (handle_input_arg): Add argument exact_args.
17608 (add_test): Update call to handle_input_arg.
17609 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
17610 (output_for_one_input_case): Update call to calc_generic_results.
17611 Recalculate exact zero results in each rounding mode.
17612
a4fb7861
JM
17613 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17614 non-negative before setting low bit.
17615 * math/auto-libm-test-in: Mark one asin test possibly having
17616 spurious underflow.
17617 * math/auto-libm-test-out: Regenerated.
17618 * sysdeps/i386/fpu/libm-test-ulps: Update.
17619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17620
ef114eaf
DH
176212014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17622
2b7f4f2c
SP
17623 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17624 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17625 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17626 * README: Add missing listing for microblaze*-*-linux-gnu.
17627
8125aedc
AM
176282014-02-16 Ondřej Bílka <neleai@seznam.cz>
17629
17630 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17631 duplicate code
17632
c70a4b1d
MF
176332014-02-16 Mike Frysinger <vapier@gentoo.org>
17634
17635 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17636 * sysdeps/unix/sysv/linux/ia64: Move directory from
17637 ports/sysdeps/unix/sysv/linux/ia64.
17638 * README: Update listing for ia64-*-linux-gnu.
17639
591aeaf7
TD
176402014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17641 Joseph Myers <joseph@codesourcery.com>
17642
17643 * Makeconfig (test-name): New variable.
17644 (evaluate-test): Likewise.
17645 * Makerules (do-test-clean): Remove .test-result files.
17646 (common-mostlyclean): Likewise.
17647 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17648 * scripts/evaluate-test.sh: New file.
17649
6e89caf1
JM
176502014-02-14 Joseph Myers <joseph@codesourcery.com>
17651
7f98f180
JM
17652 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17653 separate $(objpfx)tst-fopenloc-cmp.out and
17654 $(objpfx)tst-fopenloc-mem.out targets.
17655 (tests): Update dependencies.
17656 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17657 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17658 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17659 (tst-rxspencer-no-utf8-ARGS): New variable.
17660 (tst-rxspencer-no-utf8-ENV): Likewise.
17661 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17662 instead of $(objpfx)tst-rxspencer-mem.
17663 ($(objpfx)tst-rxspencer-mem): Change target to
17664 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17665 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17666 * posix/tst-rxspencer-no-utf8.c: New file.
17667
6e89caf1
JM
17668 * elf/Makefile ($(objpfx)order.out): Remove rule.
17669 [$(run-built-tests) = yes] (tests): Depend on
17670 $(objpfx)order-cmp.out.
17671 ($(objpfx)order-cmp.out): New rule.
17672 [$(run-built-tests) = yes] (tests): Depend on
17673 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17674 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17675 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17676 $(objpfx)tst-array5-static-cmp.out.
17677 ($(objpfx)tst-array1.out): Remove rule.
17678 ($(objpfx)tst-array1-cmp.out): New rule.
17679 ($(objpfx)tst-array1-static.out): Remove rule.
17680 ($(objpfx)tst-array1-static-cmp.out): New rule.
17681 ($(objpfx)tst-array2.out): Remove rule.
17682 ($(objpfx)tst-array2-cmp.out): New rule.
17683 ($(objpfx)tst-array3.out): Remove rule.
17684 ($(objpfx)tst-array3-cmp.out): New rule.
17685 ($(objpfx)tst-array4.out): Remove rule.
17686 ($(objpfx)tst-array4-cmp.out): New rule.
17687 ($(objpfx)tst-array5.out): Remove rule.
17688 ($(objpfx)tst-array5-cmp.out): New rule.
17689 ($(objpfx)tst-array5-static.out): Remove rule.
17690 ($(objpfx)tst-array5-static-cmp.out): New rule.
17691 [$(run-built-tests) = yes] (tests): Depend on
17692 $(objpfx)order2-cmp.out.
17693 ($(objpfx)order2.out): Remove rule.
17694 ($(objpfx)order2-cmp.out): New rule.
17695 ($(objpfx)tst-initorder.out): Remove rule.
17696 [$(run-built-tests) = yes] (tests): Depend on
17697 $(objpfx)tst-initorder-cmp.out.
17698 ($(objpfx)tst-initorder-cmp.out): New rule.
17699 ($(objpfx)tst-initorder2.out): Remove rule.
17700 [$(run-built-tests) = yes] (tests): Depend on
17701 $(objpfx)tst-initorder2-cmp.out.
17702 ($(objpfx)tst-initorder2-cmp.out): New rule.
17703 [$(run-built-tests) = yes] (tests): Depend on
17704 $(objpfx)tst-unused-dep-cmp.out.
17705 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17706 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17707 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17708 on $(objpfx)tst-setvbuf1-cmp.out.
17709 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17710 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17711 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17712 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17713 ($(objpfx)tst-svc.out): Remove rule.
17714 ($(objpfx)tst-svc-cmp.out): New rule.
17715
ed9a38e2
JM
177162014-02-13 Joseph Myers <joseph@codesourcery.com>
17717
17718 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17719 * ctype/ctype.h [__USE_MISC]: Likewise.
17720 * dirent/dirent.h [__USE_MISC]: Likewise.
17721 * grp/grp.h [__USE_MISC]: Likewise.
17722 * io/fcntl.h [__USE_MISC]: Likewise.
17723 * io/sys/stat.h [__USE_MISC]: Likewise.
17724 * libio/stdio.h [__USE_MISC]: Likewise.
17725 * posix/unistd.h [__USE_MISC]: Likewise.
17726 * pwd/pwd.h [__USE_MISC]: Likewise.
17727 * stdlib.h [__USE_MISC]: Likewise.
17728 * string/bits/string2.h [__USE_MISC]: Likewise.
17729 * string/string.h [__USE_MISC]: Likewise.
17730 * time/time.h [__USE_MISC]: Likewise.
17731
d6680619
AS
177322014-02-13 Andreas Schwab <schwab@suse.de>
17733
17734 [BZ #16574]
17735 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17736 second answer buffer if it was separately allocated.
17737
ace614b8
JM
177382014-02-12 Joseph Myers <joseph@codesourcery.com>
17739
743151ae
JM
17740 * sysdeps/mips/math-tests.h: Include <features.h>.
17741 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17742 (ROUNDING_TESTS_long_double): Do not define.
17743 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17744 (EXCEPTION_TESTS_long_double): Likewise.
17745 * sysdeps/mips/mips64/libm-test-ulps: Update.
17746
498afc54
JM
17747 * include/features.h (__USE_BSD): Remove macro definitions.
17748 (__USE_SVID): Likewise.
17749 (_BSD_SOURCE): Likewise.
17750 (_SVID_SOURCE): Likewise.
17751 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17752 from definition of _DEFAULT_SOURCE.
17753 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17754 [_DEFAULT_SOURCE].
17755 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17756 * bits/mman.h [__USE_BSD]: Likewise.
17757 * bits/termios.h [__USE_BSD]: Likewise.
17758 * bits/waitstatus.h [__USE_BSD]: Likewise.
17759 * ctype/ctype.h [__USE_SVID]: Likewise.
17760 * dirent/dirent.h [__USE_BSD]: Likewise.
17761 * grp/grp.h [__USE_SVID]: Likewise.
17762 [__USE_BSD]: Likewise.
17763 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17764 * io/fcntl.h [__USE_BSD]: Likewise.
17765 * io/ftw.h [__USE_BSD]: Likewise.
17766 * io/sys/stat.h [__USE_BSD]: Likewise.
17767 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17768 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17769 * libio/stdio.h [__USE_SVID]: Likewise.
17770 [__USE_BSD]: Likewise.
17771 * math/math.h [__USE_SVID]: Likewise.
17772 [__USE_BSD]: Likewise.
17773 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17774 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17775 * misc/search.h [__USE_SVID]: Likewise.
17776 * misc/sys/mman.h [__USE_BSD]: Likewise.
17777 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17778 * misc/sys/uio.h [__USE_BSD]: Likewise.
17779 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17780 * posix/glob.h [__USE_BSD]: Likewise.
17781 * posix/regex.h [__USE_BSD]: Likewise.
17782 * posix/sys/types.h [__USE_BSD]: Likewise.
17783 [__USE_SVID]: Likewise.
17784 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17785 * posix/sys/wait.h [__USE_BSD]: Likewise.
17786 [__USE_SVID]: Likewise.
17787 * posix/unistd.h [__USE_BSD]: Likewise.
17788 [__USE_SVID]: Likewise.
17789 * pwd/pwd.h [__USE_SVID]: Likewise.
17790 * resolv/netdb.h [__USE_BSD]: Likewise.
17791 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17792 * signal/signal.h [__USE_BSD]: Likewise.
17793 [__USE_SVID]: Likewise.
17794 * socket/sys/socket.h [__USE_BSD]: Likewise.
17795 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17796 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17797 [__USE_SVID]: Likewise.
17798 * string/bits/string2.h [__USE_BSD]: Likewise.
17799 [__USE_SVID]: Likewise.
17800 * string/bits/string3.h [__USE_BSD]: Likewise.
17801 * string/endian.h [__USE_BSD]: Likewise.
17802 * string/string.h [__USE_SVID]: Likewise.
17803 [__USE_BSD]: Likewise.
17804 * string/strings.h [__USE_BSD]: Likewise.
17805 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17806 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17807 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17808 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17809 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17810 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17811 Likewise.
17812 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17813 Likewise.
17814 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17815 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17816 Likewise.
17817 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17818 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17819 Likewise.
17820 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17821 Likewise.
17822 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17823 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17824 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17825 Likewise.
17826 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17827 Likewise.
17828 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17829 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17830 * termios/termios.h [__USE_BSD]: Likewise.
17831 * time/sys/time.h [__USE_BSD]: Likewise.
17832 * time/time.h [__USE_BSD]: Likewise.
17833 [__USE_SVID]: Likewise.
17834
dd7b064c
JM
17835 * Makefile (subdir_targets): Remove subdir_lint.out.
17836
a2c4c199
JM
17837 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17838 (do-tst-printf): Likewise.
17839 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17840 $(objpfx)tst-printf.out.
17841
8756f740
JM
17842 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17843
1b6dd3f1
JM
17844 * Makerules (check-abi-%): Change target to
17845 $(objpfx)check-abi-%.out.
17846 (check-abi target): Update dependencies.
17847 (check-abi-pattern variable): Redirect output of diff to $@.
17848 (check-abi variable): Likewise.
17849 * elf/Makefile (check-abi): Update dependencies.
17850
ace614b8
JM
17851 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17852 unused.
17853 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17854 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17855 subnormal range.
17856 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17857 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17858 value has largest subnormal exponent.
17859 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17860 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17861 * sysdeps/aarch64/soft-fp/sfp-machine.h
17862 (_FP_TININESS_AFTER_ROUNDING): New macro.
17863 * sysdeps/alpha/soft-fp/sfp-machine.h
17864 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17865 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17866 Likewise.
17867 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17869 * sysdeps/mips/soft-fp/sfp-machine.h
17870 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17871 * sysdeps/powerpc/soft-fp/sfp-machine.h
17872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17873 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17874 Likewise.
17875 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17877 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17878 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17879 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17880 Likewise.
17881
fbfdf9cb
DAS
178822014-02-12 Dylan Alex Simon <dylan@dylex.net>
17883
17884 [BZ #16545]
17885 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17886 model 1.
17887
68b7efaa
RH
178882014-02-12 Richard Henderson <rth@redhat.com>
17889
c70a4b1d 17890 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17891 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17892 * sysdeps/unix/sysv/linux/alpha: Move directory from
17893 ports/sysdeps/unix/sysv/linux/alpha.
17894 * README: Update listing for alpha-*-linux-gnu.
17895
cb4a2928
JM
178962014-02-11 Joseph Myers <joseph@codesourcery.com>
17897
c941736c
JM
17898 * include/features.h: Update comment documenting feature test
17899 macros.
17900 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17901 _DEFAULT_SOURCE.
17902 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17903 (_SVID_SOURCE): Likewise.
17904 (_DEFAULT_SOURCE): Update description of default features.
17905 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17906 with _GNU_SOURCE.
17907 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17908 (S_ISVTX): Likewise.
17909 * manual/math.texi (Mathematical Constants): Likewise.
17910 * manual/signal.texi (Interrupted Primitives): Likewise.
17911 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17912 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17913 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17914 Don't refer to _SVID_SOURCE in warning text.
17915
e8d8d7ec
JM
17916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17917
cb4a2928
JM
17918 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17919 already defined.
17920 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17921 * sysdeps/mips/dl-lookup.c: Remove.
17922 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17923
7e6424e3
AK
179242014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17925
17926 [BZ #16447]
17927 * math/auto-libm-test-in: Add testcase for expl.
17928 * math/auto-libm-test-out: Regenerate.
17929 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17930 calculation of unsafe.
17931 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17932
75eff3fe
MS
179332014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17934
17935 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17936 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17937 ports/sysdeps/unix/sysv/linux/aarch64.
17938 * README: Update listing for aarch64*-*-linux-gnu.
17939
d35f1e80
WN
179402014-02-11 Will Newton <will.newton@linaro.org>
17941
17942 * manual/probes.texi (Mathematical Function Probes): Use
17943 "triggered" instead of "hit".
17944
7b3436d4
WN
17945 * manual/probes.texi (Internal Probes): Add documentation
17946 of setjmp, longjmp and longjmp_target probes.
17947
b4f12ca3
WN
17948 * include/stap-probe.h: Add comment about probe argument
17949 format.
17950
c13a72b7
WN
17951 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17952 definition. (tr_where, tr_freehook, tr_mallochook,
17953 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17954
195b8165
DM
179552014-02-11 David S. Miller <davem@davemloft.net>
17956
17957 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17958 processing int_tests.
17959
2ad7600b
JM
179602014-02-10 Joseph Myers <joseph@codesourcery.com>
17961
17962 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17963 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17964 * sysdeps/unix/sysv/linux/mips: Move directory from
17965 ports/sysdeps/unix/sysv/linux/mips.
17966 * README: Update listing for mips-*-linux-gnu and
17967 mips64-*-linux-gnu.
17968
73588a72
AS
179692014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17970
17971 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17972 * sysdeps/unix/sysv/linux/m68k: Move directory from
17973 ports/sysdeps/unix/sysv/linux/m68k.
17974 * README: Update listing for m68k-*-linux-gnu.
17975
4372980f
CM
179762014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17977
17978 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17979 * sysdeps/unix/sysv/linux/generic: Move directory from
17980 ports/sysdeps/unix/sysv/linux/generic.
17981 * sysdeps/unix/sysv/linux/tile: Move directory from
17982 ports/sysdeps/unix/sysv/linux/tile.
17983 * README: Update listing for tile*-*-linux-gnu.
17984
a1ffb40e
OB
179852014-02-10 Ondřej Bílka <neleai@seznam.cz>
17986
57f41c40
AS
17987 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17988 __builtin_expect.
a1ffb40e
OB
17989 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17990 * catgets/open_catalog.c (__open_catalog): Likewise.
17991 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17992 * debug/confstr_chk.c: Likewise.
17993 * debug/fread_chk.c (__fread_chk): Likewise.
17994 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17995 * debug/getgroups_chk.c: Likewise.
17996 * debug/mbsnrtowcs_chk.c: Likewise.
17997 * debug/mbsrtowcs_chk.c: Likewise.
17998 * debug/mbstowcs_chk.c: Likewise.
17999 * debug/memcpy_chk.c: Likewise.
18000 * debug/memmove_chk.c: Likewise.
18001 * debug/mempcpy_chk.c: Likewise.
18002 * debug/memset_chk.c: Likewise.
18003 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18004 * debug/strcat_chk.c (__strcat_chk): Likewise.
18005 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18006 * debug/strncat_chk.c (__strncat_chk): Likewise.
18007 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18008 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18009 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18010 * debug/wcpncpy_chk.c: Likewise.
18011 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18012 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18013 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18014 * debug/wcsncpy_chk.c: Likewise.
18015 * debug/wcsnrtombs_chk.c: Likewise.
18016 * debug/wcsrtombs_chk.c: Likewise.
18017 * debug/wcstombs_chk.c: Likewise.
18018 * debug/wmemcpy_chk.c: Likewise.
18019 * debug/wmemmove_chk.c: Likewise.
18020 * debug/wmempcpy_chk.c: Likewise.
18021 * debug/wmemset_chk.c: Likewise.
18022 * dirent/scandirat.c (SCANDIRAT): Likewise.
18023 * dlfcn/dladdr1.c (dladdr1): Likewise.
18024 * dlfcn/dladdr.c (dladdr): Likewise.
18025 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18026 * dlfcn/dlerror.c (__dlerror): Likewise.
18027 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18028 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18029 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18030 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18031 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18032 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18033 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18034 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18035 Likewise.
18036 * elf/dl-conflict.c: Likewise.
18037 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18038 * elf/dl-dst.h: Likewise.
18039 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18040 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18041 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18042 * elf/dl-init.c (call_init, _dl_init): Likewise.
18043 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
18044 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18045 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18046 Likewise.
a1ffb40e
OB
18047 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18048 Likewise.
18049 * elf/dl-minimal.c (__libc_memalign): Likewise.
18050 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18051 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18052 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18053 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
18054 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18055 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
18056 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18057 * elf/dl-writev.h (_dl_writev): Likewise.
18058 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
18059 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18060 (dl_main): Likewise.
a1ffb40e
OB
18061 * elf/setup-vdso.h (setup_vdso): Likewise.
18062 * grp/compat-initgroups.c (compat_call): Likewise.
18063 * grp/fgetgrent.c (fgetgrent): Likewise.
18064 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18065 * grp/putgrent.c (putgrent): Likewise.
18066 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18067 Likewise.
18068 * hurd/hurdinit.c: Likewise.
18069 * iconvdata/8bit-gap.c (struct): Likewise.
18070 * iconvdata/ansi_x3.110.c : Likewise.
18071 * iconvdata/big5.c : Likewise.
18072 * iconvdata/big5hkscs.c : Likewise.
18073 * iconvdata/cp1255.c: Likewise.
18074 * iconvdata/cp1258.c : Likewise.
18075 * iconvdata/cp932.c : Likewise.
18076 * iconvdata/euc-cn.c: Likewise.
18077 * iconvdata/euc-jisx0213.c : Likewise.
18078 * iconvdata/euc-jp.c: Likewise.
18079 * iconvdata/euc-jp-ms.c : Likewise.
18080 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18081 * iconvdata/gb18030.c : Likewise.
18082 * iconvdata/gbbig5.c (const): Likewise.
18083 * iconvdata/gbgbk.c: Likewise.
18084 * iconvdata/gbk.c : Likewise.
18085 * iconvdata/ibm1364.c : Likewise.
18086 * iconvdata/ibm930.c : Likewise.
18087 * iconvdata/ibm932.c: Likewise.
18088 * iconvdata/ibm933.c : Likewise.
18089 * iconvdata/ibm935.c : Likewise.
18090 * iconvdata/ibm937.c : Likewise.
18091 * iconvdata/ibm939.c : Likewise.
18092 * iconvdata/ibm943.c: Likewise.
18093 * iconvdata/iso_11548-1.c: Likewise.
18094 * iconvdata/iso-2022-cn.c : Likewise.
18095 * iconvdata/iso-2022-cn-ext.c : Likewise.
18096 * iconvdata/iso-2022-jp-3.c: Likewise.
18097 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18098 * iconvdata/iso-2022-kr.c : Likewise.
18099 * iconvdata/iso646.c (gconv_end): Likewise.
18100 * iconvdata/iso_6937-2.c : Likewise.
18101 * iconvdata/iso_6937.c : Likewise.
18102 * iconvdata/iso8859-1.c: Likewise.
18103 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18104 * iconvdata/shift_jisx0213.c : Likewise.
18105 * iconvdata/sjis.c : Likewise.
18106 * iconvdata/t.61.c : Likewise.
18107 * iconvdata/tcvn5712-1.c : Likewise.
18108 * iconvdata/tscii.c: Likewise.
18109 * iconvdata/uhc.c : Likewise.
18110 * iconvdata/unicode.c (gconv_end): Likewise.
18111 * iconvdata/utf-16.c (gconv_end): Likewise.
18112 * iconvdata/utf-32.c (gconv_end): Likewise.
18113 * iconvdata/utf-7.c (base64): Likewise.
18114 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18115 * iconv/gconv_close.c (__gconv_close): Likewise.
18116 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
18117 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18118 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18119 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18120 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18121 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
18122 * iconv/iconv.c (iconv): Likewise.
18123 * iconv/iconv_close.c: Likewise.
18124 * iconv/loop.c (SINGLE): Likewise.
18125 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18126 * include/atomic.h: Likewise.
18127 * inet/inet6_option.c (option_alloc): Likewise.
18128 * intl/bindtextdom.c (set_binding_values): Likewise.
18129 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18130 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18131 * intl/localealias.c (read_alias_file): Likewise.
18132 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
18133 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18134 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
18135 * libio/fmemopen.c (fmemopen): Likewise.
18136 * libio/iofgets.c (_IO_fgets): Likewise.
18137 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18138 * libio/iofgetws.c (fgetws): Likewise.
18139 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18140 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
18141 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18142 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
18143 * locale/findlocale.c (_nl_find_locale): Likewise.
18144 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18145 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18146 Likewise.
18147 * locale/setlocale.c (setlocale): Likewise.
18148 * login/programs/pt_chown.c (main): Likewise.
18149 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18150 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
18151 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18152 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
18153 * math/e_exp2l.c: Likewise.
18154 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18155 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18156 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18157 * math/s_catan.c (__catan): Likewise.
18158 * math/s_catanf.c (__catanf): Likewise.
18159 * math/s_catanh.c (__catanh): Likewise.
18160 * math/s_catanhf.c (__catanhf): Likewise.
18161 * math/s_catanhl.c (__catanhl): Likewise.
18162 * math/s_catanl.c (__catanl): Likewise.
18163 * math/s_ccosh.c (__ccosh): Likewise.
18164 * math/s_ccoshf.c (__ccoshf): Likewise.
18165 * math/s_ccoshl.c (__ccoshl): Likewise.
18166 * math/s_cexp.c (__cexp): Likewise.
18167 * math/s_cexpf.c (__cexpf): Likewise.
18168 * math/s_cexpl.c (__cexpl): Likewise.
18169 * math/s_clog10.c (__clog10): Likewise.
18170 * math/s_clog10f.c (__clog10f): Likewise.
18171 * math/s_clog10l.c (__clog10l): Likewise.
18172 * math/s_clog.c (__clog): Likewise.
18173 * math/s_clogf.c (__clogf): Likewise.
18174 * math/s_clogl.c (__clogl): Likewise.
18175 * math/s_csin.c (__csin): Likewise.
18176 * math/s_csinf.c (__csinf): Likewise.
18177 * math/s_csinh.c (__csinh): Likewise.
18178 * math/s_csinhf.c (__csinhf): Likewise.
18179 * math/s_csinhl.c (__csinhl): Likewise.
18180 * math/s_csinl.c (__csinl): Likewise.
18181 * math/s_csqrt.c (__csqrt): Likewise.
18182 * math/s_csqrtf.c (__csqrtf): Likewise.
18183 * math/s_csqrtl.c (__csqrtl): Likewise.
18184 * math/s_ctan.c (__ctan): Likewise.
18185 * math/s_ctanf.c (__ctanf): Likewise.
18186 * math/s_ctanh.c (__ctanh): Likewise.
18187 * math/s_ctanhf.c (__ctanhf): Likewise.
18188 * math/s_ctanhl.c (__ctanhl): Likewise.
18189 * math/s_ctanl.c (__ctanl): Likewise.
18190 * math/w_pow.c: Likewise.
18191 * math/w_powf.c: Likewise.
18192 * math/w_powl.c: Likewise.
18193 * math/w_scalb.c (sysv_scalb): Likewise.
18194 * math/w_scalbf.c (sysv_scalbf): Likewise.
18195 * math/w_scalbl.c (sysv_scalbl): Likewise.
18196 * misc/error.c (error_tail): Likewise.
18197 * misc/pselect.c (__pselect): Likewise.
18198 * nis/nis_callback.c (__nis_create_callback): Likewise.
18199 * nis/nis_call.c (__nisfind_server): Likewise.
18200 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18201 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18202 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18203 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18204 * nis/nis_lookup.c (nis_lookup): Likewise.
18205 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
18206 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18207 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 18208 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
18209 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18210 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18211 * nis/nss_compat/compat-initgroups.c (add_group)
18212 (internal_getgrent_r): Likewise.
18213 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18214 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18215 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18216 (internal_getspnam_r): Likewise.
18217 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18218 (_nss_nis_getaliasbyname_r): Likewise.
18219 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18220 (_nss_nis_getntohost_r): Likewise.
18221 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18222 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18223 (_nss_nis_getgrgid_r): Likewise.
18224 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18225 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18226 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18227 (_nss_nis_gethostbyname4_r): Likewise.
18228 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18229 (initgroups_netid): Likewise.
a1ffb40e 18230 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
18231 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18232 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18233 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18234 (_nss_nis_getprotobynumber_r): Likewise.
18235 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18236 (_nss_nis_getsecretkey): Likewise.
18237 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18238 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18239 (_nss_nis_getpwuid_r): Likewise.
18240 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18241 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18242 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18243 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18244 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18245 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
18246 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18247 Likewise.
57f41c40
AS
18248 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18249 (_nss_nisplus_getntohost_r): Likewise.
18250 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18251 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18252 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18253 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 18254 Likewise.
57f41c40
AS
18255 * nis/nss_nisplus/nisplus-initgroups.c
18256 (_nss_nisplus_initgroups_dyn): Likewise.
18257 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18258 (_nss_nisplus_getnetbyaddr_r): Likewise.
18259 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18260 (_nss_nisplus_getprotobynumber_r): Likewise.
18261 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18262 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
18263 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18264 Likewise.
57f41c40
AS
18265 * nis/nss_nisplus/nisplus-service.c
18266 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18267 (_nss_nisplus_getservbyport_r): Likewise.
18268 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18269 (_nss_nisplus_getspnam_r): Likewise.
18270 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18271 Likewise.
a1ffb40e
OB
18272 * nscd/aicache.c (addhstaiX): Likewise.
18273 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
18274 * nscd/connections.c (register_traced_file, send_ro_fd)
18275 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18276 (main_loop_epoll): Likewise.
a1ffb40e
OB
18277 * nscd/grpcache.c (addgrbyX): Likewise.
18278 * nscd/hstcache.c (addhstbyX): Likewise.
18279 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18280 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
18281 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18282 (addinnetgrX): Likewise.
18283 * nscd/nscd-client.h (__nscd_acquire_maplock)
18284 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
18285 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18286 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18287 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18288 Likewise.
18289 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18290 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
18291 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18292 (__nscd_get_map_ref): Likewise.
a1ffb40e 18293 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
18294 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18295 Likewise.
a1ffb40e
OB
18296 * nscd/pwdcache.c (addpwbyX): Likewise.
18297 * nscd/selinux.c (preserve_capabilities): Likewise.
18298 * nscd/servicescache.c (addservbyX): Likewise.
18299 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18300 * posix/fnmatch.c (fnmatch): Likewise.
18301 * posix/getopt.c (_getopt_internal_r): Likewise.
18302 * posix/glob.c (glob, glob_in_dir): Likewise.
18303 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
18304 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18305 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
18306 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18307 * resolv/res_init.c: Likewise.
18308 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18309 * resolv/res_query.c (__libc_res_nquery): Likewise.
18310 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18311 Likewise.
18312 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18313 * stdio-common/perror.c (perror): Likewise.
18314 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18315 * stdio-common/tmpnam.c (tmpnam): Likewise.
18316 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18317 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
18318 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18319 Likewise.
a1ffb40e
OB
18320 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18321 * stdlib/putenv.c (putenv): Likewise.
18322 * stdlib/setenv.c (__add_to_environ): Likewise.
18323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18324 * stdlib/strtol_l.c (INTERNAL): Likewise.
18325 * string/memmem.c (memmem): Likewise.
18326 * string/strerror.c (strerror): Likewise.
18327 * string/strnlen.c (__strnlen): Likewise.
18328 * string/test-memmem.c (simple_memmem): Likewise.
18329 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18330 * sunrpc/pm_getport.c (__get_socket): Likewise.
18331 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18332 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
18333 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18334 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
18335 Likewise.
18336 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18337 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18338 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18339 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18340 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
18341 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18342 Likewise.
18343 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18344 Likewise.
a1ffb40e
OB
18345 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18346 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18347 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18348 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18349 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18351 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18352 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18353 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18354 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18355 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18356 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18357 Likewise.
18358 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18359 Likewise.
18360 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18361 Likewise.
18362 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18363 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18364 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18365 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18366 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18367 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
18377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18378 Likewise.
a1ffb40e
OB
18379 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18380 Likewise.
18381 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18382 Likewise.
18383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18384 Likewise.
18385 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18387 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18388 Likewise.
18389 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18390 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18391 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18392 * sysdeps/posix/sleep.c: Likewise.
18393 * sysdeps/posix/tempname.c: Likewise.
18394 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18395 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18396 Likewise.
57f41c40
AS
18397 * sysdeps/powerpc/powerpc32/dl-machine.h
18398 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
18399 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18401 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18402 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18403 Likewise.
18404 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18405 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18406 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18407 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18408 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18409 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18410 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18411 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18412 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18413 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18414 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18415 (elf_machine_lazy_rel): Likewise.
a1ffb40e 18416 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18417 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18418 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18419 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18420 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18421 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18422 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18423 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18424 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18425 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18427 Likewise.
18428 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18429 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18430 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18431 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18432 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18433 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18434 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18435 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18436 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18437 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18438 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18439 Likewise.
18440 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18441 (__posix_fallocate64_l64): Likewise.
18442 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18443 (posix_fallocate): Likewise.
57f41c40
AS
18444 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18445 Likewise.
a1ffb40e 18446 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
18447 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18448 (getifaddrs_internal): Likewise.
a1ffb40e
OB
18449 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18450 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18451 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18452 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18453 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18454 (__posix_fallocate64_l64): Likewise.
18455 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18456 Likewise.
18457 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
18458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18459 (__get_clockfreq): Likewise.
a1ffb40e
OB
18460 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18461 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18462 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18463 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18464 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18465 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18466 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18467 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18468 Likewise.
18469 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18470 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18471 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18472 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18474 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18475 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18476 Likewise.
18477 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18478 (posix_fallocate): Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18480 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18481 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
18482 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18483 (elf_machine_rela, elf_machine_rela_relative)
18484 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
18485 * time/asctime.c (asctime_internal): Likewise.
18486 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18487 * time/tzset.c (__tzset_parse_tz): Likewise.
18488 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18489 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18490 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18491 * wcsmbs/wcsmbsload.h: Likewise.
18492
f3d338c9
OB
18493 [BZ #15894]
18494 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18495
57f41c40
AS
18496 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18497 (arena_get2): Remove THREAD_STATS conditionals.
18498 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18499 (__malloc_stats, int): Likewise.
bdfe308a 18500
d674667c
MF
185012014-02-08 Mike Frysinger <vapier@gentoo.org>
18502
18503 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18504 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18505
6349768c
MF
18506 * manual/setjmp.texi: Fix typos/grammar errors.
18507
0b7c7473
MF
18508 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18509 Only return early when n is <= 0. Delete unused return statement.
18510
ac8cc9e3
MF
18511 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18512 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18513 * debug/tst-longjmp_chk3.c: New file.
18514
c5bb8e23
MF
18515 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18516 (test_main): Replace code with set_fortify_handler call.
18517 * debug/test-strcpy_chk.c: Likewise.
18518 * debug/tst-chk1.c: Likewise.
18519 * debug/tst-longjmp_chk.c: Likewise.
18520 * test-skeleton.c: Include fcntl.h & paths.h
18521 (set_fortify_handler): Define.
18522
10444e42
MF
18523 * debug/tst-longjmp_chk.c: Add header comment and include
18524 ../test-skeleton.c.
18525 (do_test): Mark static.
18526 (TEST_FUNCTION): Define.
18527
1e805e8d
MF
18528 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18529 (IP_PMTUDISC_INTERFACE): Likewise.
18530 (IP_MULTICAST_IF): Likewise.
18531 (IP_MULTICAST_TTL): Likewise.
18532 (IP_MULTICAST_LOOP): Likewise.
18533 (IP_ADD_MEMBERSHIP): Likewise.
18534 (IP_DROP_MEMBERSHIP): Likewise.
18535 (IP_UNBLOCK_SOURCE): Likewise.
18536 (IP_BLOCK_SOURCE): Likewise.
18537 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18538 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18539 (IP_MSFILTER): Likewise.
18540 (MCAST_JOIN_GROUP): Likewise.
18541 (MCAST_BLOCK_SOURCE): Likewise.
18542 (MCAST_UNBLOCK_SOURCE): Likewise.
18543 (MCAST_LEAVE_GROUP): Likewise.
18544 (MCAST_JOIN_SOURCE_GROUP): Likewise.
18545 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18546 (MCAST_MSFILTER): Likewise.
18547 (IP_MULTICAST_ALL): Likewise.
18548 (IP_UNICAST_IF): Likewise.
18549
73f79bb7
MF
18550 * timezone/Makefile: Delete $(have-ksh) check.
18551 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18552 * timezone/tzselect.ksh: Add +x mode bits.
18553
8da79b60
MF
18554 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18555 (ANON_INODE_FS_MAGIC): Likewise.
18556 (BDEVFS_MAGIC): Likewise.
18557 (BINFMTFS_MAGIC): Likewise.
18558 (BTRFS_TEST_MAGIC): Likewise.
18559 (CRAMFS_MAGIC_WEND): Likewise.
18560 (DEBUGFS_MAGIC): Likewise.
18561 (ECRYPTFS_SUPER_MAGIC): Likewise.
18562 (EXT3_SUPER_MAGIC): Likewise.
18563 (EXT4_SUPER_MAGIC): Likewise.
18564 (FUTEXFS_SUPER_MAGIC): Likewise.
18565 (HOSTFS_SUPER_MAGIC): Likewise.
18566 (HUGETLBFS_MAGIC): Likewise.
18567 (MINIX3_SUPER_MAGIC): Likewise.
18568 (MTD_INODE_FS_MAGIC): Likewise.
18569 (NILFS_SUPER_MAGIC): Likewise.
18570 (OPENPROM_SUPER_MAGIC): Likewise.
18571 (PIPEFS_MAGIC): Likewise.
18572 (PSTOREFS_MAGIC): Likewise.
18573 (QNX6_SUPER_MAGIC): Likewise.
18574 (RAMFS_MAGIC): Likewise.
18575 (REISERFS_SUPER_MAGIC_STRING): Likewise.
18576 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18577 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18578 (SECURITYFS_MAGIC): Likewise.
18579 (SELINUX_MAGIC): Likewise.
18580 (SMACK_MAGIC): Likewise.
18581 (SOCKFS_MAGIC): Likewise.
18582 (SQUASHFS_MAGIC): Likewise.
18583 (STACK_END_MAGIC): Likewise.
18584 (TMPFS_MAGIC): Likewise.
18585 (USBDEVICE_SUPER_MAGIC): Likewise.
18586 (V9FS_MAGIC): Likewise.
18587 (XENFS_SUPER_MAGIC): Likewise.
18588 (CRAMFS_MAGIC): Fix typo in comment.
18589 (EXT2_SUPER_MAGIC): Update comment.
18590 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18591
464263cc
JM
185922014-02-08 Joseph Myers <joseph@codesourcery.com>
18593
c6bfe5c4
JM
18594 * sysdeps/arm: Move directory from ports/sysdeps/arm.
18595 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18596 * sysdeps/unix/sysv/linux/arm: Move directory from
18597 ports/sysdeps/unix/sysv/linux/arm.
18598 * README: Update listing for arm-*-linux-gnueabi.
18599
464263cc
JM
18600 * README: Remove mention of am33.
18601
32749f6c
RM
186022014-02-07 Roland McGrath <roland@hack.frob.com>
18603
18604 * bits/sigset.h (__sigemptyset): Use a statement expression rather
18605 than the comma operator, to avoid "rhs of comma has no effect"
18606 compiler warnings.
18607 (__sigfillset, __sigandset, __sigorset): Likewise.
18608 * include/signal.h (__sigemptyset): Likewise.
18609 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18610
d5b396c1
AM
186112014-02-07 Allan McRae <allan@archlinux.org>
18612
18613 * version.h (RELEASE): Set to "development".
18614 (VERSION): Set to "2.19.90"
18615 * NEWS: Add 2.20 section.
18616
3bfff2ed
CD
186172014-02-06 Carlos O'Donell <carlos@redhat.com>
18618
18619 [BZ #16529]
18620 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18621
ee7cc385
SP
186222014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18623
18624 * manual/contrib.texi: Update entry for Carlos O'Donell,
18625 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18626
f877c4f2
CD
186272014-02-05 Carlos O'Donell <carlos@rehdat.com>
18628
27e839f6
CD
18629 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18630
f877c4f2
CD
18631 * sysdeps/unix/sysv/linux/kernel-features.h
18632 [__LINUX_KERNEL_VERSION >= 0x020621]
18633 (__ASSUME_PROC_PID_TASK_COMM): Define.
18634
68159946
SP
186352014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18636
ba17cdbd
SP
18637 [BZ #16398]
18638 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18639 conversion when destination buffer does not have enough space.
18640 * libio/tst-ftell-partial-wide.c: New test case.
18641 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18642
68159946
SP
18643 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18644 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18645 Leonard and Allan McRae.
18646
2b528732
DM
186472014-02-04 David S. Miller <davem@davemloft.net>
18648
18649 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18650 32-bit.
18651
0ff82463
AZ
186522014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18653
57f41c40
AS
18654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18655 New file
c01603f7
AZ
18656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18657 New file
57f41c40
AS
18658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18659 New file.
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18661 New file.
c01603f7
AZ
18662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18663 New file.
57f41c40
AS
18664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18665 New file.
18666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18667 New file.
c01603f7
AZ
18668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18669 New file.
18670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18671 New file.
18672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18673 New file.
18674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18675 New file.
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18677 New file.
18678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18679 New file.
18680
186812014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18682
0ff82463
AZ
18683 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18684 * shlib-versions: Likewise.
18685
1695c773
AZ
186862014-02-04 Roland McGrath <roland@hack.frob.com>
18687 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18688
18689 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18690 (abilist-pattern): New variable, set to %-le.abilist.
18691
18692 * Makerules (abilist-pattern): New variable.
18693 (vpath): Use $(abilist-pattern) in place of %.abilist.
18694 (check-abi-% pattern rule): Likewise.
18695 (check-abi, update-abi): Likewise.
18696
6c0ce4b4
EW
186972014-02-04 Eric Wong <normalperson@yhbt.net>
18698
18699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18700
481e3524
CD
187012014-02-03 Carlos O'Donell <carlos@redhat.com>
18702
18703 * manual/startup.texi: Add next, previous, and top entries for
18704 the `Program Arguments' and `Environment Variables' nodes.
18705
375592d3
AO
187062014-02-03 Alexandre Oliva <aoliva@redhat.com>
18707
18708 * manual/macros.texi: Add comments before MTASC-safety macros.
18709
f54838ba
AO
18710 * manual/users.texi: Document MTASC-safety properties.
18711
57f41c40
AS
18712 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18713 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18714 @deftypefun, and add @safety note.
18715 * manual/signal.texi: Move comments that analyze the above
18716 functions to their home place.
18717
fd3daba4
AM
187182014-02-03 Allan McRae <allan@archlinux.org>
18719
18720 * po/sl.po: Update Slovenian translation from translation project.
18721
597636d7
AO
187222014-02-02 Alexandre Oliva <aoliva@redhat.com>
18723
18724 * manual/time.texi (timegm): Add missing blank after @c.
18725 Reported by Joseph Myers <joseph@codesourcery.com>.
18726
ee196e3c
AO
187272014-02-01 Alexandre Oliva <aoliva@redhat.com>
18728
18729 * manual/check-safety.sh: New.
18730 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18731
f8d529d5
AO
18732 * manual/terminal.texi: Document MTASC-safety properties.
18733
de55fdf4
AO
18734 * manual/filesys.texi: Document MTASC-safety properties.
18735
c3299c08
AO
18736 * manual/errno.texi: Document MTASC-safety properties.
18737
06e90b14
AO
18738 * manual/intro.texi: Document safety identifiers and
18739 conditionals.
18740
1acd4371
AO
18741 * manual/string.texi (wcstok): Fix prototype.
18742 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18743
23e5b8cb
AO
18744 * manual/time.texi: Document MTASC-safety properties.
18745
11087373
AO
18746 * manual/string.texi: Document MTASC-safety properties.
18747
5da2c93d
AO
18748 * manual/threads.texi: Document MTASC-safety properties.
18749
171e9210
AO
18750 * manual/stdio.texi: Document MTASC-safety properties.
18751
d9e02532
AO
18752 * manual/syslog.texi: Document MTASC-safety properties.
18753
6af8bab7
AO
18754 * manual/sysinfo.texi: Document MTASC-safety properties.
18755
663b02d7
AO
18756 * manual/startup.texi: Document MTASC-safety properties.
18757
973f180b
AO
18758 * manual/socket.texi: Document MTASC-safety properties.
18759
8f3c25c8
AO
18760 * manual/signal.texi: Document MTASC-safety properties.
18761
542210fb
AO
187622014-01-31 Alexandre Oliva <aoliva@redhat.com>
18763
18764 * manual/setjmp.texi: Document MTASC-safety properties.
18765
433c45a2
AO
18766 * manual/search.texi: Document MTASC-safety properties.
18767
c8ce789c
AO
18768 * manual/resource.texi: Document MTASC-safety properties.
18769
19f5d29c
AO
18770 * manual/process.texi: Document MTASC-safety properties.
18771
e2dfb7f4
AO
18772 * manual/platform.texi: Document MTASC-safety properties.
18773
8c1413f5
AO
18774 * manual/pipe.texi: Document MTASC-safety properties.
18775
03483ada
AO
18776 * manual/pattern.texi: Document MTASC-safety properties.
18777
29e7e2df
AO
18778 * manual/message.texi: Document MTASC-safety properties.
18779
9f529d7c
AO
18780 [BZ #12751]
18781 * manual/memory.texi: Document MTASC-safety properties.
18782
27aaa791
AO
18783 * manual/math.texi: Document MTASC-safety properties.
18784
f2d58726
AO
18785 * manual/locale.texi: Document MTASC-safety properties.
18786
2cc3615c
AO
18787 * manual/llio.texi: Document MTASC-safety properties.
18788
d9f0ec97
AO
18789 * manual/libdl.texi: New.
18790
e7c4409a
AO
18791 * manual/lang.texi: Document MTASC-safety properties.
18792
27bdc63c
AO
18793 * manual/job.texi: Document MTASC-safety properties.
18794
a7b90ea9
AO
18795 * manual/getopt.texi: Document MTASC-safety properties.
18796
c49130e3
AO
18797 * manual/ctype.texi: Document MTASC-safety properties.
18798
0d23a5c1
MR
187992014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18800
18801 [BZ #16046]
18802 * csu/libc-tls.c (static_map): Remove variable.
18803 (__libc_setup_tls): Use main executable's link map for TLS data.
18804 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18805 casing for LM_ID_BASE and GL(dl_nns).
18806 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18807 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18808 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18809 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18810 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18811 member.
18812 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18813 l_phnum members.
18814
0037bb60
AO
188152014-01-30 Alexandre Oliva <aoliva@redhat.com>
18816
18817 * manual/debug.texi: Document MTASC-safety properties.
18818
409e00bd
L
188192014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18820
18821 [BZ #16510]
18822 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18823 of __x86_64__ when disabling x87 inline functions.
18824
86e60666
AO
188252014-01-29 Alexandre Oliva <aoliva@redhat.com>
18826
18827 * manual/charset.texi: Document MTASC-safety properties.
18828
76167637
AO
18829 * manual/crypt.texi: Document MTASC-safety properties.
18830
e567f2a0
AO
18831 * manual/conf.texi: Document MTASC-safety properties.
18832
b719dafd
AO
18833 * manual/arith.texi: Document MTASC-safety properties.
18834
4a16c662
AO
18835 * manual/argp.texi: Document MTASC-safety properties.
18836
0a57b83e
AO
18837 * manual/macros.texi: Introduce macros to document multi
18838 thread, asynchronous signal and asynchronous cancellation
18839 safety properties.
18840 * manual/intro.texi: Introduce the properties themselves.
18841
feab2397
KK
188422014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18843
18844 * sysdeps/sh/sh4/Makefile: New file.
18845
1c0d11bc
AS
188462014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18847
18848 * math/gen-libm-test.pl ($srcdir): New variable.
18849 ($auto_input): Use it.
18850
af37a8a3
SP
188512014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18852
d7b00f98
SP
18853 [BZ #16506]
18854 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18855 access beyond array bounds when parsing netgroups file.
18856
af37a8a3
SP
18857 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18858 the old buffer before realloc.
18859
0c00f062
AM
188602014-01-27 Allan McRae <allan@archlinux.org>
18861
18862 * po/fr.po: Update French translation from translation project.
18863
7d69a1b0
KK
188642014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18865
18866 * sysdeps/sh/libm-test-ulps: Regenerate.
18867
6e697ff7
DM
188682014-01-24 David S. Miller <davem@davemloft.net>
18869
18870 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18871
9cadb35c
KK
188722014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18873
18874 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18875 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18876
5d41dadf
SP
188772013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18878
18879 [BZ #16474]
18880 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18881 string pointers after reallocation.
18882
0bad441c
KK
188832014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18884
18885 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18886 __SH4A__ instead of __SH_FPU_ANY__.
18887
7007c661
KK
188882014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18889
18890 * sysdeps/sh/fpu_control.h: New file.
18891 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18892 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18893 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18894 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18895 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18896 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18897 * sysdeps/sh/sys/ucontext.h: Remove.
18898 * sysdeps/sh/sys: Remove directory.
18899
0f0c35e4
AK
189002014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18901
18902 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18903 s390/sys/ucontext.h.
18904 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18905 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18906
4959e284
L
189072014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18908
18909 [BZ #15605]
18910 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18911
d98720e0
AZ
189122014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18913
18914 [BZ#16431]
18915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18916 Adjust the vDSO correctly for internal calls.
18917 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18918
91cbd0bc
AM
189192014-01-20 Allan McRae <allan@archlinux.org>
18920
18921 * po/ca.po: Update Catalan translation from translation project.
18922
7a02cfad
MF
189232014-01-16 Mike Frysinger <vapier@gentoo.org>
18924
18925 * sysdeps/s390/sotruss-lib.c: New file.
18926
736c304a
AZ
189272014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18928
18929 [BZ#16430]
6e077ee5 18930 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18931 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18932 local calls issues by not having a PLT stub required for IFUNC calls.
18933 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18934
94d0cea0
JM
189352014-01-16 Joseph Myers <joseph@codesourcery.com>
18936
18937 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18938 * math/test-fpucw-static.c: Likewise.
18939
980cb518
SP
189402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18941
18942 [BZ #16453]
18943 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18944
2393fc01
AZ
189452014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18946
18947 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18948 implementation for powerpc.
18949
d359bcc2
OB
189502014-01-15 Ondřej Bílka <neleai@seznam.cz>
18951
18952 [BZ #14782]
18953 * sysdeps/posix/system.c (__libc_system): Do not enable
18954 asynchronous cancellation.
18955
7beb48cb
AK
189562014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18957
18958 [BZ #16427]
18959 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18960 handling only for numbers special also in the IEEE case.
18961
c20d5bf5
AK
189622014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18963
18964 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18965
e83bd4ee
AM
189662014-01-11 Allan McRae <allan@archlinux.org>
18967
76d0ea69
AM
18968 * po/bg.po: Update Bulgarian translation from translation project.
18969
e83bd4ee
AM
18970 * po/de.po: Update German translation from translation project.
18971
bc2ba20a
RM
189722014-01-10 Roland McGrath <roland@hack.frob.com>
18973
18974 * sysdeps/generic/gcc-compat.h: New file.
18975
649ecea2
SP
189762014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18977
18978 * benchtests/asin-inputs: Correct slow inputs.
18979 * benchtests/acos-inputs: Likewise.
18980
1b19c006
AM
189812014-01-10 Allan McRae <allan@archlinux.org>
18982
a46dab08
AM
18983 * po:sv.po: Update Swedish translation from translation project.
18984
421df74a
AM
18985 * po/vi.po: Update Vietnamese translation from translation project.
18986
d61c51a7
AM
18987 * po/eo.po: Update Esperanto translation from translation project.
18988
0339a319
AM
18989 * po/cs.po: Update Czech translation from translation project.
18990
94ad3e99
AM
18991 * po/nl.po: Update Dutch translation from translation project.
18992
e349ca71
AM
18993 * po/pl.po: Update Polish translation from translation project.
18994
ddf930c1
AM
18995 * po/ru.po: Update Russian translation from translation project.
18996
1b19c006
AM
18997 * po/uk.po: Update Ukrainian translation from translation project.
18998
9f236c49
BM
189992014-01-08 Brooks Moses <bmoses@google.com>
19000
19001 * elf/dl-load.c: Fix comment typo.
19002
cd6701cf
CD
190032014-01-08 Carlos O'Donell <carlos@redhat.com>
19004
19005 * po/header.pot: Rename to...
19006 * po/pot.header: ... this.
19007 * po/Makefile: Use pot.header.
19008
66671c84
YK
190092014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19010 Maxim Kuvyrkov <maxim@kugelworks.com>
19011
19012 [BZ #16394]
cd6701cf
CD
19013 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19014 SRC and DEST against LEN.
66671c84 19015
38f34581
AZ
190162014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19017
19018 [BZ #16414]
19019 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19020 implementation.
19021 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19022
190232014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
19024
19025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19026
4c327f2a
JM
190272014-01-08 Joseph Myers <joseph@codesourcery.com>
19028
19029 [BZ #16408]
19030 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19031 for large positive arguments.
19032
b821f414
JM
190332014-01-07 Joseph Myers <joseph@codesourcery.com>
19034
1f0f2067
JM
19035 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19036
a5a326f6
JM
19037 * math/auto-libm-test-in: Mark various tests with
19038 xfail-rounding:ldbl-128ibm.
19039 * math/auto-libm-test-out: Regenerated.
19040
b821f414
JM
19041 [BZ #16407]
19042 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19043 Increase overflow threshold.
19044
94c8a4bc
OB
190452014-01-07 Ondřej Bílka <neleai@seznam.cz>
19046
19047 [BZ #14286]
19048 * stdio-common/vfprintf.c: Check for integer overflow.
19049
87ded0c3
AK
190502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19051
19052 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19053 the first argument and return value of __tls_get_addr_internal.
19054
c5eebdd0
AK
190552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19056
19057 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19058 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19059
05d138ef
AK
190602014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19061
19062 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19063 * sysdeps/s390/rtld-global-offsets.sym: New file.
19064 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19065 GLIBC_2.19 symbol.
19066 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19067 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19068 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19069 ... this.
19070 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19071 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19072 ... this.
19073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19074 Regenerate.
19075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19076 Regenerate.
19077 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19078 halfs of GPRs for high_gprs contexts.
19079 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19080 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19081 field.
19082 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19083 uc_flags field.
19084 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19085 64 bit versions:
19086 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19087 for high GPRs (uc_high_gprs) and for future extensions
19088 (__reserved).
19089 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19090 for future extensions (__reserved).
19091 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19092 64 bit versions:
19093 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19094 SC_HIGHGPRS offset definition.
19095 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19096 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19097
93a45ff1
AK
19098 * Versions.def: Add GLIBC_2.19 for libpthread.
19099 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19100 siglongjmp for libpthread with GLIBC_2.19 symver.
19101 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19102 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19103 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19104 * sysdeps/s390/__longjmp.c: New file.
19105 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19106 * sysdeps/s390/longjmp.c: New file.
19107 * sysdeps/s390/setjmp.S: New file.
19108 * sysdeps/s390/sigjmp.S: New file.
19109 * sysdeps/s390/v1-longjmp.c: New file.
19110 * sysdeps/s390/v1-setjmp.h: New file.
19111 * sysdeps/s390/v1-sigjmp.c: New file.
19112 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19113 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19114 GLIBC_2.19 version.
19115 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19116 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19117 versioned symbols for ____longjmp_chk.
19118 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19119 Likewise.
19120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19121 Regenerate.
19122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19123 Regenerate.
19124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19125 Regenerate.
19126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19127 Regenerate.
19128 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19129 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19130 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19131 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19132 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19133 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19134 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19135 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19136 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19137 * sysdeps/s390/rtld-__longjmp.c: New file.
19138 * sysdeps/s390/rtld-setjmp.S: New file.
19139
eb3fc44b
JM
191402014-01-06 Joseph Myers <joseph@codesourcery.com>
19141
19142 [BZ #16400]
19143 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19144 Return -__logl (x) for small positive arguments without evaluating
19145 a polynomial.
19146
9341dde4
MF
191472014-01-06 Mike Frysinger <vapier@gentoo.org>
19148
19149 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19150 Rename to ...
19151 (__ptrace_peeksiginfo_args): ... this.
19152 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19153 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19154 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19155
4cff0293
AM
191562014-01-06 Allan McRae <allan@archlinux.org>
19157
19158 * inet/netinet/in.h: Fix typo in comment.
19159
75595dcf
AJ
191602014-01-05 Andreas Jaeger <aj@suse.de>
19161
19162 * sysdeps/i386/fpu/libm-test-ulps: Update.
19163
79c1e109
AM
191642014-01-05 Allan McRae <allan@archlinux.org>
19165
dd804818
AM
19166 * po/libc.pot: Regenerated.
19167
79c1e109
AM
19168 * malloc/memusagestat.c: Fix gettext call formatting.
19169
0c813d1f
SK
191702014-01-04 Sami Kerola <kerolasa@iki.fi>
19171
19172 * nscd/nscd.c: Improve usage() output.
19173
20f4a8d9
MF
191742014-01-04 Mike Frysinger <vapier@gentoo.org>
19175
19176 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19177 * sysdeps/unix/sysv/linux/configure: Regenerated.
19178 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19179 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19180
22562bb2
JM
191812014-01-03 Joseph Myers <joseph@codesourcery.com>
19182
19183 [BZ #16390]
19184 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19185 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19186
d7ad2d9b
AZ
191872014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19188
19189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19190 extra tokens at end of #undef directive.
19191 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19192 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19193 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19194
7dd009d8
JM
191952014-01-03 Joseph Myers <joseph@codesourcery.com>
19196
24db925a
JM
19197 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19198
7dd009d8
JM
19199 * math/auto-libm-test-in: Mark various tests with
19200 xfail-rounding:ldbl-128ibm.
19201 * math/auto-libm-test-out: Regenerated.
19202
396e3ecf
JM
192032014-01-02 Joseph Myers <joseph@codesourcery.com>
19204
819e5d50
JM
19205 [BZ #16386]
19206 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19207 numbers with subnormal high part when calculating exponent.
19208
90b6a1e5
JM
19209 [BZ #16385]
19210 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19211 fabs.
19212
396e3ecf
JM
19213 [BZ #16384]
19214 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19215 M_LN2l.
19216 (__ieee754_acoshl): Use __log1pl not __log1p.
19217
6c8dbf00
OB
192182013-01-02 Ondřej Bílka <neleai@seznam.cz>
19219
57f41c40
AS
19220 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19221 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19222 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19223 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19224 (reused_arena, arena_get2): Convert to GNU style.
19225 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19226 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19227 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 19228 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
19229 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19230 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19231 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19232 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19233 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19234 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 19235 * malloc/malloc.h: Likewise.
57f41c40
AS
19236 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19237 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 19238 * malloc/mcheck.h: Likewise.
57f41c40
AS
19239 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19240 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
19241 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19242 * malloc/morecore.c (__default_morecore): Likewise.
19243 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
19244 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19245 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19246 (print_and_abort): Likewise.
6c8dbf00
OB
19247 * malloc/obstack.h: Likewise.
19248 * malloc/set-freeres.c (__libc_freeres): Likewise.
19249 * malloc/tst-mallocstate.c (main): Likewise.
19250 * malloc/tst-mtrace.c (main): Likewise.
19251 * malloc/tst-realloc.c (do_test): Likewise.
19252
d4124212
SP
192532013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19254
9a3c6a6f
SP
19255 [BZ #16366]
19256 * nscd/netgroupcache.c (do_notfound): New function.
19257 (addgetnetgrentX): Use it.
19258
d4124212
SP
19259 [BZ # 16365]
19260 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19261 NSS_STATUS_NOTFOUND.
19262
97b9a009
JM
192632014-01-01 Joseph Myers <joseph@codesourcery.com>
19264
19265 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267
d4697bc9
AM
192682014-01-01 Allan McRae <allan@archlinux.org>
19269
ddb3687f
AM
19270 * scripts/update-copyrights: Update configure input file suffix.
19271
88726d48
AM
19272 * NEWS: Update copyright year.
19273 * catgets/gencat.c: Likewise.
19274 * csu/version.c: Likewise.
19275 * debug/catchsegv.sh: Likewise.
19276 * debug/pcprofiledump.c: Likewise.
19277 * debug/xtrace.sh: Likewise.
19278 * elf/ldconfig.c: Likewise.
19279 * elf/ldd.bash.in: Likewise.
19280 * elf/pldd.c: Likewise.
19281 * elf/sotruss.ksh: Likewise.
19282 * elf/sprof.c: Likewise.
19283 * iconv/iconv_prog.c: Likewise.
19284 * iconv/iconvconfig.c: Likewise.
19285 * locale/programs/locale.c: Likewise.
19286 * locale/programs/localedef.c: Likewise.
19287 * login/programs/pt_chown.c: Likewise.
19288 * malloc/memusage.sh: Likewise.
19289 * malloc/memusagestat.c: Likewise.
19290 * malloc/mtrace.pl: Likewise.
19291 * manual/libc.texinfo: Likewise.
19292 * nscd/nscd.c: Likewise.
19293 * nss/getent.c: Likewise.
19294 * nss/makedb.c: Likewise.
19295 * posix/getconf.c: Likewise.
19296 * scripts/test-installation.pl: Likewise.
19297
d4697bc9
AM
19298 * All files with FSF copyright notices: Update copyright dates
19299 using scripts/update-copyrights.
19300 * intl/plural.c: Regenerated.
19301 * locale/programs/charmap-kw.h: Likewise.
19302 * locale/programs/locfile-kw.h: Likewise.
19303
c8590f9d
MF
193042013-12-31 Mike Frysinger <vapier@gentoo.org>
19305
19306 * sysdeps/unix/sysv/linux/configure: Regenerated.
19307 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19308 the linux/fanotify.h header.
19309 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19310 HAVE_LINUX_FANOTIFY_H is defined.
19311
b19221b9
SP
193122013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19313
dd1d85e5
SP
19314 * benchtests/cos-inputs: New inputs.
19315 * benchtests/sin-inputs: Likewise.
19316
1acbb90f
SP
19317 * benchtests/atan-inputs: New inputs. Fix name of multiple
19318 precision fallback inputs.
19319
4c012ed3
SP
19320 * benchtests/atanh-inputs: New inputs.
19321 * benchtests/tanh-inputs: Likewise.
19322
eff98324
SP
19323 * benchtests/acosh-inputs: New inputs.
19324 * benchtests/asinh-inputs: Likewise.
19325
ce641152
SP
19326 * benchtests/cosh-inputs: New inputs.
19327 * benchtests/sinh-inputs: Likewise.
19328
b19221b9
SP
19329 * benchtests/acos-inputs: Add more inputs.
19330 * benchtests/asin-inputs: Likewise.
19331
030a4976 193322013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 19333
030a4976 19334 [BZ #16375]
9dcc8f11
VS
19335 * manual/arith.texi: Fix spelling.
19336 * manual/charset.texi: Likewise.
19337 * manual/errno.texi: Likewise.
19338 * manual/filesys.texi: Likewise.
19339 * manual/lang.texi: Likewise.
19340 * manual/llio.texi: Likewise.
19341 * manual/locale.texi: Likewise.
19342 * manual/message.texi: Likewise.
19343 * manual/resource.texi: Likewise.
19344 * manual/search.texi: Likewise.
19345 * manual/setjmp.texi: Likewise.
19346 * manual/stdio.texi: Likewise.
19347 * manual/string.texi: Likewise.
19348 * manual/sysinfo.texi: Likewise.
19349 * manual/time.texi: Likewise.
19350
11520a57
CD
193512013-12-27 Carlos O'Donell <carlos@redhat.com>
19352
19353 * po/sl.po: New file.
19354
471103ae
MF
193552013-12-27 Mike Frysinger <vapier@gentoo.org>
19356
19357 * .gitignore: Add core/.gdbinit/.gdb_history.
19358
6c9642ed
AM
193592013-12-27 Allan McRae <allan@archlinux.org>
19360
19361 [BZ #16369]
19362 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19363 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19364
3f637079
BM
193652013-12-24 Brooks Moses <bmoses@google.com>
19366
19367 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19368 all compilers that claim C++98 compliance, not just GCC.
19369 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19370 Likewise.
19371
abc26e99
MK
193722013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19373
19374 * NEWS: Restore accidentally deleted bug-fix entries.
19375
362b47fe
MK
193762013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19377 Ondřej Bílka <neleai@seznam.cz>
19378
19379 [BZ #15073]
19380 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 19381 have_lock.
362b47fe 19382
b9bcbbcb
OB
193832013-12-23 Ondřej Bílka <neleai@seznam.cz>
19384
19385 [BZ #12986]
19386 * manual/stdio.texi (String Input Conversions): Clarify that character
19387 classes are not supported.
19388
fb55fcd2
AZ
193892013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19390
19391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19392
ef7344f0
JM
193932013-12-22 Joseph Myers <joseph@codesourcery.com>
19394
4f40e4b3
JM
19395 [BZ #16337]
19396 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19397 Calculate results for small negative arguments directly rather
19398 than using reflection formula with special underflow handling.
19399
ef7344f0
JM
19400 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19401 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19402 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19403 (fchflags): Likewise.
19404 (revoke): Likewise.
19405 (setlogin): Likewise.
19406 (sigaltstack): Likewise.
19407 (wait4): Likewise.
19408 (sigblock): Remove.
19409 (sigsetmask): Likewise.
19410 (wait3): Likewise.
19411 (waitpid): Likewise.
19412 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19413 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19414 file.
19415 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19416 * sysdeps/unix/bsd/Makefile: ... here.
19417 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19418 * sysdeps/unix/bsd/Versions: ... here.
19419 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19420 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19421 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19422 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19423 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19424 * sysdeps/unix/bsd/sigblock.c: ... here.
19425 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19426 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19427 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19428 * sysdeps/unix/bsd/sigvec.c: ... here.
19429 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19430 * sysdeps/unix/bsd/tcdrain.c: ... here.
19431 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19432 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19433 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19434 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19435 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19436 * sysdeps/unix/bsd/wait.c: ... here.
19437 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19438 * sysdeps/unix/bsd/wait3.c: ... here.
19439 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19440 * sysdeps/unix/bsd/waitpid.c: ... here.
19441
5b0626b9
JM
194422013-12-21 Joseph Myers <joseph@codesourcery.com>
19443
19444 [BZ #16356]
19445 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19446 round-to-nearest for [!USE_AS_EXPM1L].
19447 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19448 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19449 more tests of exp and exp10. Expect some exp10 tests to miss
19450 exceptions or fail in directed rounding modes.
19451 * math/auto-libm-test-out: Regenerated.
19452 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19453 (exp10_test_tonearest): New function.
19454 (exp10_towardzero_test_data): New array.
19455 (exp10_test_towardzero): New function.
19456 (exp10_downward_test_data): New array.
19457 (exp10_test_downward): New function.
19458 (exp10_upward_test_data): New array.
19459 (exp10_test_upward): New function.
19460 (main): Call the new functions.
19461 * sysdeps/i386/fpu/libm-test-ulps: Update.
19462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19463
7fda5682
JM
194642013-12-20 Joseph Myers <joseph@codesourcery.com>
19465
31e3a405
JM
19466 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19467 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19468 * math/auto-libm-test-out: Regenerated.
19469 * math/libm-test.inc (acosh_test_data): Add more tests.
19470 (atanh_test_data): Likewise.
19471 (ceil_test_data): Likewise.
19472 (copysign_test_data): Likewise.
19473 * sysdeps/i386/fpu/libm-test-ulps: Update.
19474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19475
85bff96a
JM
19476 * timezone/checktab.awk: Update from tzcode 2013i.
19477 * timezone/private.h: Likewise.
19478 * timezone/scheck.c: Likewise.
19479 * timezone/tzfile.h: Likewise.
19480 * timezone/tzselect.ksh: Likewise.
19481 * timezone/zdump.c: Likewise.
19482 * timezone/zic.c: Likewise.
19483
b7867a3b
JM
19484 * math/auto-libm-test-in: Add tests of cpow.
19485 * math/auto-libm-test-out: Regenerated.
19486 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 19487 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
19488 mpc_cc_c.
19489 (func_calc_desc): Add mpc_cc_c union field.
19490 (test_functions): Add cpow.
19491 (special_fill_2pi): New function.
19492 (special_real_inputs): Add 2pi.
19493 (calc_generic_results): Handle mpc_cc_c.
19494 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19496
7fda5682
JM
19497 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19498 csqrt, ctan and ctanh.
19499 * math/auto-libm-test-out: Regenerated.
19500 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19501 (TEST_COND_x86): Likewise.
19502 (ccos_test_data): Use AUTO_TESTS_c_c.
19503 (ccosh_test_data): Likewise.
19504 (cexp_test_data): Likewise.
19505 (clog_test_data): Likewise.
19506 (csqrt_test_data): Likewise.
19507 (ctan_test_data): Likewise.
19508 (ctan_tonearest_test_data): Likewise.
19509 (ctan_towardzero_test_data): Likewise.
19510 (ctan_downward_test_data): Likewise.
19511 (ctan_upward_test_data): Likewise.
19512 (ctanh_test_data): Likewise.
19513 (ctanh_tonearest_test_data): Likewise.
19514 (ctanh_towardzero_test_data): Likewise.
19515 (ctanh_downward_test_data): Likewise.
19516 (ctanh_upward_test_data): Likewise.
19517 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19518 mpc_c_c.
19519 (func_calc_desc): Add mpc_c_c union field.
19520 (FUNC_mpc_c_c): New macro.
19521 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19522 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19523 ctanh.
19524 (special_fill_min_subnorm_p120): New function.
19525 (special_real_inputs): Add min_subnorm_p120.
19526 (calc_generic_results): Handle mpc_c_c.
19527 * sysdeps/i386/fpu/libm-test-ulps: Update.
19528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19529
5ff8d60e
SP
195302013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19531
57f41c40
AS
19532 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19533 (do_sin_slow): New functions.
19534 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19535 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 19536
84ba214c
SP
19537 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19538 Use M to change sign of result instead of X. Assume X is
19539 positive.
19540 (csloww1): Likewise.
19541 (__sin): Adjust.
19542 (__cos): Adjust.
19543
975195e4
SP
19544 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19545 arguments A and DA.
19546 (__sin): Adjust.
19547 (__cos): Likewise.
19548
5ff8d60e
SP
19549 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19550 (__cos): Likewise.
19551 (sloww1): Don't adjust sign of DX.
19552 (csloww1): Likewise.
19553 (sloww2): Use X directly and don't adjust sign of DX.
19554 (csloww2): Likewise.
19555
eb983568
JM
195562013-12-19 Joseph Myers <joseph@codesourcery.com>
19557
64a17f1a
JM
19558 * math/auto-libm-test-in: Add tests of cabs and carg.
19559 * math/auto-libm-test-out: Regenerated.
19560 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19561 (carg_test_data): Likewise.
19562 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19563 mpc_c_f.
19564 (func_calc_desc): Add mpc_c_f union field.
19565 (test_functions): Add cabs and carg.
19566 (calc_generic_results): Handle mpc_c_f.
19567
eb983568
JM
19568 * sysdeps/powerpc/powerpc32/libgcc-compat.S
19569 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19570 as a macro and a compat symbol.
19571 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19572 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19573 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19574 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19575 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19576 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19577 not use .hidden.
19578 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19579 Likewise.
19580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19581 Likewise.
19582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19583 Likewise.
19584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19585 Likewise.
19586 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19587 Likewise.
19588 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19589 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19590 from GLIBC_2.3.2.
19591
6eeb678a
AZ
195922013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19593
19594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19595
6f6fc482
JM
195962013-12-19 Joseph Myers <joseph@codesourcery.com>
19597
21fea2e2
JM
19598 * manual/texinfo.tex: Update to version 2013-11-26.10 with
19599 trailing whitespace removed.
19600 * scripts/config.guess: Update to version 2013-11-29.
19601 * scripts/config.sub: Update to version 2013-10-01.
19602
6f6fc482
JM
19603 * math/auto-libm-test-in: Add tests of sincos.
19604 * math/auto-libm-test-out: Regenerated.
19605 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19606 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19607 mpfr_f_11.
19608 (func_calc_desc): Add mpfr_f_11 union field.
19609 (test_functions): Add sincos.
19610 (calc_generic_results): Handle mpfr_f_11.
19611 * sysdeps/i386/fpu/libm-test-ulps: Update.
19612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19613
83f5c32d
AS
196142013-12-19 Andreas Schwab <schwab@suse.de>
19615
19616 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19617 CALL_MCOUNT.
19618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19619 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19620 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19621
c688b419
JM
196222013-12-19 Joseph Myers <joseph@codesourcery.com>
19623
335ee092
JM
19624 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19625 * sysdeps/i386/fpu/libm-test-ulps: Update.
19626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19627
f88acd39
JM
19628 [BZ #16293]
19629 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19630 round-to-nearest mode when using frndint.
19631 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19632 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19633 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19634 Likewise.
19635 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19636 sinh test to fail.
19637 * math/auto-libm-test-out: Regenerated.
19638 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19639 (TEST_COND_x86): Likewise.
19640 (expm1_tonearest_test_data): New array.
19641 (expm1_test_tonearest): New function.
19642 (expm1_towardzero_test_data): New array.
19643 (expm1_test_towardzero): New function.
19644 (expm1_downward_test_data): New array.
19645 (expm1_test_downward): New function.
19646 (expm1_upward_test_data): New array.
19647 (expm1_test_upward): New function.
19648 (main): Run the new test functions.
19649 * sysdeps/i386/fpu/libm-test-ulps: Update.
19650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19651
c688b419
JM
19652 * include/features.h: Update comment documenting feature test
19653 macros. Mention _DEFAULT_SOURCE in comment.
19654 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19655 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19656 _BSD_SOURCE and _SVID_SOURCE.
19657 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19658 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19659 !_SVID_SOURCE]: Likewise.
19660 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19661 (__USE_POSIX_IMPLICITLY): Define.
19662 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19663 (_POSIX_SOURCE): Undefine and redefine.
19664 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19665 (_POSIX_C_SOURCE): Likewise.
19666 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19667 (Feature Test Macros): Update documentation of default features.
19668
9f6e964c
RS
196692013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19670
19671 * benchtests/Makefile: Add bench-strtok.
19672 * benchtests/bench-strtok.c: New file: strtok benchtest.
19673
ee0a148a
AM
196742013-12-19 Allan McRae <allan@archlinux.org>
19675
19676 * manual/install.texi: Suppress menu for plain text output.
19677 * INSTALL: Regenerated.
19678
b9ab448f
BM
196792013-12-18 Brooks Moses <bmoses@google.com>
19680
19681 [BZ #15846]
19682 * misc/getauxval.c: Include errno.h.
19683 (__getauxval): Set errno to ENOENT if the requested type is not
19684 found.
19685 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19686 don't declare with __attribute_const__.
19687 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19688 * manual/startup.texi: Document that getauxval sets errno.
19689
23776487
JM
196902013-12-18 Joseph Myers <joseph@codesourcery.com>
19691
f889953b
JM
19692 * math/auto-libm-test-in: Add tests of jn and yn.
19693 * math/auto-libm-test-out: Regenerated.
19694 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19695 (yn_test_data): Likewise.
19696 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19697 mpfr_if_f.
19698 (func_calc_desc): Add mpfr_if_f union field.
19699 (FUNC_mpfr_if_f): New macro.
19700 (test_functions): Add jn and yn.
19701 (calc_generic_results): Assert type of second input for
19702 mpfr_ff_f. Handle mpfr_if_f.
19703 (output_for_one_input_case): Disable all checking for arguments
19704 fitting floating-point types in case of an integer argument.
19705 * sysdeps/i386/fpu/libm-test-ulps: Update.
19706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19707
23776487
JM
19708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19709 Don't expect fegetround reference in libm.so.
19710
cb756c6d
MS
197112013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19712
19713 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19714 $(config-cflags-nofma).
19715
2dec468f
JM
197162013-12-18 Joseph Myers <joseph@codesourcery.com>
19717
5953eb3a
JM
19718 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19719 * math/auto-libm-test-out: Regenerated.
19720
2dec468f
JM
19721 [BZ #16338]
19722 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19723 to determine exponent and adjust argument to have exponent of -1.
19724 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19725 log2.
19726 * math/auto-libm-test-out: Regenerated.
19727 * sysdeps/i386/fpu/libm-test-ulps: Update.
19728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19729
4d84e6ad
OB
197302013-12-18 Ondřej Bílka <neleai@seznam.cz>
19731
19732 * manual/probes.texi: Remove cases when per-thread arenas are
19733 disabled.
19734
1818483b
AS
197352013-12-18 Andreas Schwab <schwab@suse.de>
19736
19737 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19738 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19739 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19740 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19741 * sysdeps/i386/i686/multiarch/Makefile: Update.
19742 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19743
25de95bf
JM
197442013-12-17 Joseph Myers <joseph@codesourcery.com>
19745
19746 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19747 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19748
674762d9
PE
197492013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19750
ed27ed83 19751 [BZ #15968]
0748546f
PE
19752 Support TZ transition times < 00:00:00.
19753 This is needed for version-3 tz-format files; it supports time
19754 stamps past 2037 for America/Godthab (the only entry in the tz
19755 database for which this change is relevant).
19756 * manual/time.texi (TZ Variable): Document transition times
19757 from -167:59:59 through -00:00:01.
19758 * time/tzset.c (tz_rule): Time of day is now signed.
19759 (__tzset_parse_tz): Parse negative time of day.
19760
4480e934
PE
19761 Document TZ transition times >= 25:00:00.
19762 * manual/time.texi (TZ Variable): Document transition times from
19763 25:00:00 through 167:59:59. These are already supported, and this
19764 support will help with version-3 tz-format files.
19765
69947401
PE
19766 * manual/time.texi (TZ Variable): Modernize North America example
19767 to reflect current (i.e., 2007-and-later) daylight saving rules.
19768
674762d9
PE
19769 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19770
7011c262
JM
197712013-12-17 Joseph Myers <joseph@codesourcery.com>
19772
2fc6557e
JM
19773 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19774 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19777 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19778 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19779 * sysdeps/unix/bsd/clock.c: Likewise.
19780 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19781 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19782 * sysdeps/unix/bsd/init-posix.c: Likewise.
19783 * sysdeps/unix/bsd/poll.c: Likewise.
19784 * sysdeps/unix/bsd/ptsname.c: Likewise.
19785 * sysdeps/unix/bsd/seekdir.c: Likewise.
19786 * sysdeps/unix/bsd/setegid.c: Likewise.
19787 * sysdeps/unix/bsd/seteuid.c: Likewise.
19788 * sysdeps/unix/bsd/setgid.c: Likewise.
19789 * sysdeps/unix/bsd/setrgid.c: Likewise.
19790 * sysdeps/unix/bsd/setruid.c: Likewise.
19791 * sysdeps/unix/bsd/setsid.c: Likewise.
19792 * sysdeps/unix/bsd/setuid.c: Likewise.
19793 * sysdeps/unix/bsd/sigaction.c: Likewise.
19794 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19795 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19796 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19797 * sysdeps/unix/bsd/telldir.c: Likewise.
19798 * sysdeps/unix/bsd/times.c: Likewise.
19799 * sysdeps/unix/bsd/usleep.c: Likewise.
19800
029c7b25
JM
19801 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19802 ($(objpfx)libbsd-compat.a): Remove rule.
19803
7011c262
JM
19804 * include/features.h (__FAVOR_BSD): Do not define.
19805 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19806 features conflicting with POSIX.
19807 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19808 (_BSD_SOURCE): Remove description of not being a subset of other
19809 feature test macros.
19810 * manual/job.texi (getpgrp): Do not document BSD version.
19811 (getpgid): Do not document by reference to BSD getpgrp.
19812 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19813 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19814 * signal/signal.h [__FAVOR_BSD]: Likewise.
19815 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19816 instead of making contents conditional on [__FAVOR_BSD].
19817 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19818
affb6f78
AZ
198192013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19820
19821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19822
c88769dd
JM
198232013-12-17 Joseph Myers <joseph@codesourcery.com>
19824
6432a540
JM
19825 [BZ #16314]
19826 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19827 values below 2**-450, not 2**-500.
19828 * math/auto-libm-test-in: Don't allow spurious underflow from
19829 hypot.
19830 * math/auto-libm-test-out: Regenerated.
19831
c88769dd
JM
19832 [BZ #16316]
19833 [BZ #16330]
19834 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19835 values of ha and hb and sort them after adjusting subnormal
19836 arguments.
19837 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19838 Likewise.
19839 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19840 values of ea and eb and sort them after adjusting subnormal
19841 arguments.
19842 * math/auto-libm-test-in: Do not expect some hypot tests of
19843 subnormals to fail. Add more hypot tests.
19844 * math/auto-libm-test-out: Regenerated.
19845
29618f6b
KK
198462013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19847
19848 [BZ #13304]
19849 * sysdeps/sh/s_fma.c: New file.
19850 * sysdeps/sh/s_fmaf.c: New file.
19851 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19852 version.
19853 * sysdeps/sh/Implies: Add sh/soft-fp.
19854
eacfdfbf
RM
198552013-12-16 Roland McGrath <roland@hack.frob.com>
19856
19857 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19858 level of indirection to members `objname', `errstring', `malloced'.
19859 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19860 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19861 it as the __longjmp argument (just pass 1 instead).
19862 (_dl_catch_error): Initialize C with argument pointers and address of
19863 volatile local ERRCODE rather than copying values out of C at return.
19864
ff362e5b
JM
198652013-12-16 Joseph Myers <joseph@codesourcery.com>
19866
19867 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19868 * math/auto-libm-test-out: Regenerated.
19869 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19870 (hypot_test_data): Likewise.
19871 (pow_test_data): Likewise.
19872 (pow_tonearest_test_data): Likewise.
19873 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19874 mpfr_ff_f.
19875 (func_calc_desc): Add mpfr_ff_f union field.
19876 (FUNC_mpfr_ff_f): New macro.
19877 (test_functions): Add atan2, hypot and pow.
19878 (special_fill_min): New function.
19879 (special_fill_minus_min): Likewise.
19880 (special_fill_min_subnorm): Likewise.
19881 (special_fill_minus_min_subnorm): Likewise.
19882 (special_real_inputs): Add min, -min, min_subnorm and
19883 -min_subnorm.
19884 (calc_generic_results): Handle mpfr_ff_f.
19885 * sysdeps/i386/fpu/libm-test-ulps: Update.
19886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19887
5764c27f
WN
198882013-12-16 Will Newton <will.newton@linaro.org>
19889
19890 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19891 (Aligned Memory Blocks): Add documentation for aligned_alloc
19892 and suggest it as an alternative to posix_memalign.
19893 (Hooks for Malloc): Document __memalign_hook is also called
19894 for aligned_alloc. (Summary of Malloc): Add summary for
19895 aligned alloc. Document __memalign_hook is also called
19896 for aligned_alloc.
19897
0a096e44
WN
198982013-12-16 Will Newton <will.newton@linaro.org>
19899
19900 * manual/memory.texi (Malloc Examples): Clarify default
19901 alignment documentation. Suggest posix_memalign rather
19902 than memalign or valloc.
19903 (Aligned Memory Blocks): Remove suggestion to use memalign
19904 or valloc. Remove obsolete comment about BSD.
19905 Document memalign errno values and mark the function obsolete.
19906 Document posix_memalign returned error codes. Mark valloc
19907 as obsolete. (Hooks for Malloc): __memalign_hook is also
19908 called for posix_memalign and valloc.
19909 (Summary of Malloc): Add posix_memalign to function summary.
19910 __memalign_hook is also called for posix_memalign and valloc.
19911
8d561986
SP
199122013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19913
19914 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19915 TAYLOR_SIN.
19916 (__sin): Adjust.
19917 (__cos): Likewise.
19918 (sloww): Use mynumber union. Expand ternary operator into
19919 if-else statements.
19920 (cslow): use mynumber union.
19921
73616a74
AM
199222013-12-16 Allan McRae <allan@archlinux.org>
19923
9e8ac24b
AM
19924 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19925 * configure: Regenerated.
19926
6f8e37eb
AM
19927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19928
8894bad3
AM
19929 [BZ #14120]
19930 * configure.ac: Added --enable-maintainer-mode. Check for
19931 autoconf when enabled.
19932 * configure: Regenerated.
19933
73616a74
AM
19934 * nscd/nscd.service: New file.
19935 * nscd/nscd.tmpfiles: New file.
19936
584b18eb
OB
199372013-12-14 Ondřej Bílka <neleai@seznam.cz>
19938
19939 [BZ #12100]
19940 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19941 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19942 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19943 (strstr): Add __strstr_sse2_unaligned ifunc.
19944 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19945 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19946 (strcasestr): Remove __strcasestr_sse42 ifunc.
19947 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19948 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19950
8a5c7897
KK
199512013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19952
19953 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19954 * sysdeps/sh/bits/fenv.h: ... here.
19955 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19956
fd712ef3
AZ
199572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19958
19959 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19960
42fcb46c
AZ
19961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19962 hypotf multiarch implementations.
19963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19966 multiarch hypot for PPC64.
19967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19970 multiarch hypotf for PPC64.
19971
83efded4
AZ
19972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19973 modff multiarch implementations.
19974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19977 multiarch modf for PPC64.
19978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19981 multiarch modff for PPC64.
19982
43e246d2
AZ
19983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19984 and logl multiarch implementations.
19985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19988 multiarch logb for PPC64.
19989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19992 multiarch logb for PPC64.
19993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19996 multiarch logb for PPC64.
19997
8fdad123
AZ
19998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19999 isinff multiarch implementation.
20000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20001 file.
20002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20004 multiarch isinf for PPC64.
20005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20006 file.
20007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20008 multiarch isinff for PPC64.
20009
1481d706
AZ
20010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20011 finitef multiarch implementation.
20012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20013 file.
20014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20016 multiarch finite for PPC64.
20017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20018 file.
20019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20020 multiarch finitef for PPC64.
20021
5ccd5fc8
AZ
20022 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20023 lrint multiarch implementation.
20024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20025 file.
20026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20028 multiarch llrint for PPC64.
20029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20030 multiarch lrint for PPC64.
20031
2568f3fa
AZ
20032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20033 copysignf multiarch implementation.
20034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20035 file.
20036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20037 file.
20038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20039 multiarch copysign for PPC64.
20040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20041 multiarch copysignf for PPC64.
20042
1cb341fd
AZ
20043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20044 multiarch implementation.
20045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20046 file.
20047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20048 file.
20049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20050 file.
20051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20052 file.
20053 multiarch llround for PPC64.
20054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20055 multiarch trunc for PPC64.
20056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20057 multiarch truncf for PPC64.
20058
59a3e194
AZ
20059 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20060 multiarch implementation.
20061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20062 file.
20063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20064 file.
20065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20066 file.
20067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20068 file.
20069 multiarch llround for PPC64.
20070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20071 multiarch round for PPC64.
20072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20073 multiarch roundf for PPC64.
20074
357fd3b4
AZ
20075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20076 multiarch implementation.
20077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20078 file.
20079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20080 file.
20081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20082 file.
20083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20084 file.
20085 multiarch llround for PPC64.
20086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20087 multiarch floor for PPC64.
20088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20089 multiarch floorf for PPC64.
20090
96770f12
AZ
20091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20092 multiarch implementation.
20093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20094 file.
20095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20096 file.
20097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20098 file.
20099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20100 file.
20101 multiarch llround for PPC64.
20102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20103 multiarch ceil for PPC64.
20104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20105 multiarch ceilf for PPC64.
20106
c3627f6e
AZ
20107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20108 multiarch implementation.
20109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20110 file.
20111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20112 file.
20113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20114 file.
20115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20116 multiarch llround for PPC64.
20117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20118 multiarch lround for PPC64.
20119
b2284ad7
AZ
20120 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20121 multiarch implementation.
20122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20125 file.
20126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20129 multiarch isnan for PPC64.
20130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20131 multiarch isnanf for PPC64.
20132
69bbc63d
AZ
20133 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20134 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20135 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20136 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20137 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20139
c24517c9
AZ
20140 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20141 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20143 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20144
a52374e8
AZ
20145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20146 multiarch implementations.
20147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20148 (__libc_ifunc_impl_list): Likewise.
20149 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20150 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20151 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20152 multiarch stpcpy for PPC64.
20153
7f5ec113
AZ
20154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20155 multiarch implementations.
20156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20157 (__libc_ifunc_impl_list): Likewise.
20158 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20159 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20160 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20161 multiarch strcpy for PPC64.
20162
e28bcd42
AZ
20163 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20164 redefine function name.
20165 (_wordcopy_fwd_dest_aligned): Likewise.
20166 (_wordcopy_bwd_aligned): Likewise.
20167 (_wordcopy_bwd_dest_aligned): Likewise.
20168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20169 multiarch implementations.
20170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20171 (__libc_ifunc_impl_list): Likewise.
20172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20175 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20176 multiarch wcscpy for PPC64.
20177
92cacfce
AZ
20178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20179 multiarch implementations.
20180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20181 (__libc_ifunc_impl_list): Likewise.
20182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20183 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20184 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20185 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20186 multiarch wcscpy for PPC64.
20187
7b714620
AZ
20188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20189 multiarch implementations.
20190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20191 (__libc_ifunc_impl_list): Likewise.
20192 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20193 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20194 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20195 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20196 multiarch wcsrchr for PPC64.
20197
16fd2ae3
AZ
20198 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20199 multiarch implementations.
20200 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20201 (__libc_ifunc_impl_list): Likewise.
20202 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20203 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20204 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20205 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20206 multiarch wcschr for PPC64.
20207
9ee2969b
AZ
20208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20209 multiarch implementations.
20210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20211 (__libc_ifunc_impl_list): Likewise.
20212 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20213 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20214 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20215 multiarch strchrnul for PPC64.
20216
372dc060
AZ
20217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20218 implementations.
20219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20220 (__libc_ifunc_impl_list): Likewise.
20221 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20222 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20223 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20224 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20225 strchr for PPC64.
20226
24c2c3b9
AZ
20227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20228 implementations.
20229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20230 (__libc_ifunc_impl_list): Likewise.
20231 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20232 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20233 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20234 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20235 strncmp for PPC64.
20236
1c92d9a0
AZ
20237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20238 multiarch implementations.
20239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20240 (__libc_ifunc_impl_list): Likewise.
20241 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20242 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20243 strncasecmp for PPC64.
20244 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20245 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20246 multiarch strncasecmp_l for PPC64.
20247
17de3ee3
AZ
20248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20249 multiarch implementations.
20250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20251 (__libc_ifunc_impl_list): Likewise.
20252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20254 multiarch strcasecmp for PPC64.
20255 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20256 file.
20257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20258 multiarch strcasecmp_l for PPC64.
20259
62982bf9
AZ
20260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20261 implementations.
20262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20263 (__libc_ifunc_impl_list): Likewise.
20264 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20265 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20266 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20267 strnlen for PPC64.
20268
a65f4904
AZ
20269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20270 implementations.
20271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20272 (__libc_ifunc_impl_list): Likewise.
20273 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20274 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20275 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20276 strlen for PPC64.
20277
1fd005ad
AZ
20278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20279 implementations.
20280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20281 (__libc_ifunc_impl_list): Likewise.
20282 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20283 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20284 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20285 rawmemrchr for PPC64.
20286
cd05ba91
AZ
20287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20288 implementation.
20289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20290 (__libc_ifunc_impl_list): Likewise.
20291 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20292 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20293 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20294 memrchr for PPC64.
20295
870f8676
AZ
20296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20297 implementation.
20298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20299 (__libc_ifunc_impl_list): Likewise.
20300 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20301 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20302 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20303 memchr for PPC64.
20304
f00be62b
AZ
20305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20306 implementation.
20307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20308 (__libc_ifunc_impl_list): Likewise.
20309 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20310 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20311 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20312 mempcpy for PPC64.
20313
8a29a3d0
AZ
20314 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20315 avoid cretion of __bzero symbol.
20316 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20317 Likewise.
20318 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20319 Likewise.
20320 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20321 Likewise.
20322 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20323 multiarch implementations.
20324 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20325 (__libc_ifunc_impl_list): Likewise.
20326 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20327 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20328 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20329 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20330 bzero for PPC32.
20331 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20332 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20333 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20334 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20335 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20336 memset for PPC64.
20337 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20338
07253fcf
AZ
20339 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20341 implementations.
20342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20343 (__libc_ifunc_impl_list): Likewise.
20344 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20345 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20346 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20347 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20348 memcmp for PPC64.
20349
b5beafbc
AZ
20350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20351 multiarch for POWER/PPC64.
20352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20353 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20356 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20360 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20361 memcpy for PPC64.
20362
5e6a4d4b
AZ
20363 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20364 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20365 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20366 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20367 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20368 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20369 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20370 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20371 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20372 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20373 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20374 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20375 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20376 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20377 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20385
ddfab6dc
KK
203862013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20387
20388 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20389
19b5525e
SP
203902013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20391
20392 * benchtests/Makefile (bench): Add exp2 and log2.
20393 (LDLIBS-bench-exp2): Add -lm.
20394 (LDLIBS-bench-log2): Likewise.
20395 * benchtests/exp2-inputs: New inputs file.
20396 * benchtests/log2-inputs: New inputs file.
20397 * benchtests/log-inputs: Add new inputs.
20398 * benchtests/tan-inputs: Likewise.
20399
196f7f5d
SP
204002013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20401
7a74607f
SP
20402 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20403 definition...
57f41c40
AS
20404 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20405 (csloww2): ... from here.
7a74607f 20406
196f7f5d
SP
20407 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20408 instead of structures.
20409 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20410 (POLYNOMIAL): Likewise.
20411 (TAYLOR_SLOW): Likewise.
20412 (__sin): Likewise.
20413 (__cos): Likewise.
20414 (slow1): Likewise.
20415 (slow2): Likewise.
20416 (sloww): Likewise.
20417 (sloww1); Likewise.
20418 (sloww2): Likewise.
20419 (bsloww1): Likewise.
20420 (bsloww2): Likewise.
20421 (cslow2): Likewise.
20422 (csloww): Likewise.
20423 (csloww1): Likewise.
20424 (csloww2): Likewise.
20425
0dfa665c
OB
204262013-12-10 Ondřej Bílka <neleai@seznam.cz>
20427
20428 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
20429 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20430 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
20431 * malloc/hooks.c (realloc_check): Likewise.
20432
5782a80f
OB
20433 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20434 * malloc/arena.c: Remove PER_THREAD conditional.
20435 [!PER_THREAD]: Remove code.
20436 (ptmalloc_unlock_all2): Likewise.
20437 (ptmalloc_init): Likewise.
20438 (_int_new_arena): Likewise.
20439 (arena_get2): Likewise.
20440 * malloc/hooks.c (__malloc_get_state): Likewise.
20441 (__malloc_set_state): Likewise.
20442 * malloc/malloc.c: Likewise.
20443 (struct malloc_state): Likewise.
20444 (struct malloc_par): Likewise.
20445 (__libc_realloc): Likewise.
20446 (__libc_mallopt): Likewise.
20447
aeb95445
AZ
204482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20449
20450 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20451
e8349efd
OB
204522013-12-09 Ondřej Bílka <neleai@seznam.cz>
20453
20454 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20455 macro to a function. Check for zero perturb_byte.
20456 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20457
f3eeb3fc 20458 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
20459 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20460 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
20461 force_reg by atomic_forced_read.
20462 * malloc/arena.c (ptmalloc_init): Likewise.
20463 * malloc/hooks.c (top_check): Likewise.
20464
be2f9009
AZ
204652013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20466
20467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20468
e7b914bd
MT
204692013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20470
20471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20472
9f0be4f8
JM
204732013-12-08 Joseph Myers <joseph@codesourcery.com>
20474
20475 * math/auto-libm-test-in: Add tests of lgamma.
20476 * math/auto-libm-test-out: Regenerated.
20477 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20478 (M_LOG_2_SQRT_PIl): Likewise.
20479 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20480 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20481 mpfr_f_f1.
20482 (func_calc_desc): Add mpfr_f_f1 union field.
20483 (ARGS1): New macro.
20484 (ARGS2): Likewise.
20485 (ARGS3): Likewise.
20486 (ARGS4): Likewise.
20487 (RET1): Likewise.
20488 (RET2): Likewise.
20489 (CALC): Likewise.
20490 (FUNC): Likewise.
20491 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20492 (test_functions): Add lgamma.
20493 (calc_generic_results): Handle mpfr_f_f1.
20494 * sysdeps/i386/fpu/libm-test-ulps: Update.
20495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20496
24eeafdb
AZ
204972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20498
20499 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20500 __mpn_add_n for PowerPC64/POWER7.
20501 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20502 __mpn_sub_n for PowerPC64/POWER7.
20503
4a2c0fd4
AZ
20504 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20505 __mpn_addmul_1 for PowerPC64.
20506 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20507 __mpn_submul_1 for PowerPC64.
20508 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20509 for PowerPC64.
20510 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20511 for PowerPC64.
20512
4b5b548c
FS
205132013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20514
20515 [BZ #15089]
20516 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20517
0a3ac0aa
AZ
205182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20519
20520 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20521
ccdc8438
AZ
20522 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20523 add multiarch folders.
20524 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20525 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20526 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20527 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20528 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20529 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20530 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20531 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20532 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20533 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20534 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20541
2e973d99
AZ
20542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20543 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20545 New file.
20546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20547 New file.
20548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20549 multiarch __ieee754_hypot for PowerPC32.
20550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20551 New file.
20552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20553 New file.
20554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20555 multiarch __ieee754_hypotf for PowerPC32.
20556
2d9470b2
AZ
20557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20558 long_double_symbol only if __logbl is defined.
20559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20560 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20561 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20562 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20564 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20566 path for implementation.
20567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20570 logb, and logbl multiarch implementations for PowerPC32.
20571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20572 file.
20573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20574 file.
20575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20576 multiarch logb for PowerPC32.
20577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20578 file.
20579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20580 file.
20581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20582 multiarch logbf for PowerPC32.
20583 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20585 file.
20586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20587 multiarch logbl implementation for PowerPC32.
20588
5212ffce
AZ
20589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20590 and modff multiarch implementations.
20591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20592 New file.
20593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20594 New file.
20595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20596 multiarch modf for PowerPC32.
20597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20598 New file.
20599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20600 New file.
20601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20602 multiarch modff for PowerPC32.
20603
79dccf31
AZ
20604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20605 and lrintf multiarch implementations.
20606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20607 New file.
20608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20609 New file.
20610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20611 multiarch lrint for PowerPC32.
20612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20613 file: multiarch lrintf for PowerPC32.
20614
deb66480
AZ
20615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20616 and lroundf multiarch implementations.
20617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20618 New file.
20619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20620 New file.
20621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20622 New file.
20623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20624 multiarch lround for PowerPC32.
20625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20626 file: multiarch lroundf for PowerPC32.
20627
264b036b
AZ
20628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20629 copysign and copysignf multiarch implementations.
20630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20631 New file.
20632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20633 New file.
20634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20635 file: multiarch copysign for PowerPC32.
20636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20637 file: multiarch copysignf for PowerPC32.
20638
d47db6c9
AZ
20639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20640 and truncf multiarch implementations.
20641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20642 New file.
20643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20644 file.
20645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20646 multiarch trunc for PowerPC32.
20647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20648 New file.
20649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20650 New file.
20651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20652 multiarch truncf for PowerPC32.
20653
ddb60b5a
AZ
20654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20655 and roundf multiarch implementations.
20656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20657 New file.
20658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20659 file.
20660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20661 multiarch round for PowerPC32.
20662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20663 New file.
20664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20665 New file.
20666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20667 multiarch roundf for PowerPC32.
20668
bedcf49b
AZ
20669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20670 and floorf multiarch implementations.
20671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20672 New file.
20673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20674 file.
20675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20676 multiarch floor for PowerPC32.
20677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20678 New file.
20679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20680 New file.
20681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20682 multiarch floorf for PowerPC32.
20683
35ae5b40
AZ
20684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20685 and ceilf multiarch implementations.
20686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20687 New file.
20688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20689 file.
20690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20691 multiarch ceil for PowerPC32.
20692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20693 New file.
20694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20695 file.
20696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20697 multiarch ceilf for PowerPC32.
20698
ae1a4cd9
AZ
20699 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20700 is defined.
20701 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20702 FINITEF is defined.
20703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20704 and finitef multiarch implementations.
20705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20706 New file.
20707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20708 file.
20709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20710 multiarch finite for PowerPC32.
20711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20712 New file.
20713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20714 file: multiarch finitef for PowerPC32.
20715
64fffd65
AZ
20716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20717 and isinff multiarch implementations.
20718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20719 file.
20720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20721 file.
20722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20723 multiarch isinf for PowerPC32.
20724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20725 New file.
20726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20727 multiarch isinff for PowerPC32.
20728
8e4e7ba2
AZ
20729 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20730 alias when __isnan is defined.
20731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20732 and isnanf multiarch implementations.
20733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20734 file.
20735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20736 file.
20737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20738 file.
20739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20740 file.
20741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20742 multiarch isnan for PowerPC32.
20743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20744 New file.
20745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20746 New file.
20747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20748 multiarch isnanf for PowerPC32.
20749
ddba588e
AZ
20750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20751 and sqrtf multiarch implementations.
20752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20753 file.
20754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20755 file.
20756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20757 multiarch sqrt for PowerPC32.
20758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20759 file.
20760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20761 file.
20762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20763 multiarch sqrtf for PowerPC32.
20764
0f96a2f0
AZ
20765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20766 and llroundf multiarch implementations.
20767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20768 New file.
20769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20770 New file.
20771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20772 New file.
20773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20774 file: multiarch llround for PowerPC32.
20775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20776 file: multiarch llroundf for PowerPC32.
20777
c9b5d79e
AZ
20778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20779 multiarch PowerPC32 fpu implementations.
20780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20781 New file.
20782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20783 New file.
20784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20785 multiarch llrint for PowerPC32.
20786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20787 New file.
20788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20789 New file.
20790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20791 file.
20792
9cbb3aab
AZ
20793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20794
ea5a72f8
AZ
20795 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20796 file.
20797 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20798 file.
20799 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20800 file.
20801 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20802 multiarch wordcopy for PPC32.
20803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20804 wordcopy objects.
20805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20806 (__libc_ifunc_impl_list): Likewise.
20807 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20808 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20809 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20810 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20812 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20813
93be09e7
AZ
20814 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20816 file.
20817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20818 file.
20819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20820 file.
20821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20822 multiarch wcscpy for PPC32.
20823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20824 multiarch objects.
20825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20826 (__libc_ifunc_impl_list): Likewise.
20827 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20828 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20829 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20830 sysdeps/powerpc/power6/wcscpy.c.
20831
bb04e529
AZ
20832 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20834 file.
20835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20836 file.
20837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20838 file.
20839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20840 multiarch wcsrchr for PPC32.
20841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20842 multiarch objects.
20843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20844 (__libc_ifunc_impl_list): Likewise.
20845 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20846 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20847 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20848 sysdeps/powerpc/power6/wcsrchr.c.
20849
05b5cd1c
AZ
20850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20851 file.
20852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20853 file.
20854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20855 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20856 multiarch wcschr for PPc32.
20857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20858 multiarch objects.
20859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20860 (__libc_ifunc_impl_list): Likewise.
20861 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20862 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20863 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20864 sysdeps/powerpc/power6/wcschr.c.
20865
ba964147
AZ
20866 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20867 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20868 file.
20869 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20870 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20871 file: multiarch strchr for PPC32.
20872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20873 multiarch objects.
20874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20875 (__libc_ifunc_impl_list): Likewise.
20876
31c81aaa
AZ
20877 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20878 name.
20879 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20880 file.
20881 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20882 file.
20883 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20884 multiarch strchrnul for PPC32.
20885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20886 multiarch objects.
20887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20888 (__libc_ifunc_impl_list): Likewise.
20889
0d0607d9
AZ
20890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20891 file.
20892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20893 multiarch strncasecmp for PPC32.
20894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20895 file.
20896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20897 multiarch strncasecmp_l for PPC32.
20898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20899 strncasecmp multiarch objects.
20900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20901 (__libc_ifunc_impl_list): Likewise.
20902
4dfd5c86
AZ
20903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20904 file.
20905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20906 multiarch strncasecmp for PPC32.
20907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20908 New file.
20909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20910 multiarch strcasecmp_l for PPC32.
20911 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20912 multiarch objects.
20913 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20914 (__libc_ifunc_impl_list): Likewise.
20915
a19e01a3
AZ
20916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20917 file.
20918 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20919 file.
20920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20921 multiarch strncmp for PPC32.
20922 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20923 multiarch objects.
20924 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20925 (__libc_ifunc_impl_list): Likewise.
20926
ae9cf7a2
AZ
20927 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20928 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20929 file.
20930 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20931 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20933 multiarch objects.
20934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20935 (__libc_ifunc_impl_list): Likewise.
20936
3148bb7d
AZ
20937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20938 file.
20939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20940 file.
20941 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20943 multiarch objects.
20944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20945 (__libc_ifunc_impl_list): Likewise.
20946
7af8b946
AZ
20947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20948 file.
20949 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20950 file.
20951 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20952 multiarch rawmemchr for PPC32.
20953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20954 multiarch objects.
20955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20956 (__libc_ifunc_impl_list): Likewise.
20957
03a6aa6a
AZ
20958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20959 file.
20960 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20961 file.
20962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20963 file: memrchr multiarch for PPC32.
20964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20965 multiarch objects.
20966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20967 (__libc_ifunc_impl_list): Likewise.
20968
1c62e6d9
AZ
20969 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20971 file.
20972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20973 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20974 multiarch memchr for PPC32.
20975 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20976 multiarch objects.
20977 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20978 (__libc_ifunc_impl_list): Likewise.
20979
87da8bdb
AZ
20980 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20981 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20982 file.
20983 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20984 file.
20985 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20986 file: multiarch mempcpy for PPC32.
20987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20988 multiarch objects.
20989 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20990 (__libc_ifunc_impl_list): Likewise.
20991
20ed4714
AZ
20992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20994 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20995 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20996 multiarch bzero for PPC32.
20997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20998 file.
20999 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21000 file.
21001 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21002 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21003 file: multiarch memset for PPC32.
21004 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21006 memset multiarch objects.
21007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21008 (__libc_ifunc_impl_list): Likewise.
21009
ab3e3a46
AZ
21010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21011 file.
21012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21014 memcmp for PPC32.
21015 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21017 multiarch objects.
21018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21019 (__libc_ifunc_impl_list): Likewise.
21020
930de6f0
AZ
21021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21024 file.
21025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21026 file.
21027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21028 file.
21029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21030 multiarch memcpy for PPC32.
21031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21032 multiarch objects.
21033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21034 (__libc_ifunc_impl_list): Likewise.
21035
4c628e00
AZ
21036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21037 support multiarch for POWER/PPC32.
21038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21039 Likewise.
21040 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21042 Implies file to make multiarch folder appers before the fpu and
21043 default folder for power4 configuration.
21044
f4479220
SP
210452013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21046
21047 * scripts/bench.pl: Append volatile keyword to type.
21048
8517800f
KK
210492013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21050
21051 * sysdeps/sh/sotruss-lib.c: New file.
21052 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21053
180138f1
AZ
210542013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21055
21056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21057
bbf37bdc
JM
210582013-12-05 Joseph Myers <joseph@codesourcery.com>
21059
e47cc4e0
JM
21060 [BZ #6810]
21061 * math/w_tgamma.c: Include <errno.h>.
21062 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21063 * math/w_tgammaf.c: Include <errno.h>.
21064 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21065 * math/w_tgammal.c: Include <errno.h>.
21066 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21067 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21068 underflow. Add more tgamma tests.
21069 * math/auto-libm-test-out: Regenerated.
21070 * sysdeps/i386/fpu/libm-test-ulps: Update.
21071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21072
bbf37bdc
JM
21073 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21074 sin, sinh, tan, tanh, tgamma, y0 and y1.
21075 * math/auto-libm-test-out: Regenerated.
21076 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21077 (TEST_COND_x86): Likewise.
21078 (M_E2l): Remove macro.
21079 (M_E3l): Likewise.
21080 (M_2_SQRT_PIl): Likewise.
21081 (M_SQRT_PIl): Likewise.
21082 (M_1_DIV_El): Likewise.
21083 (log_test_data): Use AUTO_TESTS_f_f.
21084 (log10_test_data): Likewise.
21085 (log1p_test_data): Likewise.
21086 (log2_test_data): Likewise.
21087 (sin_test_data): Likewise.
21088 (sin_tonearest_test_data): Likewise.
21089 (sin_towardzero_test_data): Likewise.
21090 (sin_downward_test_data): Likewise.
21091 (sin_upward_test_data): Likewise.
21092 (sinh_test_data): Likewise.
21093 (sinh_tonearest_test_data): Likewise.
21094 (sinh_towardzero_test_data): Likewise.
21095 (sinh_downward_test_data): Likewise.
21096 (sinh_upward_test_data): Likewise.
21097 (tan_test_data): Likewise.
21098 (tan_tonearest_test_data): Likewise.
21099 (tan_towardzero_test_data): Likewise.
21100 (tan_downward_test_data): Likewise.
21101 (tan_upward_test_data): Likewise.
21102 (tanh_test_data): Likewise.
21103 (tgamma_test_data): Likewise.
21104 (y0_test_data): Likewise.
21105 (y1_test_data): Likewise.
21106 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21107 (special_real_inputs): Add pi/4.
21108 * sysdeps/i386/fpu/libm-test-ulps: Update.
21109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21110
eb5ad6b9
AZ
211112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21112
21113 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21114 "longjmp_target" static probes.
21115 (__longjmp): Rename to __longjmp_symbol.
21116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21117 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21118 on which longjmp to generate.
21119 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21120 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21121 probe.
21122 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21123 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21124 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21125 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21126 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21127 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21129 __longjmp_symbol based on which __longjmp to generate.
21130 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21131 probe.
21132 (setjmp): Rename to setjmp_symbol.
21133 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21134 (_setjmp): Rename to _setjmp_symbol.
21135 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21136 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21137 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21138 which setjmp to generate.
21139 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21140 "longjmp_target" static probes.
21141
d136c6dc
SP
211422013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21143
9298ecba
SP
21144 * benchtests/README: Add note about output arguments.
21145 * benchtests/bench-sincos.c: Remove file.
21146 * benchtests/sincos-inputs: New file.
21147 * scripts/bench.pl: Identify output arguments and define
21148 static variables for them.
21149
232983e9
SP
21150 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21151
d136c6dc
SP
21152 [BZ #15941]
21153 * Makefile (INSTALL): Add install-plain.texi as the primary
21154 dependency.
21155 * manual/install-plain.texi: New file.
21156 * manual/install.texi: Include node directive only for
21157 non-plaintext output.
21158
699ff837
JM
211592013-12-04 Joseph Myers <joseph@codesourcery.com>
21160
ab07cea8
JM
21161 * stdlib/longlong.h: Update from GCC.
21162
699ff837
JM
21163 [BZ #6807]
21164 [BZ #15901]
21165 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21166 * math/w_j0f.c (y0f): Likewise.
21167 * math/w_j0l.c (__y0l): Likewise.
21168 * math/w_j1.c (y1): Likewise.
21169 * math/w_j1f.c (y1f): Likewise.
21170 * math/w_j1l.c (__y1l): Likewise
21171 * math/w_jn.c (yn): Likewise.
21172 * math/w_jnf.c (ynf): Likewise.
21173 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21174 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21175 value for Bessel function domain errors outside _SVID_ mode.
21176 Adjust sign of return value for yn (negative integer, 0).
21177 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21178 by zero in return for negative x and set sign appropriately for
21179 negative n.
21180 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21181 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21182 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21183 expectations in error cases.
21184 (y1_test_data): Likewise.
21185 (yn_test_data): Likewise.
21186 * sysdeps/i386/fpu/libm-test-ulps: Update.
21187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21188
5b118558
UW
211892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21190
21191 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21192 "64" to "64-v1". Add "64-v2".
21193 (abi-64-options): Rename to ...
21194 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21195 (abi-64-condition): Rename to ...
21196 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21197 (abi-64-ld-soname): Rename to ...
21198 (abi-64-v1-ld-soname): ... this.
21199 (abi-64-v2-options): Define.
21200 (abi-64-v2-condition): Likewise.
21201 (abi-64-v2-ld-soname): Likewise.
21202 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21203 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21207
61cd8fe4
UW
212082013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21209 Alan Modra <amodra@gmail.com>
21210
21211 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21212 New versions for use with the ELFv2 ABI.
21213 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21214 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21215 declaration.
21216 (struct La_ppc64v2_retval): Likewise.
21217 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21218 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21219 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21220 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21221 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21223 Do not save or restore CR.
21224 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21225 (_dl_profile_resolve): Do no save or restore CR. Support extended
21226 return values for ELFv2 ABI. Fix location of FPR return registers.
21227 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21228 updated values for _CALL_ELF == 2.
21229 (La_regs, La_retval, int_retval): Likewise.
21230
8b8a692c
UW
212312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21232
21233 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21234 (FRAME_MIN_SIZE_PARM): Likewise.
21235 (FRAME_BACKCHAIN): Likewise.
21236 (FRAME_CR_SAVE): Likewise.
21237 (FRAME_LR_SAVE): Likewise.
21238 (FRAME_TOC_SAVE): Likewise.
21239 (FRAME_PARM_SAVE): Likewise.
21240 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21241 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21242 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21243 (call_mcount_parm_offset): New macro.
21244 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21245 (PROF): Use symbolic stack frame offsets.
21246 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21247 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21248 Redefine in terms of FRAME_MIN_SIZE.
21249 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21250 (_dl_profile_resolve): Likewise. Update comment.
21251 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21252 symbols stack frame offsets.
21253 (__sigsetjmp): Likewise.
21254 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21255 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21256 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21257 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21258
21259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21260 (FRAME_BACKCHAIN): Remove.
21261 (FRAME_CR_SAVE): Likewise.
21262 (FRAME_LR_SAVE): Likewise.
21263 (FRAME_COMPILER_DW): Likewise.
21264 (FRAME_LINKER_DW): Likewise.
21265 (FRAME_TOC_SAVE): Likewise.
21266 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
21267 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21268 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21269 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
21270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21271 (CHECK_SP): Use symbolic stack frame offsets.
21272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21273 zone" instead of caller's parameter save area for temp storage.
21274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21275 Likewise. Also, use symbolic stack frame offsets.
21276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21277 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21278 our own stack frame instead of the caller's.
21279 (__socket): Use symbolic stack frame offsets.
21280
122b66de
UW
212812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21282 Alan Modra <amodra@gmail.com>
21283
21284 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21285 Define.
57f41c40
AS
21286 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21287 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
21288 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21289 New function.
21290 (elf_machine_fixup_plt): Call it.
21291 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21292 reloc arguments.
21293 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
21294 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21295 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
21296 r2 before calling target.
21297
696caf1d
UW
212982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21299 Alan Modra <amodra@gmail.com>
21300
21301 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21302 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21303 versions of macros to support ELFv2 ABI.
21304 (LOCALENTRY): New macro.
21305 (ENTRY, EALIGN): Use it.
21306 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21307 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21308 fall through into ENTRY entry point.
21309 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21310 Only define if _CALL_ELF != 2.
21311
21312 (elf_machine_matches_host): Verify ABI version matches.
21313 (RTLD_START): Use LOCALENTRY.
21314 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21315 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21316 (PLT_ENTRY_WORDS): New macro.
21317 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21318 (elf_machine_runtime_setup): Support ELFv2 ABI.
21319 (elf_machine_fixup_plt): Likewise.
21320 (elf_machine_plt_conflict): Likewise.
21321 (resolve_ifunc): Likewise.
21322 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21323 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21324 Likewise.
21325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21326 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21328 (makecontext): Support ELFv2 ABI.
21329 * elf/elf.h (EF_PPC64_ABI): Define.
21330
d31beafa
UW
213312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21332
57f41c40
AS
21333 * sysdeps/powerpc/powerpc64/sysdep.h
21334 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21335 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21336 (ENTRY) [ASSEMBLER]: ... but instead here ...
21337 (EALIGN) [ASSEMBLER]: ... and here.
21338 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21339 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21340 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
21341 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21342 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
21343 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21344 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
21345 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21347 Use PPC64_LOAD_FUNCPTR.
21348
b525166b
UW
21349 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21350
7ec07d9a
AM
213512013-12-04 Alan Modra <amodra@gmail.com>
21352
21353 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21354 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21355 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21356 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21357
21358 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21359 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21360 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21361 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21362 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21363 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21364
5162e7dd
UW
213652013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21366
21367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21368 (__makecontext): Fix incorrect CFI when backtracing out of
21369 context created via makecontext.
21370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21371 (__setcontext): Fix incorrect CFI during switch to new context.
21372 (__novec_setcontext): Likewise.
21373
19e3372b
OB
213742013-12-04 Ondřej Bílka <neleai@seznam.cz>
21375
21376 [BZ #4772]
21377 * time/strptime_l.c (__strptime_internal): Allow modifiers
21378 in strptime.
21379 * time/tst-strptime.c (day_tests): Add testcase.
21380
ecaf142d
SP
213812013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21382
21383 * scripts/bench.pl: Skip over blank lines.
21384
fbf964ae
PE
213852013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21386
21387 [BZ #926]
21388 * manual/time.texi (Calendar Time): Clarify what timezone functions
21389 use.
21390
fa60a674
AZ
213912013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21392
21393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21394
d674f0ef
OB
213952013-12-04 Ondřej Bílka <neleai@seznam.cz>
21396
21397 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21398 implementation.
21399 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21400 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21401 * debug/memset_chk.c (__memset_chk): Likewise.
21402 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21403 * debug/strncpy_chk.c: Likewise.
21404
17dea188
JM
214052013-12-03 Joseph Myers <joseph@codesourcery.com>
21406
749008ff
JM
21407 [BZ #15268]
21408 [BZ #15425]
21409 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21410 (__ieee754_exp): For possibly underflowing results, check size of
21411 result and force underflow exception if required.
21412 * math/auto-libm-test-in: Add more tests of exp.
21413 * math/auto-libm-test-out: Regenerated.
21414 * sysdeps/i386/fpu/libm-test-ulps: Update.
21415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21416
17dea188
JM
21417 [BZ #16283]
21418 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21419 * math/w_exp2f.c (__exp2f): Likewise.
21420 * math/w_exp2l.c (__exp2l): Likewise.
21421 * math/auto-libm-test-in: Do not allow missing errno on exp2
21422 underflow.
21423 * math/auto-libm-test-out: Regenerated.
21424
b20de2c3
OB
214252013-12-03 Ondřej Bílka <neleai@seznam.cz>
21426
21427 [BZ #16274]
21428 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21429 handle filename validation.
21430 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21431 (do_open): Delete.
21432
d8e2dbe3
JM
214332013-12-03 Joseph Myers <joseph@codesourcery.com>
21434
34e16df5
JM
21435 [BZ #6786]
21436 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21437 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21438 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21439 <float.h>.
21440 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21441 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21442 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21443 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21444 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21445 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21446 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21447 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21448 Add more erfc tests.
21449 * math/auto-libm-test-out: Regenerated.
21450 * sysdeps/i386/fpu/libm-test-ulps: Update.
21451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21452
d8e2dbe3
JM
21453 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21454 exp2, expm1, j0 and j1.
21455 * math/auto-libm-test-out: Regenerated.
21456 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21457 (erfc_test_data): Likewise.
21458 (exp_test_data): Likewise.
21459 (exp_tonearest_test_data): Likewise.
21460 (exp_towardzero_test_data): Likewise.
21461 (exp_downward_test_data): Likewise.
21462 (exp_upward_test_data): Likewise.
21463 (exp10_test_data): Likewise.
21464 (exp2_test_data): Likewise.
21465 (expm1_test_data): Likewise.
21466 (j0_test_data): Likewise.
21467 (j1_test_data): Likewise.
21468 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21469 (input_flag_type): Add flag_xfail_rounding.
21470 (input_flags): Add xfail-rounding.
21471 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21472 (output_for_one_input_case): Handle flag_xfail_rounding.
21473 * sysdeps/i386/fpu/libm-test-ulps: Update.
21474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21475
18d14251
AJ
214762013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21477
3d2e6075 21478 [BZ #16289]
18d14251
AJ
21479 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21480 division by 0.
21481
520d437b
SP
214822013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21483
21484 [BZ #16195]
21485 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21486 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21487 (STAP_PROBE0): New macro.
21488 (STAP_PROBE1): Likewise.
21489 (STAP_PROBE2): Likewise.
21490 (STAP_PROBE3): Likewise.
21491 (STAP_PROBE4): Likewise.
21492
416e0145
OB
214932013-12-02 Ondřej Bílka <neleai@seznam.cz>
21494
21495 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21496
9d17796a
SE
214972013-12-02 Steve Ellcey <sellcey@mips.com>
21498
21499 * benchtests/Makefile (bench): Add sqrt.
21500 (LDLIBS-bench-sqrt): New.
21501 * benchtests/sqrt-input: New.
21502
f524d6a8
PS
215032013-12-02 Pavel Simerda <psimerda@redhat.com>
21504
639a0ef8
PS
21505 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21506 (GAIH_EAI): Likewise.
21507 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21508 (gaih_inet): Likewise.
21509 (getaddrinfo): Don't use GAIH_EAI.
21510
f524d6a8
PS
21511 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21512 (struct gaih): Remove definition.
21513
df3aedaf
SP
215142013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21515
21516 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21517 Use HERRNOP directly.
21518
1ab19dec
AZ
215192013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21520
b42ad38d 21521 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 21522
176b0c79
JM
215232013-11-30 Joseph Myers <joseph@codesourcery.com>
21524
21525 * math/gen-auto-libm-tests.c (test_functions): Add more
21526 single-argument functions.
21527 (special_fill_pi_2): New function.
21528 (special_fill_minus_pi_2): Likewise.
21529 (special_fill_pi_6): Likewise.
21530 (special_fill_minus_pi_6): Likewise.
21531 (special_fill_pi_3): Likewise.
21532 (special_fill_2pi_3): Likewise.
21533 (special_fill_e): Likewise.
21534 (special_fill_1_e): Likewise.
21535 (special_fill_e_minus_1): Likewise.
21536 (special_real_inputs): Add more special inputs.
21537 (output_for_one_input_case): Do not require ERANGE on underflow to
21538 zero if round-to-nearest result does not underflow to zero, unless
21539 exact results required.
21540 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21541 atan, atanh, cbrt, cos and cosh.
21542 * math/auto-libm-test-out: Regenerated.
21543 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21544 (acos_tonearest_test_data): Likewise.
21545 (acos_towardzero_test_data): Likewise.
21546 (acos_downward_test_data): Likewise.
21547 (acos_upward_test_data): Likewise.
21548 (acosh_test_data): Likewise.
21549 (asin_test_data): Likewise.
21550 (asin_tonearest_test_data): Likewise.
21551 (asin_towardzero_test_data): Likewise.
21552 (asin_upward_test_data): Likewise.
21553 (asinh_test_data): Likewise.
21554 (atan_test_data): Likewise.
21555 (atanh_test_data): Likewise.
21556 (cbrt_test_data): Likewise.
21557 (cos_test_data): Likewise.
21558 (cos_tonearest_test_data): Likewise.
21559 (cos_towardzero_test_data): Likewise.
21560 (cos_downward_test_data): Likewise.
21561 (cos_upward_test_data): Likewise.
21562 (cosh_test_data): Likewise.
21563 (cosh_tonearest_test_data): Likewise.
21564 (cosh_towardzero_test_data): Likewise.
21565 (cosh_downward_test_data): Likewise.
21566 (cosh_upward_test_data): Likewise.
21567 * sysdeps/i386/fpu/libm-test-ulps: Update.
21568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21569
ffb536d0
JM
215702013-11-29 Joseph Myers <joseph@codesourcery.com>
21571
2a77a467
JM
21572 [BZ #6787]
21573 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21574 * math/w_exp10f.c (__exp10f): Likewise.
21575 * math/w_exp10l.c (__exp10l): Likewise.
21576 * math/libm-test.inc (exp10_test_data): Add more tests and expect
21577 errno settings in existing tests.
21578
ea3bc4e8
JM
21579 [BZ #14032]
21580 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21581 precision control set to double precision.
21582 * sysdeps/i386/fpu/w_sqrt.c: New file.
21583 * math/auto-libm-test-in: Add more tests.
21584 * math/auto-libm-test-out: Update.
21585
0712c9d8
JM
21586 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21587 (sqrt_test_tonearest): New function.
21588 (sqrt_towardzero_test_data): New variable.
21589 (sqrt_test_towardzero): New function.
21590 (sqrt_downward_test_data): New variable.
21591 (sqrt_test_downward): New function.
21592 (sqrt_upward_test_data): New variable.
21593 (sqrt_test_upward): New function.
21594 (main): Call the new functions.
21595
ffb536d0
JM
21596 * math/gen-auto-libm-tests.c: New file.
21597 * math/auto-libm-test-in: Likewise.
21598 * math/auto-libm-test-out: New generated file.
21599 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21600 variables.
21601 (%beautify): Add generated representations of zero.
21602 (top level): Set $auto_input and call parse_auto_input.
21603 (beautify): Remove trailing "f" from hex float constants.
21604 (parse_args): Handle XFAIL_TEST.
21605 (convert_condition): New function.
21606 (or_value): Likewise.
21607 (or_cond_value): Likewise.
21608 (generate_testfile): Handle AUTO_TESTS_* lines.
21609 (parse_auto_input): New function.
21610 * math/libm-test.inc (XFAIL_TEST): New macro.
21611 (ERRNO_UNCHANGED): Update value.
21612 (ERRNO_EDOM): Likewise.
21613 (ERRNO_ERANGE): Likewise.
21614 (IGNORE_RESULT): Likewise.
21615 (TEST_COND_flt_32): New macro.
21616 (TEST_COND_dbl_64): Likewise.
21617 (TEST_COND_ldbl_96_intel): Likewise.
21618 (TEST_COND_ldbl_96_m68k): Likewise.
21619 (TEST_COND_ldbl_128): Likewise.
21620 (TEST_COND_ldbl_128ibm): Likewise.
21621 (TEST_COND_long32): Likewise.
21622 (TEST_COND_long64): Likewise.
21623 (TEST_COND_before_rounding): Likewise.
21624 (TEST_COND_after_rounding): Likewise.
21625 (enable_test): Handle XFAIL_TEST flag.
21626 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21627 with finite results.
21628 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21629 auto-libm-test-out.
21630
acd98a8e
AK
216312013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21632 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21633
21634 [BZ #16214]
21635 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21636 __tls_get_addr_internal instead of __tls_get_offset in order to
21637 avoid GOT pointer dependency. Make rtld export
21638 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21639 __tls_get_addr since we are a __tls_get_offset platform.
21640 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21641 GOT pointer being set up before.
21642 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21643
3c1c46a6
JM
216442013-11-28 Joseph Myers <joseph@codesourcery.com>
21645
7475aef5
JM
21646 * manual/math.texi (Errors in Math Functions): Document accuracy
21647 goals.
21648
8bca7cd8
JM
21649 [BZ #15004]
21650 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21651 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21654 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21656 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21666
91a1f3fe
JM
21667 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21668 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21669 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21670 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21671 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21672 Likewise.
21673 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21674 Likewise.
21675 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21676 Likewise.
21677 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21678 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21679 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21680 atomic-feupdateenv and flt-rounds.
21681 * sysdeps/powerpc/nofpu/Versions (libc): Add
21682 __atomic_feholdexcept, __atomic_feclearexcept,
21683 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21684 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21685 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21686 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21687 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21688 here.
21689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21690 Update.
21691
c5df7609
JM
21692 * manual/arith.texi (FP Exceptions): Document that exceptions may
21693 not be raised when matherr is used.
21694 (Math Error Reporting): Document overflow in directed rounding
21695 modes. Document that errno may not be set when finite values are
21696 returned on overflow. Document intent to set errno on underflow
21697 only for underflow to zero.
21698
3c1c46a6
JM
21699 [BZ #16271]
21700 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21701 round-to-nearest then adjust result for other rounding modes.
21702 * include/fenv.h (fegetround): Use libm_hidden_proto.
21703 * math/fegetround.c (fegetround): Use libm_hidden_def.
21704 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21705 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21706 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21708 Likewise.
21709 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21710 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21711 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21712 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21713
5a4c6d53
SP
217142013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21715
21716 [BZ #16077]
21717 * nss/Versions (libnss_files): Add
21718 _nss_files_gethostbyname3_r.
21719 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21720 New function.
21721 (HOST_DB_LOOKUP): Remove macro.
21722 (_nss_files_gethostbyname_r): Implement function without the
21723 HOST_DB_LOOKUP macro.
21724 (_nss_files_gethostbyname2_r): Likewise.
21725
897b98ba
OB
217262013-11-28 Ondřej Bílka <neleai@seznam.cz>
21727
21728 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21729
6f476861
UB
217302013-11-26 Uros Bizjak <ubizjak@gmail.com>
21731
21732 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21733 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21734 warning.
21735
bd12ab55
AZ
217362013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21737
21738 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21739 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21740 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21741 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21742 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21743 __fe_nomask_env_priv and attribute_hidden.
21744 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21745 (libc_feupdateenv_test_ppc): Likewise.
21746 (libc_feresetround_ppc): Likewise.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21748 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21749 compat_symbol macro.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21751 (__fe_nomask_env): Likewise.
21752 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21753
52bb6543
OB
217542013-11-26 Ondřej Bílka <neleai@seznam.cz>
21755
21756 * string/Makefile: Remove ifunc tests.
21757 * string/test-string.h: Define TEST_IFUNC.
21758 * string/test-bcopy-ifunc.c: Remove.
21759 * string/test-bzero-ifunc.c: Likewise.
21760 * string/test-memccpy-ifunc.c: Likewise.
21761 * string/test-memchr-ifunc.c: Likewise.
21762 * string/test-memcmp-ifunc.c: Likewise.
21763 * string/test-memcpy-ifunc.c: Likewise.
21764 * string/test-memmem-ifunc.c: Likewise.
21765 * string/test-memmove-ifunc.c: Likewise.
21766 * string/test-mempcpy-ifunc.c: Likewise.
21767 * string/test-memrchr-ifunc.c: Likewise.
21768 * string/test-memset-ifunc.c: Likewise.
21769 * string/test-rawmemchr-ifunc.c: Likewise.
21770 * string/test-stpcpy-ifunc.c: Likewise.
21771 * string/test-stpncpy-ifunc.c: Likewise.
21772 * string/test-strcasecmp-ifunc.c: Likewise.
21773 * string/test-strcasestr-ifunc.c: Likewise.
21774 * string/test-strcat-ifunc.c: Likewise.
21775 * string/test-strchr-ifunc.c: Likewise.
21776 * string/test-strchrnul-ifunc.c: Likewise.
21777 * string/test-strcmp-ifunc.c: Likewise.
21778 * string/test-strcpy-ifunc.c: Likewise.
21779 * string/test-strcspn-ifunc.c: Likewise.
21780 * string/test-strlen-ifunc.c: Likewise.
21781 * string/test-strncasecmp-ifunc.c: Likewise.
21782 * string/test-strncat-ifunc.c: Likewise.
21783 * string/test-strncmp-ifunc.c: Likewise.
21784 * string/test-strncpy-ifunc.c: Likewise.
21785 * string/test-strnlen-ifunc.c: Likewise.
21786 * string/test-strpbrk-ifunc.c: Likewise.
21787 * string/test-strrchr-ifunc.c: Likewise.
21788 * string/test-strspn-ifunc.c: Likewise.
21789 * string/test-strstr-ifunc.c: Likewise.
21790
ab260039 217912013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21792
21793 * benchtests/Makefile: Remove ifunc tests.
21794 * benchtests/bench-string.h: Define TEST_IFUNC.
21795 * benchtests/bench-bcopy-ifunc.c: Remove.
21796 * benchtests/bench-bzero-ifunc.c: Likewise.
21797 * benchtests/bench-memccpy-ifunc.c: Likewise.
21798 * benchtests/bench-memchr-ifunc.c: Likewise.
21799 * benchtests/bench-memcmp-ifunc.c: Likewise.
21800 * benchtests/bench-memcpy-ifunc.c: Likewise.
21801 * benchtests/bench-memmem-ifunc.c: Likewise.
21802 * benchtests/bench-memmove-ifunc.c: Likewise.
21803 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21804 * benchtests/bench-memrchr-ifunc.c: Likewise.
21805 * benchtests/bench-memset-ifunc.c: Likewise.
21806 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21807 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21808 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21809 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21810 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21811 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21812 * benchtests/bench-strcat-ifunc.c: Likewise.
21813 * benchtests/bench-strchr-ifunc.c: Likewise.
21814 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21815 * benchtests/bench-strcmp-ifunc.c: Likewise.
21816 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21817 * benchtests/bench-strcpy-ifunc.c: Likewise.
21818 * benchtests/bench-strcspn-ifunc.c: Likewise.
21819 * benchtests/bench-strlen-ifunc.c: Likewise.
21820 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21821 * benchtests/bench-strncat-ifunc.c: Likewise.
21822 * benchtests/bench-strncmp-ifunc.c: Likewise.
21823 * benchtests/bench-strncpy-ifunc.c: Likewise.
21824 * benchtests/bench-strnlen-ifunc.c: Likewise.
21825 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21826 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21827 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21828 * benchtests/bench-strspn-ifunc.c: Likewise.
21829 * benchtests/bench-strstr-ifunc.c: Likewise.
21830
218312013-11-26 Ondřej Bílka <neleai@seznam.cz>
21832
ab260039
OB
21833 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21834
d1d9eaf4 218352013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21836
d1d9eaf4
OB
21837 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21838 * rt/aio.h: Likewise.
21839 * sysdeps/gnu/bits/utmp.h: Likewise.
21840 * sysdeps/gnu/bits/utmpx.h: Likewise.
21841 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21842 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21843 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21844 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21845 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21846 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21847 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21848 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21849 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21850 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21851 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21852 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21853 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21855 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21856 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21857 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21858 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21859 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21860 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21861 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21862 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21863 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21864 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21865 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21867 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21868 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21869 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21871 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21872 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21873 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21874 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21875 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21876 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21877 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21878 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21879 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21880 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21881 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21882 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21883
a7624ed9
CD
218842013-11-25 Carlos O'Donell <carlos@redhat.com>
21885
21886 [BZ #16245]
21887 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21888 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21889
63cfe52b
JM
218902013-11-25 Joseph Myers <joseph@codesourcery.com>
21891
21892 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21893 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21894 Likewise.
21895
41e8926a
AZ
218962013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21897
21898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21899 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21900 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21901 (__fesetround): Remove define.
21902 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21903 rounding and exceptions handling.
21904 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21905 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21906 (__fe_nomask_env): Likewise.
21907 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21908 __fegetround instead of fegetround.
21909 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21910 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21911
6851bd4d
RM
219122013-11-21 Roland McGrath <roland@hack.frob.com>
21913
070906ff
RM
21914 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21915 it's there.
21916
6851bd4d
RM
21917 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21918
84ae135d
MI
219192013-11-21 Meador Inge <meadori@codesourcery.com>
21920
21921 [BZ #11157]
21922 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21923 (encrypt_r): Likewise.
21924 * malloc/obstack.h (obstack_free): Likewise.
21925 * posix/unistd.h (encrypt): Likewise.
21926
daf75146
GM
219272013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21928
21929 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21930 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21931 DL_CALL_DT_FINI() that call the functions directly.
21932 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21933 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21934 * elf/dl-fini.c: Likewise.
21935
10ad46bc
OB
219362013-11-20 Ondřej Bílka <neleai@seznam.cz>
21937
21938 * malloc/hooks.c (memalign_check): Add alignment rounding.
21939 * malloc/malloc.c (_mid_memalign): New function.
21940 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21941 Implement by calling _mid_memalign.
21942 * manual/probes.texi (Memory Allocation Probes): Remove
21943 memory_valloc_retry and memory_pvalloc_retry.
21944
f3fd2628
SP
219452013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21946
4712799f
SP
21947 * locale/programs/locarchive.c (open_archive): Add const
21948 qualifier to ARCHIVEFNAME and copy default fname to
21949 DEFAULT_FNAME.
21950
0417b20f
SP
21951 [BZ #15601]
21952 * libio/tst-widetext.input: Rename Oriya to Odia.
21953 * locale/iso-639.def: Likewise.
21954
f3fd2628
SP
21955 * manual/probes.texi (Mathematical Function Probes): Add
21956 documentation for sin, cos, asin and acos probes.
21957 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21958 (__sin32): Add slowasin probe.
21959 (__cos32): Add slowacos probe.
21960 (__mpsin): Add slowsin probe.
21961 (__mpcos): Add slowcos probe.
21962
73c1ce4f
JM
219632013-11-19 Joseph Myers <joseph@codesourcery.com>
21964
21965 [BZ #15483]
21966 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21967 thread-local __sim_exceptions_thread and global
21968 __sim_exceptions_global.
21969 (__sim_disabled_exceptions): Change to thread-local
21970 __sim_disabled_exceptions_thread and global
21971 __sim_disabled_exceptions_global.
21972 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21973 and global __sim_round_mode_global.
21974 (__simulate_exceptions): Use thread-local floating-point state and
21975 set global state from it as needed.
21976 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21977 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21978 __sim_round_mode_thread.
21979 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21980 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21981 and global __sim_exceptions_global.
21982 (__sim_disabled_exceptions): Change to thread-local
21983 __sim_disabled_exceptions_thread and global
21984 __sim_disabled_exceptions_global.
21985 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21986 and global __sim_round_mode_global.
21987 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21988 (SIM_SET_GLOBAL): Likewise.
21989 * sysdeps/powerpc/soft-fp/sfp-machine.h
21990 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21991 __sim_round_mode_thread.
21992 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21993 __sim_disabled_exceptions_thread.
21994 (__sim_exceptions): Change to __sim_exceptions_thread.
21995 (__sim_disabled_exceptions): Change to
21996 __sim_disabled_exceptions_thread.
21997 (__sim_round_mode): Change to __sim_round_mode_thread.
21998 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21999 thread-local floating-point state and set global state from it as
22000 needed.
22001 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22002 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22003 (__sim_disabled_exceptions): Remove extern declaration.
22004 (feenableexcept): Use thread-local floating-point state and set
22005 global state from it as needed.
22006 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22007 extern declaration.
22008 (__sim_disabled_exceptions): Likewise.
22009 (__sim_round_mode): Likewise.
22010 (__fegetenv): Use thread-local floating-point state.
22011 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22012 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22013 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22014 floating-point state and set global state from it as needed.
22015 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22016 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22017 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22018 Likewise.
22019 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22020 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22021 Likewise.
22022 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22023 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22024 Use __sim_round_mode_thread.
22025 * math/test-fenv-tls.c: New file.
22026 * math/Makefile (tests): Add test-fenv-tls.
22027 ($(objpfx)test-fenv-tls): Depend on
22028 $(common-objpfx)nptl/libpthread.so.
22029
b5449b12
AS
220302013-11-19 Andreas Schwab <schwab@suse.de>
22031
22032 * locale/programs/locale.c (show_info): Decode wordarray elements.
22033 * locale/categories.def (LC_MONETARY): Add element for
22034 _NL_MONETARY_CRNCYSTR.
22035 * locale/C-monetary.c (conversion_rate): New variable.
22036 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22037 element.
22038
e186536b
CM
220392013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22040
22041 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22042 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22043
5c349950
PP
220442013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22045
22046 * elf/Makefile (tst-auxv): New test.
22047 * elf/tst-auxv.c: New
22048 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22049
699df45b
JM
220502013-11-18 Joseph Myers <joseph@codesourcery.com>
22051
22052 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22053 (hidden_proto): Caller changed.
22054 (hidden_tls_proto): New macro.
22055 (libc_hidden_tls_proto): Likewise.
22056 (rtld_hidden_tls_proto): Likewise.
22057 (libm_hidden_tls_proto): Likewise.
22058 (libresolv_hidden_tls_proto): Likewise.
22059 (librt_hidden_tls_proto): Likewise.
22060 (libdl_hidden_tls_proto): Likewise.
22061 (libnss_files_hidden_tls_proto): Likewise.
22062 (libnsl_hidden_tls_proto): Likewise.
22063 (libnss_nisplus_hidden_tls_proto): Likewise.
22064 (libutil_hidden_tls_proto): Likewise.
22065
b7589107
OB
220662013-11-18 Ondřej Bílka <neleai@seznam.cz>
22067
22068 [BZ #10253]
22069 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22070 (decompose_rpath): Defer expansion to fillin_rpath.
22071 (_dl_init_paths): Pass linkmap to fillin_rpath.
22072
250c23bd
RS
220732013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22074
22075 * benchtests/Makefile: Add strsep.
22076 * benchtests/bench-strsep.c: New file: strsep benchtest.
22077 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22078
a7931fcf
AS
220792013-11-18 Andreas Schwab <schwab@suse.de>
22080
22081 * locale/programs/locale.c (show_info) [case byte]: Check for
22082 '\377' instead of '\177'.
22083 * locale/C-monetary.c (not_available): Always use "\377".
22084 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22085 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22086 detect unavailable sign_posn locale elements.
22087 * locale/localeconv.c (__localeconv): For grouping and
22088 mon_grouping handle "\177" and "\377" like no grouping.
22089 (INT_ELEM): New macro. Use it to set all numeric members.
22090 * locale/programs/ld-monetary.c (monetary_read)
22091 <tok_mon_grouping>: Normalize single -1 to the empty string.
22092 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22093 Likewise.
22094
728dab0e
OB
220952013-11-07 Ondřej Bílka <neleai@seznam.cz>
22096
22097 [BZ #16055]
22098 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22099 when we match (nil).
22100 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22101
66294491
JM
221022013-11-16 Joseph Myers <joseph@codesourcery.com>
22103
ce665817
JM
22104 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22105 (NO_TEST_INLINE): Update value.
22106 (ERRNO_UNCHANGED): Likewise.
22107 (ERRNO_EDOM): Likewise.
22108 (ERRNO_ERANGE): Likewise.
22109 (IGNORE_RESULT): Likewise.
22110 (check_float_internal): Check signs of NaN results if
22111 TEST_NAN_SIGN used.
22112 (check_complex): Pass TEST_NAN_SIGN flag through to second
22113 check_float_internal call.
22114 (copysign_test_data): Add tests with quiet NaNs as second
22115 argument. Use TEST_NAN_SIGN.
22116 (fabs_test_data): Add test of negative quiet NaN argument. Use
22117 TEST_NAN_SIGN.
22118 (signbit_test_data): Add tests of quiet NaN argument.
22119 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22120
ee1466a9
JM
22121 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22122 $ignore_result.
22123 (parse_args): Handle function results specified as IGNORE.
22124 * math/libm-test.inc (IGNORE_RESULT): New macro.
22125 (check_float_internal): Do not check numerical result if flag
22126 IGNORE_RESULT set.
22127 (check_complex): Pass through IGNORE_RESULT to second
22128 check_float_internal call.
22129 (check_int): Do not check numerical result if flag IGNORE_RESULT
22130 set.
22131 (check_long): Likewise.
22132 (check_bool): Likewise.
22133 (check_longlong): Likewise.
22134 (lrint_test_data): Add tests of infinite and NaN arguments.
22135 (lrint_tonearest_test_data): Likewise.
22136 (lrint_towardzero_test_data): Likewise.
22137 (lrint_downward_test_data): Likewise.
22138 (lrint_upward_test_data): Likewise.
22139 (llrint_test_data): Likewise.
22140 (llrint_tonearest_test_data): Likewise.
22141 (llrint_towardzero_test_data): Likewise.
22142 (llrint_downward_test_data): Likewise.
22143 (llrint_upward_test_data): Likewise.
22144 (lround_test_data): Likewise.
22145 (llround_test_data): Likewise.
22146
14407b7e
JM
22147 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22148 (ERRNO_UNCHANGED): Update value.
22149 (ERRNO_EDOM): Likewise.
22150 (ERRNO_ERANGE): Likewise.
22151 (NO_TEST_INLINE_FLOAT): New macro.
22152 (NO_TEST_INLINE_DOUBLE): Likewise.
22153 (enable_test): New function.
22154 (RUN_TEST_f_f): Check enable_test before running test.
22155 (RUN_TEST_2_f): Likewise.
22156 (RUN_TEST_fff_f): Likewise.
22157 (RUN_TEST_c_f): Likewise.
22158 (RUN_TEST_f_f1): Likewise.
22159 (RUN_TEST_fF_f1): Likewise.
22160 (RUN_TEST_fI_f1): Likewise.
22161 (RUN_TEST_ffI_f1): Likewise.
22162 (RUN_TEST_c_c): Likewise.
22163 (RUN_TEST_cc_c): Likewise.
22164 (RUN_TEST_f_i): Likewise.
22165 (RUN_TEST_f_i_tg): Likewise.
22166 (RUN_TEST_ff_i_tg): Likewise.
22167 (RUN_TEST_f_b): Likewise.
22168 (RUN_TEST_f_b_tg): Likewise.
22169 (RUN_TEST_f_l): Likewise.
22170 (RUN_TEST_f_L): Likewise.
22171 (RUN_TEST_fFF_11): Likewise.
22172 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22173 conditionals.
22174 (cosh_test_data): Likewise.
22175 (exp_test_data): Likewise.
22176 (expm1_test_data): Likewise.
22177 (hypot_test_data): Likewise.
22178 (pow_test_data): Likewise.
22179 (sinh_test_data): Likewise.
22180 (tanh_test_data): Likewise.
22181 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22182 flags argument.
22183
ca07f197
JM
22184 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22185 tests with quiet NaN input and output.
22186 (acosh_test_data): Likewise.
22187 (asin_test_data): Likewise.
22188 (asinh_test_data): Likewise.
22189 (atan_test_data): Likewise.
22190 (atanh_test_data): Likewise.
22191 (atan2_test_data): Likewise.
22192 (cbrt_test_data): Likewise.
22193 (cos_test_data): Likewise.
22194 (cosh_test_data): Likewise.
22195 (erf_test_data): Likewise.
22196 (erfc_test_data): Likewise.
22197 (exp_test_data): Likewise.
22198 (exp10_test_data): Likewise.
22199 (exp2_test_data): Likewise.
22200 (expm1_test_data): Likewise.
22201 (hypot_test_data): Likewise.
22202 (j0_test_data): Likewise.
22203 (j1_test_data): Likewise.
22204 (jn_test_data): Likewise.
22205 (lgamma_test_data): Likewise.
22206 (log_test_data): Likewise.
22207 (log10_test_data): Likewise.
22208 (log1p_test_data): Likewise.
22209 (log2_test_data): Likewise.
22210 (pow_test_data): Likewise.
22211 (scalb_test_data): Likewise.
22212 (sin_test_data): Likewise.
22213 (sincos_test_data): Likewise.
22214 (sinh_test_data): Likewise.
22215 (tan_test_data): Likewise.
22216 (tanh_test_data): Likewise.
22217 (tgamma_test_data): Likewise.
22218 (y0_test_data): Likewise.
22219 (y1_test_data): Likewise.
22220 (yn_test_data): Likewise.
22221
66294491
JM
22222 [BZ #16167]
22223 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22224 argument being NaN and avoid computations with second argument in
22225 that case.
22226 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22227 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22228 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22229
1820b143
CL
222302013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22231
22232 * locale/iso-639.def: Add Chitwani Tharu (the).
22233
714bd261
AS
222342013-11-14 Andreas Schwab <schwab@suse.de>
22235
22236 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22237 word instead of empty string.
22238
7ab44563
AZ
222392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22240
22241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22242 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22244 (__fe_nomask_env): Likewise.
22245
e8470ea2
SE
222462013-11-13 Steve Ellcey <sellcey@mips.com>
22247
22248 * benchtests/bench-timing.h: Include time.h.
22249
17c1d9f0
L
222502013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22251
22252 [BZ #15997]
22253 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22254 to 3.4.0 for x32.
22255 * sysdeps/unix/sysv/linux/configure: Regenerated.
22256
9310c284
JM
222572013-11-13 Joseph Myers <joseph@codesourcery.com>
22258
22259 [BZ #16151]
22260 * stdlib/strtod_l.c (round_and_return): Do not consider
22261 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22262 exponent one less than half the least subnormal exponent.
22263 * stdlib/test-strtod-round-data: Add more tests.
22264 * stdlib/tst-strtod-round.c (tests): Regenerated.
22265
7a2ad8cf
AZ
222662013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22267
22268 [BZ #14143]
22269 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22270 (__fe_mask_env): Likewise.
22271 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22272 libm_hidden_proto and add function prototype.
22273 (__fe_mask_env): Add function prototype.
22274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22275 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22277 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22279 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22280
50727aa7
MS
222812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22282
b2f386c1 22283 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
22284 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22285
a615be46
MS
222862013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22287
22288 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22289 of htab_find_slot().
22290
7ddace62
DM
222912013-11-11 David S. Miller <davem@davemloft.net>
22292
22293 [BZ #16150]
22294 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22295 symbol in the non-vis3 case in static builds.
22296 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22297 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22298 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22299 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22300
9182aa67
JK
223012013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22302
22303 [BZ #387]
22304 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22305 it is empty.
22306
450a2e2d
AZ
223072013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22308
b2f386c1
SP
22309 * benchtests/Makefile: Add bench-strtod.
22310 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 22311
8ec3f656
AS
223122013-11-11 Andreas Schwab <schwab@suse.de>
22313
22314 [BZ #16153]
22315 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22316 terminating NUL in key length.
22317
76a9b998
AZ
223182013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22319
22320 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22321 Add artificial ODP entry for vDSO symbol for PPC64.
22322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22323 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22324
e4368156
OB
223252013-11-07 Ondřej Bílka <neleai@seznam.cz>
22326
22327 [BZ #15374]
22328 * nss/getent.c (services_keys): Recognize services starting with digit.
22329
8d6bb57c
DM
223302013-11-06 David S. Miller <davem@davemloft.net>
22331
22332 [BZ #15985]
22333 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22334 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22335
e256c421
WN
223362013-11-06 Will Newton <will.newton@linaro.org>
22337
22338 * manual/memory.texi (Malloc Examples): Remove register
22339 keyword from examples.
22340
f6e12daa 223412013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 22342
f6e12daa 22343 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 22344
9d880655
AS
223452013-11-04 Joseph Myers <joseph@codesourcery.com>
22346
fd2f9486 22347 [BZ #6981]
9d880655
AS
22348 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22349 depending on [__GCC_IEC_559 > 0].
22350 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22351 depending on [__GCC_IEC_559_COMPLEX > 0].
22352
ae129d3c
CL
223532013-11-03 Chris Leonard <cjl@sugarlabs.org>
22354
22355 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22356 to iso-639.def.
22357
4a15c2a4 223582013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
22359
22360 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22361
8b35e35d
OB
223622013-11-01 Ondřej Bílka <neleai@seznam.cz>
22363
22364 [BZ #16112]
22365 * malloc/malloc (malloc_info): Do not handle first bin as
22366 special case.
22367
1d70fd6c
CL
223682013-11-01 Chris Leonard <cjl@sugarlabs.org>
22369
22370 * locale/iso-639.def: Add Central Nahuatl (nhn).
22371
8c5c2600
BH
223722013-11-01 Bruno Haible <bruno@clisp.org>
22373
22374 [BZ #7003]
22375 * manual/math.texi (BSD Random): Specify range upper bound as
22376 in POSIX.
22377
da5579c2
CL
223782013-10-31 Chris Leonard <cjl@sugarlabs.org>
22379
22380 * locale/iso-639.def: Add Meadow Mari (mhr).
22381
5d30d853
OB
223822013-10-31 Ondřej Bílka <neleai@seznam.cz>
22383
22384 [BZ #14752], [BZ #15763]
22385 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22386 Validate name.
22387 * rt/tst_shm.c: Add test for escaping directory.
22388
a4966c61
AS
223892013-10-31 Andreas Schwab <schwab@suse.de>
22390
8a43e768 22391 [BZ #15917]
a4966c61
AS
22392 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22393 followed by 'x' as part of digit sequence.
22394 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22395
28d708c4
MAP
223962013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22397
22398 [BZ #16037]
22399 * configure.ac: allow GNU Make 4.0 and greater.
22400 * configure: Regenerated.
22401
a56ee40b
WN
224022013-10-30 Will Newton <will.newton@linaro.org>
22403
22404 [BZ #16038]
22405 * malloc/hooks.c (memalign_check): Limit alignment to the
22406 maximum representable power of two.
22407 * malloc/malloc.c (__libc_memalign): Likewise.
22408 * malloc/tst-memalign.c (do_test): Add test for very
22409 large alignment values.
22410 * malloc/tst-posix_memalign.c (do_test): Likewise.
22411
c6e4925d
OB
224122013-10-30 Ondřej Bílka <neleai@seznam.cz>
22413
22414 [BZ #11087]
22415 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22416 (munmap_chunk): Likewise.
22417 (mremap_chunk): Likewise.
22418
224192013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 22420
8a43e768 22421 [BZ #15799]
bbea82f7
OB
22422 * stdlib/div.c (div): Remove obsolete code.
22423 * stdlib/ldiv.c (ldiv): Likewise.
22424 * stdlib/lldiv.c (lldiv): Likewise.
22425
977f4b31
SP
224262013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22427
22428 [BZ #16071]
22429 * nss/nss_files/files-XXX.c (get_contents_ret): New
22430 enumerator.
22431 (get_contents): New function.
22432 (internal_getent): Use it. Expand size of LINEBUFLEN.
22433
cb8a6dbd
MF
224342013-10-30 Mike Frysinger <vapier@gentoo.org>
22435
22436 * configure.in: Moved to ...
22437 * configure.ac: ... here. Change reference to configure.in
22438 to configure.ac.
22439 * sysdeps/arm/preconfigure.ac: ... here.
22440 configure.in to configure.ac.
22441 * sysdeps/gnu/configure.in: Moved to ...
22442 * sysdeps/gnu/configure.ac: ... here.
22443 * sysdeps/i386/configure.in: Moved to ...
22444 * sysdeps/i386/configure.ac: ... here.
22445 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22446 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22447 * sysdeps/mach/configure.in: Moved to ...
22448 * sysdeps/mach/configure.ac: ... here.
22449 * sysdeps/mach/hurd/configure.in: Moved to ...
22450 * sysdeps/mach/hurd/configure.ac: ... here.
22451 * sysdeps/powerpc/configure.in: Moved to ...
22452 * sysdeps/powerpc/configure.ac: ... here.
22453 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22454 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22455 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22456 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22457 * sysdeps/s390/s390-32/configure.in: Moved to ...
22458 * sysdeps/s390/s390-32/configure.ac: ... here.
22459 * sysdeps/s390/s390-64/configure.in: Moved to ...
22460 * sysdeps/s390/s390-64/configure.ac: ... here.
22461 * sysdeps/sh/configure.in: Moved to ...
22462 * sysdeps/sh/configure.ac: ... here.
22463 * sysdeps/sparc/configure.in: Moved to ...
22464 * sysdeps/sparc/configure.ac: ... here.
22465 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22466 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22467 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22468 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22469 * sysdeps/x86_64/configure.in: Moved to ...
22470 * sysdeps/x86_64/configure.ac: ... here.
22471 * sysdeps/x86_64/preconfigure.in: Moved to ...
22472 * sysdeps/x86_64/preconfigure.ac: ... here.
22473 * aclocal.m4: Change reference to configure.in to configure.ac.
22474 * config.h.in: Likewise.
22475 * manual/install.texi: Likewise.
22476 * manual/maint.texi: Likewise.
22477 * Makefile: Likewise.
22478 * malloc/Makefile: Likewise.
22479 * nscd/Makefile: Likewise.
22480 * Makeconfig: Change reference to configure.in and
22481 preconfigure.in to configure.ac and preconfigure.ac
22482 respectively.
22483 * INSTALL: Regenerated.
22484 * configure: Likewise.
22485 * sysdeps/gnu/configure: Likewise.
22486 * sysdeps/i386/configure: Likewise.
22487 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22488 * sysdeps/mach/configure: Likewise.
22489 * sysdeps/mach/hurd/configure: Likewise.
22490 * sysdeps/powerpc/configure: Likewise.
22491 * sysdeps/powerpc/powerpc32/configure: Likewise.
22492 * sysdeps/powerpc/powerpc64/configure: Likewise.
22493 * sysdeps/s390/s390-32/configure: Likewise.
22494 * sysdeps/s390/s390-64/configure: Likewise.
22495 * sysdeps/sh/configure: Likewise.
22496 * sysdeps/sparc/configure: Likewise.
22497 * sysdeps/unix/sysv/linux/configure: Likewise.
22498 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22499 * sysdeps/x86_64/configure: Likewise.
22500 * sysdeps/x86_64/preconfigure: Likewise.
22501
36a4953a
AS
225022013-10-29 Andreas Schwab <schwab@suse.de>
22503
22504 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22505
c79a1204
SP
225062013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22507
dfa1b402
SP
22508 * benchtests/pow-inputs: Add new inputs.
22509
54f73d9c
SP
22510 * benchtests/exp-inputs: Add new inputs.
22511
c79a1204
SP
22512 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22513 conditional check for return value.
22514 (__cos32): Likewise.
22515
67beb545 225162013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
22517
22518 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22519 to provide a boost for large inputs with word alignment.
22520 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22521 implementation based on optimized PPC64 strcpy.
22522 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22523 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22524 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22525 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22526
151659f6
OB
225272013-10-25 Ondřej Bílka <neleai@seznam.cz>
22528
482a077e 22529 [BZ #2801]
151659f6
OB
22530 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22531
10b0f26b
OB
225322013-10-25 Ondřej Bílka <neleai@seznam.cz>
22533
22534 [BZ #14876]
22535 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22536 * time/tst-strptime.c (day_tests): Add testcase.
22537
ca42d35e
OB
225382013-10-25 Ondřej Bílka <neleai@seznam.cz>
22539
482a077e 22540 [BZ #14029]
ca42d35e
OB
22541 * manual/pattern.texi: Acknowledge that fnmatch can fail.
22542
52e6d801
FB
225432013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
22544
22545 [BZ #16074]
22546 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22547 MAP_FAILED on error.
22548
7cbcdb36
SP
225492013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22550
22551 [BZ #16072]
22552 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22553 heap for large requests.
22554
894f3f10
AM
225552013-10-25 Aurelien Jarno <aurelien@aurel32.net>
22556
22557 [BZ #9954]
22558 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22559 result if the result has no associated interface.
22560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22561 interface for all 127.X.Y.Z addresses.
22562
b85545a6
CL
225632013-10-24 Chris Leonard <cjl@sugarlabs.org>
22564
22565 * locale/iso-639.def: Add Ligurian (lij)
22566
d1f23d46
OB
225672013-10-21 Ondřej Bílka <neleai@seznam.cz>
22568
22569 [BZ #15825]
22570 * sunrpc/rpc_main.c: Document rpcgen -5.
22571
4db5b08f
MS
225722013-10-19 Michael Stahl <mstahl@redhat.com>
22573
22574 * elf/rtld.c (do_preload): Print the reason why preloading failed.
22575
a471e96a
OB
225762013-10-19 Ondřej Bílka <neleai@seznam.cz>
22577
d1f23d46 22578 [BZ #10278]
a471e96a
OB
22579 * posix/glob.c: Match only directories when trailing slash is present.
22580 * posix/tst-gnuglob.c (my_opendir): Do not open files.
22581 (main): Add testcase.
22582
45c30c61
OB
225832013-10-19 Ondřej Bílka <neleai@seznam.cz>
22584
22585 [BZ #15670]
22586 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22587
484c12fb
CD
225882013-10-18 Carlos O'Donell <carlos@redhat.com>
22589
3d7dc513
CD
22590 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22591 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22592 AUTH_DES and cindex for FIPS 140-2.
22593 (DES Encryption): Add cindex FIPS 46-3.
22594
484c12fb
CD
22595 * locale/locarchive.h (struct locarhandle): Add fname.
22596 * locale/programs/localedef.c (main): Pass ARGV[remaining]
22597 if an optional argument was specified to --list-archive,
22598 otherwise NULL.
22599 * locale/programs/locarchive.c (show_archive_content): Take new
22600 argument fname and pass it via ah.fname to open_archive.
22601 * locale/programs/localedef.h: Update decl.
22602 (open_archive): If AH->fname is non-null, open that file
22603 rather than the default file name, and don't ignore ENOENT.
22604 (create_archive): Set AH.fname to NULL.
22605 (delete_locales_from_archive): Likewise.
22606 (add_locales_to_archive): Likewise.
22607 * locale/programs/locfile.c (write_all_categories): Likewise.
22608
3c8325fb
JM
226092013-10-18 Joseph Myers <joseph@codesourcery.com>
22610 Aldy Hernandez <aldyh@redhat.com>
22611
22612 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22613 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22614 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22615 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22616 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22618 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22619 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22620 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22621 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22622 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22623 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22624 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22625 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22626 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22627 Likewise.
22628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22629 Likewise.
22630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22631 Likewise.
22632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22633 Likewise.
22634 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22635 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22636 Likewise.
22637 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22638 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22639 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22640 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22641 Likewise.
22642 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22643 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22644 * sysdeps/powerpc/preconfigure: Likewise.
22645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22646 Likewise.
22647 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22648 Replace contents of file by #include of <fenv_libc.h>.
22649 * sysdeps/powerpc/soft-fp/sfp-machine.h
22650 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22651 and <sys/prctl.h>.
22652 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22665 Allow copysignl PLT reference to be missing.
22666
5abe0682
RS
226672013-10-18 Richard Sandiford <richard@codesourcery.com>
22668 Joseph Myers <joseph@codesourcery.com
22669
22670 [BZ #15948]
22671 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22672 single character.
22673 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22674
c7738d08
SP
226752013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22676
22677 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22678 * elf/tst-tls1.c: Likewise.
22679 * elf/tst-tls10.h: Likewise.
22680 * elf/tst-tls14.c: Likewise.
22681 * elf/tst-tls2.c: Likewise.
22682 * elf/tst-tls3.c: Likewise.
22683 * elf/tst-tls4.c: Likewise.
22684 * elf/tst-tls5.c: Likewise.
22685 * elf/tst-tls6.c: Likewise.
22686 * elf/tst-tls7.c: Likewise.
22687 * elf/tst-tls8.c: Likewise.
22688 * elf/tst-tls9.c: Likewise.
22689 * elf/tst-tlsmod1.c: Likewise.
22690 * elf/tst-tlsmod13.c: Likewise.
22691 * elf/tst-tlsmod13a.c: Likewise.
22692 * elf/tst-tlsmod14a.c: Likewise.
22693 * elf/tst-tlsmod16a.c: Likewise.
22694 * elf/tst-tlsmod16b.c: Likewise.
22695 * elf/tst-tlsmod2.c: Likewise.
22696 * elf/tst-tlsmod3.c: Likewise.
22697 * elf/tst-tlsmod4.c: Likewise.
22698 * elf/tst-tlsmod5.c: Likewise.
22699 * elf/tst-tlsmod6.c: Likewise.
22700
0bfcf2c7
OB
227012013-10-18 Ondřej Bílka <neleai@seznam.cz>
22702
22703 [BZ #12486]
22704 * malloc/malloc.c: remove checks for statistics.
22705
264aad1e
OB
227062013-10-17 Ondřej Bílka <neleai@seznam.cz>
22707
22708 [BZ #15277]
22709 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22710 * inet/tst-network.c: Add testcase.
22711
b957ced8
AS
227122013-10-17 Andreas Schwab <schwab@suse.de>
22713
22714 [BZ #15218]
22715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22716 to determine canonical name.
22717
c5d5d574
OB
227182013-10-17 Ondřej Bílka <neleai@seznam.cz>
22719
22720 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22721 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22722 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22737 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22738 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22739 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22743 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22744 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22745 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22746 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22747 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22748 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22749 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22750 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22751 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22752 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22754 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22755 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22756 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22757 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22778
e5c2c2d0
JM
227792013-10-17 Joseph Myers <joseph@codesourcery.com>
22780
22781 [BZ #16041]
22782 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22783 make result into a quiet NaN.
22784
51ca9e29
JM
227852013-10-16 Joseph Myers <joseph@codesourcery.com>
22786
22787 * soft-fp/adddf3.c: Fix horizontal whitespace.
22788 * soft-fp/addsf3.c: Likewise.
22789 * soft-fp/addtf3.c: Likewise.
22790 * soft-fp/divdf3.c: Likewise.
22791 * soft-fp/divsf3.c: Likewise.
22792 * soft-fp/divtf3.c: Likewise.
22793 * soft-fp/double.h: Likewise.
22794 * soft-fp/eqdf2.c: Likewise.
22795 * soft-fp/eqsf2.c: Likewise.
22796 * soft-fp/eqtf2.c: Likewise.
22797 * soft-fp/extenddftf2.c: Likewise.
22798 * soft-fp/extended.h: Likewise.
22799 * soft-fp/extendsfdf2.c: Likewise.
22800 * soft-fp/extendsftf2.c: Likewise.
22801 * soft-fp/extendxftf2.c: Likewise.
22802 * soft-fp/fixdfdi.c: Likewise.
22803 * soft-fp/fixdfsi.c: Likewise.
22804 * soft-fp/fixdfti.c: Likewise.
22805 * soft-fp/fixsfdi.c: Likewise.
22806 * soft-fp/fixsfsi.c: Likewise.
22807 * soft-fp/fixsfti.c: Likewise.
22808 * soft-fp/fixtfdi.c: Likewise.
22809 * soft-fp/fixtfsi.c: Likewise.
22810 * soft-fp/fixtfti.c: Likewise.
22811 * soft-fp/fixunsdfdi.c: Likewise.
22812 * soft-fp/fixunsdfsi.c: Likewise.
22813 * soft-fp/fixunsdfti.c: Likewise.
22814 * soft-fp/fixunssfdi.c: Likewise.
22815 * soft-fp/fixunssfsi.c: Likewise.
22816 * soft-fp/fixunssfti.c: Likewise.
22817 * soft-fp/fixunstfdi.c: Likewise.
22818 * soft-fp/fixunstfsi.c: Likewise.
22819 * soft-fp/fixunstfti.c: Likewise.
22820 * soft-fp/floatdidf.c: Likewise.
22821 * soft-fp/floatdisf.c: Likewise.
22822 * soft-fp/floatditf.c: Likewise.
22823 * soft-fp/floatsidf.c: Likewise.
22824 * soft-fp/floatsisf.c: Likewise.
22825 * soft-fp/floatsitf.c: Likewise.
22826 * soft-fp/floattidf.c: Likewise.
22827 * soft-fp/floattisf.c: Likewise.
22828 * soft-fp/floattitf.c: Likewise.
22829 * soft-fp/floatundidf.c: Likewise.
22830 * soft-fp/floatundisf.c: Likewise.
22831 * soft-fp/floatunditf.c: Likewise.
22832 * soft-fp/floatunsidf.c: Likewise.
22833 * soft-fp/floatunsisf.c: Likewise.
22834 * soft-fp/floatunsitf.c: Likewise.
22835 * soft-fp/floatuntidf.c: Likewise.
22836 * soft-fp/floatuntisf.c: Likewise.
22837 * soft-fp/floatuntitf.c: Likewise.
22838 * soft-fp/fmadf4.c: Likewise.
22839 * soft-fp/fmasf4.c: Likewise.
22840 * soft-fp/fmatf4.c: Likewise.
22841 * soft-fp/gedf2.c: Likewise.
22842 * soft-fp/gesf2.c: Likewise.
22843 * soft-fp/getf2.c: Likewise.
22844 * soft-fp/ledf2.c: Likewise.
22845 * soft-fp/lesf2.c: Likewise.
22846 * soft-fp/letf2.c: Likewise.
22847 * soft-fp/muldf3.c: Likewise.
22848 * soft-fp/mulsf3.c: Likewise.
22849 * soft-fp/multf3.c: Likewise.
22850 * soft-fp/negdf2.c: Likewise.
22851 * soft-fp/negsf2.c: Likewise.
22852 * soft-fp/negtf2.c: Likewise.
22853 * soft-fp/op-1.h: Likewise.
22854 * soft-fp/op-2.h: Likewise.
22855 * soft-fp/op-4.h: Likewise.
22856 * soft-fp/op-8.h: Likewise.
22857 * soft-fp/op-common.h: Likewise.
22858 * soft-fp/quad.h: Likewise.
22859 * soft-fp/single.h: Likewise.
22860 * soft-fp/soft-fp.h: Likewise.
22861 * soft-fp/sqrtdf2.c: Likewise.
22862 * soft-fp/sqrtsf2.c: Likewise.
22863 * soft-fp/sqrttf2.c: Likewise.
22864 * soft-fp/subdf3.c: Likewise.
22865 * soft-fp/subsf3.c: Likewise.
22866 * soft-fp/subtf3.c: Likewise.
22867 * soft-fp/truncdfsf2.c: Likewise.
22868 * soft-fp/trunctfdf2.c: Likewise.
22869 * soft-fp/trunctfsf2.c: Likewise.
22870 * soft-fp/trunctfxf2.c: Likewise.
22871 * soft-fp/unorddf2.c: Likewise.
22872 * soft-fp/unordsf2.c: Likewise.
22873 * soft-fp/unordtf2.c: Likewise.
22874
9ebb0332
JM
228752013-10-15 Joseph Myers <joseph@codesourcery.com>
22876
22877 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22878 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22879
4b1a6d8b
OB
228802013-10-15 Ondřej Bílka <neleai@seznam.cz>
22881
22882 * elf/dl-libc.c: Clear initfini list after freeing.
22883
1e145589
JM
228842013-10-14 Joseph Myers <joseph@codesourcery.com>
22885
22886 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22887 * soft-fp/addsf3.c: Likewise.
22888 * soft-fp/addtf3.c: Likewise.
22889 * soft-fp/divdf3.c: Likewise.
22890 * soft-fp/divsf3.c: Likewise.
22891 * soft-fp/divtf3.c: Likewise.
22892 * soft-fp/double.h: Likewise.
22893 * soft-fp/eqdf2.c: Likewise.
22894 * soft-fp/eqsf2.c: Likewise.
22895 * soft-fp/eqtf2.c: Likewise.
22896 * soft-fp/extenddftf2.c: Likewise.
22897 * soft-fp/extended.h: Likewise.
22898 * soft-fp/extendsfdf2.c: Likewise.
22899 * soft-fp/extendsftf2.c: Likewise.
22900 * soft-fp/extendxftf2.c: Likewise.
22901 * soft-fp/fixdfdi.c: Likewise.
22902 * soft-fp/fixdfsi.c: Likewise.
22903 * soft-fp/fixdfti.c: Likewise.
22904 * soft-fp/fixsfdi.c: Likewise.
22905 * soft-fp/fixsfsi.c: Likewise.
22906 * soft-fp/fixsfti.c: Likewise.
22907 * soft-fp/fixtfdi.c: Likewise.
22908 * soft-fp/fixtfsi.c: Likewise.
22909 * soft-fp/fixtfti.c: Likewise.
22910 * soft-fp/fixunsdfdi.c: Likewise.
22911 * soft-fp/fixunsdfsi.c: Likewise.
22912 * soft-fp/fixunsdfti.c: Likewise.
22913 * soft-fp/fixunssfdi.c: Likewise.
22914 * soft-fp/fixunssfsi.c: Likewise.
22915 * soft-fp/fixunssfti.c: Likewise.
22916 * soft-fp/fixunstfdi.c: Likewise.
22917 * soft-fp/fixunstfsi.c: Likewise.
22918 * soft-fp/fixunstfti.c: Likewise.
22919 * soft-fp/floatdidf.c: Likewise.
22920 * soft-fp/floatdisf.c: Likewise.
22921 * soft-fp/floatditf.c: Likewise.
22922 * soft-fp/floatsidf.c: Likewise.
22923 * soft-fp/floatsisf.c: Likewise.
22924 * soft-fp/floatsitf.c: Likewise.
22925 * soft-fp/floattidf.c: Likewise.
22926 * soft-fp/floattisf.c: Likewise.
22927 * soft-fp/floattitf.c: Likewise.
22928 * soft-fp/floatundidf.c: Likewise.
22929 * soft-fp/floatundisf.c: Likewise.
22930 * soft-fp/floatunsidf.c: Likewise.
22931 * soft-fp/floatunsisf.c: Likewise.
22932 * soft-fp/floatuntidf.c: Likewise.
22933 * soft-fp/floatuntisf.c: Likewise.
22934 * soft-fp/floatuntitf.c: Likewise.
22935 * soft-fp/fmadf4.c: Likewise.
22936 * soft-fp/fmasf4.c: Likewise.
22937 * soft-fp/fmatf4.c: Likewise.
22938 * soft-fp/gedf2.c: Likewise.
22939 * soft-fp/gesf2.c: Likewise.
22940 * soft-fp/getf2.c: Likewise.
22941 * soft-fp/ledf2.c: Likewise.
22942 * soft-fp/lesf2.c: Likewise.
22943 * soft-fp/letf2.c: Likewise.
22944 * soft-fp/muldf3.c: Likewise.
22945 * soft-fp/mulsf3.c: Likewise.
22946 * soft-fp/multf3.c: Likewise.
22947 * soft-fp/negdf2.c: Likewise.
22948 * soft-fp/negsf2.c: Likewise.
22949 * soft-fp/negtf2.c: Likewise.
22950 * soft-fp/op-1.h: Likewise.
22951 * soft-fp/op-2.h: Likewise.
22952 * soft-fp/op-4.h: Likewise.
22953 * soft-fp/op-8.h: Likewise.
22954 * soft-fp/op-common.h: Likewise.
22955 * soft-fp/quad.h: Likewise.
22956 * soft-fp/single.h: Likewise.
22957 * soft-fp/soft-fp.h: Likewise.
22958 * soft-fp/sqrtdf2.c: Likewise.
22959 * soft-fp/sqrtsf2.c: Likewise.
22960 * soft-fp/sqrttf2.c: Likewise.
22961 * soft-fp/subdf3.c: Likewise.
22962 * soft-fp/subsf3.c: Likewise.
22963 * soft-fp/subtf3.c: Likewise.
22964 * soft-fp/truncdfsf2.c: Likewise.
22965 * soft-fp/trunctfdf2.c: Likewise.
22966 * soft-fp/trunctfsf2.c: Likewise.
22967 * soft-fp/trunctfxf2.c: Likewise.
22968 * soft-fp/unorddf2.c: Likewise.
22969 * soft-fp/unordsf2.c: Likewise.
22970 * soft-fp/unordtf2.c: Likewise.
22971
17c48a60
OB
229722013-10-14 Ondřej Bílka <neleai@seznam.cz>
22973
22974 [BZ #15672]
22975 * misc/error.c (error_tail): Fix possible buffer overflow.
22976
cabba934
OB
229772013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22978
22979 [BZ #13028]
22980 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22981 address.
22982
94bf958a
PM
229832013-10-14 P. J. McDermott <pj@pehjota.net>
22984
22985 [BZ #832]
22986 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22987 testing pipefail option.
22988
71b4dea7
JM
229892013-10-12 Joseph Myers <joseph@codesourcery.com>
22990
22991 * soft-fp/double.h: Indent preprocessor directives inside #if.
22992 * soft-fp/extended.h: Likewise.
22993 * soft-fp/op-2.h: Likewise.
22994 * soft-fp/op-4.h: Likewise.
22995 * soft-fp/op-common.h: Likewise.
22996 * soft-fp/quad.h: Likewise.
22997 * soft-fp/single.h: Likewise.
22998 * soft-fp/soft-fp.h: Likewise.
22999
55602758
YC
230002013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23001
23002 * iconv/iconv_prog.c: Fix typos.
23003 * stdio-common/psiginfo-data.h: Likewise.
23004
9cd83302
RT
230052013-10-12 Reuben Thomas <rrt@sc3d.org>
23006
23007 [BZ #15764]
23008 * locale/setlocale.c: Fix typo.
23009
99fd9f47
JM
230102013-10-12 Joseph Myers <joseph@codesourcery.com>
23011
b7ea74f0
JM
23012 [BZ #16036]
23013 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23014 signaling NaN arguments.
23015 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23016 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23017
8a509447
JM
23018 [BZ #14910]
23019 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23020 unordered operands.
23021 * soft-fp/gesf2.c (__gesf2): Likewise.
23022 * soft-fp/getf2.c (__getf2): Likewise.
23023 * soft-fp/ledf2.c (__ledf2): Likewise.
23024 * soft-fp/lesf2.c (__lesf2): Likewise.
23025 * soft-fp/letf2.c (__letf2): Likewise.
23026
98998e9f
JM
23027 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23028 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23029 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23030 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23031 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23032 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23033 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23034 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23035 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23036 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23037 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23038 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23039 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23040 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23041 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23042 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23043 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23044 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23045 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23046 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23047 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23048 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23049 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23050 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23051 * soft-fp/floattidf.c (__floattidf): Likewise.
23052 * soft-fp/floattisf.c (__floattisf): Likewise.
23053 * soft-fp/floattitf.c (__floattitf): Likewise.
23054 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23055 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23056 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23057 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23058 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23059 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23060 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23061 * soft-fp/gesf2.c (__gesf2): Likewise.
23062 * soft-fp/getf2.c (__getf2): Likewise.
23063 * soft-fp/ledf2.c (__ledf2): Likewise.
23064 * soft-fp/lesf2.c (__lesf2): Likewise.
23065 * soft-fp/letf2.c (__letf2): Likewise.
23066
8edc4a11
JM
23067 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23068 Undefine and redefine.
23069 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23070 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23071 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23072 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23073 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23074 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23075 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23076 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23077 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23078 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23079 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23080 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23081 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23082 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23083 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23084
8399acaf
JM
23085 [BZ #16032]
23086 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23087 without decrementing exponent if mantissa >= that for the
23088 denominator, not >.
23089 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23090 denominator, not >. Decrement exponent in < case instead of
23091 incrementing in >= case.
23092 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23093 without decrementing exponent if mantissa >= that for the
23094 denominator, not >.
23095
99fd9f47
JM
23096 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23097 computing saturated result for unsigned overflow.
23098
10e1cf6b
SP
230992013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23100 Jeff Law <law@redhat.com>
23101
23102 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23103 (atan2Mp): Add systemtap probe marker.
23104 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23105 (__ieee754_log): Add systemtap probe marker.
23106 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23107 (atanMp): Add systemtap probe marker.
23108 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23109 (tanMp): Add systemtap probe marker.
23110 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23111 (__slowexp): Add systemtap probe marker.
23112 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23113 (__slowpow): Add systemtap probe marker.
23114 * manual/probes.texi: Document probes.
23115
3d110c7c
EB
231162013-10-11 Eric Biggers <ebiggers3@gmail.com>
23117
23118 [BZ #15362]
23119 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23120 written.
23121 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23122 written.
23123 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23124 written to buffer but not flushed.
23125 * libio/iofwrite_u.c: Likewise.
23126 * libio/iopadn.c: Return bytes returned even if EOF was
23127 encountered.
23128 * libio/iowpadn.c: Likewise.
23129 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23130 if _IO_padn does not write the whole buffer.
23131 [!COMPILE_WPRINTF] (PAD): Likewise.
23132
75b4202a
DM
231332013-10-10 David S. Miller <davem@davemloft.net>
23134
23135 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23136 directory block.
23137
6c6352e6
JM
231382013-10-10 Joseph Myers <joseph@codesourcery.com>
23139
33b853c3
JM
23140 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23141 instead of FSF address.
23142 * soft-fp/fixdfti.c: Likewise.
23143 * soft-fp/fixsfti.c: Likewise.
23144 * soft-fp/fixtfti.c: Likewise.
23145 * soft-fp/fixunsdfti.c: Likewise.
23146 * soft-fp/fixunssfti.c: Likewise.
23147 * soft-fp/fixunstfti.c: Likewise.
23148 * soft-fp/floattidf.c: Likewise.
23149 * soft-fp/floattisf.c: Likewise.
23150 * soft-fp/floattitf.c: Likewise.
23151 * soft-fp/floatuntidf.c: Likewise.
23152 * soft-fp/floatuntisf.c: Likewise.
23153 * soft-fp/floatuntitf.c: Likewise.
23154 * soft-fp/trunctfxf2.c: Likewise.
23155
6c6352e6
JM
23156 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23157 * soft-fp/fixdfti.c: Likewise.
23158 * soft-fp/fixsfti.c: Likewise.
23159 * soft-fp/fixtfti.c: Likewise.
23160 * soft-fp/fixunsdfti.c: Likewise.
23161 * soft-fp/fixunssfti.c: Likewise.
23162 * soft-fp/fixunstfti.c: Likewise.
23163 * soft-fp/floattidf.c: Likewise.
23164 * soft-fp/floattisf.c: Likewise.
23165 * soft-fp/floattitf.c: Likewise.
23166 * soft-fp/floatuntidf.c: Likewise.
23167 * soft-fp/floatuntisf.c: Likewise.
23168 * soft-fp/floatuntitf.c: Likewise.
23169 * soft-fp/trunctfxf2.c: Likewise.
23170
3bf78b71
DM
231712013-10-10 David S. Miller <davem@davemloft.net>
23172
23173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23174
6f10289e
JM
231752013-10-10 Joseph Myers <joseph@codsourcery.com>
23176
bd878fc0
JM
23177 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23178 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23179 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23180 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23181 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23182 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23183 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23184
6f10289e
JM
23185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23186 for NaNs before doing comparisons on argument.
23187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23188 Likewise.
23189
321e2684
WN
231902013-10-10 Will Newton <will.newton@linaro.org>
23191
23192 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23193 passed to _int_memalign does not overflow.
23194
40fefba1
TR
231952013-10-10 Torvald Riegel <triegel@redhat.com>
23196
23197 * scripts/bench.pl: Add include-sources directive.
23198 * benchtests/README: Update documentation.
23199
2ae21ed2
JM
232002013-10-10 Joseph Myers <joseph@codesourcery.com>
23201
dcc2dd3f
JM
23202 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23203 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23204 instead of FP_INIT_ROUNDMODE.
23205 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23206 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23207
2ae21ed2
JM
23208 [BZ #16034]
23209 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23210 copy class of input value.
23211 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23212 not handle exceptions.
23213 * soft-fp/negsf2.c (__negsf2): Likewise.
23214 * soft-fp/negtf2.c (__negtf2): Likewise.
23215 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23216
cb8f9562
JM
232172013-10-09 Joseph Myers <joseph@codesourcery.com>
23218
23219 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23220 semicolon. From Linux kernel.
23221
5b60c59d
AB
232222013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23223
23224 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23225
b86835ca
YC
232262013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23227
23228 [BZ #156]
23229 * manual/socket.texi: Added statement about buffer
23230 for gethostbyname2_r.
23231
e7044ea7
OB
232322013-10-08 Ondřej Bílka <neleai@seznam.cz>
23233
23234 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23235 Use .p2align directive instead, throughout.
23236 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23237 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23238 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23239 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23241 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23242 * sysdeps/x86_64/strchr.S: Likewise.
23243 * sysdeps/x86_64/strrchr.S: Likewise.
23244
09544cbc
SP
232452013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23246
88576635
SP
23247 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23248
e7b2d1dd
SP
23249 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23250
09544cbc
SP
23251 * sysdeps/generic/math_private.h (__mpsin1): Remove
23252 declaration.
23253 (__mpcos1): Likewise.
23254 (__mpsin): New argument __range_reduce.
23255 (__mpcos): Likewise.
23256 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23257 (slow): Use __mpsin and __mpcos.
23258 (slow1): Likewise.
23259 (slow2): Likewise.
23260 (sloww): Likewise.
23261 (sloww1): Likewise.
23262 (sloww2): Likewise.
23263 (bsloww): Likewise.
23264 (bsloww1): Likewise.
23265 (bsloww2): Likewise.
23266 (cslow2): Likewise.
23267 (csloww): Likewise.
23268 (csloww1): Likewise.
23269 (csloww2): Likewise.
23270 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23271 range_reduce. Merge in __mpsin1.
23272 (__mpcos): Likewise.
23273 (__mpsin1): Remove.
23274 (__mpcos1): Likewise.
23275
7602d070
JM
232762013-10-07 Joseph Myers <joseph@codesourcery.com>
23277
23278 * locale/loadlocale.c (_nl_intern_locale_data): Use
23279 LOCFILE_ALIGNED_P.
23280 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23281 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23282 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23283 obstack data is appropriately aligned.
23284 (obstack_int32_grow_fast): Likewise.
23285 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23286 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23287 (add_locale_uint32_array): Likewise.
23288
a357259b
SP
232892013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23290
23291 * benchtests/Makefile: Remove ARGLIST and RET variables.
23292 ($(objpfx)bench-%.c): Pass only function name to the script.
23293 * benchtests/README: Update documentation.
23294 * benchtests/acos-inputs: Add new directives.
23295 * benchtests/acosh-inputs: Likewise.
23296 * benchtests/asin-inputs: Likewise.
23297 * benchtests/asinh-inputs: Likewise.
23298 * benchtests/atan-inputs: Likewise.
23299 * benchtests/atanh-inputs: Likewise.
23300 * benchtests/cos-inputs: Likewise.
23301 * benchtests/cosh-inputs: Likewise.
23302 * benchtests/exp-inputs: Likewise.
23303 * benchtests/log-inputs: Likewise.
23304 * benchtests/pow-inputs: Likewise.
23305 * benchtests/rint-inputs: Likewise.
23306 * benchtests/sin-inputs: Likewise.
23307 * benchtests/sinh-inputs: Likewise.
23308 * benchtests/tan-inputs: Likewise.
23309 * benchtests/tanh-inputs: Likewise.
23310 * scripts/bench.pl: Add support for new directives.
23311
9ec1b13d
AM
233122013-10-07 Alan Modra <amodra@gmail.com>
23313
23314 * README: Fix careless merge.
23315
8b7d57cd
AM
233162013-10-05 Alan Modra <amodra@gmail.com>
23317
23318 * NEWS: Mention powerpc64le support and bugs fixed.
23319 * README: Both big-endian and little-endian powerpc64 supported.
23320
7b7bab13
ST
233212013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23322
57f41c40
AS
23323 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23324 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
23325 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23326 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23327
d39baad1
RA
233282013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23329
23330 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23331 match prototype.
23332
cd78f7e7
JM
233332013-10-04 Joseph Myers <joseph@codesourcery.com>
23334
29d73d86
JM
23335 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23336 Move -mhard-float appending from
23337 ports/sysdeps/powerpc/powerpc32/Makefile.
23338 [$(with-fp) = yes] (ASFLAGS): Likewise.
23339 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23340 * sysdeps/powerpc/nofpu: Move directory from
23341 ports/sysdeps/powerpc/nofpu.
23342 * sysdeps/powerpc/soft-fp: Move directory from
23343 ports/sysdeps/powerpc/soft-fp.
23344 * sysdeps/powerpc/powerpc32/405: Move directory from
23345 ports/sysdeps/powerpc/powerpc32/405.
23346 * sysdeps/powerpc/powerpc32/440: Move directory from
23347 ports/sysdeps/powerpc/powerpc32/440.
23348 * sysdeps/powerpc/powerpc32/464: Move directory from
23349 ports/sysdeps/powerpc/powerpc32/464.
23350 * sysdeps/powerpc/powerpc32/476: Move directory from
23351 ports/sysdeps/powerpc/powerpc32/476.
23352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23353 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23362 * README: Update for powerpc-*-linux-gnu software floating point
23363 support in libc.
23364
e246b347
JM
23365 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23366 case to powerpc/powerpc32*.
23367 * sysdeps/unix/sysv/linux/configure: Regenerated.
23368
89c2003e
JM
23369 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23370 (_FPU_MASK_OM): Define as 0x04.
23371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23373 0x00c10080.
23374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23375 0x0000003c.
23376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23377
cd78f7e7
JM
23378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23379 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23380 getcontext_e500.
23381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23382 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23383 setcontext_e500.
23384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23385 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23386 and setcontext_e500.
23387
c755294d
CL
233882013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23389
23390 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23391
e16d221c
SP
233922013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23393
23394 * manual/threads.texi (Default Thread Attributes): Fix typo.
23395
215c7d43
WN
233962013-10-04 Will Newton <will.newton@linaro.org>
23397
23398 * malloc/Makefile: Add tst-memalign.
23399 * malloc/tst-memalign.c: New file.
23400
27d0461b
WN
23401 * malloc/tst-posix_memalign.c: Add comments.
23402 (do_test): Add comments and call free on all potentially
23403 allocated pointers. Add space after cast.
23404
1bc92709
WN
23405 * malloc/tst-pvalloc.c: Add comments.
23406 (do_test): Add comments and call free on all potentially
23407 allocated pointers. Remove duplicate check for NULL pointer.
23408 Add space after cast.
23409
66a9be9d
WN
23410 * malloc/tst-valloc.c: Add comments.
23411 (do_test): Add comments and call free on all potentially
23412 allocated pointers. Remove duplicate check for NULL pointer.
23413 Add space after cast.
23414
4cb81307
AM
234152013-10-04 Alan Modra <amodra@gmail.com>
23416
23417 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23418 Use stdint types in rather than __attribute__((mode())).
23419 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23420
f8e3e9f3
AM
234212013-10-04 Alan Modra <amodra@gmail.com>
23422
23423 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23424 Correct handling of unaligned relocs for little-endian.
23425 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23426
8f9ebb08
AM
234272013-10-04 Alan Modra <amodra@gmail.com>
23428
23429 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23430 * configure: Regenerate.
23431 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23432 * shlib-versions: Likewise.
23433
0edf96c2
AM
234342013-10-04 Alan Modra <amodra@gmail.com>
23435
23436 * string/tester.c (test_memrchr): Increment reported test cycle.
23437
e0f7a380
AM
234382013-10-04 Alan Modra <amodra@gmail.com>
23439
23440 * string/test-memcpy.c (do_one_test): When reporting errors, print
23441 string address and don't overrun end of string.
23442
466b0393
AM
234432013-10-04 Alan Modra <amodra@gmail.com>
23444
23445 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23446 insrdi. Make better use of reg selection to speed exit slightly.
23447 Schedule entry path a little better. Remove useless "are we done"
23448 checks on entry to main loop. Handle wrapping around zero address.
23449 Correct main loop count. Handle single left-over word from main
23450 loop inline rather than by using loop_small. Remove extra word
23451 case in loop_small caused by wrong loop count. Add little-endian
23452 support.
23453 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23454 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23455 cache hint.
23456 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23457 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23458 support. Avoid rlwimi.
23459 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23460
3be87c77
AM
234612013-10-04 Alan Modra <amodra@gmail.com>
23462
23463 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 23464 insrdi. Formatting.
3be87c77
AM
23465 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23466 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23467 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23468 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23469 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23470 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23471
759cfef3
AM
234722013-10-04 Alan Modra <amodra@gmail.com>
23473
23474 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23475 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23476 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23477 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23478 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23479 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23480 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23481 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23483 use of regs. Use power7 mtocrf. Tidy function tails.
23484
fe6e95d7
AM
234852013-10-04 Alan Modra <amodra@gmail.com>
23486
23487 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23488 Formatting. Consistently use rXXX register defines or rN defines.
23489 Use early exit labels that avoid restoring unused non-volatile regs.
23490 Make cr field use more consistent with rWORDn compares. Rename
23491 regs used as shift registers for unaligned loop, using rN defines
23492 for short lifetime/multiple use regs.
23493 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23495 addi 1,1,64 to pop stack frame. Simplify return value code.
23496 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23497
664318c3
AM
234982013-10-04 Alan Modra <amodra@gmail.com>
23499
23500 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23501 support. Correct typos, formatting. Optimize tail. Use insrdi
23502 rather than rlwimi.
23503 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23504 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23505 little-endian support. Correct typos.
23506 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23507 rather than rlwimi.
23508 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23509 in loop and entry code to keep "and." results.
23510 (strchr): Add little-endian support. Comment. Move cntlzd
23511 earlier in tail.
23512 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23513
43b84013
AM
235142013-10-04 Alan Modra <amodra@gmail.com>
23515
23516 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23517 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23518 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23519 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23520
8a7413f9
AM
235212013-10-04 Alan Modra <amodra@gmail.com>
23522
23523 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23524 (rTMP): Define as r11.
23525 (strcmp): Add little-endian support. Optimise tail.
23526 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23527 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23528 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23529 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23530 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23531 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23532 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23533
33ee81de
AM
235342013-10-04 Alan Modra <amodra@gmail.com>
23535
23536 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23537 little-endian support. Remove unnecessary "are we done" tests.
23538 Handle "s" wrapping around zero and extremely large "size".
23539 Correct main loop count. Handle single left-over word from main
23540 loop inline rather than by using small_loop. Correct comments.
23541 Delete "zero" tail, use "end_max" instead.
23542 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23543
db9b4570
AM
235442013-10-04 Alan Modra <amodra@gmail.com>
23545
23546 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23547 support. Don't branch over align.
23548 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23549 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23550 support. Rearrange tmp reg use to suit. Comment.
23551 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23552
f7c399cf
AM
235532013-10-04 Alan Modra <amodra@gmail.com>
23554
23555 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23556
0b2c2ace
AM
235572013-10-04 Alan Modra <amodra@gmail.com>
23558
23559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23560 conditional form of branch and link when obtaining pc.
23561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23562
02f04a6c
AM
235632013-10-04 Alan Modra <amodra@gmail.com>
23564
23565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23566 HIWORD/LOWORD.
23567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23569
9b874b2f
AM
235702013-10-04 Alan Modra <amodra@gmail.com>
23571
23572 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23573 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23574 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23575 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23576 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23577 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23578 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23579 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23580 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23581 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23582
be1e5d31
AB
235832013-10-04 Anton Blanchard <anton@au1.ibm.com>
23584 Alistair Popple <alistair@ozlabs.au.ibm.com>
23585 Alan Modra <amodra@gmail.com>
23586
23587 [BZ #15723]
23588 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23589 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23590 _dl_hwcap access for little-endian.
23591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23592 destroy vmx regs when saving unaligned.
23593 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23594 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
23595 destroy vmx regs when saving unaligned.
23596
fef13a78
AM
235972013-10-04 Alan Modra <amodra@gmail.com>
23598
23599 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23600 Don't use a union to pack hi/low value.
23601
76a66d51
AB
236022013-10-04 Anton Blanchard <anton@au1.ibm.com>
23603
23604 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23605 for little-endian.
23606 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23607 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23608 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23609 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23610 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23611
6a31fe7f
AM
236122013-10-04 Alan Modra <amodra@gmail.com>
23613
23614 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23615 constants to usual value for .cst8 section, and remove redundant
23616 high address load.
23617 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23618 constant for 0x1p52. Load little-endian words of double from
23619 correct stack offsets.
23620
7b88401f
AM
236212013-10-04 Alan Modra <amodra@gmail.com>
23622
23623 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23624 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23625 words of double from correct stack offsets.
23626 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23627 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23628 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23630 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23632 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23633 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23634 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23636 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23637 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23638 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23639 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23640 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23641 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23642 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23643
9c008155
AM
236442013-10-04 Alan Modra <amodra@gmail.com>
23645
23646 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23647 64-bit int/double union.
23648 (_FPU_SETCW): Likewise.
23649 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23650 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23651
da13146d
AM
236522013-10-04 Alan Modra <amodra@gmail.com>
23653
23654 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23655 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23656
603e8410
AM
236572013-10-04 Alan Modra <amodra@gmail.com>
23658
23659 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23660 use vector int constants.
23661 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23662
4a28b3ca
AB
236632013-10-04 Anton Blanchard <anton@au1.ibm.com>
23664
23665 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23666 array with long long.
23667 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23668 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23669 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23670 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23671 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23672 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23673 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23674 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23675 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23676 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23677 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23678 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23679 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23680
2ca85d2b
AB
236812013-10-04 Anton Blanchard <anton@au1.ibm.com>
23682
23683 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23684 (__signbit): Likewise. Correct for little-endian.
23685 (__signbitl): Call __signbit.
23686 (lrint): Correct for little-endian.
23687 (lrintf): Call lrint.
23688
62a728ae
AM
236892013-10-04 Alan Modra <amodra@gmail.com>
23690
23691 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23692 union 32-bit int array member with 64-bit int array.
23693 (t515, tm256): Double rather than long double.
23694 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23695
32c301df
AM
236962013-10-04 Alan Modra <amodra@gmail.com>
23697
23698 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23699 Delete.
23700 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23701 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23702 version of math_ldbl.h.
23703
650ef4bd
AM
237042013-10-04 Alan Modra <amodra@gmail.com>
23705
23706 [BZ #15734], [BZ #15735]
23707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23708 all uses of ieee875 long double macros and unions. Simplify test
23709 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23710 ldbl_extract_mantissa value for ix,iy exponents. Properly
23711 normalize after ldbl_extract_mantissa, and don't add hidden bit
23712 already handled. Don't treat low word of ieee854 mantissa like
23713 low word of IBM long double and mask off bit when testing for
23714 zero.
23715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23716 all uses of ieee875 long double macros and unions. Simplify tests
23717 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23718 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23719 two1022, instead use their values. Recognise that tests for large
23720 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23722 Rewrite all uses of ieee875 long double macros and unions. Simplify
23723 test for 0.0L and nan. Correct negation.
23724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23725 ieee875 long double macros and unions. Correct output for large
23726 magnitude x. Correct absolute value calculation.
23727 (__erfcl): Likewise.
23728 * math/libm-test.inc: Add tests for errors discovered in IBM long
23729 double versions of fmodl, remainderl, erfl and erfcl.
23730
765714ca
AM
237312013-10-04 Alan Modra <amodra@gmail.com>
23732
23733 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23734 all uses of ieee854 long double macros and unions. Simplify tests
23735 for long doubles that are fully specified by the high double.
23736 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23737 Likewise.
23738 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23739 Remove dead code too.
23740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23741 (__ieee754_ynl): Likewise.
23742 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23743 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23745 Remove dead code too.
23746 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23747 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23750 Simplify.
23751 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23752 Simplify.
23753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23754 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23755 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23756 Comment on variable precision.
23757 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23759 Likewise.
23760 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23763 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23764 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23765
4ebd120c
AM
237662013-10-04 Alan Modra <amodra@gmail.com>
23767
23768 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23769 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23770 all uses of ieee854 long double macros and unions.
23771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23773 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23774 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23775 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23776 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23777 Likewise.
23778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23779 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23780 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23781 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23782 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23783 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23784 Simplify sign and nan test too.
23785 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23786 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23787 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23788 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23789 Likewise.
23790 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23791 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23792 Likewise.
23793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23794 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23795 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23796 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23797 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23798 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23799
1b6adf88
AM
238002013-10-04 Alan Modra <amodra@gmail.com>
23801
23802 * stdio-common/printf_size.c (__printf_size): Don't use
23803 union ieee854_long_double in fpnum union.
23804 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23805 signbit macro to retrieve sign from long double.
23806 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23807 retrieve sign from long double.
23808 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23809 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23810 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23811 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23812 * math/test-misc.c (main): Don't use union ieee854_long_double.
23813
4cf69995
AM
238142013-10-04 Alan Modra <amodra@gmail.com>
23815
23816 [BZ #15680]
23817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23818 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23819 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23820 calculation. Remove unnecessary test for denormal exponent.
23821 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23822 Correct handling of denormals. Avoid undefined shift behaviour.
23823 Correct normalisation of low mantissa when low double is denormal.
23824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23825 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23826 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23827 Correct normalisation of low mantissa. Test for overflow of high
23828 mantissa and normalise.
23829 (ldbl_nearbyint): Use more readable constant for two52.
23830 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23831 (__mpn_construct_long_double): Fix test for overflow of high
23832 mantissa and correct normalisation. Avoid undefined shift.
23833
9605ca6c
AM
238342013-10-04 Alan Modra <amodra@gmail.com>
23835
23836 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23837 (union ibm_extended_long_double): Define as an array of ieee754_double.
23838 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23839 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23840 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23841 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23842 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23843 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23844 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23845 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23846 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23847 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23848 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23849
975569d0
JM
238502013-10-03 Joseph Myers <joseph@codesourcery.com>
23851
d3d23756
JM
23852 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23853 page size instead of calling getpagesize.
23854
975569d0
JM
23855 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23856 (LOCFILE_ALIGN_MASK): Likewise.
23857 (LOCFILE_ALIGN_UP): Likewise.
23858 (LOCFILE_ALIGNED_P): Likewise.
23859 * locale/programs/ld-collate.c (collate_output): Use the new
23860 macros instead of __alignof__ (int32_t).
23861 * locale/weight.h (findidx): Likewise.
23862
b1fe1f2b
OB
238632013-10-03 Ondřej Bílka <neleai@seznam.cz>
23864
23865 [BZ #431]
23866 * manual/string.texi: Fix strncat and wcsncat.
23867
5f855e35
BM
238682013-10-03 Brooks Moses <bmoses@google.com>
23869
23870 [BZ #15915]
23871 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23872 * Makerules: ...here, and adjust associated comments.
23873
3cef6009
WN
238742013-10-02 Will Newton <will.newton@linaro.org>
23875
23876 * malloc/Makefile: Add tst-pvalloc.
23877 * malloc/tst-pvalloc.c: New file.
23878
7815420b
WN
238792013-10-02 Will Newton <will.newton@linaro.org>
23880
23881 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23882 improve test coverage.
23883
4868b204
WN
238842013-10-02 Will Newton <will.newton@linaro.org>
23885
23886 * malloc/Makefile: Add tst-posix_memalign.
23887 * malloc/tst-posix_memalign.c: New file.
23888
29c793b3
EB
238892013-10-01 Eric Blake <eblake@redhat.com>
23890
23891 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23892 Use __THROWNL rather than __THROW on static functions.
23893
fd967522
PM
238942013-09-30 Petr Machata <pmachata@redhat.com>
23895
23896 * elf/elf.h (R_AARCH64_ABS16): New macro.
23897 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23898 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23899 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23900 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23901 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23902 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23903 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23904 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23905 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23906 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23907 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23908 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23909 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23910 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23911 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23912 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23913 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23914 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23915 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23916 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23917 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23918 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23919 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23920 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23921 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23922 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23923 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23924 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23925 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23926 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23927 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23928 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23929 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23930 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23931 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23932 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23933 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23934 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23935 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23936 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23937 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23938 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23939 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23940 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23941 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23942 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23943 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23944 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23945 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23946 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23947 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23948 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23949 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23950 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23951 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23952 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23953 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23954 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23955 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23956 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23957 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23958 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23959 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23960 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23961 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23962 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23963 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23964 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23965 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23966 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23967 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23968 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23969 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23970 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23971 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23972 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23973 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23974 (R_AARCH64_TLSDESC_LDR): Likewise.
23975 (R_AARCH64_TLSDESC_ADD): Likewise.
23976 (R_AARCH64_TLSDESC_CALL): Likewise.
23977
b2179107
AS
239782013-09-30 Andreas Schwab <schwab@suse.de>
23979
23980 [BZ #15048]
23981 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23982 the nss database lookup.
23983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23985
47f28d0a
MF
239862013-09-28 Mike Frysinger <vapier@gentoo.org>
23987
23988 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23989
239902013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23991
23992 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23993 ${Bash-specific parameter/pattern/string} parameter expansion.
23994 * sysdeps/unix/make-syscalls.sh: Likewise.
23995
f4518a17
KK
239962013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23997
23998 * sysdeps/sh/stackguard-macros.h: New file.
23999
dc1a95c7
OB
240002013-09-26 Ondřej Bílka <neleai@seznam.cz>
24001
24002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24004 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24005 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24007 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24008
5ebbff8f
AZ
240092013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24010
24011 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24012 Fix thread ID register.
24013
4fd2cf9f
JM
240142013-09-25 Joseph Myers <joseph@codesourcery.com>
24015
24016 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24017 [POSIX || UNIX98]: Require rather than permitting all symbols from
24018 <time.h>.
24019 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24020 element of struct sched_param.
24021 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24022 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24023 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24024 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24025 constant.
24026
12c22bc4
OL
240272013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24028
24029 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24030 argument calculation.
24031
a03d8ea7
JM
240322013-09-24 Joseph Myers <joseph@codesourcery.com>
24033
24034 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24035 Expect macro.
24036 [POSIX] (pthread_attr_t): Do not require type.
24037 [POSIX] (pthread_cond_t): Likewise.
24038 [POSIX] (pthread_condattr_t): Likewise.
24039 [POSIX] (pthread_key_t): Likewise.
24040 [POSIX] (pthread_mutex_t): Likewise.
24041 [POSIX] (pthread_mutexattr_t): Likewise.
24042 [POSIX] (pthread_once_t): Likewise.
24043 [POSIX] (pthread_t): Likewise.
24044 [POSIX-based standards] (pthread_atfork): Expect function.
24045
6055173a
JM
240462013-09-24 Joseph Myers <joseph@codesourcery.com>
24047 Richard Sandiford <richard@codesourcery.com>
24048
24049 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24050 (swap_endianness_p): New extern variable.
24051 (set_big_endian): New inline function.
24052 (maybe_swap_uint32): Likewise.
24053 (maybe_swap_uint32_array): Likewise.
24054 (maybe_swap_uint32_obstack): Likewise.
24055 * locale/programs/locfile.c: Include <stdbool.h>.
24056 (swap_endianness_p): New variable.
24057 (add_locale_uint32): Call maybe_swap_uint32.
24058 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24059 (write_locale_data): Call maybe_swap_uint32_array.
24060 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24061 maybe_swap_uint32.
24062 (obstack_int32_grow_fast): Likewise.
24063 (output_weightwc): Call maybe_swap_uint32_obstack.
24064 (collate_output): Likewise.
24065 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24066 (OPT_LITTLE_ENDIAN): Likewise.
24067 (options): Add --little-endian and --big-endian options.
24068 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24069 * locale/programs/locarchive.c: Include "locfile.h".
24070 (GET): New macro.
24071 (SET): Likewise.
24072 (INC): Likewise.
24073 (create_archive): Use the new macros to access fields of
24074 structures directly mapped from or written to locale archives.
24075 (oldlocrecentcmp): Likewise.
24076 (enlarge_archive): Likewise.
24077 (insert_name): Likewise.
24078 (add_alias): Likewise.
24079 (add_locale): Likewise.
24080 (delete_locales_from_archive): Likewise.
24081 (show_archive_content): Likewise.
24082 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24083 locale data.
24084
39bf0bb4
RM
240852013-09-24 Roland McGrath <roland@hack.frob.com>
24086
24087 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24088 http://www.gnu.org/doc/freemanuals.texi.
24089 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24090
f02eed10
WN
240912013-09-24 Will Newton <will.newton@linaro.org>
24092
24093 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24094 macro.
24095
a3a6c312
JM
240962013-09-23 Joseph Myers <joseph@codesourcery.com>
24097
24098 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24099 unsigned char.
24100
107375ac
MR
241012013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24102
24103 * manual/threads.texi (POSIX Threads): Fix a typo.
24104
141f3a77
SP
241052013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24106
303e567a
SP
24107 [BZ #14547]
24108 * string/tst-strcoll-overflow.c: New test case.
24109 * string/Makefile (xtests): Add tst-strcoll-overflow.
24110 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24111 cache if string sizes may cause integer overflow.
24112
141f3a77
SP
24113 [BZ #14547]
24114 * string/strcoll_l.c (coll_seq): New members rule, idx,
24115 save_idx and back_us.
24116 (get_next_seq_nocache): New function.
24117 (do_compare_nocache): New function.
24118 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24119 when malloc fails.
24120
c61b4d41
CD
241212013-09-23 Carlos O'Donell <carlos@redhat.com>
24122
0b1f8e35
CD
24123 [BZ #15754]
24124 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24125 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24126 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24127
c61b4d41
CD
24128 [BZ #15754]
24129 * elf/Makefile (tests): Add tst-ptrguard1.
24130 (tests-static): Add tst-ptrguard1-static.
24131 (tst-ptrguard1-ARGS): Define.
24132 (tst-ptrguard1-static-ARGS): Define.
24133 * elf/tst-ptrguard1.c: New file.
24134 * elf/tst-ptrguard1-static.c: New file.
24135 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24136 * sysdeps/i386/stackguard-macros.h: Likewise.
24137 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24138 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24139 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24140 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24141 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24142 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24143
241442013-09-23 Hector Marco <hecmargi@upv.es>
24145 Ismael Ripoll <iripoll@disca.upv.es>
24146 Carlos O'Donell <carlos@redhat.com>
24147
24148 [BZ #15754]
24149 * sysdeps/generic/stackguard-macros.h: Define
24150 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24151 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24152 Define __pointer_chk_guard_local.
24153 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24154 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24155
f5f4e7b4
VV
241562013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24157
24158 [BZ #15859]
24159 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24160
5bb43a43
AS
241612013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24162
24163 * include/string.h (__ffs): Declare as hidden.
24164 * string/ffs.c (__ffs): Define as hidden.
24165 * sysdeps/i386/ffs.c (__ffs): Likewise.
24166 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24167 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24168 * sysdeps/s390/ffs.c (__ffs): Likewise.
24169 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24170
3ea5be54
AO
241712013-09-20 Alexandre Oliva <aoliva@redhat.com>
24172
ffb89e53
AO
24173 * NEWS: Mention malloc probes.
24174
322dea08
AO
24175 * malloc/arena.c (new_heap): New memory_heap_new probe.
24176 (grow_heap): New memory_heap_more probe.
24177 (shrink_heap): New memory_heap_less probe.
24178 (heap_trim): New memory_heap_free probe.
24179 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24180 (systrim): New memory_sbrk_less probe.
24181 * manual/probes.texi: Document them.
24182
655673f3
AO
24183 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24184 * manual/probes.texi: Document it.
24185
35fed6f1
AO
24186 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24187 (__libc_realloc): Add memory_realloc_retry probe.
24188 (__libc_memalign): Add memory_memalign_retry probe.
24189 (__libc_valloc): Add memory_valloc_retry probe.
24190 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24191 (__libc_calloc): Add memory_calloc_retry probe.
24192 * manual/probes.texi: Document them.
24193
6999d38c
AO
24194 * malloc/arena.c (get_free_list): Add probe
24195 memory_arena_reuse_free_list.
24196 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24197 and memory_arena_reuse.
24198 (arena_get2) [!PER_THREAD]: Likewise.
24199 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24200 memory_arena_reuse_realloc.
24201 * manual/probes.texi: Document them.
24202
0653427f
AO
24203 * malloc/malloc.c (__libc_free): Add
24204 memory_mallopt_free_dyn_thresholds probe.
24205 (__libc_mallopt): Add multiple memory_mallopt probes.
24206 * manual/probes.texi: Document them.
24207
3ea5be54
AO
24208 * malloc/malloc.c: Include stap-probe.h.
24209 (__libc_mallopt): Add memory_mallopt probe.
24210 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24211 * manual/probes.texi: New.
24212 * manual/Makefile (chapters): Add probes.
24213 * manual/threads.texi: Set next node.
24214
e35696c3 242152013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 24216
e35696c3
CL
24217 [BZ #15963, #13985]
24218 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24219 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24220 Add `Chinese' to `nan' entry name.
24221
4aafb73c
SP
242222013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24223
24224 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24225 (POLYNOMIAL): Likewise.
24226 (TAYLOR_SINCOS): Likewise.
24227 (TAYLOR_SLOW): Likewise.
24228 (__sin): Use TAYLOR_SINCOS.
24229 (__cos): Likewise.
24230 (slow): Use TAYLOR_SLOW.
24231 (sloww): Likewise.
24232 (bsloww): Likewise.
24233 (csloww): Likewise.
24234
d84f25c7
LD
242352013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24236
24237 * stdlib/strtod_l.c: Fix buffer overrun.
24238
5eea0404
SP
242392013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24240
7849ff93
SP
24241 * benchtests/Makefile (bench): Add sincos.
24242 * benchtests/bench-sincos.c: New file.
24243
cfa3c886
SP
24244 * math/libm-test.inc (cos_test_data): New test inputs.
24245 (sin_test_data): Likewise.
24246
b348e1e3
SP
24247 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24248 macro.
24249 (__sin): Use it.
24250 (__cos): Likewise.
24251 (slow1): Likewise.
24252 (slow2): Likewise.
24253 (sloww1): Likewise.
24254 (sloww2): Likewise.
24255 (bsloww1): Likewise.
24256 (bsloww2): Likewise.
24257 (cslow2): Likewise.
24258 (csloww1): Likewise.
24259 (csloww2): Likewise.
24260
6cce25f8
SP
24261 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24262 function.
24263 (__sin): Use it.
24264 (__cos): Likewise.
24265
5eea0404
SP
24266 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24267 gotos.
24268 (__cos): Likewise.
24269
9c21573c
MR
242702013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24271
24272 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24273 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24274 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24275 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24276 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24277 * elf/cache.c (print_entry): Handle the new cache flags.
24278
24d22e65
JM
242792013-09-18 Joseph Myers <joseph@codesourcery.com>
24280 Aldy Hernandez <aldyh@redhat.com>
24281
24282 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24283 Change condition to [_SOFT_FLOAT].
24284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24296 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24299 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24300 declaration.
24301
d13ef066
JM
243022013-09-18 Joseph Myers <joseph@codesourcery.com>
24303
2e071de0
JM
24304 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24305 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24306 (__longjmp): Use LOAD_GP to load saved GPRs.
24307 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24308 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24309 (__sigsetjmp): Use SAVE_GP to save GPRs.
24310
d13ef066
JM
24311 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24312 Do not append -msoft-float.
24313 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24314
97a0650b
SP
243152013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24316
24317 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24318
11ca09e9
JM
243192013-09-17 Joseph Myers <joseph@codesourcery.com>
24320
24321 [BZ #15966]
24322 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24323 (_FPU_GETCW): Use initial "__" on variable and field names but not
24324 on macro parameter name.
24325 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24326 parentheses around reference to macro parameter.
24327
08ffcf34
RS
243282013-09-13 Richard Sandiford <richard@codesourcery.com>
24329
24330 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24331 prototype.
24332 (ctype_startup): Use uint32_t in cast and sizeof for
24333 ctype->charnames.
24334
ae7080d3
JL
243352013-09-11 Jia Liu <proljc@gmail.com>
24336
24337 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24338 __daddr_t_defined.
24339 [__FreeBSD__]: Likewise.
24340
5905e7b3
OB
243412013-09-11 Ondřej Bílka <neleai@seznam.cz>
24342
24343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24344 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24345 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24346 (strchr): Remove __strchr_sse42 ifunc selection.
24347 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24348 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24349
b987c776
WN
243502013-09-11 Will Newton <will.newton@linaro.org>
24351
24352 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24353 parameter to RES. Remove hardcoded 1000 value.
24354 * benchtests/bench-skeleton.c (main): Pass RES parameter
24355 to TIMING_INIT and multiply result by 1000.
24356
ddf985af
AZ
243572013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24358
24359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24360
ffdd3181
AS
243612013-09-11 Andreas Schwab <schwab@suse.de>
24362
24363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24364 if not defined.
24365 (O_TMPFILE) [__USE_GNU]: Define.
24366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24367 Define.
24368
b73ed247
WN
243692013-09-11 Will Newton <will.newton@linaro.org>
24370
24371 [BZ #15857]
24372 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24373 does not overflow.
24374
55e17aad
WN
243752013-09-11 Will Newton <will.newton@linaro.org>
24376
24377 [BZ #15856]
24378 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24379 does not overflow.
24380
1159a193
WN
243812013-09-11 Will Newton <will.newton@linaro.org>
24382
24383 [BZ #15855]
24384 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24385 does not overflow.
24386
5905e7b3 243872013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
24388
24389 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24390 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24391 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24392 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24393 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24394
cdfc721b
AM
243952013-09-10 Allan McRae <allan@archlinux.org>
24396
aa04af00
AM
24397 [BZ #15748]
24398 * manual/arith.texi (Parsing of Floats): Clarify
24399 cross-reference.
24400
cdfc721b
AM
24401 [BZ #15849]
24402 * manual/install.texi (Running make install): Mention
24403 --enable-pt-chown.
24404 * INSTALL: Regenerated.
24405
95e7cf29
MR
244062013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24407
24408 * csu/init-first.c (_init): Remove the !SHARED condition around
24409 FPU control word initialization.
24410 * elf/dl-support.c (_dl_fpu_control): New variable.
24411 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24412 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24413 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24414 * math/test-fpucw-static.c: New file.
24415 * math/test-fpucw-ieee.c: New file.
24416 * math/test-fpucw-ieee-static.c: New file.
24417 * math/Makefile (tests): Add `test-fpucw-ieee' and
24418 `$(tests-static)'.
24419 (tests-static): New variable.
24420 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24421 dependency to...
24422 [($(build-shared),yes)]
24423 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24424 ... this.
24425 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24426 New dependency.
24427
83e43bf0
AM
244282013-09-09 Allan McRae <allan@archlinux.org>
24429
a9f5ce09
AM
24430 [BZ #15939]
24431 * manual/string.texi (Collation Functions): Fix typo in
24432 strcoll example.
24433 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24434
34829bc2
AM
24435 [BZ #15893]
24436 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24437
3932737d
AM
24438 [BZ #15892]
24439 * libio/memstream.c (open_memstream): Fix memory leak.
24440 * libio/wmemstream.c (open_wmemstream): Likewise.
24441
83e43bf0
AM
24442 [BZ #15895]
24443 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24444
0c66b8e9
WN
244452013-09-09 Will Newton <will.newton@linaro.org>
24446
24447 * malloc/Makefile: Add tst-realloc to tests.
24448 * malloc/tst-realloc.c: New file.
24449
f6b00fd1
AM
244502013-09-09 Allan McRae <allan@archlinux.org>
24451
24452 [BZ #15844]
24453 * COPYING: Update from GNU website to fix FSF address.
24454 * COPYING.LIB: Likewise.
24455
eec55e16
DM
244562013-09-06 David S. Miller <davem@davemloft.net>
24457
24458 * po/zh_TW.po: Update Chinese (traditional) translation from
24459 translation project.
24460
1ecbb381
RS
244612013-09-06 Richard Sandiford <richard@codesourcery.com>
24462 Joseph Myers <joseph@codesourcery.com>
24463
24464 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24465 "localeinfo.h".
24466 (obstack_chunk_alloc): New macro.
24467 (obstack_chunk_free): Likewise.
24468 (record_offset): New function.
24469 (init_locale_data): Likewise.
24470 (align_locale_data): Likewise.
24471 (add_locale_empty): Likewise.
24472 (add_locale_raw_data): Likewise.
24473 (add_locale_raw_obstack): Likewise.
24474 (add_locale_string): Likewise.
24475 (add_locale_wstring): Likewise.
24476 (add_locale_uint32): Likewise.
24477 (add_locale_uint32_array): Likewise.
24478 (add_locale_char): Likewise.
24479 (start_locale_structure): Likewise.
24480 (end_locale_structure): Likewise.
24481 (start_locale_prelude): Likewise.
24482 (end_locale_prelude): Likewise.
24483 (write_locale_data): Take locale_file structure rather than an
24484 iovec.
24485 * locale/programs/locfile.h: Include "obstack.h".
24486 (struct locale_file): Change to store locale file contents instead
24487 of header.
24488 (init_locale_data): New prototype.
24489 (align_locale_data): Likewise.
24490 (add_locale_empty): Likewise.
24491 (add_locale_raw_data): Likewise.
24492 (add_locale_raw_obstack): Likewise.
24493 (add_locale_string): Likewise.
24494 (add_locale_wstring): Likewise.
24495 (add_locale_uint32): Likewise.
24496 (add_locale_uint32_array): Likewise.
24497 (add_locale_char): Likewise.
24498 (start_locale_structure): Likewise.
24499 (end_locale_structure): Likewise.
24500 (start_locale_prelude): Likewise.
24501 (end_locale_prelude): Likewise.
24502 (write_locale_data): Update prototype.
24503 * locale/programs/3level.h (struct TABLE): Remove result field.
24504 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24505 Use new locale_file interface.
24506 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24507 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24508 * locale/programs/ld-address.c (address_output): Use new
24509 locale_file interface.
24510 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24511 NO_ADD_LOCALE.
24512 (collate_finish): Don't call collseq_table_finalize.
24513 (collate_output): Use new locale_file interface.
24514 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24515 in file.
24516 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24517 (TABLE): Move defines earlier in file.
24518 (ELEMENT): Likewise.
24519 (DEFAULT): Likewise.
24520 (wctrans_table_add): Move macro and inline function earlier in
24521 file.
24522 (struct wctype_table): Move type earlier in file.
24523 (add_locale_wctype_table): New static prototype.
24524 (struct locale_ctype_t): Use logical types instead of struct iovec
24525 pointers for members.
24526 (ctype_output): Use new locale_file interface.
24527 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24528 new locale_file interface.
24529 (allocate_arrays): Update for use of new locale_file interface.
24530 * locale/programs/ld-identification.c (identification_output): Use
24531 new locale_file interface.
24532 * locale/programs/ld-measurement.c (measurement_output): Likewise.
24533 * locale/programs/ld-messages.c (messages_output): Likewise.
24534 * locale/programs/ld-monetary.c (monetary_output): Likewise.
24535 * locale/programs/ld-name.c (name_output): Likewise.
24536 * locale/programs/ld-numeric.c (numeric_output): Likewise.
24537 * locale/programs/ld-paper.c (paper_output): Likewise.
24538 * locale/programs/ld-telephone.c (telephone_output): Likewise.
24539 * locale/programs/ld-time.c (time_output): Likewise.
24540
e029e2e5
AZ
245412013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24542
24543 * benchtests/Makefile: Add memrchr benchmark.
24544 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24545 benchmark as memrchr.
24546 * benchtests/bench-memrchr-ifunc.c: New file.
24547 * benchtests/bench-memrchr.c: New file.
24548
bbf6e8e4
WN
245492013-09-06 Will Newton <will.newton@linaro.org>
24550
24551 * benchtests/Makefile (string-bench): Add memcpy.
24552
6c82a2f8
CD
245532013-09-05 Carlos O'Donell <carlos@redhat.com>
24554 Cong Wang <amwang@redhat.com>
24555
e732c5f0 24556 [BZ #15850]
6c82a2f8
CD
24557 * sysdeps/unix/sysv/linux/bits/in.h
24558 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24559 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24560 before __USE_KERNEL_IPV6_DEFS uses.
24561 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24562 IPPROTO_BEETPH.
24563 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24564 sockaddr_in6, or ipv6_mreq.
24565
5430fc65
AZ
245662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24567
24568 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24569 memory access for final bytes in some large inputs.
24570 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24571
4660856c
AZ
245722013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24573
24574 * string/test-memrchr.c: New file.
24575 * string/test-memrchr-ifunc.c: New file.
24576 * string/Makefile: Add new memrchr testcase.
24577
bb8ea713
MF
245782013-09-05 Mike Frysinger <vapier@gentoo.org>
24579
24580 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24581 fanotify_init returns EPERM.
24582
b92a20b5
JM
245832013-09-04 Joseph Myers <joseph@codesourcery.com>
24584
24585 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24586 errors.
24587 (top level): Treat second token from macro or constant entries for
24588 allowed headers as allowed.
24589 * include/complex.h: Condition internal declarations on
24590 [!_ISOMAC].
24591 * include/fenv.h: Condition include of <stdbool.h> and internal
24592 declarations on [!_ISOMAC].
7447ccd9
CL
24593
245942013-09-04 Chris Leonard <cjl@sugarlabs,.org>
24595
3e181dda 24596 [BZ #15923]
7447ccd9
CL
24597 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24598
3f2e46a4
JM
245992013-09-04 Joseph Myers <joseph@codesourcery.com>
24600
24601 * configure.in (--enable-versioning): Remove configure option.
24602 (libc_cv_asm_symver_directive): Remove configure test.
24603 (libc_cv_ld_version_script_option): Likewise.
24604 (VERSIONING): Remove variable and AC_SUBST.
24605 (DO_VERSIONING): Remove AC_DEFINE.
24606 * configure: Regenerated.
24607 * config.h.in (DO_VERSIONING): Remove macro.
24608 * Makerules [$(versioning) = yes]: Change conditionals to
24609 [$(build-shared) = yes].
24610 * config.make.in (versioning): Remove variable.
24611 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24612 [$(build-shared) = yes].
24613 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24614 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24615 * elf/Makefile [$(versioning) = yes]: Change conditionals to
24616 [$(build-shared) = yes].
24617 * extra-lib.mk [$(versioning) = yes]: Likewise.
24618 * hurd/Makefile [$(versioning) = yes]: Likewise.
24619 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24620 [SHARED].
24621 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24622 [SHARED].
24623 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24624 [SHARED && !NO_HIDDEN].
24625 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24626 [SHARED].
24627 [SHARED && DO_VERSIONING]: Likewise..
24628 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24629 [$(build-shared) = yes].
24630 * manual/install.texi (--disable-versioning): Remove
24631 documentation.
24632 * INSTALL: Regenerated.
24633 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24634 to [SHARED].
24635 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24636 [$(build-shared) = yes].
24637 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24638 * sysdeps/i386/i686/multiarch/strstr-c.c
24639 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24640 [SHARED && !NO_HIDDEN].
24641 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24642 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24643 * sysdeps/powerpc/powerpc32/dl-machine.c
24644 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24645 * sysdeps/powerpc/powerpc32/sysdep.h
24646 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24647 to [SHARED && PIC && !NO_HIDDEN].
24648 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24649 conditional to [SHARED].
24650
44558701
WN
246512013-09-04 Will Newton <will.newton@linaro.org>
24652
24653 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24654 * benchtests/bench-string.h: Include bench-timing.h instead
24655 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24656 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24657 call to HP_TIMING_DIFF_INIT.
24658 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24659 instead of hp-timing.h macros.
24660 * benchtests/bench-memchr.c: Likewise.
24661 * benchtests/bench-memcmp.c: Likewise.
24662 * benchtests/bench-memcpy.c: Likewise.
24663 * benchtests/bench-memmem.c: Likewise.
24664 * benchtests/bench-memmove.c: Likewise.
24665 * benchtests/bench-memset.c: Likewise.
24666 * benchtests/bench-rawmemchr.c: Likewise.
24667 * benchtests/bench-strcasecmp.c: Likewise.
24668 * benchtests/bench-strcasestr.c: Likewise.
24669 * benchtests/bench-strcat.c: Likewise.
24670 * benchtests/bench-strchr.c: Likewise.
24671 * benchtests/bench-strcmp.c: Likewise.
24672 * benchtests/bench-strcpy.c: Likewise.
24673 * benchtests/bench-strcpy_chk.c: Likewise.
24674 * benchtests/bench-strlen.c: Likewise.
24675 * benchtests/bench-strncasecmp.c: Likewise.
24676 * benchtests/bench-strncat.c: Likewise.
24677 * benchtests/bench-strncmp.c: Likewise.
24678 * benchtests/bench-strncpy.c: Likewise.
24679 * benchtests/bench-strnlen.c: Likewise.
24680 * benchtests/bench-strpbrk.c: Likewise.
24681 * benchtests/bench-strrchr.c: Likewise.
24682 * benchtests/bench-strspn.c: Likewise.
24683 * benchtests/bench-strstr.c: Likewise.
24684
cae16d66
WN
246852013-09-04 Will Newton <will.newton@linaro.org>
24686
24687 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24688
ffa3cd7f
JM
246892013-09-03 Joseph Myers <joseph@codesourcery.com>
24690
24691 [BZ #15427]
24692 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24693 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24694 * math/libm-test.inc (lgamma_test_data): Add more tests.
24695 * sysdeps/i386/fpu/libm-test-ulps: Update.
24696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24697
8f02859f
OB
246982013-09-03 Ondřej Bílka <neleai@seznam.cz>
24699
24700 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24702 Add ifunc.
24703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24704 Add strcmp-sse2-unaligned
24705 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24706
18d43716
MF
247072013-09-02 Mike Frysinger <vapier@gentoo.org>
24708
24709 * Versions.def (libc): Add GLIBC_2.19.
24710
ac444012
MF
247112013-09-02 Mike Frysinger <vapier@gentoo.org>
24712
24713 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24714 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24715
b7835e32
JM
247162013-09-02 Joseph Myers <joseph@codesourcery.com>
24717
24718 [BZ #14155]
24719 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24720 intermediate calculations in recurrence.
24721 (__ieee754_ynf): Likewise.
24722 * math/libm-test.inc (jn_test_data): Do not allow spurious
24723 underflow exception. Add more tests.
24724 (yn_test_data): Add more tests.
24725 * sysdeps/i386/fpu/libm-test-ulps: Update.
24726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24727
8220f4f0
OB
247282013-09-02 Ondřej Bílka <neleai@seznam.cz>
24729
24730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24731
f24a6d08
OB
247322013-08-30 Ondřej Bílka <neleai@seznam.cz>
24733
24734 * csu/init-first.c: Fix then/than typos.
24735 * locale/programs/ld-collate.c: Likewise.
24736 * locale/programs/linereader.h: Likewise.
24737 * manual/charset.texi: Likewise.
24738 * manual/filesys.texi: Likewise.
24739 * manual/stdio.texi: Likewise.
24740 * manual/string.texi: Likewise.
24741 * stdlib/fmtmsg.c: Likewise.
24742 * sysdeps/i386/stpncpy.S: Likewise.
24743 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24744 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24746 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24747
382466e0
OB
247482013-08-30 Ondřej Bílka <neleai@seznam.cz>
24749
24750 * elf/dl-open.c: Fix typos.
24751 * iconvdata/gbbig5.c: Likewise.
24752 * iconvdata/iso-2022-jp.c: Likewise.
24753 * iconv/gconv_int.h: Likewise.
24754 * iconv/loop.c: Likewise.
24755 * nis/rpcsvc/nis.h: Likewise.
24756 * resolv/ns_name.c: Likewise.
24757 * stdio-common/vfscanf.c: Likewise.
24758 * streams/stropts.h: Likewise.
24759 * sunrpc/rpc_thread.c: Likewise.
24760 * sysdeps/i386/strpbrk.S: Likewise.
24761 * sysdeps/ieee754/k_standard.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24764 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24765 * sysdeps/mach/hurd/profil.c: Likewise.
24766 * sysdeps/s390/dl-procinfo.h: Likewise.
24767 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24768 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24769 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24770 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24772
0186c6e9
OB
247732013-08-30 Ondřej Bílka <neleai@seznam.cz>
24774
24775 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24777
d4e16af1
OB
247782013-08-29 Ondřej Bílka <neleai@seznam.cz>
24779
24780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24781 aix specific files.
24782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24783 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24785 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24786 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24787 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24788 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24789 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24790
88335980
TS
247912013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24792 Roland McGrath <roland@hack.frob.com>
24793
24794 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24795 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24796
ed479b02
ST
247972013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24798
24799 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24800 __executable_start symbol instead of _start.
24801
f1cc4c86
TS
248022013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24803
d821f07c
TS
24804 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24805 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24806 Move macros to...
24807 * sysdeps/gnu/ldsodefs.h: ... this new file.
24808
c54290cf
TS
24809 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24810 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24811 instead of ELFOSABI_LINUX.
24812
0007fc9b 24813 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24814 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24815 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24816 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24817 Likewise.
24818 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24819 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24821 Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24823 (ibm_extended_long_double): Add ieee_nan member.
24824 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24825 (do_test): New function.
24826
f1cc4c86
TS
24827 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24828 TEST_TRUNC.
24829 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24830 functions, renamed from truncdfsf_test, trunctfsf_test,
24831 trunctfdf_test.
24832 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24833 functions.
24834 (do_test): Run all these.
24835
6f65e668
OB
248362013-08-29 Ondřej Bílka <neleai@seznam.cz>
24837
24838 * argp/argp-help.c: Fix typos.
24839 * argp/argp-parse.c: Likewise.
24840 * debug/backtracesyms.c: Likewise.
24841 * elf/elf.h: Likewise.
24842 * malloc/malloc.c: Likewise.
24843 * nis/nis_print.c: Likewise.
24844 * resolv/res_comp.c: Likewise.
24845 * stdlib/stdlib.h: Likewise.
24846 * sunrpc/clnt_tcp.c: Likewise.
24847 * sunrpc/clnt_udp.c: Likewise.
24848 * sunrpc/clnt_unix.c: Likewise.
24849 * sysdeps/unix/bsd/ptsname.c: Likewise.
24850 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24851 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24853 Likewise.
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24855 Likewise.
24856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24857 Likewise.
6f65e668
OB
24858 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24859
3a309239
SP
248602013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24861
24862 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24864
3b813b29
MF
248652013-08-27 Mike Frysinger <vapier@gentoo.org>
24866
24867 [BZ #15897]
24868 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24869 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24870 ($(objpfx)bug-dl-leaf): New rule.
24871 ($(objpfx)bug-dl-leaf.so): Likewise.
24872 ($(objpfx)bug-dl-leaf.out): Likewise.
24873 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24874 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24875 * dlfcn/bug-dl-leaf.c: New test.
24876 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24877 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24878 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24879 (dlclose): Likewise.
24880 (dlmopen): Likewise.
24881
8cc3269f
RM
248822013-08-27 Roland McGrath <roland@hack.frob.com>
24883
7f9d0034
RM
24884 * include/netdb.h [!_ISOMAC]:
24885 Don't include <tls.h>.
24886 (h_errno, __libc_h_errno): Move declaration and macros out of
24887 [_LIBC_REENTRANT].
24888
fb431262
RM
24889 * include/resolv.h [_RESOLV_H_]:
24890 Don't include <tls.h>.
24891 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24892 * resolv/res_libc.c: Don't include <tls.h>.
24893 (_res): Use __attribute__ ((nocommon)) in place of
24894 __attribute__ ((section (".bss"))).
24895
bd81123a
RM
24896 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24897 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24898
c4e42566
RM
24899 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24900
f890a59b
RM
24901 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24902 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24903
24904 * resolv/res_mkquery.c: Include <sys/time.h>.
24905
5d1f0a09
RM
24906 * inet/ifreq.c: Moved to ...
24907 * sysdeps/unix/ifreq.c: ... here.
24908 * inet/ifreq.c: New file, true stub version.
24909
6fcf28b3
RM
24910 * socket/sa_len.c: New file.
24911 * socket/Makefile (aux): Add it.
24912 * sysdeps/unix/sysv/linux/Makefile
24913 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24914 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24915 and #include <socket/sa_len.c>.
24916 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24917 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24918
e041fb8b
RM
24919 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24920 * bits/socket.h: ... here.
24921
8cc3269f
RM
24922 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24923 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24924 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24925
5d228a43
AS
249262013-08-27 Andreas Schwab <schwab@suse.de>
24927
45b8accc
AS
24928 [BZ #15736]
24929 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24930 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24931 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24932 * string/test-strcasecmp.c (test_main): Run tests in several
24933 locales.
24934 * string/test-strncasecmp.c (test_main): Likewise.
24935
5d228a43
AS
24936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24937 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24938 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24939 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24940 (__strncasecmp_ssse3) [PIC]: Likewise.
24941
59d112a4
RM
249422013-08-26 Roland McGrath <roland@hack.frob.com>
24943
53234cc3
RM
24944 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24945
59d112a4
RM
24946 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24947 instead of explicitly declaring xdecrypt.
24948 * nis/nss_nis/nis-publickey.c: Likewise.
24949
595aba70
SP
249502013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24951
24952 [BZ #15890]
24953 * nscd/aicache.c: Include res_hconf.h.
24954 (addhstaiX): Initialize res_hconf.
24955
ffabd393
AS
249562013-08-26 Andreas Schwab <schwab@suse.de>
24957
24958 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24959 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24960
e0a69f5c
SP
249612013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24962
24963 * nscd/aicache.c (addhstaiX): Fix indentation.
24964
8c12f01d
MF
249652013-08-25 Mike Frysinger <vapier@gentoo.org>
24966
24967 * configure.ac: Quote $build_pt_chown test.
24968 * configure: Regenerated.
24969
8fe89494
JM
249702013-08-23 Joseph Myers <joseph@codesourcery.com>
24971
24972 [BZ #15532]
24973 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24974 * math/s_cexpf.c (__cexpf): Likewise.
24975 * math/s_cexpl.c (__cexpl): Likewise.
24976 * math/libm-test.inc (cexp_test_data): Correct expected return
24977 value for NaN + i0. Add another test.
24978
75b181d6
DM
249792013-08-22 David S. Miller <davem@davemloft.net>
24980
24981 * po/ca.po: Update Catalan translation from translation project.
936241e4 24982 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24983
acd06bb1
JM
249842013-08-21 Joseph Myers <joseph@codesourcery.com>
24985
24986 [BZ #15797]
24987 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24988 is infinite, not alongside NaN test.
24989 * math/s_fdimf.c (__fdimf): Likewise.
24990 * math/s_fdiml.c (__fdiml): Likewise.
24991 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24992 errno is unchanged.
24993
c0c3f78a
OB
249942013-08-21 Ondřej Bílka <neleai@seznam.cz>
24995
24996 * argp/argp-help.c: Fix typos.
24997 * crypt/speeds.c: Likewise.
24998 * csu/check_fds.c: Likewise.
24999 * elf/dl-load.c: Likewise.
25000 * elf/dl-open.c: Likewise.
25001 * elf/reldep3.c: Likewise.
25002 * elf/reldep.c: Likewise.
25003 * elf/sprof.c: Likewise.
25004 * iconv/iconv_charmap.c: Likewise.
25005 * iconv/skeleton.c: Likewise.
25006 * iconv/strtab.c: Likewise.
25007 * io/lockf64.c: Likewise.
25008 * libio/libioP.h: Likewise.
25009 * resolv/gai_notify.c: Likewise.
25010 * resolv/ns_name.c: Likewise.
25011 * resolv/ns_samedomain.c: Likewise.
25012 * resolv/res_send.c: Likewise.
25013 * stdlib/random.c: Likewise.
25014 * sunrpc/rpc/xdr.h: Likewise.
25015 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25016 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25017 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25018 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25022 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25023 * sysdeps/mach/hurd/check_fds.c: Likewise.
25024 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25025 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25026 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25028 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25029 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25030 * sysdeps/pthread/aio_notify.c: Likewise.
25031 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25032 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25033 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25034 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25035 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25036
46ed1038
LD
250372013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25038
25039 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25040 version if bit_Slow_SSE4_2 is set.
25041 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25042 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25043
d400dcac
AZ
250442013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25045
25046 [BZ #15867]
25047 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25048 trampoline stack frame information.
25049 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25050 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25051 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25052 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25053 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25054 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25055 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25056 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25057 sa_flags value.
25058 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25059 interrupting a syscall and set with option SA_SIGINFO.
25060
42c8fdd8
JM
250612013-08-20 Joseph Myers <joseph@codesourcery.com>
25062
c980f2f4
JM
25063 [BZ #15531]
25064 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25065 argument is infinite.
25066 * math/s_cprojf.c (__cprojf): Likewise.
25067 * math/s_cprojl.c (__cprojl): Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25069 * math/libm-test.inc (cproj_test_data): Add more tests.
25070
0716c4fc
JM
25071 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25072
42c8fdd8
JM
25073 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25074 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25075 size. Use __ffs to determine corresponding shift.
25076
b31469d0
JM
250772013-08-20 Joseph Myers <joseph@codesourcery.com>
25078 Roland McGrath <roland@hack.frob.com>
25079
25080 * Makefile (INSTALL): Remove trailing blank lines from output of
25081 makeinfo.
25082
4e39af6e
AK
250832013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25084
25085 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25086 Align 32 bit compat elf_greg to 8 bytes.
25087
f315524e
AA
250882013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25089
25090 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25091
1326ba1a
SP
250922013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25093
25094 * string/strcoll_l.c (coll_seq): New structure.
25095 (get_next_seq_cached): New function.
25096 (get_next_seq): New function.
25097 (do_compare): New function.
25098 (STRCOLL): Use GNU style definition. Simplify implementation
25099 by using get_next_seq, get_next_seq_cached and do_compare.
25100
91ce4085
FW
251012013-08-16 Florian Weimer <fweimer@redhat.com>
25102
25103 [BZ #14699]
25104 CVE-2013-4237
25105 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25106 member.
25107 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25108 member.
25109 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25110 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25111 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25112 conditional.
25113 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25114 GETDENTS_64BIT_ALIGNED.
25115 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25116 * manual/filesys.texi (Reading/Closing Directory): Document
25117 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25118 strongly.
25119 * manual/conf.texi (Limits for Files): Add portability note to
25120 NAME_MAX, PATH_MAX.
25121 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25122
ca0a6bc4
AS
251232013-08-13 Andreas Schwab <schwab@suse.de>
25124
25125 [BZ #15749]
25126 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25127 of fabs.
25128 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25129 LDBL_MAX_EXP >= 16384]: Add tests for it.
25130
6c1fd795
DM
251312013-08-12 David S. Miller <davem@davemloft.net>
25132
25133 * version.h (RELEASE): Set to "development".
25134 (VERSION): Set to "2.18.90".
25135 * NEWS: Add 2.19 section.
25136
31ad488d
DM
251372013-08-03 David S. Miller <davem@davemloft.net>
25138
25139 * po/ko.po: Update Korean translation from translation project.
25140
db24e684
DM
251412013-08-01 David S. Miller <davem@davemloft.net>
25142
25143 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25144 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25145 Bilka.
25146
f723285b
DM
251472013-07-30 David S. Miller <davem@davemloft.net>
25148
25149 * po/fr.po: Update French translation from translation project.
25150
3cbc52db
DM
251512013-07-28 David S. Miller <davem@davemloft.net>
25152
30bbc0cc
DM
25153 * po/cs.po: Update Czech translation from translation project.
25154
3cbc52db
DM
25155 * po/sv.po: Update Swedish translation from translation project.
25156
d492e6d0
DM
251572013-07-27 David S. Miller <davem@davemloft.net>
25158
f1a7f492
DM
25159 * po/eo.po: Update Esperanto translation from translation project.
25160
90e62a4a
DM
25161 * po/vi.po: Update Vietnamese translation from translation project.
25162
d492e6d0
DM
25163 * po/de.po: Update German translation from translation project.
25164
d4baa62d
DM
251652013-07-26 David S. Miller <davem@davemloft.net>
25166
641aa7b4
DM
25167 * po/bg.po: Update Bulgarian translation from translation project.
25168
d4baa62d
DM
25169 * po/nl.po: Update Dutch translation from translation project.
25170 * po/pl.po: Update Polish translation from translation project.
25171 * po/ru.po: Update Russian translation from translation project.
25172
61a9dcb9
DM
251732013-07-24 David S. Miller <davem@davemloft.net>
25174
25175 * po/libc.pot: Update.
25176
7b1f8b58
AZ
251772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25178
25179 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25180 variable page size.
25181 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25182 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25183 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25184
a8fc7a03
AK
251852013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25186
25187 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25188
e4608715
CD
251892013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25190 Andreas Schwab <schwab@suse.de>
25191 Roland McGrath <roland@hack.frob.com>
25192 Joseph Myers <joseph@codesourcery.com>
25193 Carlos O'Donell <carlos@redhat.com>
25194
25195 [BZ #15755]
25196 * config.h.in: Define HAVE_PT_CHOWN.
25197 * config.make.in (build-pt-chown): New variable.
25198 * configure.in (--enable-pt_chown): New configure option.
25199 * configure: Regenerate.
25200 * login/Makefile: Include Makeconfig. Build pt_chown only if
25201 build-pt-chown is enabled.
25202 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25203 pt_chown to fix pty ownership.
25204 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25205 CLOSE_ALL_FDS.
25206 * manual/install.texi (Configuring and compiling): Mention
25207 --enable-pt_chown. Add @findex for grantpt.
25208 * INSTALL: Regenerate.
25209
da2d62df
DM
252102013-07-20 David S. Miller <davem@davemloft.net>
25211
25212 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25213 difference between 32-bit and 64-bit.
25214
d7e06450
CD
252152013-07-15 Carlos O'Donell <carlos@redhat.com>
25216
25217 [BZ #15711]
25218 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25219 Avoid system header dependency with -ffreestanding.
25220 ($(objpfx)bits/syscall%d): Likewise.
25221
f959cfd7
DM
252222013-07-13 David S. Miller <davem@davemloft.net>
25223
25224 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25225 underflows from atanl/atan2l due to bug 15319.
25226 (casinh_test_data): Likewise.
25227
c61f8513
DM
252282013-07-07 David S. Miller <davem@davemloft.net>
25229
25230 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25231
72c90ed0
JA
252322013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25233
25234 * sysdeps/i386/fpu/libm-test-ulps: Update.
25235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25236
52dfbe13
SP
252372013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25238
25239 * configure.in (--enable-lock-elision): Fix message text.
25240 * INSTALL: Regenerate.
25241 * configure: Regenerate.
25242
3f169543
AZ
252432013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25244
25245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25246
521c6785
AJ
252472013-07-03 Andreas Jaeger <aj@suse.de>
25248
25249 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25250 define.
25251 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25252 (ptrace_peeksiginfo_args): Add.
25253 (__ptrace_peeksiginfo_flags): Add.
25254 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25255 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25257
d2cc15cb
AM
252582013-07-03 Allan McRae <allan@archlinux.org>
25259
25260 * sysdeps/i386/fpu/libm-test-ulps: Update.
25261
3aaeeca7
DM
252622013-07-02 David S. Miller <davem@davemloft.net>
25263
25264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25265
5314ed1a
MT
252662013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25267
25268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25269
67338156
JM
252702013-07-02 Joseph Myers <joseph@codesourcery.com>
25271
25272 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25274
1717da59
AK
252752013-07-02 Andi Kleen <ak@linux.intel.com>
25276
25277 * config.h.in (ENABLE_LOCK_ELISION): Add.
25278 * configure.in (--enable-lock-elision): Add option.
25279 * manual/install.texi: Document --enable lock elision.
25280 * configure: Regenerate
25281 * INSTALL: Regenerate.
25282
1c81621c
L
252832013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25284
25285 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25286 SSE4.2 strcasecmp for libc.a.
25287 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25288
77f01ab5
JM
252892013-07-02 Joseph Myers <joseph@codesourcery.com>
25290
25291 [BZ #13304]
25292 * soft-fp/op-common.h (_FP_FMA): New macro.
25293 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25294 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25295 (_FP_MUL_MEAT_1_imm): ... here.
25296 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25297 (_FP_MUL_MEAT_1_wide): ... here.
25298 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25299 (_FP_MUL_MEAT_1_hard): ... here.
25300 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25301 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25302 (_FP_MUL_MEAT_2_wide): ... here.
25303 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25304 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25305 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25306 (_FP_MUL_MEAT_2_gmp): ... here.
25307 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25308 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25309 (_FP_MUL_MEAT_4_wide): ... here.
25310 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25311 (_FP_MUL_MEAT_4_gmp): ... here.
25312 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25313 (_FP_WFRACBITS_DW_S): Likewise.
25314 (_FP_WFRACXBITS_DW_S): Likewise.
25315 (_FP_HIGHBIT_DW_S): Likewise.
25316 (FP_FMA_S): Likewise.
25317 (_FP_FRAC_HIGH_DW_S): Likewise.
25318 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25319 (_FP_WFRACBITS_DW_D): Likewise.
25320 (_FP_WFRACXBITS_DW_D): Likewise.
25321 (_FP_HIGHBIT_DW_D): Likewise.
25322 (FP_FMA_D): Likewise.
25323 (_FP_FRAC_HIGH_DW_D): Likewise.
25324 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25325 (_FP_WFRACBITS_DW_E): Likewise.
25326 (_FP_WFRACXBITS_DW_E): Likewise.
25327 (_FP_HIGHBIT_DW_E): Likewise.
25328 (FP_FMA_E): Likewise.
25329 (_FP_FRAC_HIGH_DW_E): Likewise.
25330 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25331 (_FP_WFRACBITS_DW_Q): Likewise.
25332 (_FP_WFRACXBITS_DW_Q): Likewise.
25333 (_FP_HIGHBIT_DW_Q): Likewise.
25334 (FP_FMA_Q): Likewise.
25335 (_FP_FRAC_HIGH_DW_Q): Likewise.
25336 * soft-fp/fmasf4.c: New file.
25337 * soft-fp/fmadf4.c: Likewise.
25338 * soft-fp/fmatf4.c: Likewise.
25339
6308fd9a
LD
253402013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25341
25342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25343 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25344 Silvermont.
25345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25346 macro.
25347 (index_Slow_SSE4_2): Likewise.
25348 (index_Prefer_PMINUB_for_stringop): Likewise.
25349 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25350 bit_Slow_SSE4_2 is set.
25351 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25352 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25353
89cd9569
RA
253542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25355
25356 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25357 rtld_global._dl_hwcap2.
25358 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25359 POWER8.
25360 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25361 POWER8 feature descriptions defined in _dl_hwcap2.
25362 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25363 string handling for POWER8 feature bits.
25364 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25365 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25366 _dl_powerpc_cap_flags.
25367 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25368 * sysdeps/powerpc/rtld-global-offsets.sym
25369 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25370 _dl_hwcap2 in the rtld_global_ro structure.
25371
1ae8bfe0
RA
253722013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25373
25374 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25375 hardware capabilities in support of AT_HWCAP2.
25376 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25377 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25378 GLRO(dl_hwcap2).
25379 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25380 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25381 explicitly the unknown a_type display mechanism is used.
25382 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25383 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25384 struct member.
25385 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25386 to macro prototype for AT_HWCAP2 support.
25387 * sysdeps/i386/dl-procinfo.h: Likewise.
25388 * sysdeps/s390/dl-procinfo.h: Likewise.
25389 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25390 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25391 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25392 return -1 for unknown a_type display fallback.
25393 * sysdeps/sparc/dl-procinfo.h: Likewise.
25394 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25395 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25396
8fbec010
JM
253972013-06-28 Joseph Myers <joseph@codesourcery.com>
25398
25399 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25400 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25401
0432680e
PY
254022013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25403
25404 [BZ #12492]
25405 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25406 mprotect making __stack_prot writable.
25407
ce61a2ad
NF
254082013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25409 Joseph Myers <joseph@codesourcery.com>
25410
25411 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25412 as being properly aligned.
25413
f91f1c0f
MR
254142013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25415
3d0f5d0c
MR
25416 * dlfcn/modstatic5.c: New file.
25417 * dlfcn/tststatic5.c: New file.
25418 * dlfcn/Makefile (tests): Add tststatic5.
25419 (tests-static): Likewise.
25420 (modules-names): Add modstatic5.
25421 (tststatic5-ENV): New variable.
25422 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25423
f91f1c0f
MR
25424 [BZ #15022]
25425 * elf/dl-support.c (_dl_main_map): New variable.
25426 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25427 (_dl_nns, _dl_load_adds): Set to 1.
25428 (_dl_initial_searchlist): Refer to _dl_main_map.
25429 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25430 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25431 call to _dl_get_origin.
25432 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25433 around call_map.
25434 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25435 * dlfcn/modstatic3.c: New file.
25436 * dlfcn/tststatic3.c: New file.
25437 * dlfcn/tststatic4.c: New file.
25438 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25439 (tests-static): Likewise.
25440 (modules-names): Add modstatic3.
25441 (tststatic3-ENV, tststatic4-ENV): New variables.
25442 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25443 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25444
cbe7d24b
JM
254452013-06-26 Joseph Myers <joseph@codesourcery.com>
25446
25447 * configure.in (CC): Require GCC version 4.4 or later.
25448 * configure: Regenerated.
25449 * manual/install.texi (Tools for Compilation): Update GCC version
25450 requirement.
25451 * INSTALL: Regenerated.
25452
11b8a0e1
LD
254532013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25454
25455 [BZ #15674]
bb5bb87c
L
25456 * string/test-memcmp.c (check2): New.
25457 (main): Call check2.
25458
11b8a0e1
LD
25459 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25460
b0037103
MR
254612013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25462
25463 [BZ #15022]
25464 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25465 over to...
25466 (dl_open_worker) [!SHARED]: ... here.
25467
c18c701d
RA
254682013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25469
25470 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25471
1d17fa5f
RH
254722013-06-25 Richard Henderson <rth@redhat.com>
25473
25474 * locale/programs/locarchive.c: Include <libc-internal.h>
25475
8fcb833a
JM
254762013-06-25 Joseph Myers <joseph@codesourcery.com>
25477
25478 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25479 trailing whitespace removed.
25480
17db6e8d
MF
254812013-06-24 Mike Frysinger <vapier@gentoo.org>
25482
25483 [BZ #10283]
17db6e8d
MF
25484 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25485 * locale/programs/locarchive.c: Include libc-mmap.h.
25486 (prepare_address_space): Take two new outputs (the mmap base and len).
25487 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25488 values.
25489 (create_archive): Declare new mmap base and len values for
25490 prepare_address_space, and store the result in ah.
25491 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25492 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25493 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25494 Declare new mmap base and len values for
25495 prepare_address_space, and store the result in new_ah.
25496 (open_archive): Declare new mmap base and len values for
25497 prepare_address_space, and store the result in ah.
25498 (close_archive): If ah->mmap_base is not NULL, use that and
25499 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25500 * sysdeps/generic/libc-mmap.h: New file.
25501
d605071e
MF
255022013-06-24 Mike Frysinger <vapier@gentoo.org>
25503
25504 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25505 (ALIGN_UP): Likewise.
25506 (PTR_ALIGN_DOWN): Likewise.
25507 (PTR_ALIGN_UP): Likewise.
25508
2f063a6e
RA
255092013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25510
25511 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25512 entry mapped to PPC_PLATFORM_POWER8.
25513 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25514 POWER8.
25515 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25516 (_dl_string_platform): Add case for exporting platform position for
25517 POWER8.
25518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25519 search path to sysdeps/powerpc/powerpc32/power8 directory.
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25521 search path to sysdeps/powerpc/powerpc64/power8 directory.
25522 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25523 power7 directories.
25524 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25525 power7 directories.
25526
a31ee4b3
SP
255272013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
25528
a74ca98f
SP
25529 * INSTALL: Regenerate.
25530
a31ee4b3
SP
25531 * nscd/connections.c (nscd_init): Fix comment.
25532
695c378f
JM
255332013-06-22 Joseph Myers <joseph@codesourcery.com>
25534
d8412221
JM
25535 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25536
695c378f
JM
25537 [BZ #15667]
25538 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25539 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25540
d1d54715
MR
255412013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25542
25543 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25544 DL_DST_REQ_STATIC.
25545 (DL_DST_REQ_STATIC): Remove macro.
25546
8fdda7af
JM
255472013-06-21 Joseph Myers <joseph@codesourcery.com>
25548
25549 [BZ #7006]
25550 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25551 with a shift of 0 bits.
25552
f3bc5e5a
MR
255532013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
25554
25555 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25556 $(tststatic-ENV).
25557
be09e8c9
KK
255582013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25559
25560 [BZ #15655]
25561 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25562
85c2e611
AZ
255632013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25564
25565 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25566 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25567 accepts -fno-tree-loop-distribute-patterns.
25568 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25569 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25570 recursive call.
25571 * string/memset.c (memset): Likewise.
25572 * string/test-memmove.c (simple_memmove): Disable loop transformation
25573 to library calls.
25574 * string/test-memset.c (simple_memset): Likewise.
25575 * benchtests/bench-memmove.c (simple_memmove): Likewise.
25576 * benchtests/bench-memset.c (simple_memset): Likewise.
25577 * configure: Regenerated.
25578
c91e0825
JM
255792013-06-20 Joseph Myers <joseph@codesourcery.com>
25580
b8c792af
JM
25581 * math/test-misc.c (main): Ignore fesetround failure when failures
25582 of subsequent rounding tests would be ignored.
25583
c91e0825
JM
25584 [BZ #15654]
25585 * math/fedisblxcpt.c (fedisableexcept): Return 0.
25586 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25587 * math/fegetenv.c (__fegetenv): Return 0.
25588 * math/fegetexcept.c (fegetexcept): Return 0.
25589 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25590 FE_TONEAREST.
25591 * math/feholdexcpt.c (feholdexcept): Return 0.
25592 * math/fesetenv.c (__fesetenv): Return 0.
25593 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25594 argument FE_TONEAREST.
25595 * math/feupdateenv.c (__feupdateenv): Return 0.
25596 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25597
bfcacbde
RM
255982013-06-18 Roland McGrath <roland@hack.frob.com>
25599
25600 * elf/rtld-Rules (rtld-compile-command.S): New variable.
25601 (rtld-compile-command.s, rtld-compile-command.c): New variables.
25602 ($(objpfx)rtld-%.os rules): Use them.
25603
e55a9b25
AZ
256042013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25605
25606 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25607 fields.
25608
346d65b3
RM
256092013-06-17 Roland McGrath <roland@hack.frob.com>
25610
12086fb4
RM
25611 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25612 length of target pattern, then descending length of dependency pattern.
25613 * configure.in (AWK): Require gawk 3.1.2 or newer.
25614 * manual/install.texi (Tools for Compilation): Say that we do.
25615 * configure: Regenerated.
25616
346d65b3
RM
25617 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25618 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25619 * scripts/sysd-rules.awk: ... this new script.
25620 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25621 than a glob-style pattern.
25622
1a846317
JM
256232013-06-17 Joseph Myers <joseph@codesourcery.com>
25624
25625 * math/test-misc.c (main): Do not treat incorrectly rounded
25626 conversions as failure unless ROUNDING_TESTS passes.
25627
8fc75e6f
JM
256282013-06-15 Joseph Myers <joseph@codesourcery.com>
25629
3711a167
JM
25630 [BZ #15631]
25631 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25632 restore exception state around main square root computation, then
25633 check for inexactness explicitly.
25634
8fc75e6f
JM
25635 * math/libm-test.inc (fma_test_data): Add another test.
25636
61dd6208
SP
256372013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25638
adf23d2c
SP
25639 * manual/threads.texi (Non-POSIX Extensions): New document
25640 node. Document pthread_getattr_default_np and
25641 pthread_setattr_default_np.
25642
61dd6208
SP
25643 * Versions.def (libpthread): Add GLIBC_2.18.
25644 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25646 Likewise.
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25648 Likewise.
25649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25650 Likewise.
25651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25652 Likewise.
25653 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25654 Likewise.
25655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25656 Likewise.
25657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25658 Likewise.
25659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25660 Likewise.
25661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25662 Likewise.
25663
d086fc7b
LD
256642013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25665
25666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25667 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25668
747ef469
SP
256692013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25670 H.J. Lu <hjl.tools@gmail.com>
25671
25672 [BZ #15627]
25673 * sysdeps/x86_64/rtld-memset.c: Remove file.
25674 * sysdeps/x86_64/rtld-memset.S: New file.
25675
1b2feed2
JM
256762013-06-14 Joseph Myers <joseph@codesourcery.com>
25677
25678 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25679 (test_in_one_mode): Take arguments for whether the rounding mode
25680 is supported for each floating-point type.
25681 (do_test): Pass new arguments to test_in_one_mode using
25682 ROUNDING_TESTS.
25683
a58ad3f8
RM
256842013-06-13 Roland McGrath <roland@hack.frob.com>
25685
25686 * posix/tst-waitid.c (do_test): Distinguish different instances of
25687 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25688 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25689 before entering the kernel for waitpid.
25690
c204ab28
SP
256912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25692
25693 * NEWS: Fix note on clock function precision. Text by Roland
25694 McGrath.
25695
f4a29fba
RM
256962013-06-13 Roland McGrath <roland@hack.frob.com>
25697
25698 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25699 it into place only when and if the sanity check passes.
25700
1f24b9ad
JM
257012013-06-13 Joseph Myers <joseph@codesourcery.com>
25702
25703 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25704 output for whether conversion result is exact. Take argument
25705 indicating whether type is IBM long double.
25706 (round_for_all): Change need_exact field to ibm_ld.
25707 * stdlib/tst-strtod-round.c (struct exactness): New type.
25708 (struct test): Change bool ld_ok field to struct exactness exact.
25709 (TEST): Update all definitions for change to field.
25710 (tests): Regenerate array contents.
25711 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25712 field value. Check for IBM long double here.
25713 (do_test): Update calls to test_in_one_mode.
25714
58206c68
SP
257152013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25716
25717 [BZ #12515]
25718 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25719 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25720
2d6f4c5b 257212013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25722
25723 [BZ #15605]
25724 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25725 generated by the compiler on loop optimizations.
25726 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25727 general definitions.
25728
94f2c076
JM
257292013-06-12 Joseph Myers <joseph@codesourcery.com>
25730
25731 * math/bug-nextafter.c: Include <math-tests.h>.
25732 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25733 the relevant type.
25734 * math/bug-nexttoward.c: Include <math-tests.h>.
25735 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25736 the relevant type.
25737 * math/test-misc.c: Include <math-tests.h>.
25738 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25739 the relevant type.
25740
e0e50a0a
AJ
257412013-06-12 Andreas Jaeger <aj@suse.de>
25742
25743 * po/ia.po: Update Interlingua translation from translation
25744 project.
25745
25061094
SP
257462013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25747
25748 * include/fenv.h: Include stdbool.h.
25749 (struct rm_ctx): New structure.
25750 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25751 Define macro.
25752 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25753 (SET_RESTORE_ROUNDF): Likewise.
25754 (SET_RESTORE_ROUNDL): Likewise.
25755 (SET_RESTORE_ROUND_NOEX): Likewise.
25756 (SET_RESTORE_ROUND_NOEXF): Likewise.
25757 (SET_RESTORE_ROUND_NOEXL): Likewise.
25758 (SET_RESTORE_ROUND_53BIT): Likewise.
25759 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25760 (libc_feresetround_noexf_ctx): Likewise.
25761 (libc_feresetround_noexl_ctx): Likewise.
25762 (libc_feholdsetround_53bit_ctx): Likewise.
25763 (libc_feresetround_53bit_ctx): Likewise.
25764 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25765 (libc_feholdexcept_setround_sse_ctx): New function.
25766 (libc_fesetenv_sse_ctx): Likewise.
25767 (libc_feupdateenv_sse_ctx): Likewise.
25768 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25769 (libc_feholdexcept_setround_387_ctx): Likewise.
25770 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25771 (libc_feholdsetround_387_prec_ctx): Likewise.
25772 (libc_feholdsetround_387_ctx): Likewise.
25773 (libc_feholdsetround_387_53bit_ctx): Likewise.
25774 (libc_feholdsetround_sse_ctx): Likewise.
25775 (libc_feresetround_sse_ctx): Likewise.
25776 (libc_feresetround_387_ctx): Likewise.
25777 (libc_feupdateenv_387_ctx): Likewise.
25778 (libc_feholdexcept_setroundf_ctx): Define macro.
25779 (libc_fesetenvf_ctx): Likewise.
25780 (libc_feupdateenvf_ctx): Likewise.
25781 (libc_feholdsetroundf_ctx): Likewise.
25782 (libc_feresetroundf_ctx): Likewise.
25783 (libc_feholdexcept_setround_ctx): Likewise.
25784 (libc_fesetenv_ctx): Likewise.
25785 (libc_feupdateenv_ctx): Likewise.
25786 (libc_feholdsetround_ctx): Likewise.
25787 (libc_feresetround_ctx): Likewise.
25788 (libc_feholdexcept_setroundl_ctx): Likewise.
25789 (libc_feupdateenvl_ctx): Likewise.
25790 (libc_feholdsetroundl_ctx): Likewise.
25791 (libc_feresetroundl_ctx): Likewise.
25792 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25793 (libc_feresetround_53bit_ctx): Likewise.
25794
59b30555
SP
257952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25796
25797 * locale/iso-639.def: Convert to UTF-8.
25798
f1d73d30
JM
257992013-06-11 Joseph Myers <joseph@codesourcery.com>
25800
25801 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25802 (EXCEPTION_TESTS_double): Likewise.
25803 (EXCEPTION_TESTS_long_double): Likewise.
25804 (EXCEPTION_TESTS): Likewise.
25805 * math/libm-test.inc (test_exceptions): Only test exceptions if
25806 EXCEPTION_TESTS (FLOAT).
25807
94aca5e7
SP
258082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25809
25810 * benchtests/Makefile (string-bench): Add strcpy_chk and
25811 stpcpy_chk.
25812 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25813 * benchtests/bench-stpcpy_chk.c: New file.
25814 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25815 * benchtests/bench-strcpy_chk.c: New file.
25816 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25817 code.
25818 (do_test): Likewise.
25819
fac0c5f2
RA
258202013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25821
25822 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25823 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25824 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25825 with tabs where appropriate.
25826 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25827 dl-procinfo.h.
25828 [PPC_PLATFORM_PPC440]: Likewise.
25829 [PPC_PLATFORM_PPC464]: Likewise.
25830 [PPC_PLATFORM_PPC476]: Likewise.
25831 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25832 ppc464, and ppc476 platform strings merging from ports/
25833 dl-procinfo.h.
25834
f22bc486
AS
258352013-06-11 Andreas Schwab <schwab@suse.de>
25836
25837 [BZ #14991]
25838 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25839 (from_ucs4_idx): Regenerate.
25840 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25841 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25842 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25843 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25844 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25845 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25846 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25847 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25848 from FROM_LOOP and TO_LOOP specific macros.
25849 (BODY): Handle combining characters.
25850 * iconvdata/BIG5HKSCS.irreversible: Update.
25851 * iconvdata/BIG5HKSCS.precomposed: New file.
25852 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25853 characters.
25854 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25855
c1f75dc3
SP
258562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25857
4eacded2
SP
25858 * include/sys/time.h: Fix indentation and add copyright header.
25859
fec799f8
SP
25860 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25861 (do_test): Likewise.
25862 * string/test-memchr.c (do_one_test): Likewise.
25863 (do_test): Likewise.
25864 * string/test-memcmp.c (do_one_test): Likewise.
25865 (do_test): Likewise.
25866 * string/test-memcpy.c (do_one_test): Likewise.
25867 (do_test): Likewise.
25868 * string/test-memmem.c (do_one_test): Likewise.
25869 (do_test): Likewise.
25870 (do_random_tests): Likewise.
25871 * string/test-memmove.c (do_one_test): Likewise.
25872 (do_test): Likewise.
25873 * string/test-memset.c (do_one_test): Likewise.
25874 (do_test): Likewise.
25875 * string/test-rawmemchr.c (do_one_test): Likewise.
25876 (do_test): Likewise.
25877 * string/test-strcasecmp.c (do_one_test): Likewise.
25878 (do_test): Likewise.
25879 * string/test-strcasestr.c (do_one_test): Likewise.
25880 (do_test): Likewise.
25881 * string/test-strcat.c (do_one_test): Likewise.
25882 (do_test): Likewise.
25883 * string/test-strchr.c (do_one_test): Likewise.
25884 (do_test): Likewise.
25885 * string/test-strcmp.c (do_one_test): Likewise.
25886 (do_test): Likewise.
25887 * string/test-strcpy.c (do_one_test): Likewise.
25888 (do_test): Likewise.
25889 * string/test-string.h: Likewise.
25890 (test_init): Likewise.
25891 * string/test-strlen.c (do_one_test): Likewise.
25892 (do_test): Likewise.
25893 * string/test-strncasecmp.c (do_one_test): Likewise.
25894 (do_test): Likewise.
25895 * string/test-strncat.c (do_one_test): Likewise.
25896 (do_test): Likewise.
25897 * string/test-strncmp.c (do_one_test): Likewise.
25898 (do_test_limit): Likewise.
25899 (do_test): Likewise.
25900 * string/test-strncpy.c (do_one_test): Likewise.
25901 (do_test): Likewise.
25902 * string/test-strnlen.c (do_one_test): Likewise.
25903 (do_test): Likewise.
25904 * string/test-strpbrk.c (do_one_test): Likewise.
25905 (do_test): Likewise.
25906 * string/test-strrchr.c (do_one_test): Likewise.
25907 (do_test): Likewise.
25908 * string/test-strspn.c (do_one_test): Likewise.
25909 (do_test): Likewise.
25910 * string/test-strstr.c (do_one_test): Likewise.
25911 (do_test): Likewise.
25912
97020474
SP
25913 * benchtests/Makefile (string-bench): Add string benchmarks.
25914 * benchtests/bench-bcopy-ifunc.c: New file.
25915 * benchtests/bench-bcopy.c: New file.
25916 * benchtests/bench-bzero-ifunc.c: New file.
25917 * benchtests/bench-bzero.c: New file.
25918 * benchtests/bench-memccpy-ifunc.c: New file.
25919 * benchtests/bench-memccpy.c: New file.
25920 * benchtests/bench-memchr-ifunc.c: New file.
25921 * benchtests/bench-memchr.c: New file.
25922 * benchtests/bench-memcmp-ifunc.c: New file.
25923 * benchtests/bench-memcmp.c: New file.
25924 * benchtests/bench-memmem-ifunc.c: New file.
25925 * benchtests/bench-memmem.c: New file.
25926 * benchtests/bench-memmove-ifunc.c: New file.
25927 * benchtests/bench-memmove.c: New file.
25928 * benchtests/bench-mempcpy-ifunc.c: New file.
25929 * benchtests/bench-mempcpy.c: New file.
25930 * benchtests/bench-memset-ifunc.c: New file.
25931 * benchtests/bench-memset.c: New file.
25932 * benchtests/bench-rawmemchr-ifunc.c: New file.
25933 * benchtests/bench-rawmemchr.c: New file.
25934 * benchtests/bench-stpcpy-ifunc.c: New file.
25935 * benchtests/bench-stpcpy.c: New file.
25936 * benchtests/bench-stpncpy-ifunc.c: New file.
25937 * benchtests/bench-stpncpy.c: New file.
25938 * benchtests/bench-strcasecmp-ifunc.c: New file.
25939 * benchtests/bench-strcasecmp.c: New file.
25940 * benchtests/bench-strcasestr-ifunc.c: New file.
25941 * benchtests/bench-strcasestr.c: New file.
25942 * benchtests/bench-strcat-ifunc.c: New file.
25943 * benchtests/bench-strcat.c: New file.
25944 * benchtests/bench-strchr-ifunc.c: New file.
25945 * benchtests/bench-strchr.c: New file.
25946 * benchtests/bench-strchrnul-ifunc.c: New file.
25947 * benchtests/bench-strchrnul.c: New file.
25948 * benchtests/bench-strcmp-ifunc.c: New file.
25949 * benchtests/bench-strcmp.c: New file.
25950 * benchtests/bench-strcpy-ifunc.c: New file.
25951 * benchtests/bench-strcpy.c: New file.
25952 * benchtests/bench-strcspn-ifunc.c: New file.
25953 * benchtests/bench-strcspn.c: New file.
25954 * benchtests/bench-strlen-ifunc.c: New file.
25955 * benchtests/bench-strlen.c: New file.
25956 * benchtests/bench-strncasecmp-ifunc.c: New file.
25957 * benchtests/bench-strncasecmp.c: New file.
25958 * benchtests/bench-strncat-ifunc.c: New file.
25959 * benchtests/bench-strncat.c: New file.
25960 * benchtests/bench-strncmp-ifunc.c: New file.
25961 * benchtests/bench-strncmp.c: New file.
25962 * benchtests/bench-strncpy-ifunc.c: New file.
25963 * benchtests/bench-strncpy.c: New file.
25964 * benchtests/bench-strnlen-ifunc.c: New file.
25965 * benchtests/bench-strnlen.c: New file.
25966 * benchtests/bench-strpbrk-ifunc.c: New file.
25967 * benchtests/bench-strpbrk.c: New file.
25968 * benchtests/bench-strrchr-ifunc.c: New file.
25969 * benchtests/bench-strrchr.c: New file.
25970 * benchtests/bench-strspn-ifunc.c: New file.
25971 * benchtests/bench-strspn.c: New file.
25972 * benchtests/bench-strstr-ifunc.c: New file.
25973 * benchtests/bench-strstr.c: New file.
25974
c1f75dc3
SP
25975 * benchtests/Makefile: Disable parallel execution of targets.
25976 (string-bench): Add memcpy.
25977 (benchset): New variable to store a list of benchmark sets.
25978 (bench-func): Renamed from bench.
25979 (bench-set): New target.
25980 (bench): Depend on bench-func and bench-set.
25981 * benchtests/README: Add section on benchmark sets.
25982 * benchtests/bench-memcpy-ifunc.c: New file.
25983 * benchtests/bench-memcpy.c: New file.
25984 * benchtests/bench-string.h: New file.
25985
50fd745b
AS
259862013-06-11 Andreas Schwab <schwab@suse.de>
25987
25988 [BZ #15577]
25989 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25990 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25991 values in the triple.
25992 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25993 terminator in the group key.
25994
3ee7e9fe
AJ
259952013-06-11 Andreas Jaeger <aj@suse.de>
25996
25997 * po/zh_TW.po: Update Chinese (traditional) translation from
25998 translation project.
25999
89fb6835
SP
260002013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26001
26002 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26003 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26004 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26005 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26006 (clock_getcpuclockid): Likewise.
26007 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26008 Add weak_alias and libc_hidden_def.
26009 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26010 * rt/clock_gettime.c (clock_gettime): Rename to
26011 __clock_gettime. Add weak_alias and libc_hidden_def.
26012 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26013 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26014 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26015 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26016 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26017 Likewise.
26018 * rt/clock_settime.c (clock_settime): Rename to
26019 __clock_settime. Add weak_alias and libc_hidden_def.
26020 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26021
0efa6f8b
JM
260222013-06-10 Joseph Myers <joseph@codesourcery.com>
26023
b8c61b4b
JM
26024 * mach/err_boot.sub: Remove trailing whitespace.
26025 * mach/err_ipc.sub: Likewise.
26026 * mach/err_mach.sub: Likewise.
26027
0efa6f8b
JM
26028 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26029 (ROUNDING_TESTS_double): Likewise.
26030 (ROUNDING_TESTS_long_double): Likewise.
26031 (ROUNDING_TESTS): Likewise.
26032 * math/libm-test.inc: Include <math-tests.h>.
26033 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26034 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26035 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26036 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26037
50b818bf
SP
260382013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26039
26040 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26041 of assigning.
26042
60d2f8f3
JM
260432013-06-08 Joseph Myers <joseph@codesourcery.com>
26044
4902d2c3
JM
26045 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26046 otherwise empty TRANS lines.
26047 * sysdeps/gnu/errlist.c: Regenerated.
26048
60d2f8f3
JM
26049 * catgets/gencat.c (error_print): Use (void) in function
26050 definition.
26051 * crypt/crypt_util.c (__init_des): Likewise.
26052 * crypt/speeds.c (Stop): Likewise.
26053 (main): Likewise.
26054 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26055 * inet/ruserpass.c (token): Likewise.
26056 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26057 * intl/localealias.c (extend_alias_table): Likewise.
26058 * intl/plural-exp.c (init_germanic_plural): Likewise.
26059 * libio/fcloseall.c (__fcloseall): Likewise.
26060 * libio/genops.c (_IO_flush_all): Likewise.
26061 (_IO_flush_all_linebuffered): Likewise.
26062 (_IO_cleanup): Likewise.
26063 (_IO_iter_begin): Likewise.
26064 (_IO_iter_end): Likewise.
26065 (_IO_list_lock): Likewise.
26066 (_IO_list_unlock): Likewise.
26067 (_IO_list_resetlock): Likewise.
26068 * libio/getchar.c (getchar): Likewise.
26069 * libio/getchar_u.c (getchar_unlocked): Likewise.
26070 * libio/getwchar.c (getwchar): Likewise.
26071 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26072 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26073 * login/getpt.c (__getpt): Likewise.
26074 * login/tst-utmp.c (main): Likewise.
26075 * malloc/hooks.c (__malloc_check_init): Likewise.
26076 * malloc/malloc.c (__malloc_stats): Likewise.
26077 * malloc/mtrace.c (tr_break): Likewise.
26078 (mtrace): Likewise.
26079 (muntrace): Likewise.
26080 * misc/fstab.c (endfsent): Likewise.
26081 * misc/getclktck.c (__getclktck): Likewise.
26082 * misc/getdtsz.c (__getdtablesize): Likewise.
26083 * misc/gethostid.c (gethostid): Likewise.
26084 * misc/getpagesize.c (__getpagesize): Likewise.
26085 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26086 (__get_nprocs): Likewise.
26087 (__get_phys_pages): Likewise.
26088 (__get_avphys_pages): Likewise.
26089 * misc/getttyent.c (getttyent): Likewise.
26090 (setttyent): Likewise.
26091 (endttyent): Likewise.
26092 * misc/getusershell.c (getusershell): Likewise.
26093 (endusershell): Likewise.
26094 (setusershell): Likewise.
26095 (initshells): Likewise.
26096 * misc/hsearch.c (__hdestroy): Likewise.
26097 * misc/sync.c (sync): Likewise.
26098 * misc/syslog.c (closelog_internal): Likewise.
26099 (closelog): Likewise.
26100 * misc/ttyslot.c (ttyslot): Likewise.
26101 * misc/vhangup.c (vhangup): Likewise.
26102 * posix/fork.c (__fork): Likewise.
26103 * posix/getegid.c (__getegid): Likewise.
26104 * posix/geteuid.c (__geteuid): Likewise.
26105 * posix/getgid.c (__getgid): Likewise.
26106 * posix/getpid.c (__getpid): Likewise.
26107 * posix/getppid.c (__getppid): Likewise.
26108 * posix/getuid.c (__getuid): Likewise.
26109 * posix/pause.c (pause): Likewise.
26110 * posix/setpgrp.c (setpgrp): Likewise.
26111 * posix/setsid.c (__setsid): Likewise.
26112 * posix/test-vfork.c (noop): Likewise.
26113 * resolv/gethnamaddr.c (_endhtent): Likewise.
26114 (_gethtent): Likewise.
26115 (ht_endhostent): Likewise.
26116 (gethostent): Likewise.
26117 (dns_service): Likewise.
26118 * stdlib/drand48.c (drand48): Likewise.
26119 * stdlib/lrand48.c (lrand48): Likewise.
26120 * stdlib/mrand48.c (mrand48): Likewise.
26121 * stdlib/rand.c (rand): Likewise.
26122 * stdlib/random.c (__random): Likewise.
26123 * stdlib/setenv.c (clearenv): Likewise.
26124 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26125 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26126 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26127 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26128 (__get_nprocs): Likewise.
26129 (__get_phys_pages): Likewise.
26130 (__get_avphys_pages): Likewise.
26131 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26132 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26133 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26134 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26135 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26136 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26137 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26138 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26139 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26140 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26141 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26142 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26143 * sysdeps/posix/clock.c (clock): Likewise.
26144 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26145 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26146 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26147 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26148 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26150 (__get_nprocs_conf): Likewise.
26151 (__get_phys_pages): Likewise.
26152 (__get_avphys_pages): Likewise.
26153 * time/clock.c (clock): Likewise.
26154 * time/tzset.c (__tzname_max): Likewise.
26155
2e09a79a
JM
261562013-06-07 Joseph Myers <joseph@codesourcery.com>
26157
26158 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26159 (__bswap_32): Do not use "register".
26160 * crypt/crypt.c (_ufc_doit_r): Likewise.
26161 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26162 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26163 * gmon/gmon.c (__monstartup): Likewise.
26164 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26165 * hurd/hurdmalloc.c (more_memory): Likewise.
26166 (malloc): Likewise.
26167 (free): Likewise.
26168 (realloc): Likewise.
26169 (malloc_fork_prepare): Likewise.
26170 (malloc_fork_parent): Likewise.
26171 (malloc_fork_child): Likewise.
26172 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26173 (_svcauth_des): Likewise.
26174 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26175 * inet/inet_net.c (inet_network): Likewise.
26176 * inet/inet_netof.c (inet_netof): Likewise.
26177 * inet/rcmd.c (__validuser2_sa): Likewise.
26178 * io/fts.c (fts_open): Likewise.
26179 (fts_load): Likewise.
26180 (fts_close): Likewise.
26181 (fts_read): Likewise.
26182 (fts_children): Likewise.
26183 (fts_build): Likewise.
26184 (fts_stat): Likewise.
26185 (fts_sort): Likewise.
26186 (fts_alloc): Likewise.
26187 (fts_lfree): Likewise.
26188 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26189 (_IO_file_xsgetn): Likewise.
26190 (_IO_file_xsgetn_mmap): Likewise.
26191 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26192 (_IO_cookie_write): Likewise.
26193 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26194 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26195 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26196 * malloc/obstack.c (_obstack_begin): Likewise.
26197 (_obstack_begin_1): Likewise.
26198 (_obstack_newchunk): Likewise.
26199 (_obstack_allocated_p): Likewise.
26200 (obstack_free): Likewise.
26201 (_obstack_memory_used): Likewise.
26202 * misc/getttyent.c (getttynam): Likewise.
26203 (getttyent): Likewise.
26204 (skip): Likewise.
26205 (value): Likewise.
26206 * misc/getusershell.c (initshells): Likewise.
26207 * misc/syslog.c (__vsyslog_chk): Likewise.
26208 * misc/ttyslot.c (ttyslot): Likewise.
26209 * nis/nis_hash.c (__nis_hash): Likewise.
26210 * posix/fnmatch_loop.c (FCT): Likewise.
26211 * posix/getconf.c (print_all): Likewise.
26212 (main): Likewise.
26213 * posix/getopt.c (exchange): Likewise.
26214 * posix/glob.c (globfree): Likewise.
26215 (prefix_array): Likewise.
26216 (__glob_pattern_type): Likewise.
26217 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26218 (NS_GET32): Likewise.
26219 (NS_PUT16): Likewise.
26220 (NS_PUT32): Likewise.
26221 * resolv/gethnamaddr.c (getanswer): Likewise.
26222 (gethostbyname2): Likewise.
26223 (gethostbyaddr): Likewise.
26224 (_gethtent): Likewise.
26225 (_gethtbyname2): Likewise.
26226 (_gethtbyaddr): Likewise.
26227 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26228 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26229 * resolv/res_init.c (__res_vinit): Likewise.
26230 (net_mask): Likewise.
26231 * resolv/res_mkquery.c (outchar): Likewise.
26232 (PRINT): Likewise.
26233 * stdio-common/printf_fp.c (outchar): Likewise.
26234 (PRINT): Likewise.
26235 * stdio-common/printf_fphex.c (outchar): Likewise.
26236 (PRINT): Likewise.
26237 * stdio-common/printf_size.c (outchar): Likewise.
26238 (PRINT): Likewise.
26239 * stdio-common/test_rdwr.c (main): Likewise.
26240 * stdio-common/tfformat.c (matches): Likewise.
26241 * stdio-common/vfprintf.c (outchar): Likewise.
26242 (printf_unknown): Likewise.
26243 (buffered_vfprintf): Likewise.
26244 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26245 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26246 (ReadFile): Likewise.
26247 * stdlib/qsort.c (SWAP): Likewise.
26248 (_quicksort): Likewise.
26249 * stdlib/setenv.c (__add_to_environ): Likewise.
26250 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26251 * stdlib/strtol_l.c (__strtol_l): Likewise.
26252 * stdlib/tst-strtod.c (main): Likewise.
26253 * stdlib/tst-strtol.c (main): Likewise.
26254 * stdlib/tst-strtoll.c (main): Likewise.
26255 * string/bits/string2.h (__strcmp_cc): Likewise.
26256 (__strcmp_cg): Likewise.
26257 (__strcspn_c1): Likewise.
26258 (__strcspn_c2): Likewise.
26259 (__strcspn_c3): Likewise.
26260 (__strspn_c1): Likewise.
26261 (__strspn_c2): Likewise.
26262 (__strspn_c3): Likewise.
26263 (__strsep_1c): Likewise.
26264 (__strsep_2c): Likewise.
26265 (__strsep_3c): Likewise.
26266 * string/memccpy.c (__memccpy): Likewise.
26267 * string/stpcpy.c (__stpcpy): Likewise.
26268 * string/strcmp.c (strcmp): Likewise.
26269 * string/strrchr.c (strrchr): Likewise.
26270 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26271 Likewise.
26272 * sysdeps/mach/hurd/getcwd.c
26273 (_hurd_canonicalize_directory_name_internal): Likewise.
26274 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26275 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26276 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26277 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26278 Likewise, in both definitions.
26279 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26280 definitions.
26281 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26282 64] (__bswap_64): Likewise.
26283 * time/test_time.c (main): Likewise.
26284 * time/tzfile.c (__tzfile_read): Likewise.
26285 (__tzfile_compute): Likewise.
26286 * time/tzset.c (__tzset_parse_tz): Likewise.
26287 (tzset_internal): Likewise.
26288 (compute_change): Likewise.
26289 * wcsmbs/wcscat.c (__wcscat): Likewise.
26290 * wcsmbs/wcschr.c (wcschr): Likewise.
26291 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26292 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26293 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26294 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26295 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26296 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26297 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26298 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26299 * wcsmbs/wmemset.c (wmemset): Likewise.
26300
9e54314b
JM
263012013-06-06 Joseph Myers <joseph@codesourcery.com>
26302
26303 * scripts/config.guess: Update to version 2013-05-16.
26304 * scripts/config.sub: Update to version 2013-04-24.
26305 * scripts/install-sh: Update to version 2011-11-20.07.
26306 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26307 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26308
350635a5
OB
263092013-06-06 Ondřej Bílka <neleai@seznam.cz>
26310
26311 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26312 * elf/sln.c: Likewise.
26313 * hurd/hurd/ioctl.h: Likewise.
26314 * hurd/hurdmalloc.c: Likewise.
26315 * hurd/xattr.c: Likewise.
26316 * include/shlib-compat.h: Likewise.
26317 * inet/ruserpass.c: Likewise.
26318 * libio/iofgets_u.c: Likewise.
26319 * libio/iofgetws_u.c: Likewise.
26320 * locale/programs/ld-identification.c: Likewise.
26321 * locale/programs/ld-time.c: Likewise.
26322 * mach/msg-destroy.c: Likewise.
26323 * nss/nss_files/files-netgrp.c: Likewise.
26324 * resolv/res_data.c: Likewise.
26325 * soft-fp/op-1.h: Likewise.
26326 * soft-fp/op-2.h: Likewise.
26327 * soft-fp/op-4.h: Likewise.
26328 * soft-fp/op-common.h: Likewise.
26329 * stdio-common/printf_fphex.c: Likewise.
26330 * stdlib/strtod_l.c: Likewise.
26331 * sunrpc/rpc/clnt.h: Likewise.
26332 * sysdeps/generic/framestate.c: Likewise.
26333 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26334 * sysdeps/i386/bsd-setjmp.S: Likewise.
26335 * sysdeps/i386/__longjmp.S: Likewise.
26336 * sysdeps/i386/setjmp.S: Likewise.
26337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26340 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26344 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26347 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26353 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26354 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26355 * sysdeps/ieee754/support.c: Likewise.
26356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26357 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26358 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26359 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26360 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26361 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26362 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26363 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26364 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26365 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26366 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26367 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26369 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26370 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26371 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26372 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26374
44a988af
OB
263752013-06-05 Ondřej Bílka <neleai@seznam.cz>
26376
25506f09 26377 * posix/transbug.c: Remove executable mode.
44a988af 26378
9c84384c
JM
263792013-06-05 Joseph Myers <joseph@codesourcery.com>
26380
26381 * crypt/speeds.c: Remove trailing whitespace.
26382 * dlfcn/default.c: Likewise.
26383 * elf/ifuncdep2.c: Likewise.
26384 * elf/ifuncmain1.c: Likewise.
26385 * elf/ifuncmain1vis.c: Likewise.
26386 * elf/testobj.h: Likewise.
26387 * elf/tst-stackguard1.c: Likewise.
26388 * gmon/sys/gmon.h: Likewise.
26389 * hurd/hurdmsg.c: Likewise.
26390 * hurd/new-fd.c: Likewise.
26391 * hurd/ports-get.c: Likewise.
26392 * iconvdata/ibm1008_420.c: Likewise.
26393 * inet/tst-getni1.c: Likewise.
26394 * inet/tst-getni2.c: Likewise.
26395 * libio/ioungetc.c: Likewise.
26396 * libio/wfiledoalloc.c: Likewise.
26397 * manual/libm-err-tab.pl: Likewise.
26398 * math/w_dremf.c: Likewise.
26399 * misc/ftruncate.c: Likewise.
26400 * posix/bug-glob2.c: Likewise.
26401 * posix/tst-pcre.c: Likewise.
26402 * posix/wait4.c: Likewise.
26403 * resolv/README: Likewise.
26404 * resolv/res_debug.h: Likewise.
26405 * resolv/tst-inet_ntop.c: Likewise.
26406 * setjmp/bug269-setjmp.c: Likewise.
26407 * soft-fp/extended.h: Likewise.
26408 * soft-fp/op-1.h: Likewise.
26409 * soft-fp/op-2.h: Likewise.
26410 * soft-fp/op-4.h: Likewise.
26411 * soft-fp/op-8.h: Likewise.
26412 * soft-fp/testit.c: Likewise.
26413 * stdio-common/bug16.c: Likewise.
26414 * stdlib/random.c: Likewise.
26415 * sunrpc/rpcsvc/rquota.x: Likewise.
26416 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26417 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26419 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26420 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26421 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26422 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26423 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26424 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26425 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26426 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26427 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26428 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26429 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26430 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26431 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26432 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26433 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26434 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26437 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26438 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26439 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26440 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26442 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26445 * sysdeps/ieee754/s_lib_version.c: Likewise.
26446 * sysdeps/mach/hurd/check_fds.c: Likewise.
26447 * sysdeps/mach/hurd/getsockname.c: Likewise.
26448 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26449 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26450 * sysdeps/powerpc/bits/link.h: Likewise.
26451 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26452 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26453 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26454 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26455 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26456 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26457 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26458 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26459 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26460 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26461 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26462 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26463 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26464 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26465 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26466 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26468 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26469 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26472 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26473 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26474 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26475 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26476 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26477 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26479 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26482 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26483 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26484 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26485 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26486 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26487 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26488 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26489 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26490 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26491 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26492 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26495 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26496 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26497 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26498 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26499 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26500 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26503 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26504 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26505 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26506 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26507 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26508 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26509 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26511 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26512 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26513 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26514 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26515 * sysdeps/powerpc/sysdep.h: Likewise.
26516 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26517 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26518 * sysdeps/sh/dl-trampoline.S: Likewise.
26519 * sysdeps/sh/memset.S: Likewise.
26520 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26521 * sysdeps/sh/strlen.S: Likewise.
26522 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26523 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26524 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26525 * sysdeps/sparc/sparc32/rem.S: Likewise.
26526 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26527 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26528 * sysdeps/sparc/sparc32/strchr.S: Likewise.
26529 * sysdeps/sparc/sparc32/udiv.S: Likewise.
26530 * sysdeps/sparc/sparc32/urem.S: Likewise.
26531 * sysdeps/sparc/sparc64/add_n.S: Likewise.
26532 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26533 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26534 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26535 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26536 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26537 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26538 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26539 * sysdeps/unix/bsd/times.c: Likewise.
26540 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26541 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26545 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26546 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26547 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26548 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26549 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26550 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26551 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26552 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26553 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26554 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26555 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26556 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26557 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26558 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26559 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26560 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26561 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26562 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26563 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26564 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26565 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26566 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26568 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26569 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26570 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26571 * sysdeps/x86_64/strcspn.S: Likewise.
26572
869378a5
RA
265732013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26574
26575 * locale/C-translit.h: Revert #include <stdint.h> because this is a
26576 generated file. Regenerate properly from gen-translit.pl.
26577 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
26578 locale/C-translit.h.
26579
840e2943
AS
265802013-06-05 Andreas Schwab <schwab@suse.de>
26581
26582 [BZ #15100]
26583 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26584 week as 6 instead of -1.
26585 * time/tst-strptime.c (day_tests): Add test case.
26586
4c60cb0c
SP
265872013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26588
26589 * sysdeps/generic/math_private.h
26590 (libc_feholdexcept_setround_53bit): Replace with
26591 libc_feholdsetround_53bit.
26592 (libc_feupdateenv_53bit): Replace with
26593 libc_feresetround_53bit.
26594 (SET_RESTORE_ROUND_53BIT): Adjust.
26595
d180203e
SP
265962013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26597
96df079a
SP
26598 * string/test-strchrnul.c: Add copyright header.
26599
d180203e
SP
26600 * posix/tst-getaddrinfo4.c: Increase test timeout.
26601
8b0ccb2d
CD
266022013-06-03 Carlos O'Donell <carlos@redhat.com>
26603
26604 [BZ #15536]
26605 * math/libm-test.inc (MAX_EXP): Remove
26606 (MIN_EXP): Define.
26607 (ulp): Use MIN_EXP - MANT_DIG.
26608 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26609
3b3c4d40
CD
266102013-05-31 Carlos O'Donell <carlos@redhat.com>
26611
26612 * po/be.po: Revert last change.
26613 * po/zh_CN.po: Likewise.
26614 * po/header.pot: Likewise.
26615
fab7ce3f
JM
266162013-05-31 Joseph Myers <joseph@codesourcery.com>
26617
26618 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26619 link-libc-deps to empty as target-specific variable.
26620 * Makerules (link-libc-args): New variable.
26621 (libc-for-link): Likewise.
26622 (link-libc-deps): Likewise.
26623 (lib%.so): Depend on $(link-libc-deps). Link with
26624 $(link-libc-args).
26625 (build-module): Link with $(link-libc-args).
26626 (build-module-asneeded): Likewise.
26627 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26628 list of objects.
26629 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26630 target-specific variable.
26631 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26632 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26633 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26634 libc.
26635 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26636 libc and ld.so.
26637 ($(objpfx)libpcprofile.so): Likewise.
26638 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26639 libc_nonshared.a.
26640 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26641 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26642 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26643 $(link-libc-deps).
26644 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26645 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26646 * login/Makefile ($(objpfx)libutil.so): Likewise.
26647 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26648 * math/Makefile ($(objpfx)libm.so): Likewise.
26649 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26650 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26651 variable instead of depending directly on libc.
26652 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26653 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26654 $(link-libc-deps).
26655 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26656 libc.
26657 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26658 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26659 ($(objpfx)libanl.so): Likewise.
26660 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26661 ld.so.
26662 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26663 $(link-libc-deps).
26664 * sysdeps/i386/fpu/Makefile: Remove file.
26665 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26666 ($(objpfx)libm.so): Remove dependency on ld.so.
26667
eca5920c
PF
266682013-05-30 Patsy Franklin <pfrankli@redhat.com>
26669
26670 [BZ # 15553]
26671 * nis/yp_xdr.c (XDRMAXNAME): Define.
26672 (XDRMAXRECORD): Define.
26673 (xdr_domainname): Use XDRMAXNAME.
26674 (xdr_mapname): Likewise.
26675 (xdr_peername): Likewise.
26676 (xdr_keydat): Use XDRMAXRECORD.
26677 (xdr_valdat): Likewise.
26678
266792013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26680
26681 [BZ #14256]
26682 * manual/errno.texi (ESTALE): Update to account for more than
26683 just NFS file systems.
26684 * sysdeps/gnu/errlist.c: Regenerated.
26685
b9375348
SP
266862013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26687
26688 [BZ #15465]
26689 * elf/Makefile (tests): Add tst-null-argv.
26690 (modules-names): Add tst-null-argv-lib.
26691 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26692 (tst-null-argv-ENV): Set environment for tst-null-argv.
26693 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26694 (RTLD_PROGNAME): New macro.
26695 * elf/tst-null-argv.c: New test case.
26696 * elf/tst-null-argv-lib.c: Library for test case.
26697 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26698 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26699 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26700 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26701 * elf/dl-init.c (call_init): Likewise.
26702 (_dl_init): Likewise.
26703 * elf/dl-load.c (print_search_path): Likewise.
26704 (_dl_map_object): Likewise.
26705 * elf/dl-lookup.c (do_lookup_x): Likewise.
26706 (add_dependency): Likewise.
26707 (_dl_lookup_symbol_x): Likewise.
26708 (_dl_debug_bindings): Likewise.
26709 * elf/dl-open.c (_dl_show_scope): Likewise.
26710 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26711 * elf/dl-version.c (match_symbol): Likewise.
26712 (_dl_check_map_versions): Likewise.
26713 * elf/rtld.c (dl_main): Likewise.
26714 (print_unresolved): Use RTLD_PROGNAME.
26715 (print_missing_version): Likewise.
26716 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26717 (elf_machine_rela): Likewise.
26718 * sysdeps/powerpc/powerpc32/dl-machine.c
26719 (__process_machine_rela): Likewise.
26720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26721 Likewise.
26722 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26723 Likewise.
26724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26725 Likewise.
26726 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26728 Likewise.
26729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26730 Likewise.
26731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26732
8a9f20c8
CD
267332013-05-28 Carlos O'Donell <carlos@redhat.com>
26734
26735 * po/be.po: Add descriptive title.
26736 * po/zh_CN.po: Likewise.
26737 * po/header.pot: Likewise.
26738
0e60d68e
MF
267392013-05-28 Mike Frysinger <vapier@gentoo.org>
26740
26741 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26742 error message.
26743 (enlarge_archive): Likewise.
26744
56b672e9
BN
267452013-05-28 Ben North <ben@redfrontdoor.org>
26746
26747 * manual/arith.texi (frexp): It is the magnitude of the return
26748 value which lies in [0.5, 1), not the return value itself.
26749
5e056687
AZ
267502013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26751
26752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26753
2b66ef5d
TS
267542013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26755
528c2405
TS
26756 * stdio-common/bug26.c (main): Correct fscanf template.
26757
07b4c13d
TS
26758 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26759 declare _dl_skip_args.
26760
ec9dd97c
TS
26761 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26762 Don't declare.
26763
2b66ef5d
TS
26764 * manual/platform.texi: Add missing @end deftypefun.
26765
4f8dfe27
JM
267662013-05-24 Joseph Myers <joseph@codesourcery.com>
26767
0323d086
JM
26768 [BZ #15529]
26769 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26770 bit of mantissa of 2^16382.
26771 * math/libm-test.inc (hypot_test_data): Add more tests.
26772
dd4259b9
JM
26773 * math/libm-test.inc: Add drem and pow10 to list of tested
26774 functions.
26775 (pow10_test): New function.
26776 (drem_test): Likewise.
26777 (drem_test_tonearest): Likewise.
26778 (drem_test_towardzero): Likewise.
26779 (drem_test_downward): Likewise.
26780 (drem_test_upward): Likewise.
26781 (main): Call the new functions.
26782
4f8dfe27
JM
26783 * math/libm-test.inc (finite_test_data): Remove.
26784 (finite_test): Run tests from isfinite_test_data.
26785 (gamma_test_data): Remove.
26786 (gamma_test): Run tests from lgamma_test_data.
26787 * sysdeps/i386/fpu/libm-test-ulps: Update.
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26789
d116b7c4
AZ
267902013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26791
26792 * manual/platform.texi: Add PowerPC PPR function set documentation.
26793 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26794 implementation.
26795
e96e3767
CD
267962013-05-24 Carlos O'Donell <carlos@redhat.com>
26797
26798 * math/libm-test.inc (MAX_EXP): Define.
26799 (ULPDIFF): Define.
26800 (ulp): New function.
26801 (check_float_internal): Use ULPDIFF.
26802 (cpow_test): Disable failing test.
26803 (check_ulp): Test ulp() implemetnation.
26804 (main): Call check_ulp before starting tests.
26805
b679a606
JM
268062013-05-24 Joseph Myers <joseph@codesourcery.com>
26807
e8bdba36
JM
26808 * math/gen-libm-test.pl (generate_testfile): Do not handle
26809 START_DATA and END_DATA.
26810 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26811 END_DATA.
26812 (acos_tonearest_test_data): Likewise.
26813 (acos_towardzero_test_data): Likewise.
26814 (acos_downward_test_data): Likewise.
26815 (acos_upward_test_data): Likewise.
26816 (acosh_test_data): Likewise.
26817 (asin_test_data): Likewise.
26818 (asin_tonearest_test_data): Likewise.
26819 (asin_towardzero_test_data): Likewise.
26820 (asin_downward_test_data): Likewise.
26821 (asin_upward_test_data): Likewise.
26822 (asinh_test_data): Likewise.
26823 (atan_test_data): Likewise.
26824 (atanh_test_data): Likewise.
26825 (atan2_test_data): Likewise.
26826 (cabs_test_data): Likewise.
26827 (cacos_test_data): Likewise.
26828 (cacosh_test_data): Likewise.
26829 (carg_test_data): Likewise.
26830 (casin_test_data): Likewise.
26831 (casinh_test_data): Likewise.
26832 (catan_test_data): Likewise.
26833 (catanh_test_data): Likewise.
26834 (cbrt_test_data): Likewise.
26835 (ccos_test_data): Likewise.
26836 (ccosh_test_data): Likewise.
26837 (ceil_test_data): Likewise.
26838 (cexp_test_data): Likewise.
26839 (cimag_test_data): Likewise.
26840 (clog_test_data): Likewise.
26841 (clog10_test_data): Likewise.
26842 (conj_test_data): Likewise.
26843 (copysign_test_data): Likewise.
26844 (cos_test_data): Likewise.
26845 (cos_tonearest_test_data): Likewise.
26846 (cos_towardzero_test_data): Likewise.
26847 (cos_downward_test_data): Likewise.
26848 (cos_upward_test_data): Likewise.
26849 (cosh_test_data): Likewise.
26850 (cosh_tonearest_test_data): Likewise.
26851 (cosh_towardzero_test_data): Likewise.
26852 (cosh_downward_test_data): Likewise.
26853 (cosh_upward_test_data): Likewise.
26854 (cpow_test_data): Likewise.
26855 (cproj_test_data): Likewise.
26856 (creal_test_data): Likewise.
26857 (csin_test_data): Likewise.
26858 (csinh_test_data): Likewise.
26859 (csqrt_test_data): Likewise.
26860 (ctan_test_data): Likewise.
26861 (ctan_tonearest_test_data): Likewise.
26862 (ctan_towardzero_test_data): Likewise.
26863 (ctan_downward_test_data): Likewise.
26864 (ctan_upward_test_data): Likewise.
26865 (ctanh_test_data): Likewise.
26866 (ctanh_tonearest_test_data): Likewise.
26867 (ctanh_towardzero_test_data): Likewise.
26868 (ctanh_downward_test_data): Likewise.
26869 (ctanh_upward_test_data): Likewise.
26870 (erf_test_data): Likewise.
26871 (erfc_test_data): Likewise.
26872 (exp_test_data): Likewise.
26873 (exp_tonearest_test_data): Likewise.
26874 (exp_towardzero_test_data): Likewise.
26875 (exp_downward_test_data): Likewise.
26876 (exp_upward_test_data): Likewise.
26877 (exp10_test_data): Likewise.
26878 (exp2_test_data): Likewise.
26879 (expm1_test_data): Likewise.
26880 (fabs_test_data): Likewise.
26881 (fdim_test_data): Likewise.
26882 (finite_test_data): Likewise.
26883 (floor_test_data): Likewise.
26884 (fma_test_data): Likewise.
26885 (fma_towardzero_test_data): Likewise.
26886 (fma_downward_test_data): Likewise.
26887 (fma_upward_test_data): Likewise.
26888 (fmax_test_data): Likewise.
26889 (fmin_test_data): Likewise.
26890 (fmod_test_data): Likewise.
26891 (fpclassify_test_data): Likewise.
26892 (frexp_test_data): Likewise.
26893 (gamma_test_data): Likewise.
26894 (hypot_test_data): Likewise.
26895 (ilogb_test_data): Likewise.
26896 (isfinite_test_data): Likewise.
26897 (isgreater_test_data): Likewise.
26898 (isgreaterequal_test_data): Likewise.
26899 (isinf_test_data): Likewise.
26900 (isless_test_data): Likewise.
26901 (islessequal_test_data): Likewise.
26902 (islessgreater_test_data): Likewise.
26903 (isnan_test_data): Likewise.
26904 (isnormal_test_data): Likewise.
26905 (issignaling_test_data): Likewise.
26906 (isunordered_test_data): Likewise.
26907 (j0_test_data): Likewise.
26908 (j1_test_data): Likewise.
26909 (jn_test_data): Likewise.
26910 (ldexp_test_data): Likewise.
26911 (lgamma_test_data): Likewise.
26912 (lrint_test_data): Likewise.
26913 (lrint_tonearest_test_data): Likewise.
26914 (lrint_towardzero_test_data): Likewise.
26915 (lrint_downward_test_data): Likewise.
26916 (lrint_upward_test_data): Likewise.
26917 (llrint_test_data): Likewise.
26918 (llrint_tonearest_test_data): Likewise.
26919 (llrint_towardzero_test_data): Likewise.
26920 (llrint_downward_test_data): Likewise.
26921 (llrint_upward_test_data): Likewise.
26922 (log_test_data): Likewise.
26923 (log10_test_data): Likewise.
26924 (log1p_test_data): Likewise.
26925 (log2_test_data): Likewise.
26926 (logb_test_data): Likewise.
26927 (logb_downward_test_data): Likewise.
26928 (lround_test_data): Likewise.
26929 (llround_test_data): Likewise.
26930 (modf_test_data): Likewise.
26931 (nearbyint_test_data): Likewise.
26932 (nextafter_test_data): Likewise.
26933 (nexttoward_test_data): Likewise.
26934 (pow_test_data): Likewise.
26935 (pow_tonearest_test_data): Likewise.
26936 (pow_towardzero_test_data): Likewise.
26937 (pow_downward_test_data): Likewise.
26938 (pow_upward_test_data): Likewise.
26939 (remainder_test_data): Likewise.
26940 (remainder_tonearest_test_data): Likewise.
26941 (remainder_towardzero_test_data): Likewise.
26942 (remainder_downward_test_data): Likewise.
26943 (remainder_upward_test_data): Likewise.
26944 (remquo_test_data): Likewise.
26945 (rint_test_data): Likewise.
26946 (rint_tonearest_test_data): Likewise.
26947 (rint_towardzero_test_data): Likewise.
26948 (rint_downward_test_data): Likewise.
26949 (rint_upward_test_data): Likewise.
26950 (round_test_data): Likewise.
26951 (scalb_test_data): Likewise.
26952 (scalbn_test_data): Likewise.
26953 (scalbln_test_data): Likewise.
26954 (signbit_test_data): Likewise.
26955 (sin_test_data): Likewise.
26956 (sin_tonearest_test_data): Likewise.
26957 (sin_towardzero_test_data): Likewise.
26958 (sin_downward_test_data): Likewise.
26959 (sin_upward_test_data): Likewise.
26960 (sincos_test_data): Likewise.
26961 (sinh_test_data): Likewise.
26962 (sinh_tonearest_test_data): Likewise.
26963 (sinh_towardzero_test_data): Likewise.
26964 (sinh_downward_test_data): Likewise.
26965 (sinh_upward_test_data): Likewise.
26966 (sqrt_test_data): Likewise.
26967 (tan_test_data): Likewise.
26968 (tan_tonearest_test_data): Likewise.
26969 (tan_towardzero_test_data): Likewise.
26970 (tan_downward_test_data): Likewise.
26971 (tan_upward_test_data): Likewise.
26972 (tanh_test_data): Likewise.
26973 (tgamma_test_data): Likewise.
26974 (trunc_test_data): Likewise.
26975 (y0_test_data): Likewise.
26976 (y1_test_data): Likewise.
26977 (yn_test_data): Likewise.
26978 (significand_test_data): Likewise.
26979
b679a606
JM
26980 * math/gen-libm-test.pl (@functions): Remove variable.
26981 (generate_testfile): Don't handle START and END lines.
26982 * math/libm-test.inc (START): New macro.
26983 (END): Likewise.
26984 (END_COMPLEX): Likewise.
26985 (acos_test): Use END macro without arguments.
26986 (acos_test_tonearest): Likewise.
26987 (acos_test_towardzero): Likewise.
26988 (acos_test_downward): Likewise.
26989 (acos_test_upward): Likewise.
26990 (acosh_test): Likewise.
26991 (asin_test): Likewise.
26992 (asin_test_tonearest): Likewise.
26993 (asin_test_towardzero): Likewise.
26994 (asin_test_downward): Likewise.
26995 (asin_test_upward): Likewise.
26996 (asinh_test): Likewise.
26997 (atan_test): Likewise.
26998 (atanh_test): Likewise.
26999 (atan2_test): Likewise.
27000 (cabs_test): Likewise.
27001 (cacos_test): Use END_COMPLEX macro without arguments.
27002 (cacosh_test): Likewise.
27003 (carg_test): Use END macro without arguments.
27004 (casin_test): Use END_COMPLEX macro without arguments.
27005 (casinh_test): Likewise.
27006 (catan_test): Likewise.
27007 (catanh_test): Likewise.
27008 (cbrt_test): Use END macro without arguments.
27009 (ccos_test): Use END_COMPLEX macro without arguments.
27010 (ccosh_test): Likewise.
27011 (ceil_test): Use END macro without arguments.
27012 (cexp_test): Use END_COMPLEX macro without arguments.
27013 (cimag_test): Use END macro without arguments.
27014 (clog_test): Use END_COMPLEX macro without arguments.
27015 (clog10_test): Likewise.
27016 (conj_test): Likewise.
27017 (copysign_test): Use END macro without arguments.
27018 (cos_test): Likewise.
27019 (cos_test_tonearest): Likewise.
27020 (cos_test_towardzero): Likewise.
27021 (cos_test_downward): Likewise.
27022 (cos_test_upward): Likewise.
27023 (cosh_test): Likewise.
27024 (cosh_test_tonearest): Likewise.
27025 (cosh_test_towardzero): Likewise.
27026 (cosh_test_downward): Likewise.
27027 (cosh_test_upward): Likewise.
27028 (cpow_test): Use END_COMPLEX macro without arguments.
27029 (cproj_test): Likewise.
27030 (creal_test): Use END macro without arguments.
27031 (csin_test): Use END_COMPLEX macro without arguments.
27032 (csinh_test): Likewise.
27033 (csqrt_test): Likewise.
27034 (ctan_test): Likewise.
27035 (ctan_test_tonearest): Likewise.
27036 (ctan_test_towardzero): Likewise.
27037 (ctan_test_downward): Likewise.
27038 (ctan_test_upward): Likewise.
27039 (ctanh_test): Likewise.
27040 (ctanh_test_tonearest): Likewise.
27041 (ctanh_test_towardzero): Likewise.
27042 (ctanh_test_downward): Likewise.
27043 (ctanh_test_upward): Likewise.
27044 (erf_test): Use END macro without arguments.
27045 (erfc_test): Likewise.
27046 (exp_test): Likewise.
27047 (exp_test_tonearest): Likewise.
27048 (exp_test_towardzero): Likewise.
27049 (exp_test_downward): Likewise.
27050 (exp_test_upward): Likewise.
27051 (exp10_test): Likewise.
27052 (exp2_test): Likewise.
27053 (expm1_test): Likewise.
27054 (fabs_test): Likewise.
27055 (fdim_test): Likewise.
27056 (finite_test): Likewise.
27057 (floor_test): Likewise.
27058 (fma_test): Likewise.
27059 (fma_test_towardzero): Likewise.
27060 (fma_test_downward): Likewise.
27061 (fma_test_upward): Likewise.
27062 (fmax_test): Likewise.
27063 (fmin_test): Likewise.
27064 (fmod_test): Likewise.
27065 (fpclassify_test): Likewise.
27066 (frexp_test): Likewise.
27067 (gamma_test): Likewise.
27068 (hypot_test): Likewise.
27069 (ilogb_test): Likewise.
27070 (isfinite_test): Likewise.
27071 (isgreater_test): Likewise.
27072 (isgreaterequal_test): Likewise.
27073 (isinf_test): Likewise.
27074 (isless_test): Likewise.
27075 (islessequal_test): Likewise.
27076 (islessgreater_test): Likewise.
27077 (isnan_test): Likewise.
27078 (isnormal_test): Likewise.
27079 (issignaling_test): Likewise.
27080 (isunordered_test): Likewise.
27081 (j0_test): Likewise.
27082 (j1_test): Likewise.
27083 (jn_test): Likewise.
27084 (ldexp_test): Likewise.
27085 (lgamma_test): Likewise.
27086 (lrint_test): Likewise.
27087 (lrint_test_tonearest): Likewise.
27088 (lrint_test_towardzero): Likewise.
27089 (lrint_test_downward): Likewise.
27090 (lrint_test_upward): Likewise.
27091 (llrint_test): Likewise.
27092 (llrint_test_tonearest): Likewise.
27093 (llrint_test_towardzero): Likewise.
27094 (llrint_test_downward): Likewise.
27095 (llrint_test_upward): Likewise.
27096 (log_test): Likewise.
27097 (log10_test): Likewise.
27098 (log1p_test): Likewise.
27099 (log2_test): Likewise.
27100 (logb_test): Likewise.
27101 (logb_test_downward): Likewise.
27102 (lround_test): Likewise.
27103 (llround_test): Likewise.
27104 (modf_test): Likewise.
27105 (nearbyint_test): Likewise.
27106 (nextafter_test): Likewise.
27107 (nexttoward_test): Likewise.
27108 (pow_test): Likewise.
27109 (pow_test_tonearest): Likewise.
27110 (pow_test_towardzero): Likewise.
27111 (pow_test_downward): Likewise.
27112 (pow_test_upward): Likewise.
27113 (remainder_test): Likewise.
27114 (remainder_test_tonearest): Likewise.
27115 (remainder_test_towardzero): Likewise.
27116 (remainder_test_downward): Likewise.
27117 (remainder_test_upward): Likewise.
27118 (remquo_test): Likewise.
27119 (rint_test): Likewise.
27120 (rint_test_tonearest): Likewise.
27121 (rint_test_towardzero): Likewise.
27122 (rint_test_downward): Likewise.
27123 (rint_test_upward): Likewise.
27124 (round_test): Likewise.
27125 (scalb_test): Likewise.
27126 (scalbn_test): Likewise.
27127 (scalbln_test): Likewise.
27128 (signbit_test): Likewise.
27129 (sin_test): Likewise.
27130 (sin_test_tonearest): Likewise.
27131 (sin_test_towardzero): Likewise.
27132 (sin_test_downward): Likewise.
27133 (sin_test_upward): Likewise.
27134 (sincos_test): Likewise.
27135 (sinh_test): Likewise.
27136 (sinh_test_tonearest): Likewise.
27137 (sinh_test_towardzero): Likewise.
27138 (sinh_test_downward): Likewise.
27139 (sinh_test_upward): Likewise.
27140 (sqrt_test): Likewise.
27141 (tan_test): Likewise.
27142 (tan_test_tonearest): Likewise.
27143 (tan_test_towardzero): Likewise.
27144 (tan_test_downward): Likewise.
27145 (tan_test_upward): Likewise.
27146 (tanh_test): Likewise.
27147 (tgamma_test): Likewise.
27148 (trunc_test): Likewise.
27149 (y0_test): Likewise.
27150 (y1_test): Likewise.
27151 (yn_test): Likewise.
27152 (significand_test): Likewise.
27153
bae143d2
OB
271542013-05-24 Ondřej Bílka <neleai@seznam.cz>
27155
27156 [BZ #15381]
27157 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27158
9323d39b
EM
271592013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27160
d4ea44a0 27161 [BZ #14894]
9323d39b
EM
27162 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27163 __ppc_mdoio and __ppc_mdoom.
27164 * manual/platform.texi: Document new functions __ppc_yield,
27165 __ppc_mdoio and __ppc_mdoom.
27166
13e23af7
CD
271672013-05-22 Carlos O'Donell <carlos@redhat.com>
27168
27169 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27170 (main): Mention "tls" pseudo-hwcap is legacy.
27171 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27172
351fe550
JM
271732013-05-22 Joseph Myers <joseph@codesourcery.com>
27174
27175 * math/gen-libm-test.pl (parse_args): Output only string of
27176 arguments as text for test name, not full call or descriptions of
27177 tests for extra outputs.
27178 (generate_testfile): Do not pass function name to parse_args.
27179 Generate this_func variable from START.
27180 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27181 field to arg_str.
27182 (struct test_ff_f_data): Likewise.
27183 (test_ff_f_data_nexttoward): Likewise.
27184 (struct test_fi_f_data): Likewise.
27185 (struct test_fl_f_data): Likewise.
27186 (struct test_if_f_data): Likewise.
27187 (struct test_fff_f_data): Likewise.
27188 (struct test_c_f_data): Likewise.
27189 (struct test_f_f1_data): Likewise. Remove field extra_name.
27190 (struct test_fF_f1_data): Likewise.
27191 (struct test_ffI_f1_data): Likewise.
27192 (struct test_c_c_data): Rename test_name field to arg_str.
27193 (struct test_cc_c_data): Likewise.
27194 (struct test_f_i_data): Likewise.
27195 (struct test_ff_i_data): Likewise.
27196 (struct test_f_l_data): Likewise.
27197 (struct test_f_L_data): Likewise.
27198 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27199 and extra2_name.
27200 (COMMON_TEST_SETUP): New macro.
27201 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27202 (COMMON_TEST_CLEANUP): Likewise.
27203 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27204 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27205 macros.
27206 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27207 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27208 macros.
27209 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27210 (RUN_TEST_fff_f): Take argument string. Call new setup and
27211 cleanup macros.
27212 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27213 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27214 macros.
27215 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27216 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27217 macros.
27218 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27219 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27220 cleanup macros.
27221 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27222 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27223 cleanup macros.
27224 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27225 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27226 cleanup macros.
27227 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27228 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27229 macros.
27230 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27231 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27232 macros.
27233 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27234 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27235 macros.
27236 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27237 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27238 cleanup macros.
27239 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27240 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27241 cleanup macros.
27242 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27243 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27244 macros.
27245 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27246 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27247 cleanup macros.
27248 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27249 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27250 macros.
27251 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27252 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27253 macros.
27254 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27255 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27256 cleanup macros.
27257 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27258
85118d4d
EBM
272592013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27260
27261 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27262 to _sifields.sigfault.
27263 (si_addr_lsb): Define new macro.
27264 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27265 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27266 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27267
7a44c18f
CD
272682013-05-03 Carlos O'Donell <carlos at redhat.com>
27269
27270 [BZ #15441]
27271 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27272 returns -1.
27273 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27274 null return -1.
27275 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27276 loading the domain.
27277
b50a7181
JM
272782013-05-22 Joseph Myers <joseph@codesourcery.com>
27279
27280 * math/gen-libm-test.pl (parse_args): Do not include expected
27281 result in test name.
27282 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27283 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27284 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27286 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27288
051063c8
SP
272892013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27290
3ce9e010
SP
27291 * benchtests/Makefile: Sort function entries.
27292
051063c8
SP
27293 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27294 tanh, asinh, acosh, atanh.
27295 * benchtests/acos-inputs: New file.
27296 * benchtests/acosh-inputs: New file.
27297 * benchtests/asin-inputs: New file.
27298 * benchtests/asinh-inputs: New file.
27299 * benchtests/atanh-inputs: New file.
27300 * benchtests/cosh-inputs: New file.
27301 * benchtests/log-inputs: New file.
27302 * benchtests/sinh-inputs: New file.
27303 * benchtests/tanh-inputs: New file.
27304
47c22455
DL
273052013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27306
27307 [BZ #15339]
27308 * posix/tst-getaddrinfo4.c: New test.
27309 * posix/Makefile (tests): Add it.
27310
3d04f5db
SP
273112013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27312
27313 [BZ #15339]
27314 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27315 when no services were used.
27316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27317 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27318
d5dd6189
AS
273192013-05-21 Andreas Schwab <schwab@suse.de>
27320
27321 [BZ #15014]
27322 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27323 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27324 successful.
27325 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27326 redundant variable declarations and reallocation of buffer when
27327 parsing as IPv6 address. Always set NSS status when called from
27328 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27329 buffer too small. Correct computation of needed size.
27330 * nss/Makefile (tests): Add test-digits-dots.
27331 * nss/test-digits-dots.c: New test.
27332
fef94eab
SP
273332013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27334
27335 * benchtests/Makefile: Remove instructions for adding
27336 benchmark tests.
27337 * benchtests/README: New file to explain how to execute and
27338 enhance the benchmark tests.
27339
e39adf43
AS
273402013-05-21 Andreas Schwab <schwab@suse.de>
27341
27342 [BZ #15493]
27343 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27344 * setjmp/tst-sigsetjmp.c: New test.
27345
b2b671b6
OB
273462013-05-20 Ondřej Bílka <neleai@seznam.cz>
27347
27348 * sysdeps/x86_64/memset.S (memset): New implementation.
27349 (__bzero): Likewise.
27350 (__memset_tail): New function.
27351
2d48b41c
OB
273522013-05-20 Ondřej Bílka <neleai@seznam.cz>
27353
27354 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27355 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27356 __memcpy_sse2_unaligned ifunc selection.
27357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27358 Add memcpy-sse2-unaligned.S.
27359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27360 Add: __memcpy_sse2_unaligned.
27361
f16cc3eb
JM
273622013-05-19 Joseph Myers <joseph@codesourcery.com>
27363
3e694268
JM
27364 [BZ #15490]
27365 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27366 math_force_eval before restoring floating-point envrionment.
27367 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27368 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27369 Likewise.
27370 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27371 <math_private.h>.
27372 (__nearbyintl): Use math_force_eval before restoring
27373 floating-point environment.
27374 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27375
db62a907
JM
27376 * math/gen-libm-test.pl (special_functions): Remove.
27377 (parse_args): Don't handle TEST_extra. Handle functions with no
27378 return value.
27379 * math/libm-test.inc (struct test_sincos_data): Replace with
27380 struct test_fFF_11_data.
27381 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27382 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27383 (sincos_test_data): Change element type to struct
27384 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27385 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27386 RUN_TEST_LOOP_sincos.
27387 * math/README.libm-test: Don't mention special handling of
27388 individual functions.
27389 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27390 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27391 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27392 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27393 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27395
f16cc3eb
JM
27396 * math/gen-libm-test.pl (get_variable): Remove function.
27397 (parse_args): Don't show pointer parameters to call in test
27398 names. Use "extra output N" in test names for extra outputs
27399 rather than naming variables.
27400
3779b5b6
JM
274012013-05-18 Joseph Myers <joseph@codesourcery.com>
27402
2ee094ff
JM
27403 [BZ #15488]
27404 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27405 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27406 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27407 double tests.
27408 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27409 disable.
27410 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27411 check_long_double.
27412
3779b5b6
JM
27413 * math/gen-libm-test.pl (@tests): Remove variable.
27414 ($count): Likewise.
27415 (new_test): Remove function.
27416 (show_exceptions): New function.
27417 (special_functions): Use show_exceptions instead of new_test.
27418 (parse_args): Likewise.
27419 (generate_testfile): Pass only function name in generated call to
27420 print_max_error or print_complex_max_error.
27421 (get_ulps): Do not handle complex tests specially.
27422 (output_test): Rename to ...
27423 (get_all_ulps_for_test): ... this. Return a string rather than
27424 printing to a file. Require ulps to be present.
27425 (output_ulps): Generate arrays rather than #defines.
27426 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27427 (struct ulp_data): New type.
27428 (BUILD_COMPLEX_ULP): Remove macro.
27429 (compare_ulp_data): New function.
27430 (find_ulps): Likewise.
27431 (find_test_ulps): Likewise.
27432 (find_function_ulps): Likewise.
27433 (find_complex_function_ulps): Likewise.
27434 (print_max_error): Determine allowed ulps using
27435 find_function_ulps.
27436 (print_complex_max_error): Determine allowed ulps using
27437 find_complex_function_ulps.
27438 (check_float_internal): Determine max ulps using find_test_ulps.
27439 (check_float): Do not take max_ulp parameter. Update call to
27440 check_float_internal.
27441 (check_complex): Likewise.
27442 (check_int): Do not take max_ulp parameter.
27443 (check_long): Likewise.
27444 (check_bool): Likewise.
27445 (check_longlong): Likewise.
27446 (struct test_f_f_data): Remove max_ulp field.
27447 (struct test_ff_f_data): Likewise.
27448 (struct test_ff_f_data_nexttoward): Likewise.
27449 (struct test_fi_f_data): Likewise.
27450 (struct test_fl_f_data): Likewise.
27451 (struct test_if_f_data): Likewise.
27452 (struct test_fff_f_data): Likewise.
27453 (struct test_c_f_data): Likewise.
27454 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27455 (struct test_fF_f1_data): Likewise.
27456 (struct test_ffI_f1_data): Likewise.
27457 (struct test_c_c_data): Remove max_ulp field.
27458 (struct test_cc_c_data): Likewise.
27459 (struct test_f_i_data): Likewise.
27460 (struct test_ff_i_data): Likewise.
27461 (struct test_f_l_data): Likewise.
27462 (struct test_f_L_data): Likewise.
27463 (struct test_sincos_data): Likewise.
27464 (RUN_TEST_f_f): Do not handle ulps.
27465 (RUN_TEST_LOOP_f_f): Likewise.
27466 (RUN_TEST_2_f): Likewise.
27467 (RUN_TEST_LOOP_2_f): Likewise.
27468 (RUN_TEST_fff_f): Likewise.
27469 (RUN_TEST_LOOP_fff_f): Likewise.
27470 (RUN_TEST_c_f): Likewise.
27471 (RUN_TEST_LOOP_c_f): Likewise.
27472 (RUN_TEST_f_f1): Likewise.
27473 (RUN_TEST_LOOP_f_f1): Likewise.
27474 (RUN_TEST_fF_f1): Likewise.
27475 (RUN_TEST_LOOP_fF_f1): Likewise.
27476 (RUN_TEST_fI_f1): Likewise.
27477 (RUN_TEST_LOOP_fI_f1): Likewise.
27478 (RUN_TEST_ffI_f1): Likewise.
27479 (RUN_TEST_LOOP_ffI_f1): Likewise.
27480 (RUN_TEST_c_c): Likewise.
27481 (RUN_TEST_LOOP_c_c): Likewise.
27482 (RUN_TEST_cc_c): Likewise.
27483 (RUN_TEST_LOOP_cc_c): Likewise.
27484 (RUN_TEST_f_i): Likewise.
27485 (RUN_TEST_LOOP_f_i): Likewise.
27486 (RUN_TEST_f_i_tg): Likewise.
27487 (RUN_TEST_LOOP_f_i_tg): Likewise.
27488 (RUN_TEST_ff_i_tg): Likewise.
27489 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27490 (RUN_TEST_f_b): Likewise.
27491 (RUN_TEST_LOOP_f_b): Likewise.
27492 (RUN_TEST_f_b_tg): Likewise.
27493 (RUN_TEST_LOOP_f_b_tg): Likewise.
27494 (RUN_TEST_f_l): Likewise.
27495 (RUN_TEST_LOOP_f_l): Likewise.
27496 (RUN_TEST_f_L): Likewise.
27497 (RUN_TEST_LOOP_f_L): Likewise.
27498 (RUN_TEST_sincos): Likewise.
27499 (RUN_TEST_LOOP_sincos): Likewise.
27500
8269107f
JM
275012013-05-17 Joseph Myers <joseph@codesourcery.com>
27502
bb38759d
JM
27503 [BZ #15480]
27504 [BZ #15485]
27505 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27506 main case of finite arguments, set rounding mode to FE_TONEAREST
27507 and discard exceptions.
27508 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27509 exceptions.
27510 (remainder_tonearest_test_data): New variable.
27511 (remainder_test_tonearest): New function.
27512 (remainder_towardzero_test_data): New variable.
27513 (remainder_test_towardzero): New function.
27514 (remainder_downward_test_data): New variable.
27515 (remainder_test_downward): New function.
27516 (remainder_upward_test_data): New variable.
27517 (remainder_test_upward): New function.
27518 (main): Call the new test functions.
27519
a00bdcf0
JM
27520 * math/libm-test.inc (struct test_f_f1_data): Remove field
27521 extra_init.
27522 (struct test_fF_f1_data): Likewise.
27523 (struct test_ffI_f1_data): Likewise.
27524 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27525 based on value of EXTRA_EXPECTED.
27526 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27527 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27528 EXTRA_VAR based on value of EXTRA_EXPECTED.
27529 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27530 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
27531 EXTRA_VAR based on value of EXTRA_EXPECTED.
27532 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27533 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
27534 EXTRA_VAR based on value of EXTRA_EXPECTED.
27535 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27536 * math/gen-libm-test.pl (parse_args): Don't output initializers
27537 for extra output values.
27538
de407f79
JM
27539 * math/libm-test.inc (check_int): Expect result to be exactly
27540 equal to expected value and do not handle ulps.
27541 (check_long): Likewise.
27542 (check_longlong): Likewise.
27543
8269107f
JM
27544 * math/libm-test.inc (ceil_test_data): Test for "inexact"
27545 exceptions.
27546 (cimag_test_data): Likewise.
27547 (conj_test_data): Likewise.
27548 (copysign_test_data): Likewise.
27549 (cproj_test_data): Likewise.
27550 (creal_test_data): Likewise.
27551 (fabs_test_data): Likewise.
27552 (fdim_test_data): Likewise.
27553 (finite_test_data): Likewise.
27554 (floor_test_data): Likewise.
27555 (fmax_test_data): Likewise.
27556 (fmin_test_data): Likewise.
27557 (fmod_test_data): Likewise.
27558 (fpclassify_test_data): Likewise.
27559 (frexp_test_data): Likewise.
27560 (ilogb_test_data): Likewise.
27561 (isfinite_test_data): Likewise.
27562 (isgreater_test_data): Likewise.
27563 (isgreaterequal_test_data): Likewise.
27564 (isinf_test_data): Likewise.
27565 (isless_test_data): Likewise.
27566 (islessequal_test_data): Likewise.
27567 (islessgreater_test_data): Likewise.
27568 (isnan_test_data): Likewise.
27569 (isnormal_test_data): Likewise.
27570 (issignaling_test_data): Likewise.
27571 (isunordered_test_data): Likewise.
27572 (ldexp_test_data): Likewise.
27573 (lrint_test_data): Likewise.
27574 (lrint_test_data) [TEST_FLOAT]: Disable one test.
27575 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27576 (lrint_tonearest_test_data): Test for "inexact" exceptions.
27577 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27578 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27579 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27580 test input.
27581 (lrint_towardzero_test_data): Test for "inexact" exceptions.
27582 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27583 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27584 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27585 that test input.
27586 (lrint_downward_test_data): Test for "inexact" exceptions.
27587 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27588 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27589 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27590 test input.
27591 (lrint_upward_test_data): Test for "inexact" exceptions.
27592 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27593 test input.
27594 (llrint_test_data): Test for "inexact" exceptions.
27595 (llrint_test_data) [TEST_FLOAT]: Disable one test.
27596 (llrint_tonearest_test_data): Test for "inexact" exceptions.
27597 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27598 (llrint_towardzero_test_data): Test for "inexact" exceptions.
27599 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27600 (llrint_downward_test_data): Test for "inexact" exceptions.
27601 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27602 (llrint_upward_test_data): Test for "inexact" exceptions.
27603 (logb_test_data): Likewise.
27604 (logb_downward_test_data): Likewise.
27605 (nextafter_test_data): Likewise.
27606 (nexttoward_test_data): Likewise.
27607 (remainder_test_data): Likewise.
27608 (remquo_test_data): Likewise.
27609 (scalbn_test_data): Likewise.
27610 (scalbln_test_data): Likewise.
27611 (signbit_test_data): Likewise.
27612 (sqrt_test_data): Likewise.
27613 (significand_test_data): Likewise.
27614
48a18de1
SP
276152013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27616
27617 [BZ #15424]
27618 * benchtests/bench-modf.c (struct args): Mark arg0 as
27619 volatile.
27620 * scripts/bench.pl: Mark members of struct args as volatile.
27621
13d3b41a
AZ
276222013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27623
68191c1d 27624 [BZ # 15497]
13d3b41a
AZ
27625 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27626 negative infinity on POWER6 or lower.
27627 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27628
2848b105
MR
276292013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27630
27631 [BZ #15442]
27632 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27633 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27634 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27635 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27636 (_FP_SETQNAN): New macro.
27637 (_FP_SETQNAN_SEMIRAW): Likewise.
27638 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27639 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27640 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27641 (FP_EXTEND): Use _FP_FRAC_SNANP.
27642 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27643 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27644 into account.
27645 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27646 New macro.
27647 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27648 Likewise.
27649
323e5cb7
JM
276502013-05-16 Joseph Myers <joseph@codesourcery.com>
27651
c58b274f
JM
27652 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27653 with DIVIDE_BY_ZERO_EXCEPTION.
27654 (gamma_test_data): Likewise.
27655 (lgamma_test_data): Likewise.
27656 (log_test_data): Likewise.
27657 (log10_test_data): Likewise.
27658 (log2_test_data): Likewise.
27659 (tgamma_test_data): Likewise.
27660
0ab34904
JM
27661 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27662 (acos_test_tonearest): Likewise.
27663 (acos_test_towardzero): Likewise.
27664 (acos_test_downward): Likewise.
27665 (acos_test_upward): Likewise.
27666 (acosh_test): Likewise.
27667 (asin_test): Likewise.
27668 (asin_test_tonearest): Likewise.
27669 (asin_test_towardzero): Likewise.
27670 (asin_test_downward): Likewise.
27671 (asin_test_upward): Likewise.
27672 (asinh_test): Likewise.
27673 (atan_test): Likewise.
27674 (atanh_test): Likewise.
27675 (atan2_test): Likewise.
27676 (cabs_test): Likewise.
27677 (cacos_test): Likewise.
27678 (cacosh_test): Likewise.
27679 (casin_test): Likewise.
27680 (casinh_test): Likewise.
27681 (catan_test): Likewise.
27682 (catanh_test): Likewise.
27683 (cbrt_test): Likewise.
27684 (ccos_test): Likewise.
27685 (ccosh_test): Likewise.
27686 (cexp_test): Likewise.
27687 (clog_test): Likewise.
27688 (clog10_test): Likewise.
27689 (cos_test): Likewise.
27690 (cos_test_tonearest): Likewise.
27691 (cos_test_towardzero): Likewise.
27692 (cos_test_downward): Likewise.
27693 (cos_test_upward): Likewise.
27694 (cosh_test): Likewise.
27695 (cosh_test_tonearest): Likewise.
27696 (cosh_test_towardzero): Likewise.
27697 (cosh_test_downward): Likewise.
27698 (cosh_test_upward): Likewise.
27699 (cpow_test): Likewise.
27700 (csin_test): Likewise.
27701 (csinh_test): Likewise.
27702 (csqrt_test): Likewise.
27703 (ctan_test): Likewise.
27704 (ctan_test_tonearest): Likewise.
27705 (ctan_test_towardzero): Likewise.
27706 (ctan_test_downward): Likewise.
27707 (ctan_test_upward): Likewise.
27708 (ctanh_test): Likewise.
27709 (ctanh_test_tonearest): Likewise.
27710 (ctanh_test_towardzero): Likewise.
27711 (ctanh_test_downward): Likewise.
27712 (ctanh_test_upward): Likewise.
27713 (erf_test): Likewise.
27714 (erfc_test): Likewise.
27715 (exp_test): Likewise.
27716 (exp_test_tonearest): Likewise.
27717 (exp_test_towardzero): Likewise.
27718 (exp_test_downward): Likewise.
27719 (exp_test_upward): Likewise.
27720 (exp10_test): Likewise.
27721 (exp2_test): Likewise.
27722 (expm1_test): Likewise.
27723 (fmod_test): Likewise.
27724 (gamma_test): Likewise.
27725 (hypot_test): Likewise.
27726 (j0_test): Likewise.
27727 (j1_test): Likewise.
27728 (jn_test): Likewise.
27729 (lgamma_test): Likewise.
27730 (log_test): Likewise.
27731 (log10_test): Likewise.
27732 (log1p_test): Likewise.
27733 (log2_test): Likewise.
27734 (logb_test_downward): Likewise.
27735 (pow_test): Likewise.
27736 (pow_test_tonearest): Likewise.
27737 (pow_test_towardzero): Likewise.
27738 (pow_test_downward): Likewise.
27739 (pow_test_upward): Likewise.
27740 (remainder_test): Likewise.
27741 (remquo_test): Likewise.
27742 (sin_test): Likewise.
27743 (sin_test_tonearest): Likewise.
27744 (sin_test_towardzero): Likewise.
27745 (sin_test_downward): Likewise.
27746 (sin_test_upward): Likewise.
27747 (sincos_test): Likewise.
27748 (sinh_test): Likewise.
27749 (sinh_test_tonearest): Likewise.
27750 (sinh_test_towardzero): Likewise.
27751 (sinh_test_downward): Likewise.
27752 (sinh_test_upward): Likewise.
27753 (sqrt_test): Likewise.
27754 (tan_test): Likewise.
27755 (tan_test_tonearest): Likewise.
27756 (tan_test_towardzero): Likewise.
27757 (tan_test_downward): Likewise.
27758 (tan_test_upward): Likewise.
27759 (tanh_test): Likewise.
27760 (tgamma_test): Likewise.
27761 (y0_test): Likewise.
27762 (y1_test): Likewise.
27763 (yn_test): Likewise.
27764
323e5cb7
JM
27765 * math/gen-libm-test.pl (adjust_arg): Remove function.
27766 (special_function): Remove argument $in_func. Only handle
27767 generating output for tables of tests, not inside functions.
27768 (parse_args): Likewise.
27769 (generate_testfile): Remove variable $in_func. Update call to
27770 parse_args.
27771 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27772 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27773 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27774 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27775 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27776 (MAX_VALUE_INIT): Rename macro to max_value.
27777 (MIN_VALUE_INIT): Rename macro to min_value.
27778 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27779 (plus_zero): Remove variable.
27780 (minus_zero): Likewise.
27781 (plus_infty): Likewise.
27782 (minus_infty): Likewise.
27783 (qnan_value): Likewise.
27784 (max_value): Likewise.
27785 (min_value): Likewise.
27786 (min_subnorm_value): Likewise.
27787
e054f494
RA
277882013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27789
27790 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27791 uint64_t or uint32_t usage.
27792 * crypt/sha256-block.c: Likewise.
27793 * crypt/sha256-crypt.c: Likewise.
27794 * crypt/sha256.c: Likewise.
27795 * crypt/sha512-block.c: Likewise.
27796 * crypt/sha512-crypt.c: Likewise.
27797 * crypt/sha512.c: Likewise.
27798 * debug/backtrace-tst.c: Likewise.
27799 * debug/pcprofiledump.c: Likewise.
27800 * elf/cache.c: Likewise.
27801 * elf/dl-cache.c: Likewise.
27802 * elf/dl-misc.c: Likewise.
27803 * elf/dl-profile.c: Likewise.
27804 * elf/dl-support.c: Likewise.
27805 * elf/ldconfig.c: Likewise.
27806 * elf/sprof.c: Likewise.
27807 * iconv/dummy-repertoire.c: Likewise.
27808 * iconv/iconv_charmap.c: Likewise.
27809 * iconv/skeleton.c: Likewise.
27810 * iconvdata/8bit-generic.c: Likewise.
27811 * iconvdata/cp737.h: Likewise.
27812 * iconvdata/cp775.h: Likewise.
27813 * iconvdata/ibm1008.h: Likewise.
27814 * iconvdata/ibm1025.h: Likewise.
27815 * iconvdata/ibm1046.h: Likewise.
27816 * iconvdata/ibm1097.h: Likewise.
27817 * iconvdata/ibm1112.h: Likewise.
27818 * iconvdata/ibm1122.h: Likewise.
27819 * iconvdata/ibm1123.h: Likewise.
27820 * iconvdata/ibm1124.h: Likewise.
27821 * iconvdata/ibm1129.h: Likewise.
27822 * iconvdata/ibm1130.h: Likewise.
27823 * iconvdata/ibm1132.h: Likewise.
27824 * iconvdata/ibm1133.h: Likewise.
27825 * iconvdata/ibm1137.h: Likewise.
27826 * iconvdata/ibm1140.h: Likewise.
27827 * iconvdata/ibm1141.h: Likewise.
27828 * iconvdata/ibm1142.h: Likewise.
27829 * iconvdata/ibm1143.h: Likewise.
27830 * iconvdata/ibm1144.h: Likewise.
27831 * iconvdata/ibm1145.h: Likewise.
27832 * iconvdata/ibm1146.h: Likewise.
27833 * iconvdata/ibm1147.h: Likewise.
27834 * iconvdata/ibm1148.h: Likewise.
27835 * iconvdata/ibm1149.h: Likewise.
27836 * iconvdata/ibm1153.h: Likewise.
27837 * iconvdata/ibm1154.h: Likewise.
27838 * iconvdata/ibm1155.h: Likewise.
27839 * iconvdata/ibm1156.h: Likewise.
27840 * iconvdata/ibm1157.h: Likewise.
27841 * iconvdata/ibm1158.h: Likewise.
27842 * iconvdata/ibm1160.h: Likewise.
27843 * iconvdata/ibm1161.h: Likewise.
27844 * iconvdata/ibm1162.h: Likewise.
27845 * iconvdata/ibm1163.h: Likewise.
27846 * iconvdata/ibm1164.h: Likewise.
27847 * iconvdata/ibm1166.h: Likewise.
27848 * iconvdata/ibm1167.h: Likewise.
27849 * iconvdata/ibm12712.h: Likewise.
27850 * iconvdata/ibm1390.h: Likewise.
27851 * iconvdata/ibm1399.h: Likewise.
27852 * iconvdata/ibm16804.h: Likewise.
27853 * iconvdata/ibm4517.h: Likewise.
27854 * iconvdata/ibm4899.h: Likewise.
27855 * iconvdata/ibm4909.h: Likewise.
27856 * iconvdata/ibm4971.h: Likewise.
27857 * iconvdata/ibm5347.h: Likewise.
27858 * iconvdata/ibm803.h: Likewise.
27859 * iconvdata/ibm856.h: Likewise.
27860 * iconvdata/ibm901.h: Likewise.
27861 * iconvdata/ibm902.h: Likewise.
27862 * iconvdata/ibm9030.h: Likewise.
27863 * iconvdata/ibm9066.h: Likewise.
27864 * iconvdata/ibm921.h: Likewise.
27865 * iconvdata/ibm922.h: Likewise.
27866 * iconvdata/ibm9448.h: Likewise.
27867 * iconvdata/isiri-3342.h: Likewise.
27868 * iconvdata/jis0201.h: Likewise.
27869 * include/link.h: Likewise.
27870 * include/netdb.h: Likewise.
27871 * inet/check_native.c: Likewise.
27872 * inet/check_pf.c: Likewise.
27873 * inet/getipv4sourcefilter.c: Likewise.
27874 * inet/getnameinfo.c: Likewise.
27875 * inet/getsourcefilter.c: Likewise.
27876 * inet/htonl.c: Likewise.
27877 * inet/setipv4sourcefilter.c: Likewise.
27878 * inet/setsourcefilter.c: Likewise.
27879 * inet/test-inet6_opt.c: Likewise.
27880 * inet/tst-network.c: Likewise.
27881 * locale/C-collate.c: Likewise.
27882 * locale/C-ctype.c: Likewise.
27883 * locale/C-time.c: Likewise.
27884 * locale/C-translit.h: Likewise.
27885 * locale/loadarchive.c: Likewise.
27886 * locale/programs/3level.h: Likewise.
27887 * locale/programs/charmap.c: Likewise.
27888 * locale/programs/charmap.h: Likewise.
27889 * locale/programs/ld-address.c: Likewise.
27890 * locale/programs/ld-collate.c: Likewise.
27891 * locale/programs/ld-ctype.c: Likewise.
27892 * locale/programs/ld-identification.c: Likewise.
27893 * locale/programs/ld-measurement.c: Likewise.
27894 * locale/programs/ld-messages.c: Likewise.
27895 * locale/programs/ld-monetary.c: Likewise.
27896 * locale/programs/ld-name.c: Likewise.
27897 * locale/programs/ld-numeric.c: Likewise.
27898 * locale/programs/ld-paper.c: Likewise.
27899 * locale/programs/ld-telephone.c: Likewise.
27900 * locale/programs/ld-time.c: Likewise.
27901 * locale/programs/linereader.c: Likewise.
27902 * locale/programs/locale.c: Likewise.
27903 * locale/programs/locarchive.c: Likewise.
27904 * locale/programs/locfile.h: Likewise.
27905 * locale/programs/repertoire.c: Likewise.
27906 * locale/programs/simple-hash.c: Likewise.
27907 * locale/programs/simple-hash.h: Likewise.
27908 * malloc/memusage.c: Likewise.
27909 * malloc/memusagestat.c: Likewise.
27910 * nis/nis_defaults.c: Likewise.
27911 * nis/nis_hash.c: Likewise.
27912 * nis/nis_print.c: Likewise.
27913 * nis/nis_xdr.c: Likewise.
27914 * nscd/connections.c: Likewise.
27915 * nscd/hstcache.c: Likewise.
27916 * nscd/nscd_gethst_r.c: Likewise.
27917 * nscd/nscd_getserv_r.c: Likewise.
27918 * nscd/nscd_helper.c: Likewise.
27919 * nscd/servicescache.c: Likewise.
27920 * nss/makedb.c: Likewise.
27921 * nss/nss_db/db-XXX.c: Likewise.
27922 * nss/nss_db/db-initgroups.c: Likewise.
27923 * nss/nss_db/db-netgrp.c: Likewise.
27924 * nss/nss_files/files-network.c: Likewise.
27925 * nss/nss_files/files-parse.c: Likewise.
27926 * posix/bug-regex5.c: Likewise.
27927 * posix/fnmatch_loop.c: Likewise.
27928 * posix/regcomp.c: Likewise.
27929 * posix/regexec.c: Likewise.
27930 * posix/tst-rfc3484-2.c: Likewise.
27931 * posix/tst-rfc3484-3.c: Likewise.
27932 * posix/tst-rfc3484.c: Likewise.
27933 * resolv/nss_dns/dns-canon.c: Likewise.
27934 * resolv/nss_dns/dns-network.c: Likewise.
27935 * resolv/res_init.c: Likewise.
27936 * resolv/res_mkquery.c: Likewise.
27937 * resolv/tst-aton.c: Likewise.
27938 * stdlib/cxa_atexit.c: Likewise.
27939 * stdlib/cxa_finalize.c: Likewise.
27940 * stdlib/gen-fpioconst.c: Likewise.
27941 * stdlib/strtol_l.c: Likewise.
27942 * string/tst-endian.c: Likewise.
27943 * sunrpc/auth_des.c: Likewise.
27944 * sunrpc/clnt_udp.c: Likewise.
27945 * sunrpc/rtime.c: Likewise.
27946 * sunrpc/svcauth_des.c: Likewise.
27947 * sunrpc/xdr.c: Likewise.
27948 * sunrpc/xdr_intXX_t.c: Likewise.
27949 * sunrpc/xdr_rec.c: Likewise.
27950 * sysdeps/generic/ldconfig.h: Likewise.
27951 * sysdeps/generic/ldsodefs.h: Likewise.
27952 * sysdeps/generic/memusage.h: Likewise.
27953 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27955 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27956 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27957 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27958 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27959 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27963 * sysdeps/posix/getaddrinfo.c: Likewise.
27964 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27965 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27966 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27967 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27968 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27969 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27970 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27971 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27972 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27973 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27974 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27975 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27976 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27977 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27978 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27979 * sysdeps/x86_64/dl-tls.h: Likewise.
27980 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27981 * time/alt_digit.c: Likewise.
27982 * time/era.c: Likewise.
27983 * wcsmbs/tst-c16c32-1.c: Likewise.
27984
8c75f674
JM
279852013-05-16 Joseph Myers <joseph@codesourcery.com>
27986
27987 * math/libm-test.inc (struct test_sincos_data): New type.
27988 (RUN_TEST_LOOP_sincos): New macro.
27989 (sincos_test_data): New variable.
27990 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27991
e6e49e59
RH
279922013-05-16 Richard Henderson <rth@redhat.com>
27993
27994 * math/atest-exp2.c (LIMB64): New macro.
27995 (CONSTSZ): New macro.
27996 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27997 (hexdig): Move ...
27998 (print_mpn_fp): ... to function scope.
27999 (read_mpn_hex): Remove.
28000 (get_log2): Remove.
28001 (exp2_mpn): Use mp_log2.
28002 (main): Use mp_exp1.
28003
15c7c18d
JM
280042013-05-16 Joseph Myers <joseph@codesourcery.com>
28005
105a07df
JM
28006 * math/libm-test.inc: Remove comment about not testing "inexact"
28007 exceptions.
28008 (INEXACT_EXCEPTION): New macro.
28009 (NO_INEXACT_EXCEPTION): Likewise.
28010 (INVALID_EXCEPTION_OK): Update value.
28011 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28012 (OVERFLOW_EXCEPTION_OK): Likewise.
28013 (UNDERFLOW_EXCEPTION_OK): Likewise.
28014 (IGNORE_ZERO_INF_SIGN): Likewise.
28015 (ERRNO_UNCHANGED): Likewise.
28016 (ERRNO_EDOM): Likewise.
28017 (ERRNO_ERANGE): Likewise.
28018 (test_exceptions): Handle testing "inexact" exceptions.
28019 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28020 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28021 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28022 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28023 INEXACT_EXCEPTION.
28024 (rint_towardzero_test_data): Likewise.
28025 (rint_downward_test_data): Likewise.
28026 (rint_upward_test_data): Likewise.
28027
e9eee333
JM
28028 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28029 with OVERFLOW_EXCEPTION.
28030 (exp10_test_data): Likewise.
28031 (exp2_test_data): Likewise.
28032 (expm1_test_data): Likewise.
28033 (lgamma_test_data): Likewise.
28034 (pow_test_data): Likewise.
28035 (tgamma_test_data): Likewise.
28036 (yn_test_data): Remove duplicate test of overflow.
28037
1c38ff73
JM
28038 * math/libm-test.inc (struct test_cc_c_data): New type.
28039 (RUN_TEST_LOOP_cc_c): New macro.
28040 (cpow_test_data): New variable.
28041 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28042
15c7c18d
JM
28043 * math/libm-test.inc (struct test_f_L_data): New type.
28044 (RUN_TEST_LOOP_f_L): New macro.
28045 (llrint_test_data): New variable.
28046 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28047 (llrint_tonearest_test_data): New variable.
28048 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28049 (llrint_towardzero_test_data): New variable.
28050 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28051 (llrint_downward_test_data): New variable.
28052 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28053 (llrint_upward_test_data): New variable.
28054 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28055 (llround_test_data): New variable.
28056 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28057
f137ff13
PC
280582013-05-13 Peter Collingbourne <pcc@google.com>
28059
28060 * math/atest-exp2.c (get_log2): Remove const attribute.
28061
3608cb24
JM
280622013-05-15 Joseph Myers <joseph@codesourcery.com>
28063
28064 * math/libm-test.inc (struct test_f_l_data): New type.
28065 (RUN_TEST_LOOP_f_l): New macro.
28066 (lrint_test_data): New variable.
28067 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28068 (lrint_tonearest_test_data): New variable.
28069 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28070 (lrint_towardzero_test_data): New variable.
28071 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28072 (lrint_downward_test_data): New variable.
28073 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28074 (lrint_upward_test_data): New variable.
28075 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28076 (lround_test_data): New variable.
28077 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28078
39b1f617
PC
280792013-05-15 Peter Collingbourne <pcc@google.com>
28080
1deff3dc
PC
28081 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28082 (EXTRACT_WORDS64) Use where appropriate.
28083 (INSERT_WORDS64) Likewise.
28084
791f3ba0
PC
28085 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28086 constraints with x constraints.
28087 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28088
39b1f617
PC
28089 * malloc/obstack.c (_obstack_compat): Add initializer.
28090
12fba011
EM
280912013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28092
28093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28094 si_trapno and add si_addr_lsb to _sifields.sigfault.
28095 (si_trapno): Remove macro.
28096 (si_addr_lsb): Define new macro.
28097 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28098
d369f531
JM
280992013-05-15 Joseph Myers <joseph@codesourcery.com>
28100
b861c6c4
JM
28101 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28102 instead of TEST_f_l.
28103 (llrint_test_tonearest): Likewise.
28104 (llrint_test_towardzero): Likewise.
28105 (llrint_test_downward): Likewise.
28106 (llrint_test_upward): Likewise.
28107 (llround_test): Likewise.
28108
7abeee12
JM
28109 * math/libm-test.inc (struct test_f_i_data): Add comment.
28110 (RUN_TEST_LOOP_f_b): New macro.
28111 (RUN_TEST_LOOP_f_b_tg): Likewise.
28112 (finite_test_data): New variable.
28113 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28114 (isfinite_test_data): New variable.
28115 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28116 (isinf_test_data): New variable.
28117 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28118 (isnan_test_data): New variable.
28119 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28120 (isnormal_test_data): New variable.
28121 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28122 (issignaling_test_data): New variable.
28123 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28124 (signbit_test_data): New variable.
28125 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28126
cbe8c4d3
JM
28127 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28128 with INVALID_EXCEPTION.
28129 (acosh_test_data): Likewise.
28130 (asin_test_data): Likewise.
28131 (atanh_test_data): Likewise.
28132 (fmod_test_data): Likewise.
28133 (log_test_data): Likewise.
28134 (log10_test_data): Likewise.
28135 (log2_test_data): Likewise.
28136 (pow_test_data): Likewise.
28137 (sqrt_test_data): Likewise.
28138 (y0_test_data): Likewise.
28139 (y1_test_data): Likewise.
28140 (yn_test_data): Likewise.
28141
5575c0e5
JM
28142 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28143 function contents.
28144
d369f531
JM
28145 * math/libm-test.inc (struct test_ff_i_data): New type.
28146 (RUN_TEST_LOOP_ff_i_tg): New macro.
28147 (isgreater_test_data): New variable.
28148 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28149 (isgreaterequal_test_data): New variable.
28150 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28151 (isless_test_data): New variable.
28152 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28153 (islessequal_test_data): New variable.
28154 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28155 (islessgreater_test_data): New variable.
28156 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28157 (isunordered_test_data): New variable.
28158 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28159
781fd748
DM
281602013-05-14 David S. Miller <davem@davemloft.net>
28161
28162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28163
87aa21df
JM
281642013-05-14 Joseph Myers <joseph@codesourcery.com>
28165
5e908270
JM
28166 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28167
f71172e5
JM
28168 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28169 extra_test to int.
28170 (struct test_f_i_data): Change type of max_ulp to int.
28171
8cfa635a
JM
28172 * math/libm-test.inc (test_ffI_f1_data): New type.
28173 (RUN_TEST_LOOP_ffI_f1): New macro.
28174 (remquo_test_data): New variable.
28175 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28176
2bcb36b2
JM
28177 * setjmp/tst-setjmp-fp.c: New file.
28178 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28179 (link-libm): New variable.
28180 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28181
acbd839a
JM
28182 * math/libm-test.inc (struct test_f_i_data): New type.
28183 (RUN_TEST_LOOP_f_i): New macro.
28184 (RUN_TEST_LOOP_f_i_tg): Likewise.
28185 (fpclassify_test_data): New variable.
28186 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28187 (ilogb_test_data): New variable.
28188 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28189
e414d745
JM
28190 * math/libm-test.inc (scalbln_test): Correct function name in END
28191 call.
28192
d9c2a0fd
JM
28193 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28194 (RUN_TEST_LOOP_fI_f1): New macro.
28195 (frexp_test_data): New variable.
28196 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28197
9dc9095d
JM
28198 * math/libm-test.inc (struct test_fF_f1_data): New type.
28199 (RUN_TEST_LOOP_fF_f1): New macro.
28200 (modf_test_data): New variable.
28201 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28202
87aa21df
JM
28203 * math/libm-test.inc (struct test_f_f1_data): New type.
28204 (RUN_TEST_LOOP_f_f1): New macro.
28205 (gamma_test_data): New variable.
28206 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28207 (lgamma_test_data): New variable.
28208 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28209
141af660
CD
282102013-05-13 Carlos O'Donell <carlos@redhat.com>
28211
28212 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28213 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28214 (main): Comment "tls" pseudo-hwcap.
28215
6d33265c
JM
282162013-05-13 Joseph Myers <joseph@codesourcery.com>
28217
68fc074c
JM
28218 * math/libm-test.inc (struct test_fl_f_data): New type.
28219 (RUN_TEST_LOOP_fl_f): New variable.
28220 (scalbln_test_data): New variable.
28221 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28222
243216e1
JM
28223 * math/libm-test.inc (struct test_fi_f_data): New type.
28224 (RUN_TEST_LOOP_fi_f): New macro.
28225 (ldexp_test_data): New variable.
28226 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28227 (scalbn_test_data): New variable.
28228 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28229
6a1992e2
JM
28230 * math/libm-test.inc (struct test_c_f_data): New type.
28231 (RUN_TEST_LOOP_c_f): New macro.
28232 (cabs_test_data): New variable.
28233 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28234 (carg_test_data): New variable.
28235 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28236 (cimag_test_data): New variable.
28237 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28238 (creal_test_data): New variable.
28239 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28240
0e400df5
JM
28241 * math/libm-test.inc (struct test_if_f_data): New type.
28242 (RUN_TEST_LOOP_if_f): New macro.
28243 (jn_test_data): New variable.
28244 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28245 (yn_test_data): New variable.
28246 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28247
6d33265c
JM
28248 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28249
f98ece5f
AZ
282502013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28251
28252 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28253 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28254
0f7d347b
SP
282552013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28256
43fe811b
SP
28257 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28258 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28259 (bench-deps): Add bench-timing.h.
28260 * benchtests-bench-skeleton.c: Include bench-timing.h.
28261 (main): Use TIMING_* macros instead of clock_gettime.
28262 * benchtests/bench-timing.h: New file.
28263
0f7d347b
SP
28264 [BZ #14582]
28265 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28266 Renamed from _LIB_VERSION.
28267 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28268
601a3a5f
JM
282692013-05-12 Joseph Myers <joseph@codesourcery.com>
28270
4f184d30
JM
28271 * math/libm-test.inc (struct test_fff_f_data): New type.
28272 (RUN_TEST_LOOP_fff_f): New macro.
28273 (fma_test_data): New variable.
28274 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28275 (fma_towardzero_test_data): New variable.
28276 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28277 (fma_downward_test_data): New variable.
28278 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28279 (fma_upward_test_data): New variable.
28280 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28281
08198877
JM
28282 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28283 (struct test_c_c_data): New type.
28284 (RUN_TEST_LOOP_c_c): New macro.
28285 (cacos_test_data): New variable.
28286 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28287 (cacosh_test_data): New variable.
28288 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28289 (casin_test_data): New variable.
28290 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28291 (casinh_test_data): New variable.
28292 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28293 (catan_test_data): New variable.
28294 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28295 (catanh_test_data): New variable.
28296 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28297 (ccos_test_data): New variable.
28298 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28299 (ccosh_test_data): New variable.
28300 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28301 (cexp_test_data): New variable.
28302 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28303 (clog_test_data): New variable.
28304 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28305 (clog10_test_data): New variable.
28306 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28307 (conj_test_data): New variable.
28308 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28309 (cproj_test_data): New variable.
28310 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28311 (csin_test_data): New variable.
28312 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28313 (csinh_test_data): New variable.
28314 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28315 (csqrt_test_data): New variable.
28316 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28317 (ctan_test_data): New variable.
28318 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28319 (ctan_tonearest_test_data): New variable.
28320 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28321 (ctan_towardzero_test_data): New variable.
28322 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28323 (ctan_downward_test_data): New variable.
28324 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28325 (ctan_upward_test_data): New variable.
28326 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28327 (ctanh_test_data): New variable.
28328 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28329 (ctanh_tonearest_test_data): New variable.
28330 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28331 (ctanh_towardzero_test_data): New variable.
28332 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28333 (ctanh_downward_test_data): New variable.
28334 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28335 (ctanh_upward_test_data): New variable.
28336 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28337 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28338 of BUILD_COMPLEX.
28339
601a3a5f
JM
28340 * math/libm-test.inc (struct test_ff_f_data): New type.
28341 (struct test_ff_f_data_nexttoward): Likewise.
28342 (RUN_TEST_LOOP_2_f): New macro.
28343 (RUN_TEST_LOOP_ff_f): Likewise.
28344 (atan2_test_data): New variable.
28345 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28346 (copysign_test_data): New variable.
28347 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28348 (fdim_test_data): New variable.
28349 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28350 (fmax_test_data): New variable.
28351 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28352 (fmin_test_data): New variable.
28353 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28354 (fmod_test_data): New variable.
28355 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28356 (hypot_test_data): New variable.
28357 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28358 (nextafter_test_data): New variable.
28359 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28360 (nexttoward_test_data): New variable.
28361 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28362 (pow_test_data): New variable.
28363 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28364 (pow_tonearest_test_data): New variable.
28365 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28366 (pow_towardzero_test_data): New variable.
28367 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28368 (pow_downward_test_data): New variable.
28369 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28370 (pow_upward_test_data): New variable.
28371 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28372 (remainder_test_data): New variable.
28373 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28374 (scalb_test_data): New variable.
28375 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28376 * sysdeps/i386/fpu/libm-test-ulps: Update.
28377
74c57478
JM
283782013-05-11 Joseph Myers <joseph@codesourcery.com>
28379
8329e4da
JM
28380 * math/libm-test.inc (fma_test): Use max_value instead of local
28381 variable fltmax.
28382 (nextafter_test): Likewise.
28383
74c57478
JM
28384 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28385 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28386 (acos_downward_test_data): New variable.
28387 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28388 (acos_upward_test_data): New variable.
28389 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28390 (acosh_test_data): New variable.
28391 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28392 (asin_test_data): New variable.
28393 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28394 (asin_tonearest_test_data): New variable.
28395 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28396 (asin_towardzero_test_data): New variable.
28397 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28398 (asin_downward_test_data): New variable.
28399 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28400 (asin_upward_test_data): New variable.
28401 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28402 (asinh_test_data): New variable.
28403 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28404 (atan_test_data): New variable.
28405 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28406 (atanh_test_data): New variable.
28407 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28408 (cbrt_test_data): New variable.
28409 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28410 (ceil_test_data): New variable.
28411 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28412 (cos_test_data): New variable.
28413 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28414 (cos_tonearest_test_data): New variable.
28415 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28416 (cos_towardzero_test_data): New variable.
28417 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28418 (cos_downward_test_data): New variable.
28419 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28420 (cos_upward_test_data): New variable.
28421 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28422 (cosh_test_data): New variable.
28423 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28424 (cosh_tonearest_test_data): New variable.
28425 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28426 (cosh_towardzero_test_data): New variable.
28427 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28428 (cosh_downward_test_data): New variable.
28429 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28430 (cosh_upward_test_data): New variable.
28431 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28432 (erf_test_data): New variable.
28433 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28434 (erfc_test_data): New variable.
28435 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28436 (exp_test_data): New variable.
28437 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28438 (exp_tonearest_test_data): New variable.
28439 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28440 (exp_towardzero_test_data): New variable.
28441 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28442 (exp_downward_test_data): New variable.
28443 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28444 (exp_upward_test_data): New variable.
28445 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28446 (exp10_test_data): New variable.
28447 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28448 (exp2_test_data): New variable.
28449 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28450 (expm1_test_data): New variable.
28451 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28452 (fabs_test_data): New variable.
28453 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28454 (floor_test_data): New variable.
28455 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28456 (j0_test_data): New variable.
28457 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28458 (j1_test_data): New variable.
28459 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28460 (log_test_data): New variable.
28461 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28462 (log10_test_data): New variable.
28463 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28464 (log1p_test_data): New variable.
28465 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28466 (log2_test_data): New variable.
28467 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28468 (logb_test_data): New variable.
28469 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28470 (logb_downward_test_data): New variable.
28471 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28472 (nearbyint_test_data): New variable.
28473 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28474 (rint_test_data): New variable.
28475 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28476 (rint_tonearest_test_data): New variable.
28477 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28478 (rint_towardzero_test_data): New variable.
28479 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28480 (rint_downward_test_data): New variable.
28481 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28482 (rint_upward_test_data): New variable.
28483 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28484 (round_test_data): New variable.
28485 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28486 (sin_test_data): New variable.
28487 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28488 (sin_tonearest_test_data): New variable.
28489 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28490 (sin_towardzero_test_data): New variable.
28491 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28492 (sin_downward_test_data): New variable.
28493 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28494 (sin_upward_test_data): New variable.
28495 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28496 (sinh_test_data): New variable.
28497 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28498 (sinh_tonearest_test_data): New variable.
28499 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28500 (sinh_towardzero_test_data): New variable.
28501 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28502 (sinh_downward_test_data): New variable.
28503 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28504 (sinh_upward_test_data): New variable.
28505 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28506 (sqrt_test_data): New variable.
28507 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28508 (tan_test_data): New variable.
28509 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28510 (tan_tonearest_test_data): New variable.
28511 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28512 (tan_towardzero_test_data): New variable.
28513 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28514 (tan_downward_test_data): New variable.
28515 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28516 (tan_upward_test_data): New variable.
28517 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28518 (tanh_test_data): New variable.
28519 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28520 (tgamma_test_data): New variable.
28521 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28522 (trunc_test_data): New variable.
28523 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28524 (y0_test_data): New variable.
28525 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28526 (y1_test_data): New variable.
28527 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28528 (significand_test_data): New variable.
28529 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28530
7187d844
CG
285312013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
28532
28533 [BZ #12387]
28534 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28535
f63fae73
PT
285362013-05-10 Pino Toscano <toscano.pino@tiscali.it>
28537
28538 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28539
8a67a4b3
AJ
285402013-05-10 Andreas Jaeger <aj@suse.de>
28541
28542 [BZ #15448]
28543 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28544 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28545
51df539d
JM
285462013-05-10 Joseph Myers <joseph@codesourcery.com>
28547
28548 * math/gen-libm-test.pl (adjust_arg): New function.
28549 (special_functions): Handle generating output in both functions
28550 and arrays.
28551 (parse_args): Likewise.
28552 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
28553 $in_func argument to parse_args.
28554 * math/libm-test.inc (struct test_f_f_data): New type.
28555 (IF_ROUND_INIT_): New macro.
28556 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28557 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28558 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28559 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28560 (ROUND_RESTORE_): Likewise.
28561 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28562 (ROUND_RESTORE_FE_TONEAREST): Likewise.
28563 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28564 (ROUND_RESTORE_FE_UPWARD): Likewise.
28565 (RUN_TEST_LOOP_f_f): New macro.
28566 (acos_test_data): New variable.
28567 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28568 (acos_tonearest_test_data): New variable.
28569 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28570
5c637fe5
SP
285712013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28572
28573 * benchtests/bench-skeleton.c (startup): Fix coding style.
28574
ab2b9461
JM
285752013-05-10 Joseph Myers <joseph@codesourcery.com>
28576
28577 [BZ #6809]
28578 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28579 negative infinity argument.
28580 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28581 negative infinity argument.
28582 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28583 negative infinity argument.
28584 * math/libm-test.inc (tgamma_test): Expect errno to be set for
28585 domain errors.
28586
4c0fe6fe
FW
285872013-05-10 Florian Weimer <fweimer@redhat.com>
28588
28589 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28590 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28591 * iconv/iconv_prog.c (main): Likewise.
28592 * locale/programs/charmap-dir.c (charmap_readdir)
28593 (fopen_uncompressed): Likewise.
28594 * locale/programs/locfile.c (siblings_uncached)
28595 (write_locale_data): Use lstat64 instead of lstat.
28596 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28597 stat.
28598
a3375d29
AJ
285992013-05-10 Andreas Jaeger <aj@suse.de>
28600
28601 [BZ #15395]
28602 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28603 localization.
28604 Include <locale.h>.
28605
36129722
CD
286062013-05-09 Carlos O'Donell <carlos@redhat.com>
28607
28608 * elf/dl-close.c (_dl_close_worker): Add comments.
28609
faa7f811
JM
286102013-05-09 Joseph Myers <joseph@codesourcery.com>
28611
ed41ffef
JM
28612 [BZ #15359]
28613 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28614 high part of pi/2.
28615 (__ieee754_rem_pio2l): Update comments.
28616
d0213cd0
JM
28617 [BZ #15429]
28618 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28619 high part of pi/2.
28620 (__ieee754_rem_pio2l): Update comments.
28621
0d3e777a
JM
28622 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28623 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28624
24f56066
JM
28625 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28626 M_PI_4l.
28627
faa7f811
JM
28628 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28629 (M_PI_34_LOG10El): Likewise.
28630 (M_PI2_LOG10El): Likewise.
28631 (M_PI4_LOG10El): Likewise.
28632 (M_PI_LOG10El): Likewise.
28633
e9a5e0fd
AZ
286342013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28635
28636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28637
d8cd06db
JM
286382013-05-08 Joseph Myers <joseph@codesourcery.com>
28639
a0d9f9d7
JM
28640 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28641 (MINUS_ZERO_INIT): Likewise.
28642 (PLUS_INFTY_INIT): Likewise.
28643 (MINUS_INFTY_INIT): Likewise.
28644 (QNAN_VALUE_INIT): Likewise.
28645 (MAX_VALUE_INIT): Likewise.
28646 (MIN_VALUE_INIT): Likewise.
28647 (MIN_SUBNORM_VALUE_INIT): Likewise.
28648 (plus_zero): Initialize with PLUS_ZERO_INIT.
28649 (minus_zero): Initialize with MINUS_ZERO_INIT.
28650 (plus_infty): Initialize with PLUS_INFTY_INIT.
28651 (minus_infty): Initialize with MINUS_INFTY_INIT.
28652 (qnan_value): Initialize with QNAN_VALUE_INIT.
28653 (max_value): Initialize with MAX_VALUE_INIT.
28654 (min_value): Initialize with MIN_VALUE_INIT.
28655 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28656
ae08db3b
JM
28657 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28658 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28659 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28660 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28661
f44bf14a
JM
28662 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28663 (RUN_TEST_2_f): Likewise.
28664 (RUN_TEST_ff_f): Likewise.
28665 (RUN_TEST_fi_f): Likewise.
28666 (RUN_TEST_fl_f): Likewise.
28667 (RUN_TEST_fff_f): Likewise.
28668 (RUN_TEST_c_f): Likewise.
28669 (RUN_TEST_f_f1): Likewise.
28670 (RUN_TEST_fF_f1): Likewise.
28671 (RUN_TEST_fI_f1): Likewise.
28672 (RUN_TEST_ffI_f1): Likewise.
28673 (RUN_TEST_c_c): Likewise.
28674 (RUN_TEST_cc_c): Likewise.
28675 (RUN_TEST_f_i): Likewise.
28676 (RUN_TEST_f_i_tg): Likewise.
28677 (RUN_TEST_ff_i_tg): Likewise.
28678 (RUN_TEST_f_b): Likewise.
28679 (RUN_TEST_f_b_tg): Likewise.
28680 (RUN_TEST_f_l): Likewise.
28681 (RUN_TEST_f_L): Likewise.
28682 (RUN_TEST_sincos): Likewise.
28683 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28684 whether to show exceptions. Do not include ");\n" in return
28685 value.
28686 (special_functions): Output call to RUN_TEST_sincos instead of
28687 check_float calls. Update calls to new_test.
28688 (parse_args): Output call to single RUN_TEST_* macro instead of
28689 check_* calls and other assignments. Update calls to new_test.
28690
d8cd06db
JM
28691 [BZ #2546]
28692 [BZ #2560]
28693 [BZ #5159]
28694 [BZ #15426]
28695 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28696 input to result for tgamma overflow.
28697 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28698 (gamma_coeff): New variable.
28699 (NCOEFF): New macro.
28700 (gamma_positive): New function.
28701 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28702 underflow here. Use gamma_positive instead of exp (lgamma) for
28703 other arguments.
28704 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28705 (gamma_coeff): New variable.
28706 (NCOEFF): New macro.
28707 (gammaf_positive): New function.
28708 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28709 underflow here. Use gamma_positive instead of exp (lgamma) for
28710 other arguments.
28711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28712 (gamma_coeff): New variable.
28713 (NCOEFF): New macro.
28714 (gammal_positive): New function.
28715 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28716 underflow here. Use gamma_positive instead of exp (lgamma) for
28717 other arguments.
28718 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28719 (gamma_coeff): New variable.
28720 (NCOEFF): New macro.
28721 (gammal_positive): New function.
28722 (__ieee754_gammal_r): Handle positive infinity, overflow and
28723 underflow here. Handle NaN the same as positive infinity. Remove
28724 check x < 0xffffffff for negative integers. Use gamma_positive
28725 instead of exp (lgamma) for other arguments.
28726 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28727 (gamma_coeff): New variable.
28728 (NCOEFF): New macro.
28729 (gammal_positive): New function.
28730 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28731 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28735 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28736 * sysdeps/generic/math_private.h (__gamma_productf): New
28737 prototype.
28738 (__gamma_product): Likewise.
28739 (__gamma_productl): Likewise.
28740 * math/Makefile (libm-calls): Add gamma_product.
28741 * math/libm-test.inc (tgamma_test): Add more tests.
28742 * sysdeps/i386/fpu/libm-test-ulps: Update.
28743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28744
bb7cf681
OB
287452013-05-08 Ondřej Bílka <neleai@seznam.cz>
28746
28747 * benchtests/bench-skeleton.c (main): Preheat CPU.
28748
ba853947
AJ
287492013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28750
28751 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28752
8347c74c
RM
287532013-05-07 Roland McGrath <roland@hack.frob.com>
28754
28755 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28756 and _dl_skip_args_internal.
28757
e8dd4791
CD
287582013-05-07 Carlos O'Donell <carlos@redhat.com>
28759
28760 * manual/message.texi (Message Translation): Talk about users.
28761 Message to key mapping impacts design.
28762
c7405830
RM
287632013-05-06 Roland McGrath <roland@hack.frob.com>
28764
a9173057
RM
28765 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28766
976e2f03
RM
28767 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28768
9723ffc5
RM
28769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28770 * sysdeps/wordsize-64/glob64.c: ... here.
28771
962e6658
RM
28772 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28773 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28774 New macros.
28775
ee586a6d
RM
28776 * debug/getlogin_r_chk.c: Moved to ...
28777 * login/getlogin_r_chk.c: ... here.
28778 * debug/Makefile (routines): Move getlogin_r_chk to ...
28779 * login/Makefile (routines): ... here.
28780 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28781 * login/Versions (libc: GLIBC_2.4): ... here.
28782
355f9165
RM
28783 * io/poll.c (__poll): Renamed from poll.
28784 Add libc_hidden_def.
28785 (poll): Define as weak alias.
28786
bd9ffde6
RM
28787 * debug/ptsname_r_chk.c: Moved to ...
28788 * login/ptsname_r_chk.c: ... here.
28789 * debug/Makefile (routines): Move ptsname_r_chk to ...
28790 * login/Makefile (routines): ... here.
28791 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28792 * login/Versions (libc: GLIBC_2.4): ... here.
28793
8fb16a04
RM
28794 * posix/getlogin.c: Moved to ...
28795 * login/getlogin.c: ... here.
28796 * posix/getlogin_r.c: Moved to ...
28797 * login/getlogin_r.c: ... here.
28798 * posix/getlogin_r.c: Moved to ...
28799 * login/getlogin_r.c: ... here.
28800 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28801 * login/Makefile (routines): ... here.
28802 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28803 * login/Versions (libc: GLIBC_2.0): ... here.
28804
b99b892f
RM
28805 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28806 (setrlimit): Define as weak alias.
28807
c7405830
RM
28808 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28809 Call __ names for open, ftruncate, and close.
28810 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28811 (truncate): Define as weak alias.
28812
5bf96de5
JM
288132013-05-06 Joseph Myers <joseph@codesourcery.com>
28814
9ea3513c
JM
28815 * math/gen-libm-test.pl (parse_args): Initialize x before each
28816 test of frexp, modf and remquo.
28817
5bf96de5
JM
28818 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28819 test signgam value.
28820
16e616a7
AZ
288212013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28822
28823 [BZ #15418]
28824 [BZ #15419]
28825 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28826 internal tests.
28827 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28828
d5e82754
RM
288292013-05-06 Roland McGrath <roland@hack.frob.com>
28830
28831 * elf/dl-writev.h: New file.
28832 * elf/dl-misc.c: Include it.
28833 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28834 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28835
a7548d41
JM
288362013-05-04 Joseph Myers <joseph@codesourcery.com>
28837
b7dab1e4
JM
28838 * math/libm-test.inc (noXFails): Remove variable.
28839 (noXPasses): Likewise.
28840 (BUILD_COMPLEX_INT): Remove macro.
28841 (print_screen): Remove xfail argument.
28842 (print_screen_max_error): Likewise.
28843 (update_stats): Likewise.
28844 (print_max_error): Likewise. Update calls to other affected
28845 functions.
28846 (print_complex_max_error): Likewise.
28847 (test_single_exception): Update calls to print_screen.
28848 (test_single_errno): Likewise.
28849 (check_float_internal): Remove xfail argument. Update calls to
28850 other affected functions.
28851 (check_float): Likewise.
28852 (check_complex): Likewise.
28853 (check_int): Likewise.
28854 (check_long): Likewise.
28855 (check_bool): Likewise.
28856 (check_longlong): Likewise.
28857 (main): Don't print noXFails and noXPasses.
28858 * math/gen-libm-test.pl (top level): Don't mention expected
28859 failure handling in comment.
28860 (new_test): Don't handle expected failures.
28861 (parse_args): Don't mention expected failure handling in comment.
28862 (generate_testfile): Don't handle expected failures.
28863 (parse_ulps): Likewise.
28864 (print_ulps_file): Likewise.
28865 (get_failure): Remove function.
28866 (output_test): Don't handle expected failures.
28867 * make/README.libm-test: Don't mention expected failure handling.
28868
a7548d41
JM
28869 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28870 (minus_zero): Likewise.
28871 (plus_infty): Likewise.
28872 (minus_infty): Likewise.
28873 (qnan_value): Likewise.
28874 (max_value): Likewise.
28875 (min_value): Likewise.
28876 (min_subnorm_value): Likewise.
28877 (initialize): Do not initialize those variables dynamically.
28878
60bfd54c
RM
288792013-05-03 Roland McGrath <roland@hack.frob.com>
28880
cc0e6ed8
RM
28881 * io/open.c (__open_2): Moved to ...
28882 * io/open_2.c: ... this new file.
28883 * io/open64.c (__open64_2): Moved to ...
28884 * io/open64_2.c: ... this new file.
28885 * io/openat.c (__openat_2): Moved to ...
28886 * io/openat_2.c: ... this new file.
28887 * io/openat64.c (__openat64_2): Moved to ...
28888 * io/openat64_2.c: ... this new file.
28889 * io/Makefile (routines): Add them.
28890 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28891 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28892 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28893 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28894 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28895 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28896 (__openat64): Add hidden_ver.
28897 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28898 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28899
60bfd54c
RM
28900 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28901 Separately conditionalize setting of GLRO(dl_sysinfo) so
28902 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28903 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28904
83e7640f
AZ
289052013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28906
28907 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28908 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28909 definition.
28910 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28911 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28912 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28913 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28914 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28915
d5dc2af3
JM
289162013-05-03 Joseph Myers <joseph@codesourcery.com>
28917
c31a5b1e
JM
28918 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28919 test signgam value.
28920
d5dc2af3
JM
28921 * math/libm-test.inc (hypot_test): Do not use
28922 IGNORE_ZERO_INF_SIGN.
28923
164fd39d
AJ
289242013-05-03 Andreas Jaeger <aj@suse.de>
28925
28926 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28927 Linux 3.9.
28928 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28929 (PF_MAX): Adjust for VSOCK change.
28930
8237f48c
AZ
289312013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28932
28933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28934
9df02941
CD
289352013-05-02 Carlos O'Donell <carlos@redhat.com>
28936
28937 [BZ #15264]
28938 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28939 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28940 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28941
d422395e
DM
289422013-05-02 David S. Miller <davem@davemloft.net>
28943
28944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28945
a07c5731
OB
289462013-05-01 Ondřej Bílka <neleai@seznam.cz>
28947
28948 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28949
1324e37f
RM
289502013-05-01 Roland McGrath <roland@hack.frob.com>
28951
28952 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28953
0695940b
RS
289542013-05-01 Richard Smith <richard@metafoo.co.uk>
28955
bb5f27ad 28956 [BZ #14952]
0695940b
RS
28957 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28958 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28959 Use __attribute__ ((__gnu_inline__)).
28960 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28961 Don't use __attribute__ ((__gnu_inline__)).
28962
10de07f5
JM
289632013-05-01 Joseph Myers <joseph@codesourcery.com>
28964
28965 [BZ #15423]
28966 * math/s_catan.c (__catan): Handle small real or imaginary part of
28967 input specially to avoid spurious underflow.
28968 * math/s_catanf.c (__catanf): Likewise.
28969 * math/s_catanh.c (__catanh): Likewise.
28970 * math/s_catanhf.c (__catanhf): Likewise.
28971 * math/s_catanhl.c (__catanhl): Likewise.
28972 * math/s_catanl.c (__catanl): Likewise.
28973 * math/libm-test.inc (catan_test): Add more tests.
28974 (catanh_test): Likewise.
28975 * sysdeps/i386/fpu/libm-test-ulps: Update.
28976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28977
cb4d5414
AZ
289782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28979
28980 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28981
caf84319
JM
289822013-04-30 Joseph Myers <joseph@codesourcery.com>
28983
28984 [BZ #15416]
28985 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28986 accurately for denominator in atan2.
28987 * math/s_catanf.c (__catanf): Likewise.
28988 * math/s_catanh.c (__catanh): Likewise.
28989 * math/s_catanhf.c (__catanhf): Likewise.
28990 * math/s_catanhl.c (__catanhl): Likewise.
28991 * math/s_catanl.c (__catanl): Likewise.
28992 * math/libm-test.inc (catan_test): Add more tests.
28993 (catanh_test): Likewise.
28994 * sysdeps/i386/fpu/libm-test-ulps: Update.
28995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28996
d569c6ee
SP
289972013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28998
6dbe713d
SP
28999 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29000
f0ee064b
SP
29001 * benchtests/Makefile (bench): Remove slow benchmarks.
29002 * benchtests/atan-inputs: Add slow benchmark inputs.
29003 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29004 (BENCH_FUNC): Accept variant offset.
29005 (VARIANT): Define.
29006 * benchtests/bench-skeleton.c (main): Run benchmark for each
29007 variant.
29008 * benchtests/cos-inputs: Add slow benchmark inputs.
29009 * benchtests/exp-inputs: Likewise.
29010 * benchtests/pow-inputs: Likewise.
29011 * benchtests/sin-inputs: Likewise.
29012 * benchtests/slowatan-inputs: Remove.
29013 * benchtests/slowatan.c: Remove.
29014 * benchtests/slowcos-inputs: Remove.
29015 * benchtests/slowcos.c: Remove.
29016 * benchtests/slowexp-inputs: Remove.
29017 * benchtests/slowexp.c: Remove.
29018 * benchtests/slowpow-inputs: Remove.
29019 * benchtests/slowpow.c: Remove.
29020 * benchtests/slowsin-inputs: Remove.
29021 * benchtests/slowsin.c: Remove.
29022 * benchtests/slowtan-inputs: Remove.
29023 * benchtests/slowtan.c: Remove.
29024 * benchtests/tan-inputs: Add slow benchmark inputs.
29025 * scripts/bench.pl: Parse comments and directives.
29026
d569c6ee
SP
29027 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29028 in CPPFLAGS.
29029 ($(objpfx)bench-%.c): Remove *-ITER.
29030 * benchtests/bench-modf.c: Remove definition of ITER.
29031 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29032 (main): Loop for DURATION seconds instead of fixed number of
29033 iterations.
29034 * scripts/bench.pl: Don't expect iterations in parameters.
29035
a6a242fe
RM
290362013-04-29 Roland McGrath <roland@hack.frob.com>
29037
29038 * io/fchdir.c (__fchdir): Renamed from fchdir.
29039 (fchdir): Define as weak alias.
29040
f2da7793
JM
290412013-04-29 Joseph Myers <joseph@codesourcery.com>
29042
29043 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29044 (ERRNO_EDOM): Likewise.
29045 (ERRNO_ERANGE): Likewise.
29046 (noErrnoTests): New variable.
29047 (init_max_error): Set errno to 0.
29048 (test_single_errno): New function.
29049 (test_errno): Likewise.
29050 (check_float_internal): Call test_errno. Set errno to 0.
29051 (check_complex): Refer to errno tests in comment.
29052 (check_int): Call test_errno. Set errno to 0.
29053 (check_long): Likewise.
29054 (check_bool): Likewise.
29055 (check_longlong): Likewise.
29056 (cos_test): Use ERRNO_* flags for errno tests instead of
29057 check_int.
29058 (expm1_test): Likewise.
29059 (fmod_test): Likewise.
29060 (ilogb_test): Likewise.
29061 (lgamma_test): Likewise.
29062 (pow_test): Likewise.
29063 (remainder_test): Likewise.
29064 (sin_test): Likewise.
29065 (tan_test): Likewise.
29066 (yn_test): Likewise.
29067 (initialize): Set errno to 0.
29068 (main): Print number of errno tests.
29069 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29070
b1a36ceb
AJ
290712013-04-29 Andreas Jaeger <aj@suse.de>
29072
c3ed8088
AJ
29073 [BZ #15084]
29074 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29075 and RES_USEVC.
29076
f1a24198
AJ
29077 [BZ #15085]
29078 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29079 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29080 unimplemented.
29081
9ce3b2cb
AJ
29082 [BZ #15380]
29083 * stdlib/random.c (__initstate): Return NULL if
29084 __initstate fails.
29085
f1a24198 29086 [BZ #15086]
b1a36ceb
AJ
29087 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29088 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29089 RES_SNGLKUPREOP.
29090
7e7b6f36
AZ
290912013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29092
29093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29094
4d14f449
JM
290952013-04-29 Joseph Myers <joseph@codesourcery.com>
29096
29097 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29098 of individual tests.
29099 (casin_test): Likewise.
29100 (casinh_test): Likewise.
29101
5b4217d7
JM
291022013-04-27 Joseph Myers <joseph@codesourcery.com>
29103
29104 [BZ #15409]
29105 * math/s_catan.c (__catan): Handle arguments with large real or
29106 imaginary part separately without squaring.
29107 * math/s_catanf.c (__catanf): Likewise.
29108 * math/s_catanh.c (__catanh): Likewise.
29109 * math/s_catanhf.c (__catanhf): Likewise.
29110 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29111 and redefine.
29112 (__catanhl): Handle arguments with large real or imaginary part
29113 separately without squaring.
29114 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29115 and redefine.
29116 (__catanl): Handle arguments with large real or imaginary part
29117 separately without squaring.
29118 * math/libm-test.inc (catan_test): Add more tests.
29119 (catanh_test): Likewise.
29120 * sysdeps/i386/fpu/libm-test-ulps: Update.
29121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29122
4220c3ef
AJ
291232013-04-27 Andreas Jaeger <aj@suse.de>
29124
29125 [BZ #15007]
29126 * stdlib/stdlib.h: Update guards for qecvt.
29127 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29128 <stdlib.h>.
29129
4721b2d1
AM
291302013-04-27 Allan McRae <allan@archlinux.org>
29131
29132 * sysdeps/i386/fpu/libm-test-ulps: Update.
29133
f0302940
JM
291342013-04-26 Joseph Myers <joseph@codesourcery.com>
29135
9457fd95
JM
29136 [BZ #15406]
29137 * math/s_catan.c: Include <float.h>.
29138 (__catan): Ensure underflow exception occurs for underflowed
29139 result.
29140 * math/s_catanf.c: Include <float.h>.
29141 (__catanf): Ensure underflow exception occurs for underflowed
29142 result.
29143 * math/s_catanh.c: Include <float.h>.
29144 (__catanh): Ensure underflow exception occurs for underflowed
29145 result.
29146 * math/s_catanhf.c: Include <float.h>.
29147 (__catanhf): Ensure underflow exception occurs for underflowed
29148 result.
29149 * math/s_catanhl.c: Include <float.h>.
29150 (__catanhl): Ensure underflow exception occurs for underflowed
29151 result.
29152 * math/s_catanl.c: Include <float.h>.
29153 (__catanl): Ensure underflow exception occurs for underflowed
29154 result.
29155 * math/libm-test.inc (catan_test): Add more tests.
29156 (catanh_test): Likewise.
29157
f0302940
JM
29158 [BZ #15405]
29159 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29160 underflowed result.
29161 * math/s_ccoshf.c (__ccoshf): Likewise.
29162 * math/s_ccoshl.c (__ccoshl): Likewise.
29163 * math/s_csin.c (__csin): Likewise.
29164 * math/s_csinf.c (__csinf): Likewise.
29165 * math/s_csinh.c (__csinh): Likewise.
29166 * math/s_csinhf.c (__csinhf): Likewise.
29167 * math/s_csinhl.c (__csinhl): Likewise.
29168 * math/s_csinl.c (__csinl): Likewise.
29169 * math/libm-test.inc (ccos_test): Add more tests.
29170 (ccosh_test): Likewise.
29171 (csin_test): Likewise.
29172 (csinh_test): Likewise.
29173
aa630f59
AZ
291742013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29175
29176 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29177 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29178 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29179 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29180 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29181 powerpc/power5+/fpu folders.
29182 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29183
29184
1b835983
MT
291852013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29186
29187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29188
73709b26
JM
291892013-04-25 Joseph Myers <joseph@codesourcery.com>
29190
29191 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29192 additions to variable.
29193 [$(config-machine) = x86_64] (modules-names): Likewise.
29194 ($(objpfx)tst-audit3): Remove dependency.
29195 ($(objpfx)tst-audit3.out): Likewise.
29196 ($(objpfx)tst-audit4): Likewise.
29197 ($(objpfx)tst-audit4.out): Likewise.
29198 ($(objpfx)tst-audit5): Likewise.
29199 ($(objpfx)tst-audit5.out): Likewise.
29200 ($(objpfx)tst-audit6): Likewise.
29201 ($(objpfx)tst-audit6.out): Likewise.
29202 ($(objpfx)tst-audit7): Likewise.
29203 ($(objpfx)tst-audit7.out): Likewise.
29204 (tst-audit3-ENV): Remove variable.
29205 (tst-audit4-ENV): Likewise.
29206 (tst-audit5-ENV): Likewise.
29207 (tst-audit6-ENV): Likewise.
29208 (tst-audit7-ENV): Likewise.
29209 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29210 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29211 addition to variable.
29212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29217 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29218 tst-audit3, tst-audit4 and tst-audit5.
29219 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29220 tst-audit6 and tst-audit7.
29221 [$(subdir) = elf] (modules-names): Add audit modules for those
29222 tests.
29223 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29224 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29225 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29226 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29227 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29228 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29229 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29230 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29231 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29232 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29233 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29234 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29235 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29236 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29237 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29238 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29239 Likewise.
29240 [$(subdir) = elf && $(config-cflags-avx) = yes]
29241 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29242 [$(subdir) = elf && $(config-cflags-avx) = yes]
29243 (CFLAGS-tst-auditmod4a.c): Likewise.
29244 [$(subdir) = elf && $(config-cflags-avx) = yes]
29245 (CFLAGS-tst-auditmod4b.c): Likewise.
29246 [$(subdir) = elf && $(config-cflags-avx) = yes]
29247 (CFLAGS-tst-auditmod6b.c): Likewise.
29248 [$(subdir) = elf && $(config-cflags-avx) = yes]
29249 (CFLAGS-tst-auditmod6c.c): Likewise.
29250 [$(subdir) = elf && $(config-cflags-avx) = yes]
29251 (CFLAGS-tst-auditmod7b.c): Likewise.
29252 * elf/tst-audit3.c: Move to ...
29253 * sysdeps/x86_64/tst-audit3.c: ... here.
29254 * elf/tst-audit4.c: Move to ...
29255 * sysdeps/x86_64/tst-audit4.c: ... here.
29256 * elf/tst-audit5.c: Move to ...
29257 * sysdeps/x86_64/tst-audit5.c: ... here.
29258 * elf/tst-audit6.c: Move to ...
29259 * sysdeps/x86_64/tst-audit6.c: ... here.
29260 * elf/tst-audit7.c: Move to ...
29261 * sysdeps/x86_64/tst-audit7.c: ... here.
29262 * elf/tst-auditmod3a.c: Move to ...
29263 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29264 * elf/tst-auditmod3b.c: Move to ...
29265 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29266 * elf/tst-auditmod4a.c: Move to ...
29267 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29268 * elf/tst-auditmod4b.c: Move to ...
29269 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29270 * elf/tst-auditmod5a.c: Move to ...
29271 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29272 * elf/tst-auditmod5b.c: Move to ...
29273 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29274 * elf/tst-auditmod6a.c: Move to ...
29275 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29276 * elf/tst-auditmod6b.c: Move to ...
29277 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29278 * elf/tst-auditmod6c.c: Move to ...
29279 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29280 * elf/tst-auditmod7a.c: Move to ...
29281 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29282 * elf/tst-auditmod7b.c: Move to ...
29283 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29284
1ef74943
PP
292852013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29286
29287 [BZ #15366]
29288 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29289 define unconditionally.
29290 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29291 define unconditionally.
29292 (INT8_C, INT16_C, etc.): Likewise.
29293
93fd48c5
MR
292942013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29295
ae9552cf
MR
29296 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29297 __ehdr_start with hidden visibility.
29298
93fd48c5
MR
29299 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29300
418601aa
CD
293012013-04-24 Carlos O'Donell <carlos@redhat.com>
29302
29303 * math/libm-test.inc (cos_test): Use accurate hex constants.
29304 (sincost_test): Likewise.
29305
2f38fbfe
JM
293062013-04-24 Joseph Myers <joseph@codesourcery.com>
29307
5e221800
JM
29308 * math/libm-test.inc (catan_test): Add more tests.
29309 (catanh_test): Likewise.
29310
77f143fd
JM
29311 * math/s_catanf.c (__catanf): Use suffixed floating-point
29312 constants.
29313 * math/s_catanhf.c (__catanhf): Likewise.
29314 * math/s_catanhl.c (__catanhl): Likewise.
29315 * math/s_catanl.c (__catanl): Likewise.
29316
2f38fbfe
JM
29317 [BZ #15394]
29318 * math/s_catan.c (__catan): Calculate imaginary part of result
29319 with log1p not log unless computing log of number close to 0.
29320 * math/s_catanf.c (__catanf): Likewise.
29321 * math/s_catanl.c (__catanl): Likewise.
29322 * math/s_catanh.c (__catanh): Calculate real part of result with
29323 log1p not log unless computing log of number close to 0.
29324 * math/s_catanhf.c (__catanhf): Likewise.
29325 * math/s_catanhl.c (__catanhl): Likewise.
29326 * math/libm-test.inc (catan_test): Add more tests.
29327 (catanh_test): Likewise.
29328 * sysdeps/i386/fpu/libm-test-ulps: Update.
29329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29330
45d69176
SP
293312013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29332
29333 * benchtests/Makefile: Mention files in which fast and slow
29334 paths of math functions are implemented.
29335
87f51853
RM
293362013-04-23 Roland McGrath <roland@hack.frob.com>
29337
29338 * sysdeps/posix/timespec_get.c: New file.
29339
3c026539
AZ
293402013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29341
29342 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29343 POWER.
29344 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29345 for POWER.
29346 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29347 powerpc/power5/fpu folders.
29348 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29349 * benchtests/Makefile: Add modf testcase.
29350 * benchtests/bench-modf.c: New file: Benchmark test for mo
29351
ff491d14
SP
293522013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29353
29354 [BZ #14888]
29355 * time/Makefile (tests): Add tst-strptime-whitespace.
29356 * time/strptime_l.c (get_number): Use ISSPACE.
29357 (__strptime_internal): Likewise.
29358 * time/tst-strptime-whitespace.c: New test case.
29359
7ed3f4e8
AS
293602013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29361
29362 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29363 member.
29364 (_nss_files_init): Set it here.
29365
5c95f7b6
HC
293662013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29367
29368 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29369 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29370 unsigned.
29371
d34c9158
JBG
293722013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29373
29374 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29375
2169712d
SP
293762013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29377
29378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29379 size just once.
29380
29c5de99
DM
293812013-04-21 David S. Miller <davem@davemloft.net>
29382
29383 * po/ru.po: Update Russion translation from translation project.
29384
ccdad15d
AC
293852013-04-17 Adam Conrad <adconrad@0c3.net>
29386
29387 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29388 and setfsgid.
29389
0f122b8d
CD
293902013-04-17 Carlos O'Donell <carlos@redhat.com>
29391
5c5b07da 29392 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 29393 * configure: Regenerate.
5c5b07da 29394 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
29395 Add example to error message.
29396 * sysdeps/i386/configure: Regenerate.
29397
037714dd
SP
293982013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29399
29400 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29401 slowtan.
29402 * benchtests/cos-inputs: New file.
29403 * benchtests/slowcos-inputs: New file.
29404 * benchtests/slowcos.c: New file.
29405 * benchtests/slowtan-inputs: New file.
29406 * benchtests/slowtan.c: New file.
29407 * benchtests/tan-inputs: New file.
29408
e913141d
RM
294092013-04-16 Roland McGrath <roland@hack.frob.com>
29410
29411 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29412 considered kosher.
29413
a2964074
SP
294142013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29415
4856bcd2
SP
29416 * benchtests/Makefile: Include cppflags-iterator.mk to add
29417 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29418
a2964074
SP
29419 * Makefile.in (bench-clean): New target.
29420 * benchtests/Makefile (bench-clean): Likewise.
29421
9fbf9aca
DH
294222013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29423
29424 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29425
207d1e2a
TS
294262013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29427
29428 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29429
306dfba9
AS
294302013-04-15 Andreas Schwab <schwab@suse.de>
29431
29432 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29433 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29434 * nscd/pwdcache.c (cache_addpw): Likewise.
29435 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29436 more than recsize.
29437
206a6699
SP
294382013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29439
29440 * benchtests/Makefile (bench): Write all output to
29441 bench-out.tmp together.
29442
0582f6b3
AS
294432013-04-15 Andreas Schwab <schwab@suse.de>
29444
29445 * nscd/nscd.c (main): Don't fork again after closing files.
29446
acb4325f
SP
294472013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29448
5cb26d0a
SP
29449 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29450
acb4325f
SP
29451 * benchtests/Rules (bench-deps): Collect dependencies into a
29452 single variable. Add Makefile to dependencies.
29453 ($(objpfx)bench-%.c): Depend on bench-deps.
29454
47792506
RM
294552013-04-12 Roland McGrath <roland@hack.frob.com>
29456 Xavier Roche <roche+kml2@exalead.com>
29457
29458 [BZ #15361]
29459 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29460 just that it's a file descriptor.
29461 * manual/llio.texi (Synchronizing AIO Operations): Update description
29462 for EBADF error from aio_fsync.
29463
8fc1bee5
SP
294642013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29465
29466 * Rules (bench): Move target definition...
29467 * benchtests/Makefile: ... here.
29468
aba5e333
CD
294692013-04-11 Carlos O'Donell <carlos@redhat.com>
29470
29471 * math/libm-test.inc (cos_test): Fix PI/2 test.
29472 (sincos_test): Likewise.
29473 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29474 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29475
273cdee8
AS
294762013-04-11 Andreas Schwab <schwab@suse.de>
29477
6ecec3b6
AS
29478 [BZ #13988]
29479 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29480 accept exponent character only when digits were seen.
29481 * stdio-common/Makefile (tests): Add bug26.
29482 * stdio-common/bug26.c: New file.
29483
273cdee8
AS
29484 [BZ #14293]
29485 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29486 non-freeable.
29487
8da491f5
SP
294882013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29489
01dc6df9
SP
29490 * Makeconfig (rtld-prefix): Define built linker prefix.
29491 * Rules (run-bench): Use it.
29492 * math/Makefile (run-regen-ulps): Likewise.
29493
8da491f5
SP
29494 * Rules (bench): Remove eval.
29495
abe7f530
SP
294962013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29497 Roland McGrath <roland@hack.frob.com>
29498 Ondrej Bilka <neleai@seznam.cz>
29499
29500 [BZ #15346]
29501 * time/getdate.c: Include ctype.h and alloca.h.
29502 (__getdate_r): Trim leading and trailing spaces of input.
29503 * time/tst-getdate.c (tests): Add tests with leading and
29504 trailing spaces.
29505
61c23e62
RM
295062013-04-08 Roland McGrath <roland@hack.frob.com>
29507
29508 [BZ #14280]
29509 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29510 when computing value.
29511
7208a313
CD
295122013-04-06 Carlos O'Donell <carlos@redhat.com>
29513
085b2d41
CD
29514 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29515 Use testrun.sh to run libm tests.
29516
7208a313
CD
29517 [BZ #15309]
29518 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29519
872c0acd
MM
295202013-04-06 Marko Myllynen <myllynen@redhat.com>
29521
29522 [BZ #15264]
29523 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29524
26510bdd
CD
295252013-04-06 Carlos O'Donell <carlos@redhat.com>
29526
29527 * Makefile.in (regen-ulps): New target.
29528 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29529 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29530 [ifneq (no,$(PERL)] (regen-ulps): New target.
29531 [ifeq (no,$(PERL)] (regen-ulps): New target.
29532 * math/libm-test.inc (ulps_file_name): Define.
29533 (output_dir): New variable.
29534 (options): Add "output-dir" option.
29535 (parse_opt): Handle 'o' case.
29536 (main): If output_dir is non-NULL use it as a prefix
29537 otherwise use "".
29538 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29539
a01f19c8
CD
295402013-04-06 Carlos O'Donell <carlos@redhat.com>
29541
29542 [BZ #10060, #10062]
29543 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29544 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29545 fail configure if __sync_val_compare_and_swap is not inlined.
29546 * sysdeps/i386/configure: Regenerate.
29547 * configure.in: Build for i686 when configured for i386.
29548 * configure: Regenerate.
29549 * README: Remove i386 reference.
29550
b7a329a5
CD
295512013-04-06 Carlos O'Donell <carlos@redhat.com>
29552
29553 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29555
bf0f50df
TS
295562013-04-05 Thomas Schwinge <thomas@codesourcery.com>
29557
ee091edf
TS
29558 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29559 (lmsnanval): New variables.
29560 (F): Add conversion tests.
29561 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29562 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29563
a8b792d6
TS
29564 * stdio-common/tstdiomisc.c (F): Properly collect individual
29565 tests' results.
29566
a1cbf437
TS
29567 [BZ #14686, #15336]
29568 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29569 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29570 Instead, use input NaN values or generate a qNaN by arithmetic
29571 operation. Also fix bugs to comply with the standard.
29572 * math/libm-test.inc (remainder_test): Add more tests.
29573
8b43a0c9
TS
29574 [BZ #15335, #15342]
29575 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29577 input NaN values or generate a qNaN by arithmetic operation.
29578
d91da4ce
TS
29579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29580 unreachable code.
29581
bf0f50df
TS
29582 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29583 definitions.
29584
05e166c8
JM
295852013-04-03 Joseph Myers <joseph@codesourcery.com>
29586
29587 [BZ #14478]
29588 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29589 underflowed result.
29590 * math/s_cexpf.c (__cexpf): Likewise.
29591 * math/s_cexpl.c (__cexpl): Likewise.
29592 * math/libm-test.inc (cexp_test): Add more tests.
29593
1cef1b19
AS
295942013-04-03 Andreas Schwab <schwab@suse.de>
29595
29596 [BZ #15330]
29597 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29598 order arrays from heap if bigger than alloca cutoff.
29599
74d87055
TS
296002013-04-03 Thomas Schwinge <thomas@codesourcery.com>
29601
29602 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29603 (SNAN_TESTS_double): Refer to GCC PR56831.
29604 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29605 GCC PR56828.
29606
d755bba4
SP
296072013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29608
90d5d5bb
SP
29609 * Rules (bench): Move bench.out after the run is complete.
29610
73e0cd5d
SP
29611 * Rules (bench): Echo currently running benchmark.
29612
64aabd4b
SP
29613 * benchtests/Makefile (bench): Add atan and slowatan.
29614 * benchtests/atan-inputs: New file.
29615 * benchtests/slowatan-inputs: New file.
29616 * benchtests/slowatan.c: New file.
29617
c871eccd
SP
29618 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29619 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29620 its value.
29621
d755bba4
SP
29622 [BZ #15305]
29623 * sysdeps/unix/sysv/linux/kernel-features.h
29624 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29625 __ASSUME_XFS_RESTRICTED_CHOWN.
29626 * sysdeps/unix/sysv/linux/pathconf.c
29627 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29628 Save and restore errno.
29629
52ce4860
JM
296302013-04-02 Joseph Myers <joseph@codesourcery.com>
29631
29632 [BZ #15327]
29633 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29634 arguments using __kernel_casinh.
29635 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29636 arguments using __kernel_casinhf.
29637 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29638 arguments using __kernel_casinhl.
29639 * math/libm-test.inc (cacosh_test): Add more tests.
29640 * sysdeps/i386/fpu/libm-test-ulps: Update.
29641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29642
81f311c2
SP
296432013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29644
e7906a47
SP
29645 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29646 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29647
92e3664b
SP
29648 * bench/Makefile (bench): Add sin and slowsin.
29649 * benchtests/sin-inputs: New file.
29650 * benchtests/slowsin-inputs: New file.
29651 * benchtests/slowsin.c: New file.
29652
81f311c2
SP
29653 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29654 (bench): Add slowexp and slowpow.
29655 (exp-ITER): Increase iterations.
29656 (pow-ITER): Likewise.
29657 * benchtests/exp-inputs: Change input.
29658 * benchtests/pow-inputs: Likewise.
29659 * benchtests/slowexp-inputs: New file.
29660 * benchtests/slowexp.c: New file.
29661 * benchtests/slowpow-inputs: New file.
29662 * benchtests/slowpow.c: New file.
29663
ab0f1aa9
AZ
296642013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29665
29666 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29667 instructions.
29668 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29669 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29670 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29671 * benchtests/Makefile: Add rint benchtest.
29672 * benchtests/rint-inputs: Input for rint benchtest.
29673
57267616
TS
296742013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29675
29676 * Versions.def (libm): Add GLIBC_2.18.
29677 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29678 hidden libm prototypes.
29679 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29680 * math/Makefile (libm-calls): Add s_issignaling.
29681 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29682 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29683 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29684 declaration.
29685 * math/math.h [__USE_GNU] (issignaling): New macro.
29686 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29687 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29688 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29689 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29690 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29691 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29692 * manual/arith.texi (issignaling): New section.
29693 * manual/libm-err-tab.pl (@all_functions): Update comment.
29694 * math/gen-libm-test.pl (parse_args): Apply special handling for
29695 issignaling.
29696 * math/libm-test.inc (print_float, issignaling_test): New
29697 functions.
29698 (check_float_internal): Add issignaling checks.
29699 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29700 default definition.
29701 * sysdeps/powerpc/math-tests.h: New file.
29702 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29703 tests.
29704 * math/test-snan.c (TEST_FUNC): Likewise.
29705
6142896d
DM
297062013-03-30 David S. Miller <davem@davemloft.net>
29707
29708 * po/de.po: Update from translation team.
29709
ccc8cadf
JM
297102013-03-30 Joseph Myers <joseph@codesourcery.com>
29711
29712 [BZ #10357]
29713 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29714 imaginary part less than 1.0 and real part less than 0.5
29715 specially.
29716 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29717 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29718 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29719 (cacos_test): Add more tests.
29720 (casin_test): Likewise.
29721 (casinh_test): Likewise.
29722 * sysdeps/i386/fpu/libm-test-ulps: Update.
29723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29724
0f6a8d4b
SP
297252013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29726
0d1029de
SP
29727 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29728 ONE with its value.
29729
c2d94018
SP
29730 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29731 (__pow_mp): Replace ONE and MONE with their values.
29732 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29734 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29735 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29736 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29738
27ec37f1
SP
29739 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29740
a64d7e0e
SP
29741 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29742 (__pow_mp): Replace ZERO and MZERO with their values.
29743 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29744 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29745 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29747 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29748 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29749 (__sqr): Likewise.
29750
d26dd3eb
SP
29751 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29752
0f6a8d4b
SP
29753 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29754
e57b0c61
RM
297552013-03-28 Roland McGrath <roland@hack.frob.com>
29756
29757 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29758 Declare with __attribute__ ((weak)).
29759 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29760 Call __call_tls_dtors only if it's not NULL.
29761
356b3480
RM
297622013-03-28 Roland McGrath <roland@hack.frob.com>
29763
288f7d79
RM
29764 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29765 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29766 magic __ehdr_start linker symbol if it's defined.
29767 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29768 them up here if it was already done.
29769
dc0a0263
RM
29770 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29771 (_dl_aux_init): Use const in cast when setting it.
29772 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29773 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29774 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29775
3d3436ae
RM
29776 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29777 Declare them here.
29778 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29779 * csu/libc-tls.c: Nor here.
29780 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29781
356b3480
RM
29782 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29783 (__libc_message): Never call vsyslog.
29784
b0f1246a
AM
297852013-03-28 Alan Modra <amodra@gmail.com>
29786
29787 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29788 Define as empty.
29789 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29790 Likewise.
29791
fbbe2b9a
AZ
297922013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29793
29794 [BZ #15214]
29795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29796 underflow.
29797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29798
1728ab37
SP
297992013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29800
7a86be6e
SP
29801 [BZ #15304]
29802 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29803 Don't add gid passed as argument.
29804
1728ab37
SP
29805 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29806
3a7182a1
JM
298072013-03-27 Joseph Myers <joseph@codesourcery.com>
29808
29809 [BZ #15307]
29810 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29811 imaginary part between 1.0 and 1.5 and real part less than 0.5
29812 specially.
29813 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29814 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29815 * math/libm-test.inc (cacos_test): Add more tests.
29816 (casin_test): Likewise.
29817 (casinh_test): Likewise.
29818 * sysdeps/i386/fpu/libm-test-ulps: Update.
29819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29820
6f2e90e7
SP
298212013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29822
5739f705
SP
29823 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29824 constants.
29825 (norm): Likewise.
29826 (denorm): Likewise.
29827 (__dbl_mp): Likewise.
29828 (add_magnitudes): Likewise.
29829 (sub_magnitudes): Likewise.
29830 (__add): Likewise.
29831 (__sub): Likewise.
29832 (__mul): Likewise.
29833 (__sqr): Likewise.
29834 (__inv): Likewise.
29835 (__dvd): Likewise.
29836
e375e83d
SP
29837 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29838 commented code.
29839 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29840 (__dubcos): Likewise.
29841 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29842 (__ieee754_acos): Likewise.
29843 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29844 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29845 (__exp1): Likewise.
29846 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29847 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29848 (log1): Likewise.
29849 (my_log2): Likewise.
29850 (checkint): Likewise.
29851 * sysdeps/ieee754/dbl-64/e_remainder.c
29852 (__ieee754_remainder): Likewise.
29853 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29855 (bsloww): Likewise.
29856 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29857
6f2e90e7
SP
29858 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29859 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29860 MANTISSA_STORE_T to store computations on mantissa. Use
29861 macros for rounding and division.
29862 (denorm): Likewise.
29863 (__dbl_mp): Likewise.
29864 (add_magnitudes): Likewise.
29865 (sub_magnitudes): Likewise.
29866 (__mul): Likewise.
29867 (__sqr): Likewise.
29868 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29869 powers of two in terms of TWOPOW macro.
29870 (mp_no): Make type of mantissa as MANTISSA_T.
29871 [!RADIXI]: Define RADIXI.
29872 [!TWO52]: Define TWO52.
29873 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29874
fce14d4e
AZ
298752013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29876
29877 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29878 llroundl symbol when building for PPC32.
29879
9ad027fb
MW
298802013-03-24 Mark H Weaver <mhw@netris.org>
29881
29882 * manual/arith.texi (Normalization Functions): Fix prototypes for
29883 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29884
e42a38dd
AZ
298852013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29886
29887 [BZ #13889]
29888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29889 high value to check if expl overflow.
29890 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29891 to check for underflow and overflow.
29892 * math/libm-test.inc: Add exp test.
29893
2e0fb521
DL
298942013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29895
29896 [BZ #11120]
29897 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29898 with NOT_IN_libc.
29899
b5784d95
AZ
299002013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29901
29902 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29903 symbol.
29904
5aa4a1a1
TS
299052013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29906
bdef0be7
TS
29907 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29908 wrap blocks consisting of several statements.
29909
5aa4a1a1
TS
29910 * sysdeps/generic/math-tests.h: New file.
29911 * sysdeps/i386/fpu/math-tests.h: Likewise.
29912 * math/test-snan.c: Include it.
29913 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29914
98c48fe5
JM
299152013-03-21 Joseph Myers <joseph@codesourcery.com>
29916
29917 [BZ #15285]
29918 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29919 (__ieee754_j0l): Do not improve calculations using cos of twice
29920 input for inputs above LDBL_MAX / 2.0L.
29921 (__ieee754_y0l): Likewise.
29922 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29923 (__ieee754_j1l): Do not improve calculations using cos of twice
29924 input for inputs above LDBL_MAX / 2.0L.
29925 (__ieee754_y1l): Likewise.
29926 * math/libm-test.inc (j0_test): Add another test.
29927 (j1_test): Likewise.
29928 (y0_test): Likewise.
29929 (y1_test): Likewise.
29930 * sysdeps/i386/fpu/libm-test-ulps: Update.
29931
3775a8bc
SP
299322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29933
29934 * Rules ($(objpfx)bench-%.c): Include code from a C source
29935 file.
29936
0a1b2ae6
JM
299372013-03-21 Joseph Myers <joseph@codesourcery.com>
29938
29939 [BZ #15287]
29940 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29941 imaginary part 1.0 and real part less than 0.5 specially.
29942 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29943 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29944 * math/libm-test.inc (cacos_test): Add more tests.
29945 (casin_test): Likewise.
29946 (casinh_test): Likewise.
29947 * sysdeps/i386/fpu/libm-test-ulps: Update.
29948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29949
b33d4ce4
SP
299502013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29951
29952 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29953 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29954
bef0b507
JM
299552013-03-20 Joseph Myers <joseph@codesourcery.com>
29956
29957 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29958 * config.make.in (config-cflags-sse4): Remove variable.
29959 (config-cflags-avx): Likewise.
29960 (config-cflags-sse2avx): Likewise.
29961 (config-cflags-novzeroupper): Likewise.
29962 (config-asflags-i686): Likewise.
29963 (have-mfma4): Likewise.
29964 (have-as-vis3): Likewise.
29965 (MIG): Likewise.
29966 * configure.in (MIG): Do not AC_SUBST.
29967 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29968 (libc_cv_cc_sse4): Do not AC_SUBST.
29969 (libc_cv_cc_avx): Likewise.
29970 (libc_cv_cc_sse2avx): Likewise.
29971 (libc_cv_cc_novzeroupper): Likewise.
29972 (libc_cv_cc_fma4): Likewise.
29973 (libc_cv_as_i686): Likewise.
29974 (libc_cv_sparc_as_vis3): Likewise.
29975 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29976 LIBC_CONFIG_VAR.
29977 (config-asflags-i686): Likewise.
29978 (config-cflags-avx): Likewise.
29979 (config-cflags-sse2avx): Likewise.
29980 (have-mfma4): Likewise.
29981 (config-cflags-novzeroupper): Likewise.
29982 * sysdeps/mach/configure.in (MIG): Likewise.
29983 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29984 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29985 LIBC_CONFIG_VAR.
29986 (config-cflags-avx): Likewise.
29987 (config-cflags-sse2avx): Likewise.
29988 (have-mfma4): Likewise.
29989 (config-cflags-novzeroupper): Likewise.
29990 * configure: Regenerated.
29991 * sysdeps/i386/configure: Likewise.
29992 * sysdeps/mach/configure: Likewise.
29993 * sysdeps/sparc/configure: Likewise.
29994 * sysdeps/x86_64/configure: Likewise.
29995
912cc4b3
RM
299962013-03-20 Roland McGrath <roland@hack.frob.com>
29997
29998 [BZ #14812]
29999 * locale/programs/localedef.c (options): Put N_ translation marker
30000 on argument names, not just descriptions.
30001
04eed2b0
MS
300022013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30003
30004 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30005
a065ceff
OB
300062013-03-20 Ondřej Bílka <neleai@seznam.cz>
30007
9bb2a810 30008 [BZ #14176]
a065ceff
OB
30009 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30010
a600e5ce
RM
300112013-03-19 Roland McGrath <roland@hack.frob.com>
30012
30013 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30014 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30015 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30016 [!BEFORE_ABORT] (before_abort): New function.
30017 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30018 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30019 (writev_for_fatal): New function.
30020 (WRITEV_FOR_FATAL): New macro; call that.
30021 (backtrace_and_maps): New function.
30022 (BEFORE_ABORT): New macro; call that.
30023 (struct str_list): Type removed.
30024 (__libc_message, __libc_fatal): Functions removed.
30025 Include <sysdeps/posix/libc_fatal.c> instead.
30026
6b18bea6
JM
300272013-03-19 Joseph Myers <joseph@codesourcery.com>
30028
30029 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30030 constants.
30031 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30032 double constants.
30033
aaa8cb4b
AS
300342013-03-19 Andreas Schwab <schwab@suse.de>
30035
44673770
AS
30036 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30037 * sysdeps/gnu/configure: Regenerate.
30038
aaa8cb4b
AS
30039 * configure.in: Substitute libc_cv_rtlddir.
30040 * configure: Regenerate.
30041 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30042 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30043 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30044 * elf/Makefile (install-others, CFLAGS-interp.c)
30045 (ldso_install, common-ldd-rewrite): Likewise.
30046 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30047 $(inst_slibdir)/$(rtld-installed-name).
30048 * scripts/rellns-sh: Add -p option.
30049 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30050 for source.
30051
d3cfc668
SP
300522013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30053
30054 * manual/nptl.texi: Renamed to ...
30055 * manual/threads.texi: ... this.
30056 * manual/Makefile (chapters): Update.
30057
0e2b9cdd
RM
300582013-03-18 Roland McGrath <roland@hack.frob.com>
30059
30060 [BZ #14812]
30061 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30062 on argument names, not just descriptions.
0e2b9cdd
RM
30063 * malloc/memusagestat.c (options): Likewise.
30064 * nss/getent.c (options): Likewise.
63270c24
RM
30065
300662013-03-18 Benno Schulenberg <bensberg@justemail.net>
30067
30068 [BZ #14812]
30069 * iconv/iconv_prog.c (options): Put N_ translation marker
30070 on argument names, not just descriptions.
30071 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 30072
b2e1393c
OB
300732013-03-18 Ondrej Bilka <neleai@seznam.cz>
30074
30075 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30076 implementation which is faster on all x86_64 architectures.
30077 Tested on AMD, Intel Nehalem, SNB, IVB.
30078 * sysdeps/x86_64/strnlen.S: Likewise.
30079
30080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30081 Remove all multiarch strlen and strnlen versions.
30082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30083 Remove strlen and strnlen related parts.
30084
30085 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30086 Inline strlen part.
30087 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30088
30089 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30090 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30091 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30092 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30093 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30094 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30095
ec4ff04d
CD
300962013-03-17 Carlos O'Donell <carlos@redhat.com>
30097
30098 * manual/memory.texi (Malloc Tunable Parameters):
30099 Sort parameters alphabetically. Add comments for missing entries.
30100
cd18e90a
DM
301012013-03-17 David S. Miller <davem@davemloft.net>
30102
30103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30104
2a185d32
JM
301052013-03-16 Joseph Myers <joseph@codesourcery.com>
30106
d2f9799e
JM
30107 [BZ #15283]
30108 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30109 for arguments at most half maximum finite value.
30110 * math/libm-test.inc (j0_test): Add more tests.
30111 (j1_test): Likewise.
30112 (y0_test): Likewise.
30113 (y1_test): Likewise.
30114 * sysdeps/i386/fpu/libm-test-ulps: Update.
30115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30116
2a185d32
JM
30117 [BZ #14155]
30118 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30119 1 / x and functions P and Q for arguments above 0x1p256L.
30120 (__ieee754_y0l): Likewise.
30121 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30122 (__ieee754_y1l): Likewise.
30123 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30124 (j1_test): Likewise.
30125 (y0_test): Likewise.
30126 (y1_test): Likewise.
30127
6cbec759
TS
301282013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30129
30130 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30131 variable.
30132
bc16e260
RM
301332013-03-15 Roland McGrath <roland@hack.frob.com>
30134
aefc9b8c
RM
30135 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30136 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30137 zero since it's initialized to EXEC_PAGESIZE.
30138
bc16e260
RM
30139 * sysdeps/unix/sysv/linux/ldsodefs.h
30140 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30141 * sysdeps/generic/ldsodefs.h: ... here.
30142
a57da955
TS
301432013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30144
af00a34d
TS
30145 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30146
495ded2c
TS
30147 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30148 math/test-snan.c.
30149 * math/test-snan.c: Renamed from
30150 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30151 * math/Makefile (tests): Add test-snan.
30152 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30153 test-powerpc-snan.
30154
777b0332
TS
30155 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30156 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30157 functions.
30158 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30159 __builtin_nan family of functions.
30160 * math/libm-test.inc (initialize): Initialize qnan_value with
30161 __builtin_nan family of functions.
30162 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30163 Remove variables.
30164 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30165 Remove functions.
30166 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30167 storage class. Initialize qNaN_var and sNaN_var with
30168 __builtin_nan and __builtin_nans families of functions,
30169 respectively.
30170
64d063b8
TS
30171 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30172 (sqrt_test): Remove duplicate test with qNaN input.
30173 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30174 (round_test, signbit_test, significand_test): Note missing +/-Inf
30175 as well as qNaN tests.
30176
67e971f1
TS
30177 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30178 qNaN_var. Fix a few strings, too.
30179 * math/libm-test.inc (nan_value): Rename to qnan_value.
30180 * math/gen-libm-test.pl (%beautify): Adjust to that.
30181 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30182 * math/test-misc.c (main): Likewise.
30183 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30184 to __qnan_bytes, and __qnan_union, respectively.
30185 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30186 Likewise.
30187 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30188 and lqnanval, respectively.
30189 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30190 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30191 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30192 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30193
64487e12
TS
30194 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30195 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30196 doubles.
30197
e015e27b
TS
30198 * math/test-misc.c (main): Fix copy'n'pastos.
30199 * misc/tst-efgcvt.c (special): Likewise.
30200
a57da955
TS
30201 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30202 Remove declarations.
30203
1e380345
SP
302042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30205
30206 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30207 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30208 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30210
ef26eece
AZ
302112013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30212
30213 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30214 macro to return vdso values correctly in IFUNC implementations.
30215 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30216 Optimization by using IFUNC.
30217
8cfdb7e0
SP
302182013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30219 Richard Henderson <rth@redhat.com>
30220 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30221
30222 * Makefile.in (bench): New target.
30223 * NEWS: Mention the benchmark framework.
30224 * Rules (bench): Likewise.
30225 (binaries-bench): Generate binaries for functions to
30226 benchmark.
30227 * benchtests/Makefile: New makefile for benchmark tests.
30228 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30229 programs.
30230 * benchtests/exp-inputs: New input file for EXP function.
30231 * benchtests/pow-inputs: New input file for POW function.
30232 * scripts/bench.pl: New script to generate source files for
30233 benchmark programs.
30234
bcda9880
SP
302352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30236
d22ca8cd
SP
30237 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30238 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30239 computations on mantissa. Use macros for rounding and
30240 division.
30241 (denorm): Likewise.
30242 (__dbl_mp): Likewise.
30243 (add_magnitudes): Likewise.
30244 (sub_magnitudes): Likewise.
30245 (__mul): Likewise.
30246 (__sqr): Likewise.
30247 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30248 powers of two in terms of TWOPOW macro.
30249 (mp_no): Make type of mantissa as MANTISSA_T.
30250 [!RADIXI]: Define RADIXI.
30251 [!TWO52]: Define TWO52.
30252 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30253
bcda9880
SP
30254 * manual/nptl.texi (cindex): Modify threads to pthreads.
30255
06d5adfb
JM
302562013-03-15 Joseph Myers <joseph@codesourcery.com>
30257
30258 * sysdeps/x86_64/preconfigure: Regenerated.
30259
41c7328e
JM
302602013-03-14 Joseph Myers <joseph@codesourcery.com>
30261
30262 [BZ #14155]
30263 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30264 0x1p28 and above.
30265 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30266 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30267 0x1p28 and above.
30268 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30269 * math/libm-test.inc (j0_test): Do not allow one spurious
30270 underflow exception.
30271 (y1_test): Likewise.
30272
e25cfa60
SP
302732013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30274
0409959c
SP
30275 * manual/Makefile (chapters): Add nptl.
30276 * manual/debug.texi (Debugging Support): Add link to Threads
30277 chapter.
30278 * manual/nptl.texi: New file.
30279
e25cfa60
SP
30280 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30281
58a1335e
PB
302822013-03-14 Petr Baudis <pasky@ucw.cz>
30283
30284 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30285 for non-NULL pointer before the memory validity test. Pointed
30286 out by Holger Brunck <holger.brunck@keymile.com>.
30287
9dc7c64f
AS
302882013-03-13 Andreas Schwab <schwab@suse.de>
30289
30290 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30291 instead of .os.
30292
54206aa6
JM
302932013-03-13 Joseph Myers <joseph@codesourcery.com>
30294
30295 * timezone/zic.c: Update from tzcode 2013b.
30296
e98cdb38
CD
302972013-03-12 Carlos O'Donell <carlos@redhat.com>
30298
30299 * manual/install.texi (Configuring and compiling):
30300 Mention i686 and i586.
30301 * INSTALL: Regenerate.
30302
9967e003
RM
303032013-03-12 Roland McGrath <roland@hack.frob.com>
30304
30305 * sysdeps/init_array/elf-init.c: New file.
30306 * csu/elf-init.c
30307 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30308 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30309
30310 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30311 __gmon_start__ as global, but as static with a .preinit_array pointer.
30312 * sysdeps/init_array/gmon-start.c: New file. Use that.
30313 * sysdeps/init_array/crti.S: New file, empty except for comments.
30314 * sysdeps/init_array/crtn.S: Likewise.
30315
e6b5a293 303162013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
30317
30318 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30319 definining bcopy.
80f844c9
OB
30320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30321 Remove Prefer_SSE_for_memop.
30322 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30323 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30324 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
30325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30326 memset-x86-64.
80f844c9 30327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 30328 Remove bzero, memset ifunc support.
80f844c9
OB
30329 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30330 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30331 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30332 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30333
fb6b0fcb
AS
303342013-03-11 Andreas Schwab <schwab@suse.de>
30335
30336 [BZ #15234]
30337 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30338 by SHLIB_COMPAT.
30339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30340 (GLIBC_2.16): Remove pthread_atfork.
30341
3e6bd4b1
PP
303422013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30343
30344 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30345 (ptestcases.h): Likewise.
30346
222d7f00
RM
303472013-03-08 Roland McGrath <roland@hack.frob.com>
30348
30349 * Makeconfig ($(common-objpfx)config.status): Depend on
30350 sysdeps/*/preconfigure{,.in} too.
30351
1ba4f030
JM
303522013-03-08 Joseph Myers <joseph@codesourcery.com>
30353
a222d91a
JM
30354 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30355 (__free_hook): Use void * instead of __malloc_ptr_t.
30356 (__malloc_hook): Likewise.
30357 (__realloc_hook): Likewise.
30358 (__memalign_hook): Likewise.
30359 (__after_morecore_hook): Likewise.
30360 * malloc/arena.c (save_malloc_hook): Likewise.
30361 (save_free_hook): Likewise.
30362 * malloc/hooks.c (malloc_hook_ini): Likewise.
30363 (realloc_hook_ini): Likewise.
30364 (memalign_hook_ini): Likewise.
30365 * malloc/malloc.c (malloc_hook_ini): Likewise.
30366 (realloc_hook_ini): Likewise.
30367 (memalign_hook_ini): Likewise.
30368 (__free_hook): Likewise.
30369 (__malloc_hook): Likewise.
30370 (__realloc_hook): Likewise.
30371 (__memalign_hook): Likewise.
30372 (__libc_malloc): Likewise.
30373 (__libc_free): Likewise.
30374 (__libc_realloc): Likewise.
30375 (__libc_memalign): Likewise.
30376 (__libc_valloc): Likewise.
30377 (__libc_pvalloc): Likewise.
30378 (__libc_calloc): Likewise.
30379 (__posix_memalign): Likewise.
30380 * malloc/morecore.c (__sbrk): Likewise.
30381 (__default_morecore): Likewise.
30382
5cc45e10
JM
30383 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30384
dd54b864
JM
30385 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30386 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30387 __malloc_ptrdiff_t.
30388
1ba4f030
JM
30389 * malloc/malloc.h (__malloc_size_t): Remove macro.
30390 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30391 __malloc_size_t.
30392 (old_memalign_hook): Likewise.
30393 (old_realloc_hook): Likewise.
30394 (struct hdr): Likewise.
30395 (flood): Likewise.
30396 (mallochook): Likewise.
30397 (memalignhook): Likewise.
30398 (reallochook): Likewise.
30399 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30400 (tr_old_realloc_hook): Likewise.
30401 (tr_old_memalign_hook): Likewise.
30402 (tr_mallochook): Likewise.
30403 (tr_reallochook): Likewise.
30404 (tr_memalignhook): Likewise.
30405
edf66e57
AZ
304062013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30407
30408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30409 default_ldbl_pack and using as default implementation.
30410 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30411 implementation.
30412 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30413 redundant definition.
30414 (ldbl_insert_mantissa): Likewise.
30415 (ldbl_canonicalize): Likewise.
30416 (ldbl_nearbyint): Likewise.
30417 (ldbl_pack): Rename to ldbl_pack_ppc.
30418 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30419 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30420 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30421
6d9145d8
SP
304222013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30423
30424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30425 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30426 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30427 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30429 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30430 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30431 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30432
4dd4e157
AJ
304332013-03-07 Andreas Jaeger <aj@suse.de>
30434
30435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30436 bits/mman-linux.h.
30437
adbb8027
SP
304382013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30439
ce544b5b
SP
30440 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30441 Include mpa.h and declare __MPEXP.
30442 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30443 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30444 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30445 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30446 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30447 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30448 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30449
4cc149fd
SP
30450 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30451 (__slowpow): Use long double EXPL and LOGL functions to
30452 compute POW.
30453 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30454 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30455 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30456 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30457 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30458 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30459
e6ebd4a7
SP
30460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30461 intermediate variable to calculate exponent.
30462 (__sqr): Likewise.
30463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30464 Likewise.
30465 (__sqr): Likewise.
30466
82a9811d
SP
30467 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30468 [!NO__SQR]: Define __sqr.
30469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30470 and NO__SQR. Remove all code except __mul and __sqr. Include
30471 sysdeps/ieee754/dbl-64/mpa.c.
30472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30473
adbb8027
SP
30474 [BZ #12723]
30475 * posix/Makefile (tests): Add tst-pathconf.
30476 * posix/tst-pathconf.c: New test case.
30477 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30478 _PC_PIPE_BUF.
30479 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30480
39120df9
PF
304812013-03-06 Patsy Franklin <pfrankli@redhat.com>
30482
30483 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30484
67525cb8
AJ
304852013-03-06 Andreas Jaeger <aj@suse.de>
30486
664a9ce4
AJ
30487 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30488 definition via __MAP_ANONYMOUS.
30489
8e39047d
AJ
30490 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30491 it's not part of Linux headers.
30492
67525cb8
AJ
30493 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30494 (MAP_HUGE_MASK): Define.
30495
30496 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30497 Define.
30498 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30500 Define.
30501 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30502 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30503 Define.
30504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30505 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30506 Define.
30507 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30508
30509 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30510 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30511 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30512 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30513 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30514 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30515
30516 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30517 Handle f2fs.
30518
30519 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30520 Handle f2fs and efivarfs.
30521
30522 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30523 f2fs.
30524
30525 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30526 (EFIVARFS_MAGIC): Add.
30527 (F2FS_LINK_MAX): Add.
30528
e1b42695
PP
305292013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30530
30531 * stdio-common/vfprintf.c: Replace __builtin_expect with
30532 __glibc_unlikely.
30533
2d67d91a
JM
305342013-03-06 Joseph Myers <joseph@codesourcery.com>
30535
30536 [BZ #13550]
30537 * sysdeps/generic/bp-sym.h: Remove file.
30538 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30539 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30540 <bp-sym.h> and <bp-asm.h>.
30541 (__longjmp): Don't use BP_SYM.
30542 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30543 and <bp-asm.h>.
30544 (memcpy): Don't use BP_SYM.
30545 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30546 <bp-sym.h> and <bp-asm.h>.
30547 (memcpy): Don't use BP_SYM.
30548 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30549 <bp-asm.h>.
30550 (memcpy): Don't use BP_SYM.
30551 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30552 <bp-asm.h>.
30553 (memset): Don't use BP_SYM.
30554 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30555 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30556 (__bzero): Don't use BP_SYM.
30557 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30558 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30559 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30560 <bp-sym.h> and <bp-asm.h>.
30561 (memcmp): Don't use BP_SYM. Remove comment about bounded
30562 pointers.
30563 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30564 <bp-sym.h> and <bp-asm.h>.
30565 (memcpy): Don't use BP_SYM.
30566 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30567 <bp-sym.h> and <bp-asm.h>.
30568 (memset): Don't use BP_SYM.
30569 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30570 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30571 (__bzero): Don't use BP_SYM.
30572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30574 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30575 <bp-sym.h> and <bp-asm.h>.
30576 (strncmp): Don't use BP_SYM. Remove comment about bounded
30577 pointers.
30578 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30579 <bp-sym.h> and <bp-asm.h>.
30580 (memcpy): Don't use BP_SYM.
30581 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30582 <bp-sym.h> and <bp-asm.h>.
30583 (memset): Don't use BP_SYM.
30584 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30585 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30586 (__bzero): Don't use BP_SYM.
30587 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30588 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30589 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30590 <bp-sym.h> and <bp-asm.h>.
30591 (__memchr): Don't use BP_SYM.
30592 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30593 <bp-sym.h> and <bp-asm.h>.
30594 (memcmp): Don't use BP_SYM. Remove comment about bounded
30595 pointers.
30596 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30597 <bp-sym.h> and <bp-asm.h>.
30598 (memcpy): Don't use BP_SYM.
30599 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30600 <bp-sym.h> and <bp-asm.h>.
30601 (__mempcpy): Don't use BP_SYM.
30602 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30603 <bp-sym.h> and <bp-asm.h>.
30604 (__memrchr): Don't use BP_SYM.
30605 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30606 <bp-sym.h> and <bp-asm.h>.
30607 (memset): Don't use BP_SYM.
30608 (__bzero): Likewise.
30609 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30610 <bp-sym.h> and <bp-asm.h>.
30611 (__rawmemchr): Don't use BP_SYM.
30612 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30613 <bp-sym.h> and <bp-asm.h>.
30614 (__STRCMP): Don't use BP_SYM.
30615 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30616 <bp-sym.h> and <bp-asm.h>.
30617 (strchr): Don't use BP_SYM.
30618 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30619 <bp-sym.h> and <bp-asm.h>.
30620 (__strchrnul): Don't use BP_SYM.
30621 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30622 <bp-sym.h> and <bp-asm.h>.
30623 (strlen): Don't use BP_SYM.
30624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30625 <bp-sym.h> and <bp-asm.h>.
30626 (strncmp): Don't use BP_SYM. Remove comment about bounded
30627 pointers.
30628 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30629 <bp-sym.h> and <bp-asm.h>.
30630 (__strnlen): Don't use BP_SYM.
30631 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30632 <bp-sym.h> and <bp-asm.h>.
30633 (__GI__setjmp): Don't use BP_SYM.
30634 (_setjmp): Likewise.
30635 (__sigsetjmp): Likewise.
30636 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30637 (L(start_addresses)): Don't use BP_SYM.
30638 (_start): Likewise.
30639 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30640 <bp-asm.h>.
30641 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30642 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30643 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30644 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30645 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30646 <bp-asm.h>.
30647 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30648 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30649 about bounded pointers.
30650 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30651 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30652 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30653 <bp-asm.h>.
30654 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30655 about bounded pointers. Remove GKM FIXME comments.
30656 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30657 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30658 <bp-asm.h>.
30659 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30660 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30661 Remove GKM FIXME comments.
30662 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30663 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30664 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30665 <bp-asm.h>.
30666 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30667 about bounded pointers. Remove GKM FIXME comment.
30668 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30669 and <bp-asm.h>.
30670 (strncmp): Don't use BP_SYM. Remove comment about bounded
30671 pointers.
30672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30673 <bp-sym.h> and <bp-asm.h>.
30674 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30676 <bp-sym.h> and <bp-asm.h>.
30677 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30678 comment.
30679
cdcf361f
PP
306802013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30681
30682 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30683 call free(NULL).
30684
3c4a2b15
DM
306852013-03-05 David S. Miller <davem@davemloft.net>
30686
30687 * po/es.po: Update from translation team.
30688
cdcf361f 306892013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30690
30691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30692 <bits/mman-linux.h>.
30693 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30694 is fine.
30695 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30696 <bits/mman-linux.h> to end of file.
30697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30698 is fine.
30699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30700 <bits/mman-linux.h> to end of file.
30701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30702 is fine.
30703 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30704 <bits/mman-linux.h> to end of file.
30705
30706 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30707 (MCL_CURRENT, MCL_FUTURE): Define here.
30708
5f67c04f
AK
307092013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30710
8a4473cc 30711 [BZ #15232]
5f67c04f
AK
30712 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30713 attribute_hidden.
30714 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30715
c3e94a95
AK
307162013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30717
30718 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30719 fourth parameter needed for rt_sigprocmask syscall.
30720 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30721 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30722 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30723 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30724 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30725 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30726
cfb6382a
JM
307272013-03-04 Joseph Myers <joseph@codesourcery.com>
30728
30729 [BZ #13550]
30730 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30731 comment about bounded pointers.
30732 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30733 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30734
539d8e01
AJ
307352013-03-04 Andreas Jaeger <aj@suse.de>
30736
30737 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30738 common definitions.
30739
30740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30741 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30742 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30743 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30744 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30745 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30746
2e167a70 307472013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30748
30749 [BZ #15055]
30750 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30751 __ieee754_sqrl instead of __sqrl.
30752
68508633
JM
307532013-03-01 Joseph Myers <joseph@codesourcery.com>
30754
30755 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30756 * sysdeps/powerpc/fpu_control.h: ... here.
30757 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30758 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30759 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30760 * sysdeps/powerpc/bits/mathinline.h: ... here.
30761
7775448e
RM
307622013-03-01 Roland McGrath <roland@hack.frob.com>
30763
30764 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30765 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30766 to just [NEED_DL_SYSINFO_DSO].
30767 * elf/dl-support.c: Likewise.
30768 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30769 * elf/rtld.c (dl_main): Likewise.
30770 * elf/setup-vdso.h (setup_vdso): Likewise.
30771 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30772 * sysdeps/unix/sysv/linux/dl-sysdep.c
30773 (_dl_discover_osversion): Likewise.
30774
4e9b5995
CD
307752013-03-01 Carlos O'Donell <carlos@redhat.com>
30776
30777 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30778 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30779
e23872c8
SP
307802013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30781
e5c74c63
SP
30782 * NEWS: Mention libm performance improvements and non-x86 PI
30783 futex support.
30784
e23872c8
SP
30785 * csu/libc-start.c (__pthread_initialize_minimal): Change
30786 function arguments.
30787 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30788
b5510883
JM
307892013-02-28 Joseph Myers <joseph@codesourcery.com>
30790
30791 [BZ #13550]
30792 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30793 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30794 <bp-sym.h> and <bp-asm.h>.
30795 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30796 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30797 and <bp-asm.h>.
30798 (memcpy): Don't use BP_SYM.
30799 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30800 <bp-asm.h>.
30801 (__mpn_add_n): Don't use BP_SYM.
30802 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30803 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30804 and <bp-asm.h>.
30805 (__mpn_addmul_1): Don't use BP_SYM.
30806 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30807 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30808 <bp-sym.h>.
30809 (_setjmp): Don't use BP_SYM.
30810 (__novmx_setjmp): Likewise.
30811 (__GI__setjmp): Likewise.
30812 (__vmx_setjmp): Likewise.
30813 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30814 <bp-sym.h>.
30815 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30816 (__bzero): Don't use BP_SYM.
30817 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30818 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30819 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30820 <bp-sym.h> and <bp-asm.h>.
30821 (memcpy): Don't use BP_SYM.
30822 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30823 <bp-sym.h> and <bp-asm.h>.
30824 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30826 <bp-sym.h> and <bp-asm.h>.
30827 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30828 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30829 <bp-asm.h>.
30830 (__mpn_lshift): Don't use BP_SYM.
30831 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30832 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30833 <bp-asm.h>.
30834 (memset): Don't use BP_SYM.
30835 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30836 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30837 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30838 <bp-asm.h>.
30839 (__mpn_mul_1): Don't use BP_SYM.
30840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30842 <bp-sym.h> and <bp-asm.h>.
30843 (memcmp): Don't use BP_SYM.
30844 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30845 <bp-sym.h> and <bp-asm.h>.
30846 (memcpy): Don't use BP_SYM.
30847 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30848 <bp-sym.h> and <bp-asm.h>.
30849 (memset): Don't use BP_SYM.
30850 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30851 <bp-sym.h> and <bp-asm.h>.
30852 (strncmp): Don't use BP_SYM.
30853 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30854 <bp-sym.h> and <bp-asm.h>.
30855 (memcpy): Don't use BP_SYM.
30856 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30857 <bp-sym.h> and <bp-asm.h>.
30858 (memset): Don't use BP_SYM.
30859 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30860 <bp-sym.h> and <bp-asm.h>.
30861 (__memchr): Don't use BP_SYM.
30862 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30863 <bp-sym.h> and <bp-asm.h>.
30864 (memcmp): Don't use BP_SYM.
30865 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30866 <bp-sym.h> and <bp-asm.h>.
30867 (memcpy): Don't use BP_SYM.
30868 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30869 <bp-sym.h> and <bp-asm.h>.
30870 (__mempcpy): Don't use BP_SYM.
30871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30872 <bp-sym.h> and <bp-asm.h>.
30873 (__memrchr): Don't use BP_SYM.
30874 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30875 <bp-sym.h> and <bp-asm.h>.
30876 (memset): Don't use BP_SYM.
30877 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30878 <bp-sym.h> and <bp-asm.h>.
30879 (__rawmemchr): Don't use BP_SYM.
30880 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30881 <bp-sym.h> and <bp-asm.h>.
30882 (__STRCMP): Don't use BP_SYM.
30883 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30884 <bp-sym.h> and <bp-asm.h>.
30885 (strchr): Don't use BP_SYM.
30886 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30887 <bp-sym.h> and <bp-asm.h>.
30888 (__strchrnul): Don't use BP_SYM.
30889 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30890 <bp-sym.h> and <bp-asm.h>.
30891 (strlen): Don't use BP_SYM.
30892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30893 <bp-sym.h> and <bp-asm.h>.
30894 (strncmp): Don't use BP_SYM.
30895 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30896 <bp-sym.h> and <bp-asm.h>.
30897 (__strnlen): Don't use BP_SYM.
30898 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30899 <bp-asm.h>.
30900 (__mpn_rshift): Don't use BP_SYM.
30901 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30902 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30903 <bp-sym.h> and <bp-asm.h>.
30904 (__sigsetjmp): Don't use BP_SYM.
30905 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30906 (L(start_addresses)): Don't use BP_SYM.
30907 (_start): Likewise.
30908 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30909 <bp-asm.h>.
30910 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30911 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30912 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30913 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30914 <bp-asm.h>.
30915 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30916 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30917 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30918 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30919 <bp-asm.h>.
30920 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30921 comments.
30922 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30923 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30924 <bp-asm.h>.
30925 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30926 FIXME comments.
30927 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30928 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30929 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30930 <bp-asm.h>.
30931 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30932 comment.
30933 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30934 and <bp-asm.h>.
30935 (strncmp): Don't use BP_SYM,
30936 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30937 <bp-asm.h>.
30938 (__mpn_sub_n): Don't use BP_SYM.
30939 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30940 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30941 and <bp-asm.h>.
30942 (__mpn_submul_1): Don't use BP_SYM.
30943 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30945 <bp-sym.h> and <bp-asm.h>.
30946 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30948 <bp-sym.h> and <bp-asm.h>.
30949 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30950 comment.
30951
8d19fe64
SP
309522013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30953
30954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30955 Use ZK to minimize writes to Z.
30956 (sub_magnitudes): Simplify code a bit.
30957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30958 Use ZK to minimize writes to Z.
30959 (sub_magnitudes): Simplify code a bit.
30960
85bd816a
RM
309612013-02-27 Roland McGrath <roland@hack.frob.com>
30962
30963 * csu/gmon-start.c: Add special exception to license text.
30964
b5977bf2
RH
309652013-02-27 Richard Henderson <rth@redhat.com>
30966
30967 * scripts/config.guess: Update from config.git.
30968 * scripts/config.sub: Likewise.
30969
11d6e2f2
SP
309702013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30971
09c14ed2
SP
30972 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30973
a688864e
SP
30974 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30975
6295157a
SP
30976 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30977
b8de2202
SP
30978 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30979
11d6e2f2
SP
30980 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30981
7e80ddb8
RM
309822013-02-26 Roland McGrath <roland@hack.frob.com>
30983
30984 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30985 [$(build-shared = yes].
7e80ddb8 30986
7da6d9ed
SP
309872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30988
45f05884
SP
30989 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30990 (__mul): Reduce iterations for calculating mantissa.
30991
2236d359
SP
30992 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30993 MPTWO.
30994 (__mpranred): Likewise.
30995
7da6d9ed
SP
30996 [BZ #15160]
30997 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30998 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30999
b7688c42
PE
310002013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31001
31002 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31003 Define __attribute__.
31004
53a5c423
SP
310052013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31006
31007 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31008 unused.
31009 * posix/regex_internal.h (__attribute): Remove.
31010 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31011 (re_string_context_at): Likewise.
31012 (bitset_not): Use __attribute__ and mark function as possibly
31013 unused.
31014 (bitset_merge): Likewise.
31015 (bitset_mask): Likewise.
31016 (re_string_char_size_at): Likewise.
31017 (re_string_wchar_at): Likewise.
31018 (re_string_elem_size_at): Likewise.
31019
60f5a8b5
SP
310202013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31021
2a983a2e
SP
31022 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31023 code.
31024 (cc32): Likewise.
31025
e69804d1
SP
31026 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31027 (__acr): Likewise.
31028 (__cpy): Likewise.
31029 (norm): Likewise.
31030 (denorm): Likewise.
31031 (__dbl_mp): Likewise.
31032 (add_magnitudes): Likewise.
31033 (sub_magnitudes): Likewise.
31034 (__mul): Likewise.
31035 (__inv): Likewise.
31036
2f22a1e8
SP
31037 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31038 style.
31039
8930ddc7
SP
31040 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31041 style.
31042
dc60cb11
SP
31043 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31044 code.
31045
60f5a8b5
SP
31046 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31047 up changes with default code.
31048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31049 Likewise.
31050
b4d1fd33
AM
310512013-02-24 Allan McRae <allan@archlinux.org>
31052
faf6f8bc
AM
31053 * manual/socket.texi (The Internet Namespace): Order menu items
31054 to match that in the file.
31055
b4d1fd33
AM
31056 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31057 node listing of the info page menu.
31058
2366713d
JM
310592013-02-21 Joseph Myers <joseph@codesourcery.com>
31060
31061 [BZ #13550]
31062 * sysdeps/i386/bp-asm.h: Remove file.
31063 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31064 (PARMS): Do not use macros from bp-asm.h.
31065 (S1): Likewise.
31066 (S2): Likewise.
31067 (SIZE): Likewise.
31068 (__mpn_add_n): Do not use BP_SYM
31069 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31070 "bp-asm.h".
31071 (PARMS): Do not use macros from bp-asm.h.
31072 (S1): Likewise.
31073 (SIZE): Likewise.
31074 (__mpn_addmul_1): Do not use BP_SYM
31075 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31076 "bp-asm.h".
31077 (PARMS): Do not use macros from bp-asm.h.
31078 (SIGMSK): Likewise.
31079 (_setjmp): Likewise. Do not use BP_SYM.
31080 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31081 "bp-asm.h".
31082 (PARMS): Do not use macros from bp-asm.h.
31083 (SIGMSK): Likewise.
31084 (setjmp): Likewise. Do not use BP_SYM.
31085 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31086 "bp-asm.h".
31087 (PARMS): Do not use macros from bp-asm.h.
31088 (__frexp): Do not use BP_SYM.
31089 (frexp): Likewise.
31090 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31091 "bp-asm.h".
31092 (PARMS): Do not use macros from bp-asm.h.
31093 (__frexpf): Do not use BP_SYM.
31094 (frexpf): Likewise.
31095 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31096 "bp-asm.h".
31097 (PARMS): Do not use macros from bp-asm.h.
31098 (__frexpl): Do not use BP_SYM.
31099 (frexpl): Likewise.
31100 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31101 "bp-asm.h".
31102 (PARMS): Do not use macros from bp-asm.h.
31103 (__remquo): Do not use BP_SYM.
31104 (remquo): Likewise.
31105 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31106 "bp-asm.h".
31107 (PARMS): Do not use macros from bp-asm.h.
31108 (__remquof): Do not use BP_SYM.
31109 (remquof): Likewise.
31110 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31111 "bp-asm.h".
31112 (PARMS): Do not use macros from bp-asm.h.
31113 (__remquol): Do not use BP_SYM.
31114 (remquol): Likewise.
31115 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31116 "bp-asm.h".
31117 (PARMS): Do not use macros from bp-asm.h.
31118 (DEST): Likewise.
31119 (SRC): Likewise.
31120 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31121 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31122 "bp-asm.h".
31123 (PARMS): Do not use macros from bp-asm.h.
31124 (strlen): Do not use BP_SYM.
31125 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31126 "bp-asm.h".
31127 (PARMS): Do not use macros from bp-asm.h.
31128 (S1): Likewise.
31129 (S2): Likewise.
31130 (SIZE): Likewise.
31131 (__mpn_add_n): Do not use BP_SYM.
31132 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
31137 (__mpn_addmul_1): Do not use BP_SYM.
31138 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31139 weak_alias.
31140 (bzero): Likewise.
31141 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31142 "bp-asm.h".
31143 (PARMS): Do not use macros from bp-asm.h.
31144 (S): Likewise.
31145 (SIZE): Likewise.
31146 (__mpn_lshift): Do not use BP_SYM.
31147 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31148 "bp-asm.h".
31149 (PARMS): Do not use macros from bp-asm.h.
31150 (DEST): Likewise.
31151 (SRC): Likewise.
31152 (LEN): Likewise.
31153 (memcpy): Likewise. Do not use BP_SYM.
31154 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31155 libc_hidden_def and weak_alias.
31156 (mempcpy): Do not use BP_SYM in weak_alias.
31157 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31158 "bp-asm.h".
31159 (PARMS): Do not use macros from bp-asm.h.
31160 (DEST): Likewise.
31161 (LEN): Likewise.
31162 [!BZERO_P] (CHR): Likewise.
31163 (memset): Likewise. Do not use BP_SYM.
31164 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31165 "bp-asm.h".
31166 (PARMS): Do not use macros from bp-asm.h.
31167 (S1): Likewise.
31168 (SIZE): Likewise.
31169 (__mpn_mul_1): Do not use BP_SYM.
31170 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31171 "bp-asm.h".
31172 (PARMS): Do not use macros from bp-asm.h.
31173 (S): Likewise.
31174 (SIZE): Likewise.
31175 (__mpn_rshift): Do not use BP_SYM.
31176 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31177 "bp-asm.h".
31178 (PARMS): Do not use macros from bp-asm.h.
31179 (STR): Likewise.
31180 (CHR): Likewise.
31181 (strchr): Likewise. Do not use BP_SYM.
31182 (index): Do not use BP_SYM in weak_alias.
31183 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31184 "bp-asm.h".
31185 (PARMS): Do not use macros from bp-asm.h.
31186 (DEST): Likewise.
31187 (SRC): Likewise.
31188 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31189 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31190 "bp-asm.h".
31191 (PARMS): Do not use macros from bp-asm.h.
31192 (strlen): Do not use BP_SYM.
31193 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31194 "bp-asm.h".
31195 (PARMS): Do not use macros from bp-asm.h.
31196 (S1): Likewise.
31197 (S2): Likewise.
31198 (SIZE): Likewise.
31199 (__mpn_sub_n): Do not use BP_SYM.
31200 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31201 "bp-asm.h".
31202 (PARMS): Do not use macros from bp-asm.h.
31203 (S1): Likewise.
31204 (SIZE): Likewise.
31205 (__mpn_submul_1): Do not use BP_SYM.
31206 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31207 "bp-asm.h".
31208 (PARMS): Do not use macros from bp-asm.h.
31209 (S1): Likewise.
31210 (S2): Likewise.
31211 (SIZE): Likewise.
31212 (__mpn_add_n): Do not use BP_SYM.
31213 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31214 weak_alias.
31215 (bzero): Likewise.
31216 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31217 "bp-asm.h".
31218 (PARMS): Do not use macros from bp-asm.h.
31219 (BLK2): Likewise.
31220 (LEN): Likewise.
31221 (memcmp): Do not use BP_SYM.
31222 (bcmp): Do not use BP_SYM in weak_alias.
31223 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31224 "bp-asm.h".
31225 (PARMS): Do not use macros from bp-asm.h.
31226 (DEST): Likewise.
31227 (SRC): Likewise.
31228 (LEN): Likewise.
31229 (memcpy): Likewise. Do not use BP_SYM.
31230 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31231 "bp-asm.h".
31232 (PARMS): Do not use macros from bp-asm.h.
31233 (DEST): Likewise.
31234 (SRC): Likewise.
31235 (LEN): Likewise.
31236 (memmove): Likewise. Do not use BP_SYM.
31237 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31238 "bp-asm.h".
31239 (PARMS): Do not use macros from bp-asm.h.
31240 (DEST): Likewise.
31241 (SRC): Likewise.
31242 (LEN): Likewise.
31243 (__mempcpy): Likewise. Do not use BP_SYM.
31244 (mempcpy): Do not use BP_SYM in weak_alias.
31245 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31246 "bp-asm.h".
31247 (PARMS): Do not use macros from bp-asm.h.
31248 (DEST): Likewise.
31249 (LEN): Likewise.
31250 [!BZERO_P] (CHR): Likewise.
31251 (memset): Likewise. Do not use BP_SYM.
31252 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31253 "bp-asm.h".
31254 (PARMS): Do not use macros from bp-asm.h.
31255 (STR2): Likewise.
31256 (strcmp): Do not use BP_SYM.
31257 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31258 "bp-asm.h".
31259 (PARMS): Do not use macros from bp-asm.h.
31260 (STR): Likewise.
31261 (DELIM): Likewise.
31262 [USE_AS_STRTOK_R] (SAVE): Likewise.
31263 (FUNCTION): Likewise. Do not use BP_SYM.
31264 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31265 aliases.
31266 (strtok_r): Likewise.
31267 (__GI___strtok_r): Likewise.
31268 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31269 (PARMS): Do not use macros from bp-asm.h.
31270 (S): Likewise.
31271 (SIZE): Likewise.
31272 (__mpn_lshift): Do not use BP_SYM.
31273 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31274 (PARMS): Do not use macros from bp-asm.h.
31275 (STR): Likewise.
31276 (CHR): Likewise.
31277 (__memchr): Do not use BP_SYM.
31278 (memchr): Do not use BP_SYM in weak_alias.
31279 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31280 (PARMS): Do not use macros from bp-asm.h.
31281 (BLK2): Likewise.
31282 (LEN): Likewise.
31283 (memcmp): Do not use BP_SYM.
31284 (bcmp): Do not use BP_SYM in weak_alias.
31285 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31286 (PARMS): Do not use macros from bp-asm.h.
31287 (S1): Likewise.
31288 (SIZE): Likewise.
31289 (__mpn_mul_1): Do not use BP_SYM.
31290 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31291 "bp-asm.h".
31292 (PARMS): Do not use macros from bp-asm.h.
31293 (STR): Likewise.
31294 (CHR): Likewise.
31295 (__rawmemchr): Do not use BP_SYM.
31296 (rawmemchr): Do not use BP_SYM in weak_alias.
31297 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31298 (PARMS): Do not use macros from bp-asm.h.
31299 (S): Likewise.
31300 (SIZE): Likewise.
31301 (__mpn_rshift): Do not use BP_SYM.
31302 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31303 (PARMS): Do not use macros from bp-asm.h.
31304 (SIGMSK): Likewise.
31305 (__sigsetjmp): Likewise. Do not use BP_SYM.
31306 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31307 (_start): Do not use BP_SYM.
31308 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31309 (PARMS): Do not use macros from bp-asm.h.
31310 (DEST): Likewise.
31311 (SRC): Likewise.
31312 (__stpcpy): Likewise. Do not use BP_SYM.
31313 (stpcpy): Do not use BP_SYM in weak_alias.
31314 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31315 "bp-asm.h".
31316 (PARMS): Do not use macros from bp-asm.h.
31317 (DEST): Likewise.
31318 (SRC): Likewise.
31319 (LEN): Likewise.
31320 (__stpncpy): Likewise. Do not use BP_SYM.
31321 (stpncpy): Do not use BP_SYM in weak_alias.
31322 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31323 (PARMS): Do not use macros from bp-asm.h.
31324 (STR): Likewise.
31325 (CHR): Likewise.
31326 (strchr): Likewise. Do not use BP_SYM.
31327 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31328 "bp-asm.h".
31329 (PARMS): Do not use macros from bp-asm.h.
31330 (STR): Likewise.
31331 (CHR): Likewise.
31332 (__strchrnul): Likewise. Do not use BP_SYM.
31333 (strchrnul): Do not use BP_SYM in weak_alias.
31334 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31335 "bp-asm.h".
31336 (PARMS): Do not use macros from bp-asm.h.
31337 (STOP): Likewise.
31338 (strcspn): Do not use BP_SYM.
31339 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31340 "bp-asm.h".
31341 (PARMS): Do not use macros from bp-asm.h.
31342 (STR): Likewise.
31343 (STOP): Likewise.
31344 (strpbrk): Likewise. Do not use BP_SYM.
31345 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31346 "bp-asm.h".
31347 (PARMS): Do not use macros from bp-asm.h.
31348 (STR): Likewise.
31349 (CHR): Likewise.
31350 (strrchr): Likewise. Do not use BP_SYM.
31351 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31352 (PARMS): Do not use macros from bp-asm.h.
31353 (SKIP): Likewise.
31354 (strspn): Do not use BP_SYM.
31355 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31356 (PARMS): Do not use macros from bp-asm.h.
31357 (STR): Likewise.
31358 (DELIM): Likewise.
31359 (SAVE): Likewise.
31360 (FUNCTION): Likewise. Do not use BP_SYM.
31361 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31362 aliases.
31363 (strtok_r): Likewise.
31364 (__GI___strtok_r): Likewise.
31365 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31366 (PARMS): Do not use macros from bp-asm.h.
31367 (S1): Likewise.
31368 (S2): Likewise.
31369 (SIZE): Likewise.
31370 (__mpn_sub_n): Do not use BP_SYM.
31371 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31372 "bp-asm.h".
31373 (PARMS): Do not use macros from bp-asm.h.
31374 (S1): Likewise.
31375 (SIZE): Likewise.
31376 (__mpn_submul_1): Do not use BP_SYM.
31377 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31378 <bp-sym.h>.
31379 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31380 and <bp-asm.h>.
31381 (PARMS): Do not use macros from bp-asm.h.
31382 (FLAGS): Likewise.
31383 (PTID): Likewise.
31384 (TLS): Likewise.
31385 (CTID): Likewise.
31386 (__clone): Do not use BP_SYM.
31387 (clone): Do not use BP_SYM in weak_alias.
31388 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31389 and <bp-asm.h>.
31390 (PARMS): Do not use macros from bp-asm.h.
31391 (LEN): Likewise.
31392 (__mmap64): Do not use BP_SYM.
31393 (mmap64): Do not use BP_SYM in weak_alias.
31394 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31395 <bp-sym.h> and <bp-asm.h>.
31396 (PARMS): Do not use macros from bp-asm.h.
31397 (__posix_fadvise64_l64): Do not use BP_SYM.
31398 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31399 (PARMS): Do not use macros from bp-asm.h.
31400 (NSOPS): Likewise.
31401 (semtimedop): Do not use BP_SYM.
31402 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31403 and <bp-asm.h>.
31404
582a3cff
AM
314052013-02-21 Allan McRae <allan@archlinux.org>
31406
31407 * manual/message.texi (Charset conversion in gettext):
31408 Move @end statement to beginning of line.
31409
bab8a695
SP
314102013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31411
80945231
SP
31412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31413 static.
31414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31415 Likewise.
31416
bab8a695
SP
31417 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31418 (denorm): Likewise.
31419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31421
e21d7aa7
AK
314222013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31423
31424 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31425 tail-call to the resolved function if pltexit isn't needed.
31426
4c7a4263
SP
314272013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31428
31429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31430 or Y being zero as being unlikely.
31431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31432 Likewise.
31433
41f49342
CD
314342013-02-20 Carlos O'Donell <carlos@redhat.com>
31435
31436 * manual/nss.texi (System Databases and Name Service Switch):
31437 Remove frobnicate @pxref.
31438
50022a93
TS
314392013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31440
31441 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31442 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31443
08cbd996
PM
314442013-02-20 Petr Machata <pmachata@redhat.com>
31445
31446 * elf/elf.h (R_ARM_TARGET1): New macro.
31447 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31448 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31449 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31450 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31451 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31452 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31453 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31454 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31455 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31456 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31457 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31458 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31459 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31460 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31461 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31462 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31463 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31464 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31465 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31466 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31467 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31468 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31469 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31470 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31471 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31472 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31473 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31474 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31475 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31476 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31477 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31478 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31479 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31480 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31481 (R_ARM_THM_GOT_BREL12): Likewise.
31482 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31483 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31484 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31485 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31486 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31487 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31488 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31489 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31490 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31491
c7b275d6
TS
314922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31493
31494 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31495 __attribute_used__ to __attribute__ ((unused)).
31496
20cd7fb3
SP
314972013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31498
31499 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31500 powerpc mpa.c.
31501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31502 comment formatting.
31503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31504
92945b52
JM
315052013-02-19 Joseph Myers <joseph@codesourcery.com>
31506
31507 [BZ #13550]
31508 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31509 Remove macro.
31510 (ENTER): Remove both macro definitions.
31511 (LEAVE): Likewise.
31512 (CHECK_BOUNDS_LOW): Likewise.
31513 (CHECK_BOUNDS_HIGH): Likewise.
31514 (CHECK_BOUNDS_BOTH): Likewise.
31515 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31516 (RETURN_BOUNDED_POINTER): Likewise.
31517 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31518 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31519 (POP_ERRNO_LOCATION_RETURN): Likewise.
31520 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31521 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31522 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31523 macros.
31524 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31525 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31526 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31527 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31528 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31529 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31530 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31531 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31532 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31533 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31534 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31535 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31537 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31538 removed macros.
31539 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31540 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31541 macros.
31542 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31543 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31544 * sysdeps/i386/i586/memset.S (memset): Likewise.
31545 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31546 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31547 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31548 macros.
31549 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31550 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31551 Change uses of L(2) to L(out).
31552 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31553 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31554 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31555 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31556 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31557 removed macros.
31558 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31559 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31560 macros.
31561 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31562 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31563 (RETURN): Do not use macro LEAVE.
31564 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31565 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31566 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31567 * sysdeps/i386/i686/memset.S (memset): Likewise.
31568 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31569 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31570 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31571 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31572 Likewise.
31573 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31574 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
31575 L(1_2) and L(1_3) into L(1).
31576 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31577 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31578 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31579 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31580 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31581 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31582 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31583 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31584 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31585 macros.
31586 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31587 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31588 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31589 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31590 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31591 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31592 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31593 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31594 * sysdeps/i386/strcspn.S (strcspn): Likewise.
31595 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31596 * sysdeps/i386/strrchr.S (strrchr): Likewise.
31597 * sysdeps/i386/strspn.S (strspn): Likewise.
31598 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31599 conditional code.
31600 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31601 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31602 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31603 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
31604 L(1_3) into L(1_1).
31605 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31606 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31607 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31608 macros.
31609 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31610
2389741a
JJ
316112013-02-19 Jakub Jelinek <jakub@redhat.com>
31612
31613 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31614 macro.
31615
2016b3cd
SP
316162013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31617
e4f22324
SP
31618 * math/atest-exp.c (exp_mpn): Remove ROUND.
31619 * math/atest-exp2.c (exp_mpn): Likewise.
31620 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31621
2016b3cd
SP
31622 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31623 * stdlib/tst-tls-atexit-lib.c: Likewise.
31624 * stdlib/tst-tls-atexit.c: Likewise.
31625
4be9b544
MF
316262013-02-18 Mike Frysinger <vapier@gentoo.org>
31627
31628 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31629 and __attribute_alloc_size__.
31630
2f62b9ee
MF
316312013-02-18 Mike Frysinger <vapier@gentoo.org>
31632
31633 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31634 __attribute_alloc_size__.
31635 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31636 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31637
6ff444c4
MF
316382013-02-18 Mike Frysinger <vapier@gentoo.org>
31639
31640 * include/programs/xmalloc.h: New file.
31641 * catgets/gencat.c: Include it.
31642 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31643 * elf/pldd.c: Likewise.
31644 * iconv/iconv_charmap.c: Likewise.
31645 * iconv/iconvconfig.c: Likewise.
31646 * iconv/strtab.c: Likewise.
31647 * locale/programs/locale.c: Likewise.
31648 * locale/programs/localedef.h: Likewise.
31649 * locale/programs/simple-hash.c: Likewise.
31650 * nscd/nscd.h: Likewise.
31651 * nss/makedb.c: Likewise.
31652 * sysdeps/generic/ldconfig.h: Likewise.
31653
be179c8a
SP
316542013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31655
ba384f6e
SP
31656 * Versions.def: Add GLIBC_2.18.
31657 * include/link.h (struct link_map): New member l_tls_dtor_count.
31658 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31659 (__call_tls_dtors): Likewise.
31660 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31661 __cxa_thread_atexit_impl.
31662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31663 Likewise.
31664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31665 Likewise.
31666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31667 Likewise.
31668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31669 Likewise.
31670 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31672 Likewise.
31673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31674 Likewise.
31675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31676 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31677 Likewise.
31678 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31679 (tests): Add test case tst-tls-atexit.
31680 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31681 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31682 (GLIBC_PRIVATE): Add __call_tls_dtors.
31683 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31684 for libstdc++.
31685 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31686 * stdlib/tst-tls-atexit.c: New test case.
31687 * stdlib/tst-tls-atexit-lib.c: New test case.
31688
ffaa74cf 31689 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31690
be179c8a
SP
31691 * elf/Versions (ld): Add _dl_find_dso_for_object.
31692 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31693 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31694 (dl_open_worker): Use _dl_find_dso_for_object.
31695 * elf/dl-sym.c (do_sym): Likewise.
31696 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31697
f78b5caa
AK
316982013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31699
31700 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31701 Syntactic changes only.
31702 (_dl_runtime_profile): Do a tail-call to the resolved function.
31703
29691210
JM
317042013-02-17 Joseph Myers <joseph@codesourcery.com>
31705
31706 [BZ #13550]
31707 * sysdeps/x86_64/bp-asm.h: Remove file.
31708 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31709 <bp-sym.h> and <bp-asm.h>.
31710 (__clone): Do not use BP_SYM.
31711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31712 <bp-sym.h> and <bp-asm.h>.
31713 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31714 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31715 "bp-asm.h".
31716 (_setjmp): Do not use BP_SYM.
31717 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31718 "bp-asm.h".
31719 (setjmp): Do not use BP_SYM.
31720 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31721 libc_hidden_def.
31722 (mempcpy): Do not use BP_SYM in weak_alias.
31723 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31724 "bp-asm.h".
31725 (strchr): Do not use BP_SYM.
31726 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31727 "bp-asm.h".
31728 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31729 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31730 (_start): Do not use BP_SYM.
31731 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31732 "bp-asm.h".
31733 (strcat): Do not use BP_SYM.
31734 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31735 "bp-asm.h".
31736 (STRCMP): Do not use BP_SYM.
31737 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31738 "bp-asm.h".
31739 (STRCPY): Do not use BP_SYM.
31740 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31741 "bp-asm.h".
31742 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31743 "bp-asm.h".
31744 (FUNCTION): Do not use BP_SYM.
31745 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31746 weak_alias.
31747 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31748
f238fd19
AJ
317492013-02-17 Andreas Jaeger <aj@suse.de>
31750
31751 * time/Versions: Sort entries.
31752 * string/Versions: Likewise.
31753 * resolv/Versions: Likewise.
31754 * posix/Versions: Likewise.
31755 * iconv/Versions: Likewise.
31756 * elf/Versions: Likewise.
31757 * wcsmbs/Versions: Likewise.
31758
bd07f23c 317592013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31760
22af19f9
SP
31761 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31762 loop termination condition.
31763
4709fe76
SP
31764 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31765 variable to calculate EZ.
31766 (__sqr): Likewise.
2d0e0f29
SP
31767
31768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31769 the lower precision input.
31770
daaa7713
JM
317712013-02-15 Joseph Myers <joseph@codesourcery.com>
31772
31773 [BZ #13550]
31774 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31775 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31776 (run-via-rtld-prefix): Do not handle %-bp tests.
31777 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31778 (all-object-suffixes): Remove .ob.
31779 (bppfx): Remove variable.
31780 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31781 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31782 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31783 [$(build-bounded) = yes] (libtype.ob): Likewise.
31784 * Makerules (elide-routines.ob): Remove variable.
31785 (do-tests-clean): Do not handle *-bp.out.
31786 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31787 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31788 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31789 (tests): Do not include $(tests-bp.out).
31790 (xtests): Do not include $(xtests-bp.out).
31791 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31792 [$(build-bounded) = yes] ($(addprefix
31793 $(objpfx),$(binaries-bounded))): Remove rule.
31794 ($(objpfx)%-bp.out): Remove rule.
31795 * config.make.in (build-bounded): Remove variable.
31796 * crypt/Makefile [$(build-bounded) = yes]
31797 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31798 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31799 append to variable.
31800 [$(build-bounded) = yes] (install-lib): Likewise.
31801 [$(build-bounded) = yes] (generated): Likewise.
31802 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31803 Remove rule.
31804 * intl/Makefile [$(build-bounded) = yes]
31805 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31806 * math/Makefile [$(build-bounded) = yes]
31807 ($(tests:%=$(objpfx)%-bp): Likewise.
31808 * misc/Makefile [$(build-bounded) = yes]
31809 ($(objpfx)tst-tsearch-bp): Likewise.
31810 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31811 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31812 Remove dependency.
31813 * string/Makefile (o-objects.ob): Remove variable.
31814 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31815 (CFLAGS-.ob): Remove variable.
31816 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31817 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31818 both definitions of variable.
31819 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31820 (ASFLAGS-.ob): Remove variable.
31821
e97ed6dd
JM
318222013-02-14 Joseph Myers <joseph@codesourcery.com>
31823
2bdd4ca6
JM
31824 [BZ #13550]
31825 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31826 Remove __BOUNDED_POINTERS__ from condition.
31827 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31828 * string/bits/string2.h [!__NO_STRING_INLINES &&
31829 !__BOUNDED_POINTERS__]: Likewise.
31830 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31831 Likewise.
31832 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31833 Remove conditional code.
31834 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31835 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31836 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31837 condition.
31838
e97ed6dd
JM
31839 [BZ #13550]
31840 * csu/libc-start.c: Do not include <bp-sym.h>.
31841 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31842 * elf/dl-open.c: Do not include <bp-sym.h>.
31843 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31844 * math/fegetenv.c: Do not include <bp-sym.h>.
31845 (fegetenv): Do not use BP_SYM in versioned symbols.
31846 * nptl/sysdeps/pthread/bits/libc-lockP.h
31847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31848 <bp-sym.h>.
31849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31850 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31852 (__pthread_mutex_destroy): Likewise.
31853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31854 (__pthread_mutex_lock): Likewise.
31855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31856 (__pthread_mutex_trylock): Likewise.
31857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31858 (__pthread_mutex_unlock): Likewise.
31859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31860 (__pthread_mutexattr_init): Likewise.
31861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31862 (__pthread_mutexattr_destroy): Likewise.
31863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31864 (__pthread_mutexattr_settype): Likewise.
31865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31866 (__pthread_rwlock_init): Likewise.
31867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31868 (__pthread_rwlock_destroy): Likewise.
31869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31870 (__pthread_rwlock_rdlock): Likewise.
31871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31872 (__pthread_rwlock_tryrdlock): Likewise.
31873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31874 (__pthread_rwlock_wrlock): Likewise.
31875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31876 (__pthread_rwlock_trywrlock): Likewise.
31877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31878 (__pthread_rwlock_unlock): Likewise.
31879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31880 (__pthread_key_create): Likewise.
31881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31882 (__pthread_setspecific): Likewise.
31883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31884 (__pthread_getspecific): Likewise.
31885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31886 Likewise.
31887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31888 (_pthread_cleanup_push_defer): Likewise.
31889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31890 (_pthread_cleanup_pop_restore): Likewise.
31891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31892 (pthread_setcancelstate): Likewise.
31893 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31894 <bp-sym.h>.
31895 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31896 (memchr): Do not use BP_SYM in weak_alias.
31897 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31898 (fegetenv): Do not use BP_SYM in versioned symbols.
31899 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31900 (fesetenv): Do not use BP_SYM in versioned symbols.
31901 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31902 (feupdateenv): Do not use BP_SYM in versioned symbols.
31903 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31904 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31905 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31906 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31907 (open64): Do not use BP_SYM in weak_alias.
31908 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31909 (fegetenv): Do not use BP_SYM in versioned symbols.
31910 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31911 (fesetenv): Do not use BP_SYM in versioned symbols.
31912 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31913 (feupdateenv): Do not use BP_SYM in versioned symbols.
31914 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31915 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31916 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31917 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31918 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31919 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31920 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31921 <bp-sym.h>.
31922 (__libc_start_main): Do not use BP_SYM.
31923
d6752ccd
SP
319242013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31925
cb57ce60
SP
31926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31927 redundant return line.
31928 (norm): Likewise.
31929 (denorm): Likewise.
31930 (dbl_mp): Likewise.
31931 (sub_magnitudes): Likewise.
31932 (__add): Likewise.
31933 (__sub): Likewise.
31934 (__mul): Likewise.
31935 (__inv): Likewise.
31936 (__dvd): Likewise.
31937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31938 (norm): Likewise.
31939 (denorm): Likewise.
31940 (dbl_mp): Likewise.
31941 (sub_magnitudes): Likewise.
31942 (__add): Likewise.
31943 (__sub): Likewise.
31944 (__mul): Likewise.
31945 (__inv): Likewise.
31946 (__dvd): Likewise.
31947
f414520d
SP
31948 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31949 instead of __mul.
31950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31951 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31952 (cc32): Likewise.
31953
d6752ccd
SP
31954 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31955 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31957 of __mul for squares.
31958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31959 function
31960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31961 Likewise.
31962 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31963 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31964
70d9946a
JM
319652013-02-13 Joseph Myers <joseph@codesourcery.com>
31966
31967 [BZ #13550]
31968 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31969 code.
31970 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31971 prototype or function definition. Rename ubp_* variables and
31972 parameters. Remove argv definitions conditional on
31973 [__BOUNDED_POINTERS__].
31974 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31975 * elf/dl-runtime.c (_dl_fixup): Likewise.
31976 * include/set-hooks.h (RUN_HOOK): Likewise.
31977 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31978 definition.
31979 * string/strcpy.c (strcpy): Do not use __unbounded.
31980 * sysdeps/generic/frame.h (struct layout): Likewise.
31981 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31982 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31983 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31984 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31985 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31986 (__backtrace): Likewise.
31987 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31988 use __ptrvalue.
31989 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31990 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31991 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31992 Likewise.
31993 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31994 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31995 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31996 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31997 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31998 Do not use __unbounded.
31999 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32000 Rename __unboundedrlimits parameter to rlimits in prototype.
32001 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32002 Do not use __unbounded.
32003 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32004 not use __ptrvalue.
32005 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32006 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32007 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32008 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32009 __ptrvalue or __unbounded.
32010 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32011 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32012 use __unbounded.
32013 (__new_msgctl): Do not use __ptrvalue.
32014 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32015 __unbounded.
32016 (__libc_msgrcv): Do not use __ptrvalue.
32017 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32018 startup_info): Do not use __unbounded.
32019 (__libc_start_main): Likewise. Rename ubp_* variables and
32020 parameters. Remove argv definitions conditional on
32021 [__BOUNDED_POINTERS__].
32022 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32023 __ptrvalue.
32024 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32025 use __unbounded.
32026 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32027 or __ptrvalue.
32028 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32029 use __unbounded.
32030 (__new_shmctl): Do not use __ptrvalue.
32031 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32032 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32033 Likewise.
32034 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32035 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32036 (__libc_sigaction): Likewise.
32037 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32038 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32039 Likewise.
32040 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32041
cc7834d6
OB
320422013-02-13 Ondřej Bílka <neleai@seznam.cz>
32043
ffb1ec7b 32044 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
32045
32046 * string/mempcpy.c: Implement by calling memcpy.
32047
bdf02814
SP
320482013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32049
c2af38aa
SP
32050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32051
4e92d59e
SP
32052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32053 evaluation.
32054
909279a5
SP
32055 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32056 values in the mantissa.
32057
bdf02814
SP
32058 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32059 minimize writes to Z.
32060 (sub_magnitudes): Simplify code a bit.
32061
cd525923
RM
320622013-02-12 Roland McGrath <roland@hack.frob.com>
32063
32064 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32065 from the message. The linker prefixes all warnings with that already.
32066
7e2f0d2d
AS
320672013-02-12 Andreas Schwab <schwab@suse.de>
32068
a445af0b
AS
32069 [BZ #15078]
32070 * posix/regexec.c (extend_buffers): Add parameter min_len.
32071 (check_matching): Pass minimum needed length.
32072 (clean_state_log_if_needed): Likewise.
32073 (get_subexp): Likewise.
32074 * posix/Makefile (tests): Add bug-regex34.
32075 (bug-regex34-ENV): Define.
32076 * posix/bug-regex34.c: New file.
32077
7e2f0d2d
AS
32078 [BZ #11561]
32079 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32080 elements compare against the byte sequence of it, not its name.
32081 * posix/Makefile (tests): Add bug-regex35.
32082 (bug-regex35-ENV): Define.
32083 * posix/bug-regex35.c: New file.
32084
a175b684
TV
320852013-02-11 Tom de Vries <tom@codesourcery.com>
32086
32087 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32088 comment.
32089 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32090 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32091 (CHECK_EOL): Add undef.
32092
310998fe 320932013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
32094
32095 * bits/stdlib-bsearch.h: New file.
32096 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 32097 * stdlib/stdlib.h: Likewise.
41eda41d 32098
8ded91fb
RM
320992013-02-11 Roland McGrath <roland@hack.frob.com>
32100
32101 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32102 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32103 declaration.
32104 * manual/search.texi (Array Search Function): Add missing const in
32105 lfind prototype.
32106 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32107 declaration to use rlim_t.
32108 (Basic Scheduling Functions): Remove erroneous const from
32109 sched_getparam prototype. Remove erroneous * from
32110 sched_get_priority_max and sched_get_priority_min prototypes.
32111 (Resource Usage): Fix summary @comment on vtimes to refer to
32112 sys/vtimes.h rather than vtimes.h.
32113 Add missing *s in vtimes prototype.
32114 (Limits on Resources): Fix ulimit prototype to return long int.
32115 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32116 prototypes to use long int rather than double.
32117 (BSD Random): Fix initstate and setstate to use char *, not void *.
32118 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32119 prototype to make second argument 'struct aiocb64 *const[]'.
32120 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32121 (Status of AIO Operations): Remove erroneous const in aio_return and
32122 aio_return64 prototypes.
32123 (Synchronizing I/O): Fix sync prototype to return void.
32124 * manual/startup.texi (Suboptions): Remove an erroneous const in
32125 getsubopt prototype.
32126 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32127 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32128 use size_t rather than int.
32129 (Scanning All Users): Likewise for getpwent_r.
32130 (Setting Groups): Add missing const to setgroups prototype.
32131 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32132 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32133 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32134 'const void *' rather than 'const char *'.
32135 (Host Address Functions): Likewise for inet_ntop.
32136 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32137 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32138 ssize_t for return value.
32139 (Sending Data): Likewise for send, sendto, sendmsg.
32140 (Socket Option Functions): Add a missing const in setsockopt prototype.
32141 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32142 use wchar_t for the argument.
32143 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32144 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32145 take no arguments.
32146 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32147 double/float/long double for second argument.
32148 Fix return types of significand, significandf, significandl.
32149 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32150 argument in fchmod prototype.
32151 (File Owner): Use uid_t and gid_t in fchown prototype.
32152 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32153 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32154 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32155 use 'const struct dirent **' as argument types to CMP function pointer
32156 argument.
32157 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32158 (File Times): Fix summary magic @comment for struct utimbuf and utime
32159 to refer to utime.h, not time.h.
32160 * manual/string.texi (Argz Functions): Add missing const in
32161 argz_extract and argz_next prototypes.
32162 (Finding Tokens in a String): Likewise for basename.
32163 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32164 (Copying and Concatenation): Fix typo in wmemmove prototype.
32165 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32166 (Signal Stack): Remove erroneous const in sigstack prototype.
32167 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32168 prototype.
32169 (Simple Calendar Time): Likewise for stime.
32170 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32171 prototype.
32172 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32173 say sys/sysctl.h instead.
32174 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32175 and vsyslog prototypes.
32176
fe77fe6d
TV
321772013-02-11 Tom de Vries <tom@codesourcery.com>
32178
32179 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32180 Remove.
32181
3a09b620
RM
321822013-02-11 Roland McGrath <roland@hack.frob.com>
32183
32184 * misc/sys/mman.h: Fix typo in mremap comment.
32185
550a0b89
RM
321862013-02-08 Roland McGrath <roland@hack.frob.com>
32187
32188 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32189 the '\0' terminator.
32190
a2da1673
JM
321912013-02-08 Joseph Myers <joseph@codesourcery.com>
32192
32193 [BZ #13550]
32194 * debug/segfault.c: Don't include <bp-checks.h>.
32195 * sysdeps/generic/bp-checks.h: Remove file.
32196 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32197 (__GETDENTS): Don't use CHECK_N.
32198 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32199 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32200 (__getgroups): Don't use CHECK_N.
32201 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32202 (setgroups): Don't use CHECK_N.
32203 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32204 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32205 (__libc_msgrcv): Don't use CHECK_N.
32206 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32207 (__libc_msgsnd): Don't use CHECK_N.
32208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32209 <bp-checks.h>.
32210 (__libc_pread): Don't use CHECK_N.
32211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32212 include <bp-checks.h>.
32213 (__libc_pread64): Don't use CHECK_N.
32214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32215 include <bp-checks.h>.
32216 (__libc_pwrite): Don't use CHECK_N.
32217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32218 include <bp-checks.h>.
32219 (__libc_pwrite64): Don't use CHECK_N.
32220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32221 <bp-checks.h>.
32222 (__libc_pread): Don't use CHECK_N.
32223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32224 include <bp-checks.h>.
32225 (__libc_pread64): Don't use CHECK_N.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32227 include <bp-checks.h>.
32228 (__libc_pwrite): Don't use CHECK_N.
32229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32230 include <bp-checks.h>.
32231 (__libc_pwrite64): Don't use CHECK_N.
32232 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32233 (do_pread): Don't use CHECK_N.
32234 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32235 (do_pread64): Don't use CHECK_N.
32236 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32237 (do_pwrite): Don't use CHECK_N.
32238 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32239 (do_pwrite64): Don't use CHECK_N.
32240 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32241 (__libc_readv): Don't use CHECK_N.
32242 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32243 (semop): Don't use CHECK_N.
32244 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32245 <bp-checks.h>.
32246 (semtimedop): Don't use CHECK_N.
32247 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32248 (__libc_pread): Don't use CHECK_N.
32249 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32250 <bp-checks.h>.
32251 (__libc_pread64): Don't use CHECK_N.
32252 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32253 <bp-checks.h>.
32254 (__libc_pwrite): Don't use CHECK_N.
32255 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32256 <bp-checks.h>.
32257 (__libc_pwrite64): Don't use CHECK_N.
32258 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32259 <bp-checks.h>.
32260 (__libc_msgrcv): Don't use CHECK_N.
32261 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32262 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32263 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32264 (__libc_writev): Don't use CHECK_N.
32265
b84660a8
RM
322662013-02-08 Roland McGrath <roland@hack.frob.com>
32267
7f3e75f8
RM
32268 * string/strcpy.c: Removed unused variable.
32269
b84660a8
RM
32270 * Makeconfig (+sysdep-includes): Define with := rather than =.
32271 Use an existing include/ subdir of each sysdeps dir before it.
32272
471514d3
CD
322732013-02-08 Carlos O'Donell <carlos@redhat.com>
32274
32275 * nscd/connection.c (register_traced_file): Comment function.
32276 [HAVE_INOTIFY] (union __inev): Define.
32277 [HAVE_INOTIFY] (inotify_check_files): New function.
32278 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32279 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32280 clear_db_cache.
32281 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32282
b2d3c3be
CD
322832013-02-08 Carlos O'Donell <carlos@redhat.com>
32284
32285 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32286 loaded if not already and that a failure is permanent.
32287
b39949d2
CD
322882013-02-08 Carlos O'Donell <carlos@redhat.com>
32289
ddacd1db 32290 [BZ #15006]
b39949d2
CD
32291 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32292 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32293
b2c9eff4
JM
322942013-02-08 Joseph Myers <joseph@codesourcery.com>
32295
f3aae3f3
JM
32296 [BZ #13550]
32297 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32298 (CHECK_1_NULL_OK): Likewise.
32299 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32300 (__fxstat): Do not use CHECK_1.
32301 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32302 <bp-checks.h>.
32303 (___fxstat64): Do not use CHECK_1.
32304 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32305 <bp-checks.h>.
32306 (__fxstatat): Do not use CHECK_1.
32307 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32308 <bp-checks.h>.
32309 (__fxstatat64): Do not use CHECK_1.
32310 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32311 <bp-checks.h>.
32312 (__fxstat): Do not use CHECK_1.
32313 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32314 <bp-checks.h>.
32315 (__fxstatat): Do not use CHECK_1.
32316 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32317 <bp-checks.h>.
32318 (__getresgid): Do not use CHECK_1.
32319 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32320 <bp-checks.h>.
32321 (__getresuid): Do not use CHECK_1.
32322 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32323 <bp-checks.h>.
32324 (__lxstat): Do not use CHECK_1.
32325 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32326 <bp-checks.h>.
32327 (__old_msgctl): Do not use CHECK_1.
32328 (__new_msgctl): Likewise.
32329 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32330 <bp-checks.h>.
32331 (__new_setrlimit): Do not use CHECK_1.
32332 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32333 <bp-checks.h>.
32334 (__old_shmctl): Do not use CHECK_1.
32335 (__new_shmctl): Likewise.
32336 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32337 <bp-checks.h>.
32338 (__xstat): Do not use CHECK_1.
32339 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32340 (__lxstat): Do not use CHECK_1.
32341 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32342 <bp-checks.h>.
32343 (___lxstat64): Do not use CHECK_1.
32344 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32345 (__old_msgctl): Do not use CHECK_1.
32346 (__new_msgctl): Likewise.
32347 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32348 <bp-checks.h>.
32349 (__gettimeofday): Do not use CHECK_1.
32350 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32351 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32352 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32353 <bp-checks.h>.
32354 (__gettimeofday): Do not use CHECK_1.
32355 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32356 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32357 (__new_shmctl): Do not use CHECK_1.
32358 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32359 <bp-checks.h>.
32360 (do_sigtimedwait): Do not use CHECK_1.
32361 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32362 <bp-checks.h>.
32363 (do_sigwaitinfo): Do not use CHECK_1.
32364 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32365 <bp-checks.h>.
32366 (msgctl): Do not use CHECK_1.
32367 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32368 <bp-checks.h>.
32369 (shmctl): Do not use CHECK_1.
32370 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32371 (ustat): Do not use CHECK_1.
32372 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32373 <bp-checks.h>.
32374 (__fxstat): Do not use CHECK_1.
32375 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32376 <bp-checks.h>.
32377 (__fxstatat): Do not use CHECK_1.
32378 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32379 <bp-checks.h>.
32380 (__lxstat): Do not use CHECK_1.
32381 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32382 <bp-checks.h>.
32383 (__xstat): Do not use CHECK_1.
32384 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32385 (__xstat): Do not use CHECK_1.
32386 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32387 (___xstat64): Do not use CHECK_1.
32388
b2c9eff4
JM
32389 [BZ #13550]
32390 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32391 definitions.
32392 (CHECK_BOUNDS_HIGH): Likewise.
32393 * string/strcpy.c: Do not include <bp-checks.h>.
32394 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32395
f1d70dad
RM
323962013-02-07 Roland McGrath <roland@hack.frob.com>
32397
32398 * nscd/nscd-client.h (__nscd_drop_map_ref):
32399 Add __attribute__ ((unused)).
32400 * nis/nss-nisplus.h (niserr2nss): Likewise.
32401
32402 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32403 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32404
32405 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32406 Remove inline keyword.
32407 * include/rounding-mode.h (round_away): Likewise.
32408 * libio/wfileops.c (adjust_wide_data): Likewise.
32409 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32410 (__m128i_strloadu_tolower): Likewise.
32411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32412 (__m128i_strloadu_tolower): Likewise.
32413 * time/mktime.c (ydhms_diff): Likewise.
32414 * locale/elem-hash.h (elem_hash): Likewise.
32415 * locale/setlocale.c (setdata): Likewise.
32416 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32417 (re_string_wchar_at): Likewise.
32418 (bitset_not, bitset_merge, bitset_mask): Likewise.
32419 [!(__GNUC__ > 3)] (inline): Remove macro.
32420 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32421 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32422 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32423 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32424 * string/memcmp.c (memcmp_bytes): Likewise.
32425 * locale/programs/locarchive.c (compute_hashval): Likewise.
32426 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32427 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32428 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32429 * nss/getent.c (print_rpc, print_protocols): Likewise.
32430 (print_passwd, print_group, print_aliases): Likewise.
32431 * nis/nss-nisplus.h (niserr2nss): Likewise.
32432 * nscd/connections.c (restart_p): Likewise.
32433 Change return type to bool.
32434
eab55bfb
RM
324352013-02-05 Roland McGrath <roland@hack.frob.com>
32436
7bd642f5
RM
32437 * Makeconfig (all-Depend-files): Add existing
32438 $(sorted-subdirs:=/Depend) files.
32439 (all-subdirs): Remove nss.
32440 * sysdeps/unix/inet/Subdirs: Add it here instead.
32441 * hesiod/Depend: New file.
32442
573c29b2
RM
32443 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32444 instead of calling alloca.
32445
b2e25af0
RM
32446 * io/lseek.c (__lseek): Rename to __libc_lseek.
32447 Define __lseek as an alias.
32448
eab55bfb
RM
32449 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32450
9a0d1941
CD
324512013-02-04 Carlos O'Donell <carlos@redhat.com>
32452
32453 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32454 else clause and remove check for non-standard endianness.
32455
b83bbec4
DM
324562013-02-04 David S. Miller <davem@davemloft.net>
32457
32458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32459
6277fdab
JM
324602013-02-04 Joseph Myers <joseph@codesourcery.com>
32461
32462 [BZ #13550]
32463 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32464 (__ubp_memchr): Remove prototype.
32465 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32466 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32467 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32468 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32469 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32470 Remove alias.
32471 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32472 (__ubp_memchr): Likewise.
32473 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32474 (__ubp_memchr): Likewise.
32475 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32476 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32477 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32478 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32479 CHECK_STRING.
32480 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32481 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32482 (__getcwd): Do not use CHECK_STRING.
32483 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32484 <bp-checks.h>.
32485 (__real_chown): Do not use CHECK_STRING.
32486 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32487 <bp-checks.h>.
32488 (fchownat): Do not use CHECK_STRING.
32489 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32490 CHECK_STRING.
32491 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32492 <bp-checks.h>.
32493 (__lchown): Do not use CHECK_STRING.
32494 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32495 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32496 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32497 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32499 include <bp-checks.h>.
32500 (truncate64): Do not use CHECK_STRING.
32501 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32502 <bp-checks.h>.
32503 (__real_chown): Do not use CHECK_STRING.
32504 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32505 <bp-checks.h>.
32506 (__lchown): Do not use CHECK_STRING.
32507 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32508 <bp-checks.h>.
32509 (__chown): Do not use CHECK_STRING.
32510 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32511 <bp-checks.h>.
32512 (truncate64): Do not use CHECK_STRING.
32513 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32514 Likewise.
32515 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32516 (__xmknod): Do not use CHECK_STRING.
32517 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32518 <bp-checks.h>.
32519 (__xmknodat): Do not use CHECK_STRING.
32520 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32521 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32522
903ae060
AS
325232013-02-04 Andreas Schwab <schwab@suse.de>
32524
32525 [BZ #14142]
32526 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32527 * include/netdb.h: Likewise for h_errno.
32528 * elf/tst-stackguard1.c: Include <tls.h>.
32529
542f9466
JK
325302013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
32531
32532 * elf/link.h (struct link_map): Extend the l_addr comment.
32533 * include/link.h (struct link_map): Likewise.
32534
e782a927
JM
325352013-02-01 Joseph Myers <joseph@codesourcery.com>
32536
32537 [BZ #13550]
32538 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32539 (BOUNDED_1): Remove macro.
32540 * debug/backtrace.c: Don't include <bp-checks.h>.
32541 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32542 (__backtrace): Likewise.
32543 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32544 <bp-checks.h>.
32545 (__backtrace): Don't use BOUNDED_1.
32546 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32547 <bp-checks.h>.
32548 (__backtrace): Don't use BOUNDED_1.
32549 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32550 (__backtrace): Don't use BOUNDED_1.
32551 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32552 (shmat): Don't use BOUNDED_N.
32553
8cf28c5e
JM
325542013-01-31 Joseph Myers <joseph@codesourcery.com>
32555
3a7ac8a0
JM
32556 [BZ #13550]
32557 * sysdeps/generic/bp-start.h: Remove file.
32558 * csu/libc-start.c: Don't include <bp-start.h>.
32559 (LIBC_START_MAIN): Set up __environ directly instead of using
32560 INIT_ARGV_and_ENVIRON.
32561 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32562 <bp-start.h>.
32563
f3499f95
JM
32564 [BZ #13550]
32565 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32566 definitions.
32567 (CHECK_FCNTL): Likewise.
32568 (CHECK_N_PAGES): Likewise.
32569
32a45bea
JM
32570 [BZ #13550]
32571 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32572 definitions.
32573 (CHECK_SIGSET_NULL_OK): Likewise.
32574 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32575 <bp-checks.h>.
32576 (sigpending): Don't use CHECK_SIGSET.
32577 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32578 <bp-checks.h>.
32579 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32580 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32581 <bp-checks.h>.
32582 (do_sigsuspend): Don't use CHECK_SIGSET.
32583 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32584 use CHECK_SIGSET.
32585 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32586 (do_sigwait): Don't use CHECK_SIGSET.
32587 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32588 use CHECK_SIGSET.
32589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32590 include <bp-checks.h>.
32591 (sigpending): Don't use CHECK_SIGSET.
32592 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32593 include <bp-checks.h>.
32594 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32595 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32596 <bp-checks.h>.
32597 (sigpending): Don't use CHECK_SIGSET.
32598 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32599 <bp-checks.h>.
32600 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32601
2e8a5c8c
JM
32602 [BZ #13550]
32603 * sysdeps/generic/bp-semctl.h: Remove file.
32604 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32605 <bp-checks.h> and <bp-semctl.h>.
32606 (__old_semctl): Don't use CHECK_SEMCTL.
32607 (__new_semctl): Likewise.
32608 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32609 and <bp-semctl.h>.
32610 (__old_semctl): Don't use CHECK_SEMCTL.
32611 (__new_semctl): Likewise.
32612 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32613 <bp-checks.h> and <bp-semctl.h>.
32614 (__old_semctl): Don't use CHECK_SEMCTL.
32615 (__new_semctl): Likewise.
32616 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32617 <bp-checks.h> and <bp-semctl.h>.
32618 (semctl): Don't use CHECK_SEMCTL.
32619
c2d54929
JM
32620 [BZ #13550]
32621 * Makerules (elide-bp-thunks): Remove variable.
32622 (elide-routines.oS): Don't use $(elide-bp-thunks).
32623 (elide-routines.os): Likewise.
32624 (elide-routines.o): Likewise.
32625 (elide-routines.op): Likewise.
32626 (elide-routines.og): Likewise.
32627 (objects): Don't use $(bp-thunks).
32628 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32629 include.
32630 (common-generated): Do not add s-proto-bp.d.
32631 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32632 (int): Likewise.
32633 (typ): Likewise.
32634 Do not generate makefile rules for bounded-pointer thunks.
32635 * sysdeps/generic/bp-thunks.h: Remove file.
32636 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32637 * sysdeps/unix/s-proto-bp.S: Likewise.
32638
8cf28c5e
JM
32639 [BZ #15062]
32640 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32641 parts of result separately when argument is not close to line from
32642 -i to i and one part of argument is small.
32643 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32644 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32645 * math/libm-test.inc (cacos_test): Add more tests.
32646 (casin_test): Likewise.
32647 (casinh_test): Likewise.
32648 * sysdeps/i386/fpu/libm-test-ulps: Update.
32649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32650
c4e33b8d
DM
326512013-01-31 David S. Miller <davem@davemloft.net>
32652
32653 * po/de.po: Update from translation team.
32654
3b60b421
MK
326552013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32656
32657 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32658
bb931195
TS
326592013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32660
b5a5da23
TS
32661 * configure.in (_AC_PROG_CC_C89): New definition.
32662 * configure: Regenerate.
32663
bb931195
TS
32664 * configure.in (AC_PROG_CPP): New definition.
32665 * configure: Regenerate.
32666
8c53a12c
JM
326672013-01-23 Joseph Myers <joseph@codesourcery.com>
32668
32669 * debug/tst-backtrace.h: New file.
32670 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32671 (ret): Remove variable.
32672 (x): Likewise.
32673 (FAIL): Remove macro.
32674 (NO_INLINE): Likewise.
32675 (fn1): Use match function instead of strstr.
32676 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32677 (ret): Remove variable.
32678 (x): Likewise.
32679 (FAIL): Remove macro.
32680 (NO_INLINE): Likewise.
32681 (fn): Use match function instead of strstr.
32682 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32683 (ret): Remove variable.
32684 (x): Likewise.
32685 (FAIL): Remove macro.
32686 (NO_INLINE): Likewise.
32687 (handle_signal): Use match function instead of strstr.
32688 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32689 (ret): Remove variable.
32690 (x): Likewise.
32691 (FAIL): Remove macro.
32692 (NO_INLINE): Likewise.
32693 (handle_signal): Use match function instead of strstr.
32694
4858fa2a
RM
326952013-01-23 Roland McGrath <roland@hack.frob.com>
32696
32697 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32698
bae8e7f5
DM
326992013-01-23 David S. Miller <davem@davemloft.net>
32700
32701 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32702 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32703 argument of CAS if possible.
32704 * sysdeps/sparc/sparc64/bits/atomic.h
32705 (__arch_compare_and_exchange_val_32_acq): Likewise.
32706 (__arch_compare_and_exchange_val_64_acq): Likewise.
32707
9cbbc4ae
PT
327082013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32709
32710 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32711 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32712 Include <limits.h>.
67b3f58c 32713 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32714
5655a0b5
AC
327152013-01-23 Adam Conrad <adconrad@0c3.net>
32716
32717 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32718 (LDFLAGS-tst-array5): Likewise.
32719
052aff95
JM
327202013-01-23 Joseph Myers <joseph@codesourcery.com>
32721
32722 [BZ #15036]
32723 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32724 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32725 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32726 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32727
7c1e01aa
DM
327282013-01-21 David S. Miller <davem@davemloft.net>
32729
32730 * sysdeps/sparc/backtrace.c: New file.
32731 * sysdeps/sparc/sparc32/backtrace.h: New file.
32732 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32733 * sysdeps/sparc/sparc64/backtrace.h: New file.
32734 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32735 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32736 -funwind-tables.
32737
ab087e0a
AS
327382013-01-21 Andreas Schwab <schwab@suse.de>
32739
32740 [BZ #15020]
32741 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32742 closed its stdout.
32743
ed689c2f
AS
327442013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32745
32746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32747 "mpa2.h".
32748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32749
31d470ac
JM
327502013-01-18 Joseph Myers <joseph@codesourcery.com>
32751 Mark Mitchell <mark@codesourcery.com>
32752 Tom de Vries <tom@codesourcery.com>
32753 Paul Pluzhnikov <ppluzhnikov@google.com>
32754
32755 * debug/tst-backtrace2.c: New file.
32756 * debug/tst-backtrace3.c: Likewise.
32757 * debug/tst-backtrace4.c: Likewise.
32758 * debug/tst-backtrace5.c: Likewise.
32759 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32760 (CFLAGS-tst-backtrace3.c): Likewise.
32761 (CFLAGS-tst-backtrace4.c): Likewise.
32762 (CFLAGS-tst-backtrace5.c): Likewise.
32763 (LDFLAGS-tst-backtrace2): Likewise.
32764 (LDFLAGS-tst-backtrace3): Likewise.
32765 (LDFLAGS-tst-backtrace4): Likewise.
32766 (LDFLAGS-tst-backtrace5): Likewise.
32767 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32768 tst-backtrace4 and tst-backtrace5.
32769
90567f30 327702013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32771 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32772
32773 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32774 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32775 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32776 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32778 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32779 "+r" and remove output regs list as redundant. Add explicit inline
32780 asm to specify register of return val to work around compiler codegen
32781 bug. Remove (int) cast on return value. Add return type parameter to
32782 use in macro so that this macro does not truncate return value for
32783 64-bit values.
32784 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32785 pass to INTERNAL_VSYSCALL_NCS.
32786 (INLINE_VSYSCALL): Add 'long int' as return type to
32787 INTERNAL_VSYSCALL_NCS macro invocation.
32788 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32789 INTERNAL_VSYSCALL_NCS macro invocation.
32790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32791
d3b9ea61
SP
327922013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32793
0b57daeb
SP
32794 [BZ #14496]
32795 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32796 Fix application of SIMD FP exception mask.
32797
caa99d06
SP
32798 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32799 mp_no from a power of two.
32800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32801 __mpexp_twomm1. Use __pow_mp.
32802
d3b9ea61
SP
32803 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32804 multiplication.
32805
1dbaee3c
DM
328062013-01-17 David S. Miller <davem@davemloft.net>
32807
32808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32809
728d7b43
JM
328102013-01-17 Joseph Myers <joseph@codesourcery.com>
32811
32812 [BZ #15023]
32813 * include/complex.h: Condition contents on [!_COMPLEX_H].
32814 (__kernel_casinhf): New prototype.
32815 (__kernel_casinh): Likewise.
32816 (__kernel_casinhl): Likewise.
32817 * math/Makefile (libm_calls): Add k_casinh.
32818 * math/k_casinh.c: New file.
32819 * math/k_casinhf.c: Likewise.
32820 * math/k_casinhl.c: Likewise.
32821 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32822 finite nonzero arguments.
32823 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32824 finite nonzero arguments.
32825 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32826 finite nonzero arguments.
32827 * math/s_casinh.c: Do not include <float.h>.
32828 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32829 * math/s_casinhf.c: Do not include <float.h>.
32830 (__casinhf): Move code for finite nonzero arguments to
32831 k_casinhf.c.
32832 * math/s_casinhl.c: Do not include <float.h>.
32833 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32834 redefine.
32835 (__casinhl): Move code for finite nonzero arguments to
32836 k_casinhl.c.
32837 * math/libm-test.inc (cacos_test): Add more tests.
32838 * sysdeps/i386/fpu/libm-test-ulps: Update.
32839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32840
2a26ef3a
PT
328412013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32842
32843 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32844 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32845 [!HAVE_MREMAP]: Remove [defined linux] case.
32846 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32847
a897655d
SP
328482013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32849
32850 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32851
881ebe89 328522013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32853
32854 * elf/elf.h (R_386_SIZE32): New relocation.
32855 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32856 R_386_SIZE32.
32857 (elf_machine_rela): Likewise.
32858 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32859 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32860
59981e9b
JM
328612013-01-17 Joseph Myers <joseph@codesourcery.com>
32862
32863 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32864 (FP_FAST_FMA): Do not define.
32865 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32866 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32867 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32868 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32869 !_SOFT_FLOAT]: Likewise.
32870 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32872 value.
32873 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32874 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32876 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32877 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32878 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32879 file.
32880
cfa8054f
AS
328812013-01-16 Andreas Schwab <schwab@suse.de>
32882
32883 [BZ #14327]
32884 * include/stdlib.h (__mktemp): Add declaration.
32885 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32886 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32887
dd930cc5
SP
328882013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32889
881ebe89
SP
32890 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32891 definitions.
32892 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32893 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32894 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32895 definitions here.
32896 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32897 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32898 definitions.
32899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32900 and ONE.
32901 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32902 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32903 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32904 definitions.
32905 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32906 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32907 definitions.
32908 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32909
dd930cc5
SP
32910 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32911
c19a9f89
DM
329122013-01-15 David S. Miller <davem@davemloft.net>
32913
1aa61767
DM
32914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32915 trunc{,f} to libm-sysdep_routes.
32916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32918 file.
32919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32921 file.
32922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32923 file.
32924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32926 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32927 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32928 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32929 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32930 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32931 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32932
c42d5e98
DM
32933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32934 nearbyint{,f} to libm-sysdep_routes.
32935 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32937 New file.
32938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32939 file.
32940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32941 New file.
32942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32943 file.
32944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32947 file.
32948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32949 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32950 file.
32951 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32952 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32953 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32954
c19a9f89
DM
32955 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32956 libc_feholdexcept and libc_fesetenv.
32957
357679d2
MF
329582013-01-15 Mike Frysinger <vapier@gentoo.org>
32959
32960 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32961
65a82e3d
DM
329622013-01-14 David S. Miller <davem@davemloft.net>
32963
8b954ab9
DM
32964 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32965 (SPARC_ASM_VIS2_IFUNC): Likewise.
32966 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32968 use of 'siam' instruction.
32969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32970 Likewise.
32971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32972 Likewise.
32973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32974 Likewise.
32975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32980 file.
32981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32982 file.
32983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32984 file.
32985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32986 file.
32987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32990 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32992 new VIS2 routines.
32993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32996 Likewise.
32997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32998 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33002 routines to libm-sysdep_routines.
33003 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33004
65a82e3d
DM
33005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33006 fdim/fdimf to libm-sysdep_routines.
33007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33008 file.
33009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33011 file.
33012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33015 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33016 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33017 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33018 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33019
e34ab705
SP
330202013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33021
2a91b573
SP
33022 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33023 to optimize copies.
33024
1066a534
SP
33025 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33028
e34ab705
SP
33029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33030 local variable MPTWO.
33031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33032 Likewise.
33033
aba5e596
MF
330342013-01-13 Mike Frysinger <vapier@gentoo.org>
33035
33036 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33037 GLOB_NOESCAPE.
33038
e557e9e5
MF
330392013-01-13 Mike Frysinger <vapier@gentoo.org>
33040
33041 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33042
0428cec9
MF
330432013-01-13 Mike Frysinger <vapier@gentoo.org>
33044
33045 * manual/pattern.texi (glob_t): Document gl_flags.
33046 (glob64_t): Likewise.
33047
8794a964
DM
330482013-01-11 David S. Miller <davem@davemloft.net>
33049
66438c3f
RM
33050 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33051 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33052 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
33053 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33054 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33055 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33056 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33057 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33058 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33059 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33060 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33061 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33062 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33063
4ae4244d
DM
33064 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33065 sparc V9 rather than using V8 code.
33066 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33067 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33068
8794a964
DM
33069 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33070 Move to...
33071 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33072 Here.
33073
6270516e
RM
330742013-01-11 Roland McGrath <roland@hack.frob.com>
33075
33076 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33077 not in the main loop.
33078 * configure: Regenerated.
33079
6a57d931
JM
330802013-01-11 Joseph Myers <joseph@codesourcery.com>
33081
33082 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33083 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33084 to just #else.
33085 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33086 [!__GLIBC_HAVE_LONG_LONG] case.
33087 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33088 condition to just #else.
33089 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33090 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33091 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33092 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33093 unconditional.
33094 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33095 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33096 #elif condition to just #else.
33097 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33098 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33099 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33100 #elif condition to just #else.
33101
0e8529e9
SE
331022013-01-11 Steve Ellcey <sellcey@mips.com>
33103
33104 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33105 (EF_MIPS_ARCH_64): Fix value.
33106 (EF_MIPS_ARCH_32R2): New.
33107 (EF_MIPS_ARCH_64R2): New.
33108
740b3dbe
L
331092013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33110
33111 * Makeconfig (+link-pie-before-libc): New.
33112 (+link-pie-after-libc): Likewise.
33113 (+link-pie-tests): Likewise.
33114 (+link-pie): Rewritten.
33115 (link-before-libc): Remove $(config-LDFLAGS).
33116 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33117 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33118 (config-LDFLAGS): Renamed to ...
33119 (rtld-LDFLAGS): This.
33120 (rtld-tests-LDFLAGS): New macro.
33121 (link-libc-rpath-link): Likewise.
33122 (link-libc-tests-rpath-link): Likewise.
33123 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33124 (link-libc): Prepand $(link-libc-rpath-link).
33125 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33126 (test-program-prefix): New macro.
33127 (test-via-rtld-prefix): Likewise.
33128 (test-program-cmd): Likewise.
33129 (host-test-program-cmd): Likewise.
33130 * Makefile ($(common-objpfx)testrun.sh): Replace
33131 $(run-program-prefix) with $(test-program-prefix).
33132 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33133 $(rtld-LDFLAGS).
33134 ($(common-objpfx)shlib.lds): Likewise.
33135 (build-module-helper): Likewise.
33136 ($(common-objpfx)format.lds): Likewise.
33137 * Rules (binaries-pie-tests): New.
33138 (binaries-pie-notests): Likewise.
33139 (binaries-pie): Rewritten.
33140 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33141 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33142 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33143 (make-test-out): Replace $(host-built-program-cmd) with
33144 $(host-test-program-cmd).
33145 * config.make.in (build-hardcoded-path-in-tests): New variable.
33146 * configure.in (--enable-hardcoded-path-in-tests): New configure
33147 option.
33148 (hardcoded_path_in_tests): New AC_SUBST.
33149 * configure: Regenerated.
33150 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33151 $(built-program-cmd) with $(test-program-cmd).
33152 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33153 (test_program_cmd): This.
33154 * elf/Makefile ($(objpfx)order.out): Run test with
33155 $(test-program-prefix).
33156 ($(objpfx)order2.out): Likewise.
33157 ($(objpfx)tst-initorder.out): Likewise.
33158 ($(objpfx)tst-initorder2.out): Likewise.
33159 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33160 $(test-program-cmd).
33161 ($(objpfx)tst-array1-static.out): Likewise.
33162 ($(objpfx)tst-array2.out): Likewise.
33163 ($(objpfx)tst-array3.out): Likewise.
33164 ($(objpfx)tst-array4.out): Likewise.
33165 ($(objpfx)tst-array5.out): Likewise.
33166 ($(objpfx)tst-array5-static.out): Likewise.
33167 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33168 $(test-program-cmd).
33169 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33170 $(run-program-prefix) with $(test-program-prefix).
33171 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33172 (test_program_prefix): This.
33173 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33174 $(run-program-prefix) with $(test-program-prefix).
33175 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33176 (test_program_prefix): This.
33177 * iconvdata/tst-tables.sh: Likewise.
33178 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33179 $(run-program-prefix) with $(test-program-prefix).
33180 ($(objpfx)tst-translit.out): Likewise.
33181 ($(objpfx)tst-gettext2.out): Likewise.
33182 ($(objpfx)tst-gettext4.out): Likewise.
33183 ($(objpfx)tst-gettext6.out): Likewise.
33184 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33185 (test_program_prefix): This.
33186 * intl/tst-gettext2.sh: Likewise.
33187 * intl/tst-gettext4.sh Likewise.
33188 * intl/tst-gettext6.sh: Likewise.
33189 * intl/tst-translit.sh: Likewise.
33190 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33191 with $(test-program-cmd).
33192 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33193 $(run-program-prefix) with $(test-program-prefix).
33194 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33195 (test_program_prefix): This.
33196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33197 $(run-program-prefix) with $(test-program-prefix).
33198 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33199 (test_program_prefix): This.
33200 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33201 * posix/Makefile ($(objpfx)globtest.out): Replace
33202 $(run-via-rtld-prefix) and $(test-wrapper) with
33203 $(test-program-prefix) and $(test-via-rtld-prefix).
33204 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33205 $(test-program-prefix).
33206 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33207 $(host-test-program-cmd).
33208 (tst-spawn-ARGS): Likewise.
33209 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33210 $(test-program-prefix).
33211 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33212 (test_via_rtld_prefix): This.
33213 (test_wrapper): Renamed to ...
33214 (test_program_prefix): This.
33215 (run_program_prefix): Replaced by test_program_prefix.
33216 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33217 (test_program_prefix): This.
33218 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33219 with $(host-test-program-cmd).
33220 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33221 $(run-program-prefix) with $(test-program-prefix).
33222 ($(objpfx)tst-printf.out): Likewise.
33223 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33224 $(test-program-cmd).
33225 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33226 (test_program_prefix): This.
33227 * stdio-common/tst-unbputc.sh: Likewise.
33228 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33229 $(run-program-prefix) with $(test-program-prefix).
33230 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33231 (test_program_prefix): This.
33232 * string/Makefile ($(objpfx)tst-svc.out): Replace
33233 $(built-program-cmd) with $(test-program-cmd).
33234
c6fe55cf
AJ
332352013-01-11 Andreas Jaeger <aj@suse.de>
33236
33237 [BZ #15003]
33238 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33239 value. Sync with Linux 3.7.
33240
9e6919c8
DM
332412013-01-10 David S. Miller <davem@davemloft.net>
33242
33243 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33244 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33245 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33246
1c9f1a02
RM
332472013-01-10 Roland McGrath <roland@hack.frob.com>
33248
33249 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33250 never set.
33251 * configure: Regenerated.
33252
b9de2dde
DM
332532013-01-10 David S. Miller <davem@davemloft.net>
33254
33255 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33256 sparc V9 rather than using V8 code.
33257 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33258 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33259
e7f68ef4
RM
332602013-01-10 Roland McGrath <roland@hack.frob.com>
33261
33262 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33263 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33264 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33265 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33266 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33267 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33268 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33269 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33270 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33271 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33272 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33273 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33274 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33275 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33276 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33277 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33278 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33279 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33280 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33281 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33282 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33283 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33284 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33285 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33286 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33287 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33288 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33289
5a47cc9c
DM
332902013-01-10 David S. Miller <davem@davemloft.net>
33291
33292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33293
4cf8f209
L
332942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33295
33296 * posix/Makefile (tests-static): New variable.
33297 (tests): Add $(tests-static).
33298 (tst-exec-static-ARGS): New variable.
33299 (tst-spawn-static-ARGS): Likewise.
33300 * posix/tst-exec-static.c: New file.
33301 * posix/tst-spawn-static.c: Likewise.
33302 * posix/tst-exec.c: Support run directly.
33303 * posix/tst-spawn.c: Likewise.
33304
fed0faa1
JM
333052013-01-10 Joseph Myers <joseph@codesourcery.com>
33306
828beb13
JM
33307 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33308 long.
33309 * math/bits/mathcalls.h (llrint): Likewise.
33310 (llround): Likewise.
33311 * stdlib/stdlib.h (struct drand48_data): Likewise.
33312 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33313 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33314 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33315 Likewise.
33316 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33317 Likewise.
33318 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33319 (elf_greg_t): Likewise.
33320 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33321 (__jmp_buf): Likewise.
33322 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33323 definitions.
33324 (llrint): Likewise, for all definitions.
33325 (llrintl): Likewise.
33326
fed0faa1
JM
33327 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33328 Remove [__GNUC__] condition.
33329 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33330 condition to just [__USE_ISOC99].
33331 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33332
1a20cb20
L
333332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33334
33335 [BZ #14200]
33336 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33337 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33338 defined.
33339 (_POSIX_V6_ILP32_OFF32): Likewise.
33340 (_XBS5_ILP32_OFF32): Likewise.
33341 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33342 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33343
751b85f7
SP
333442013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33345
7490eb81
SP
33346 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33347
751b85f7
SP
33348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33349 doubles __mpexp_twomm1. Adjust usage.
33350 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33351 Remove.
33352
988197f0
AS
333532013-01-10 Andreas Schwab <schwab@suse.de>
33354
33355 [BZ #14964]
33356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33357 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33358
e83d7298
DM
333592013-01-09 David S. Miller <davem@davemloft.net>
33360
034ed64b 33361 [BZ #15003]
57f41c40
AS
33362 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33363 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33364 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33365 (TCP_FASTOPEN): Define.
e83d7298
DM
33366 (tcp_repair_opt): New structure.
33367 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33368 enum values.
57f41c40
AS
33369 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33370 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33371 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
33372 (tcp_cookie_transactions): New structure.
33373
d5e0b9bd
AB
333742013-01-09 Anton Blanchard <anton@samba.org>
33375
33376 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33377 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33378 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33379 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33380
0c07e3ea
JM
333812013-01-09 Joseph Myers <joseph@codesourcery.com>
33382
33383 * include/features.h (__USE_ANSI): Remove.
33384
232f7002
RM
333852013-01-09 Roland McGrath <roland@hack.frob.com>
33386
ad98e30c
RM
33387 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33388
232f7002
RM
33389 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33390
950c99ca
SP
333912013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33392
b5792741
SP
33393 * sysdeps/s390/fpu/libm-test-ulps: Update.
33394
47cf2278
SP
33395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33396
950c99ca
SP
33397 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33398 (__acr): Likewise.
33399 (__cpy): Likewise.
33400 (norm): Likewise.
33401 (denorm): Likewise.
33402 (__mp_dbl): Likewise.
33403 (__dbl_mp): Likewise.
33404 (add_magnitudes): Likewise.
33405 (sub_magnitudes): Likewise.
33406 (__add): Likewise.
33407 (__sub): Likewise.
33408 (__mul): Likewise.
33409 (__inv): Likewise.
33410 (__dvd): Likewise.
33411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33412 (__acr): Likewise.
33413 (__cpy): Likewise.
33414 (norm): Likewise.
33415 (denorm): Likewise.
33416 (__mp_dbl): Likewise.
33417 (__dbl_mp): Likewise.
33418 (add_magnitudes): Likewise.
33419 (sub_magnitudes): Likewise.
33420 (__add): Likewise.
33421 (__sub): Likewise.
33422 (__mul): Likewise.
33423 (__inv): Likewise.
33424 (__dvd): Likewise.
33425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33426 (__acr): Likewise.
33427 (__cpy): Likewise.
33428 (norm): Likewise.
33429 (denorm): Likewise.
33430 (__mp_dbl): Likewise.
33431 (__dbl_mp): Likewise.
33432 (add_magnitudes): Likewise.
33433 (sub_magnitudes): Likewise.
33434 (__add): Likewise.
33435 (__sub): Likewise.
33436 (__mul): Likewise.
33437 (__inv): Likewise.
33438 (__dvd): Likewise.
33439
eede9df9
JM
334402013-01-08 Joseph Myers <joseph@codesourcery.com>
33441
33442 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33443 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33444 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33445 2 && __USE_EXTERN_INLINES]: Likewise.
33446
c40ea3d9
AJ
334472013-01-08 Andreas Jaeger <aj@suse.de>
33448
33449 [BZ# 14985]
33450 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33451 Remove.
33452 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33453 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33454
2ccdea26
AB
334552013-01-07 Anton Blanchard <anton@samba.org>
33456
33457 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33458 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33459 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33460 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33462 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33463 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33464 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33466 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33469 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33471 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33472 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33474 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33475 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33476 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33477 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33478 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33479 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33480 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33481 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33482 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33483 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33484 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33486 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33487 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33489 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33492 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33494 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33495 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33496 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33497 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33499 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33500
a9708fed
JM
335012013-01-07 Joseph Myers <joseph@codesourcery.com>
33502
375607b9
JM
33503 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33504 (__MALLOC_PMT): Likewise.
33505 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33506 [__GNUC__], only on [_LIBC].
33507 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33508 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33509 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33510 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33511 forward declaration.
33512 (realloc_hook_ini): Likewise.
33513 (memalign_hook_ini): Likewise.
33514 (__libc_memalign): Do not use __MALLOC_PMT in variable
33515 declaration.
33516 (__libc_valloc): Likewise.
33517 (__libc_pvalloc): Likewise.
33518 (__libc_calloc): Likewise.
33519 (__posix_memalign): Likewise.
33520
a9708fed
JM
33521 [BZ #14996]
33522 * math/s_casinh.c: Include <float.h>.
33523 (__casinh): Do not do computation with squaring and square root
33524 for large arguments.
33525 * math/s_casinhf.c: Include <float.h>.
33526 (__casinhf): Do not do computation with squaring and square root
33527 for large arguments.
33528 * math/s_casinhl.c: Include <float.h>.
33529 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33530 (__casinhl): Do not do computation with squaring and square root
33531 for large arguments.
33532 * math/libm-test.inc (casin_test): Add more tests.
33533 (casinh_test): Likewise.
33534 * sysdeps/i386/fpu/libm-test-ulps: Update.
33535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33536
afec409a
L
335372013-01-04 H.J. Lu <hongjiu.lu@intel.com>
33538
33539 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33540 (__x86_64_raw_data_cache_size): Likewise.
33541 (__x86_64_data_cache_size_half): Likewise.
33542 (__x86_64_raw_data_cache_size_half): Likewise.
33543 (__x86_64_shared_cache_size): Likewise.
33544 (__x86_64_raw_shared_cache_size): Likewise.
33545 (__x86_64_shared_cache_size_half): Likewise.
33546 (__x86_64_raw_shared_cache_size_half): Likewise.
33547 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33548 to ...
33549 (__x86_data_cache_size): This.
33550 (__x86_64_raw_data_cache_size): Renamed to ...
33551 (__x86_raw_data_cache_size): This.
33552 (__x86_64_data_cache_size_half): Renamed to ...
33553 (__x86_data_cache_size_half): This.
33554 (__x86_64_raw_data_cache_size_half): Renamed to ...
33555 (__x86_raw_data_cache_size_half): This.
33556 (__x86_64_shared_cache_size): Renamed to ...
33557 (__x86_shared_cache_size): This.
33558 (__x86_64_raw_shared_cache_size): Renamed to ...
33559 (__x86_raw_shared_cache_size): This.
33560 (__x86_64_shared_cache_size_half): Renamed to ...
33561 (__x86_shared_cache_size_half): This.
33562 (__x86_64_raw_shared_cache_size_half): Renamed to ...
33563 (__x86_raw_shared_cache_size_half): This.
33564 * sysdeps/x86_64/memcpy.S: Updated.
33565 * sysdeps/x86_64/memset.S: Likewise.
33566 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33567 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33568 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33569
0b3986d0
DM
335702013-01-04 David S. Miller <davem@davemloft.net>
33571
33572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33573
e47686e9
AS
335742013-01-04 Andreas Schwab <schwab@linux-m68k.org>
33575
d643bac1
AS
33576 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33577 1 to avoid redefinition warning.
33578 (__USE_GNU): Don't define.
33579 (init_signaling_nan): Protoize.
33580
e47686e9
AS
33581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33582
b18decba
SP
335832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33584
fffb407f
SP
33585 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33587 (__cpymn): Likewise.
33588 (norm): Remove commented code.
33589 (denorm): Likewise.
33590 (__mp_dbl): Likewise.
33591 (__inv): Likewise.
33592 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33593 (__cpymn): Likewise.
33594 (norm): Remove commented code.
33595 (denorm): Likewise.
33596 (__mp_dbl): Likewise.
33597 (__inv): Likewise.
33598
b18decba
SP
33599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33600 mp_no value for 1.0 and 2.0.
33601 (norm): Use RADIXI instead of radixi.d.
33602 (denorm): Likewise.
33603 (__mul): Use 0.0 instead of zero.d.
33604 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33605 mp_no value for 1.0 and 2.0.
33606 (norm): Use RADIXI instead of radixi.d.
33607 (denorm): Likewise.
33608 (__mul): Use 0.0 instead of zero.d.
33609
cdc1c96f
JM
336102013-01-04 Joseph Myers <joseph@codesourcery.com>
33611
33612 [BZ #14994]
33613 * math/s_casinh.c (__casinh): Reduce finite argument to first
33614 quadrant then set signs of results at the end.
33615 * math/s_casinhf.c (__casinhf): Likewise.
33616 * math/s_casinhl.c (__casinhl): Likewise.
33617 * math/libm-test.inc (casin_test): Add more tests.
33618 (casinh_test): Likewise.
33619 * sysdeps/i386/fpu/libm-test-ulps: Update.
33620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33621
302913e1
SP
336222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33623
6420d207
SP
33624 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33625
a9e48ab4
SP
33626 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33627
b7837264
SP
33628 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33629 declarations.
33630 (denorm): Likewise.
33631 (__mp_dbl): Likewise.
33632 (__inv): Likewise.
33633
f8af25d2
SP
33634 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33635 and adjust the header comment.
33636
302913e1
SP
33637 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33638 variable name from declaration.
33639
5d7dd1ca
L
336402013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33641
33642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33643 Initialize COMMON_CPUID_INDEX_7 element.
33644 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33645 (CPUID_RTM): Likewise.
33646 (HAS_RTM): Likewise.
33647 (COMMON_CPUID_INDEX_7): New enum.
33648
2f5f40f4
AS
336492013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33650
33651 [BZ #14981]
33652 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33653 size is zero, record memory as freed.
33654
4056f4a0
AJ
336552013-01-03 Andreas Jaeger <aj@suse.de>
33656
33657 * po/ia.po: Add new Interlingua translation.
33658
ab15736f 336592012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33660
33661 * locale/programs/localedef.c: Fix description of '--posix' flag.
33662
568035b7
JM
336632013-01-02 Joseph Myers <joseph@codesourcery.com>
33664
e6898b8d
JM
33665 * NEWS: Update dates in second copyright notice.
33666 * README: Update copyright dates in example.
33667 * manual/libc.texinfo: Update copyright dates.
33668 * scripts/test-installation.pl: Update copyright date in --version
33669 output.
33670
0e2f9562
JM
33671 * hurd/ctty-input.c: Fix copyright notice formatting.
33672 * hurd/ctty-output.c: Likewise.
33673 * hurd/dtable.c: Likewise.
33674 * hurd/hurd-raise.c: Likewise.
33675 * hurd/hurdprio.c: Likewise.
33676 * hurd/msgportdemux.c: Likewise.
33677 * misc/sys/file.h: Likewise.
33678 * misc/sys/ioctl.h: Likewise.
33679 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33680 * sysdeps/mach/hurd/chdir.c: Likewise.
33681 * sysdeps/mach/hurd/fchdir.c: Likewise.
33682 * sysdeps/mach/hurd/rename.c: Likewise.
33683 * sysdeps/mach/hurd/rmdir.c: Likewise.
33684 * sysdeps/mach/hurd/seekdir.c: Likewise.
33685 * sysdeps/mach/hurd/setsid.c: Likewise.
33686 * sysdeps/posix/wait3.c: Likewise.
33687
568035b7
JM
33688 * All files with FSF copyright notices: Update copyright dates
33689 using scripts/update-copyrights.
33690 * intl/plural.c: Regenerated.
33691 * locale/programs/charmap-kw.h: Likewise.
33692 * locale/programs/locfile-kw.h: Likewise.
33693
da08f647
SP
336942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33695
0f5477af
SP
33696 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33697 four values.
33698
44e0d4c2
SP
33699 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33700 calculation loop and add branch prediction.
33701
4d55b4e5
SP
33702 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33703 check access beyond bounds of m1np.
33704
da08f647
SP
33705 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33706 MPTWO.
33707 (__inv): Remove local variable MPTWO to use the global
33708 constant.
33709 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33710 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33711 variable MPTWO.
33712 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33713 MP3HALFS static const.
33714
8e051029
DM
337152013-01-01 David S. Miller <davem@davemloft.net>
33716
33717 * po/ca.po: Update from translation team.
33718
f4cf5f2d
JM
337192013-01-01 Joseph Myers <joseph@codesourcery.com>
33720
33721 * scripts/update-copyrights: New file.
33722 * Makeconfig: Reformat copyright notice.
33723 * ctype/ctype.h: Likewise.
33724 * debug/swprintf_chk.c: Likewise.
33725 * elf/dl-cache.c: Likewise.
33726 * elf/dl-debug.c: Likewise.
33727 * elf/dl-object.c: Likewise.
33728 * grp/initgroups.c: Likewise.
33729 * hurd/Makefile: Likewise.
33730 * hurd/hurd/signal.h: Likewise.
33731 * hurd/hurdfault.c: Likewise.
33732 * hurd/hurdioctl.c: Likewise.
33733 * hurd/hurdlookup.c: Likewise.
33734 * hurd/intr-msg.c: Likewise.
33735 * iconv/gconv_open.c: Likewise.
33736 * libio/swprintf.c: Likewise.
33737 * locale/lc-ctype.c: Likewise.
33738 * locale/nl_langinfo.c: Likewise.
33739 * mach/Machrules: Likewise.
33740 * mach/Makefile: Likewise.
33741 * malloc/obstack.h: Likewise.
33742 * manual/Makefile: Likewise.
33743 * manual/tsort.awk: Likewise.
33744 * misc/bits/stab.def: Likewise.
33745 * nis/nis_print_group_entry.c: Likewise.
33746 * nis/nis_table.c: Likewise.
33747 * nis/nss_compat/compat-pwd.c: Likewise.
33748 * nis/nss_compat/compat-spwd.c: Likewise.
33749 * po/Makefile: Likewise.
33750 * posix/fnmatch.c: Likewise.
33751 * posix/regex.h: Likewise.
33752 * resolv/Makefile: Likewise.
33753 * resolv/nss_dns/dns-network.c: Likewise.
33754 * resolv/res_hconf.c: Likewise.
33755 * scripts/gen-sorted.awk: Likewise.
33756 * soft-fp/soft-fp.h: Likewise.
33757 * stdio-common/printf.h: Likewise.
33758 * stdlib/monetary.h: Likewise.
33759 * stdlib/random.c: Likewise.
33760 * stdlib/random_r.c: Likewise.
33761 * sysdeps/generic/Makefile: Likewise.
33762 * sysdeps/gnu/Makefile: Likewise.
33763 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33765 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33767 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33773 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33774 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33775 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33776 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33777 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33778 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33779 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33780 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33781 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33782 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33783 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33784 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33785 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33791 * sysdeps/mach/hurd/errnos.awk: Likewise.
33792 * sysdeps/mach/hurd/fork.c: Likewise.
33793 * sysdeps/mach/hurd/getcwd.c: Likewise.
33794 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33795 * sysdeps/mach/hurd/mmap.c: Likewise.
33796 * sysdeps/mach/hurd/utimes.c: Likewise.
33797 * sysdeps/mach/hurd/xmknod.c: Likewise.
33798 * sysdeps/posix/profil.c: Likewise.
33799 * sysdeps/posix/readdir_r.c: Likewise.
33800 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33801 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33802 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33803 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33805 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33806 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33807 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33809 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33810 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33811 * sysdeps/pthread/lio_listio.c: Likewise.
33812 * sysdeps/sparc/dl-procinfo.h: Likewise.
33813 * sysdeps/unix/i386/sysdep.S: Likewise.
33814 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33815 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33816 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33817 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33819 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33820 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33821 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33822 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33823 * sysdeps/wordsize-32/divdi3.c: Likewise.
33824 * time/sys/time.h: Likewise.
33825 * wcsmbs/Makefile: Likewise.
33826
0549fbba
DM
338272013-01-01 David S. Miller <davem@davemloft.net>
33828
a141f1a7
DM
33829 * po/fr.po: Update from translation team.
33830
0549fbba
DM
33831 * catgets/gencat.c: Update copyright year.
33832 * csu/version.c: Likewise.
33833 * debug/catchsegv.sh: Likewise.
33834 * debug/pcprofiledump.c: Likewise.
33835 * debug/xtrace.sh: Likewise.
33836 * elf/ldconfig.c: Likewise.
33837 * elf/ldd.bash.in: Likewise.
33838 * elf/pldd.c: Likewise.
33839 * elf/sotruss.ksh: Likewise.
33840 * elf/sprof.c: Likewise.
33841 * iconv/iconv_prog.c: Likewise.
33842 * iconv/iconvconfig.c: Likewise.
33843 * locale/programs/locale.c: Likewise.
33844 * locale/programs/localedef.c: Likewise.
33845 * login/programs/pt_chown.c: Likewise.
33846 * malloc/memusage.sh: Likewise.
33847 * malloc/memusagestat.c: Likewise.
33848 * malloc/mtrace.pl: Likewise.
33849 * nscd/nscd.c: Likewise.
33850 * nss/getent.c: Likewise.
33851 * nss/makedb.c: Likewise.
33852 * posix/getconf.c: Likewise.
33853
18ea052c
SP
338542012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33855
33856 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33857 numbers.
33858
9c89fca6
MF
338592012-12-30 Mike Frysinger <vapier@gentoo.org>
33860
33861 * math/bits/mathcalls.h (modf): Use __nonnull.
33862
085ec079
SP
338632012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33864
33865 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33866 (split): Use macro CN instead of the bare value.
33867 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33868 could be used.
33869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33870 instead of the bare value.
33871 (power1): Likewise.
33872
6d9f97e1
SP
338732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33874
d63f73be
SP
33875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33876 __ATAN_TWOM.
33877 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33878
6d9f97e1
SP
33879 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33880 their values.
33881 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33882 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33883 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33884 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33885
4c4febf5
AJ
338862012-12-28 Andreas Jaeger <aj@suse.de>
33887
af5843ef
AJ
33888 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33889 values are from Linux 3.7.
33890
4c4febf5
AJ
33891 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33892 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33893
99136f82
SP
338942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33895
2f216c3c 33896 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33897 TRUE case.
33898
99136f82
SP
33899 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33900 (norm): Likewise.
33901 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33902 variables with preprocessor constants.
33903 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33904 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33905 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33906
7fffbdff
BH
339072012-12-27 Bruno Haible <bruno@clisp.org>
33908
33909 [BZ #14317]
33910 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33911 only if needed.
33912
b76eb5f0
SP
339132012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33914
31a7fe5c
SP
33915 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33916 and use variable directly.
33917 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33918
b76eb5f0
SP
33919 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33920 MPONE.
33921 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33922 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33923 variable MPONE.
33924 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33926 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33927 include directive. Remove local variable MPONE.
33928 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33931
2c8bfe7d
DM
339322012-12-25 David S. Miller <davem@davemloft.net>
33933
33934 * version.h (RELEASE): Set to "development".
33935 (VERSION): Set to "2.17.90".
33936 * NEWS: Add 2.18 section.
33937
147d03b0
DM
339382012-12-21 David S. Miller <davem@davemloft.net>
33939
33940 * po/hr.po: Update from translation team.
33941
a8ebb2b9
AK
339422012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33943
33944 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33945
95b4f1b6
SE
339462012-12-19 Steve Ellcey <sellcey@mips.com>
33947
b2d94007 33948 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33949
cedb2a90
MS
339502012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33951
33952 * manual/contrib.texi (Contributors): Spelling correction.
33953
bbf527d6
DM
339542012-12-15 David S. Miller <davem@davemloft.net>
33955
33956 * po/ru.po: Update from translation team.
33957
bc38c906
DM
339582012-12-13 David S. Miller <davem@davemloft.net>
33959
85429b1a
DM
33960 * NEWS: Mention IFUNC testsuite enhancements.
33961
d283e353
DM
33962 * po/pl.po: Update from translation team.
33963 * po/bg.po: Likewise.
33964
bc38c906
DM
33965 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33966 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33967
a181b0d7
DM
339682012-12-11 David S. Miller <davem@davemloft.net>
33969
4641d57e
DM
33970 * po/sv.po: Update from translation team.
33971
f7bc6495
DM
33972 * po/vi.po: Update from translation team.
33973
6fc9048f
DM
33974 * po/cs.po: Update from translation team.
33975
a181b0d7
DM
33976 * po/de.po: Update from translation team.
33977 * po/eo.po: Likewise.
33978 * po/nl.po: Likewise.
33979
f70bfe80
SP
339802012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33981
3c8b4190
SP
33982 [BZ #14246]
33983 * manual/argp.texi (Argp Helper Functions): Move node to follow
33984 Argp Parsing State.
33985
f70bfe80
SP
33986 [BZ #14872]
33987 * manual/conf.texi (Limits on File System Capacity): Mention if
33988 terminating null is included in the max size.
33989
188f0adf
AJ
339902012-12-10 Andreas Jaeger <aj@suse.de>
33991
33992 * po/cs.po: Update from translation team.
33993
56e7d3ad
SP
339942012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33995
33996 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33997 void pointer and cast to uintptr_t.
33998 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33999 path.
34000 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34001 * sysdeps/s390/s390-64/memset.S: Likewise.
34002
76f2d2ea 340032012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
34004
34005 [BZ #14833]
34006 * menual/message.texi (Message Translation): Fix typos.
34007 (Helper programs for gettext): Likewise.
34008
67cbf9a2
AS
340092012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34010
34011 [BZ #14898]
34012 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34013 Change to -1.
34014
682d0e9a
DM
340152012-12-07 David S. Miller <davem@davemloft.net>
34016
34017 * po/libc.pot: Update.
34018
573cd484
RH
340192012-12-07 Richard Henderson <rth@redhat.com>
34020
7e9da188 34021 [BZ #10114]
573cd484
RH
34022 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34023 normal/normal case to before the switch.
34024 (_FP_DIV): Likewise.
34025
e933a943
MF
340262012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34027 Mike Frysinger <vapier@gentoo.org>
34028
34029 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34030 check for __NR_fadvise64_64.
34031
82123268
CM
340322012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34033
34034 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34035 0, not just to plain "0" as a statement.
34036 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34037 with cw.
34038
d9814526
JM
340392012-12-06 Joseph Myers <joseph@codesourcery.com>
34040
34041 * NEWS: Use sourceware.org in Bugzilla URL.
34042
7728c574
SP
340432012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34044
f16946dd
SP
34045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34046 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34047
5704bbcb
SP
34048 * stdio-common/tst-put-error.c (do_test): Add newline to the
34049 padded test to ensure flush.
34050
17aa0516
JL
340512012-12-05 Jeff Law <law@redhat.com>
34052
34053 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34054
363313b5
JM
340552012-12-05 Joseph Myers <joseph@codesourcery.com>
34056
effbd42a
JM
34057 * README: Don't refer to ports add-on as distributed separately.
34058 Mention AArch64 in list of systems supported in the ports add-on.
34059
87600365
JM
34060 * LICENSES: Add more non-FSF copyright and license notices.
34061
a0d7066a
JM
34062 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34063 ((unused)).
34064
66ca5a5b
JM
34065 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34066
363313b5
JM
34067 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34068 10000 as width of padded output.
34069
b37984ad
JM
340702012-12-04 Joseph Myers <joseph@codesourcery.com>
34071
9003570a
JM
34072 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34073
b37984ad
JM
34074 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34075 variable LX with __attribute__ ((unused)).
34076 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34077 Likewise.
34078 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34079 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34081 with __attribute__ ((unused)).
34082
c8df52ec
DM
340832012-12-04 David S. Miller <davem@abraco.davemloft.net>
34084
34085 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34086
b3b099af
JM
340872012-12-04 Joseph Myers <joseph@codesourcery.com>
34088
c33aa6e3
JM
34089 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34090 (CFLAGS-nldbl-acos.c): New variable.
34091 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34092 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34093 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34094 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34095 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34096 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34097 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34098 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34099 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34100 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34101 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34102 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34103 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34104 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34105 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34106 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34107 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34108 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34109 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34110 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34111 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34112 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34113 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34114 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34115 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34116 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34117 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34118 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34119 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34120 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34121 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34122 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34123 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34124 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34125 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34126 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34127 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34128 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34129 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34130 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34131 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34132 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34133 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34134 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34135 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34136 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34137 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34138 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34139 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34140 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34141 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34142 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34143 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34144 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34145 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34146 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34147 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34148 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34149 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34150 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34151 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34152 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34153 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34154 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34155 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34156 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34157 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34158 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34159 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34160 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34161 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34162 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34163 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34164 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34165 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34166 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34167 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34168 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34169 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34170 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34171 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34172 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34173 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34174 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34175 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34176 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34177 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34178 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34179 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34180 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34181 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34182 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34183 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34184 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34185 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34186 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34187 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34188
20f0018d
JM
34189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34190 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34191
b3b099af
JM
34192 [BZ #14914]
34193 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34194 whole low double instead of just low 47 bits when splitting values
34195 into two parts.
34196
029264d1
AM
341972012-12-03 Allan McRae <allan@archlinux.org>
34198
34199 * manual/stdio.texi (Predefined Printf Handlers): Remove
34200 @hsep and @vsep usage.
34201
c9d6789e
MF
342022012-12-03 Mike Frysinger <vapier@gentoo.org>
34203
34204 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34205 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34206
4b7634a5
JL
342072012-12-03 Jeff Law <law@redhat.com>
34208
34209 * time/sys/time.h (settimeofday): Do not mark TV argument
34210 as __nonnull.
34211
eb6cbd24
MF
342122012-12-01 Mike Frysinger <vapier@gentoo.org>
34213
34214 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34215 when currently writing and seek to current position when not.
34216 * libio/Makefile (tests): Remove bug-fclose1.
34217 * libio/bug-fclose1.c: Delete.
34218
f638872a
JM
342192012-12-01 Joseph Myers <joseph@codesourcery.com>
34220
34221 * manual/arith.texi (feenableexcept): Fix typo.
34222 (fedisableexcept): Likewise.
34223
48085d14
RM
342242012-11-30 Roland McGrath <roland@hack.frob.com>
34225
34226 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34227 second, differently-typed declaration, rather than a cast.
34228
1a538b9f
SP
342292012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34230
34231 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34232 * include/rpc/svc.h: ... here.
34233
d07f2ff1 342342012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
34235
34236 [BZ #13013]
34237 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34238 depending n and resplen2 to catch cases where answer
34239 equals answerp2.
34240
c93ec1f0
CD
342412012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34242
34243 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34244 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34245
37db69de
MF
342462012-11-29 Mike Frysinger <vapier@gentoo.org>
34247
34248 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34249
e10c4e4f
RM
342502012-11-29 Roland McGrath <roland@hack.frob.com>
34251
34252 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34253
2af1b328
JL
342542012-11-28 Jeff Law <law@redhat.com>
34255
34256 [BZ #13761]
34257 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34258 dataset_temporary. Track alloca usage into alloca_used.
34259 If dataset is large allocate and release it via malloc/free.
34260
111db5b1
FW
342612012-06-04 Florian Weimer <fweimer@redhat.com>
34262
f06cc227 34263 [BZ #14197]
111db5b1
FW
34264 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34265
dd694abd
DM
342662012-11-28 David S. Miller <davem@davemloft.net>
34267
34268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34269
9984dd01
JM
342702012-11-28 Joseph Myers <joseph@codesourcery.com>
34271
34272 [BZ #14803]
34273 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34274 of pi/2 rounded to nearest to 64 bits.
34275 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34276 nearest to 64 bits.
34277 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34278 bits.
34279
14bc93a9
JL
342802012-11-28 Jeff Law <law@redhat.com>
34281 Martin Osvald <mosvald@redhat.com>
34282
34283 [BZ #14889]
34284 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34285 * sunrpc/svc.c: Include time.h.
34286 (__svc_accept_failed): New function.
34287 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34288 any reason other than EINTR, call __svc_accept_failed.
34289 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34290 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34291
e3c6aa3a
AS
342922012-11-28 Andreas Schwab <schwab@suse.de>
34293
34294 * scripts/abilist.awk: Also handle indirect functions in .opd
34295 section.
34296
1bead169
JM
342972012-11-28 Joseph Myers <joseph@codesourcery.com>
34298
34299 [BZ #13881]
34300 * sysdeps/x86/fpu/powl_helper.c: New file.
34301 * sysdeps/x86/fpu/Makefile: Likewise.
34302 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34303 (p3): New object.
34304 (__ieee754_powl): Use __powl_helper for finite arguments except
34305 integer exponents below 8.
34306 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34307 (p3): New object.
34308 (__ieee754_powl): Use __powl_helper for finite arguments except
34309 integer exponents below 8.
34310 * math/libm-test.inc (pow_test): Add more tests and enable some
34311 previously disabled tests.
34312 * sysdeps/i386/fpu/libm-test-ulps: Update.
34313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34314
0817d63d
SP
343152012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34316 Carlos O'Donell <carlos_odonell@mentor.com>
34317
34318 * nss/makedb.c (is_prime): Assert that input is odd and greater
34319 than 4. Note that fact in a comment too.
34320 (next_prime): Add 4 to input.
34321
de2fd463
SP
343222012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34323
34324 [BZ #11741]
34325 * libio/Makefile (tests): Add test case tst-fwrite-error.
34326 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34327 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34328 * libio/tst-fwrite-error.c: New test case.
34329
c515fb51
L
343302012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34331
34332 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34333 before casting to void *.
34334 * include/libc-internal.h (__pointer_type): New macro.
34335 (__integer_if_pointer_type_sub): Likewise.
34336 (__integer_if_pointer_type): Likewise.
34337 (cast_to_integer): Likewise.
34338 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34339 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34340 before casting to atomic64_t.
34341 (atomic_exchange_acq): Likewise.
34342 (__arch_exchange_and_add_body): Likewise.
34343 (__arch_add_body): Likewise.
34344 (atomic_add_negative): Likewise.
34345 (atomic_add_zero): Likewise.
34346
4cf77aa9
JM
343472012-11-26 Joseph Myers <joseph@codesourcery.com>
34348
34349 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34350 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34351 (add_fdes): Likewise.
34352 (linear_search_fdes): Likewise.
34353 (binary_search_unencoded_fdes): Likewise.
34354
d260b3b4
AS
343552012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34356
34357 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34358
67060746
AC
343592012-11-24 Adam Conrad <adconrad@0c3.net>
34360
34361 * configure.in: Autodetect C++ header directories.
34362 * configure: Regenerated.
34363
800938a1
MF
343642012-11-23 Mike Frysinger <vapier@gentoo.org>
34365
34366 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34367
4e6e34e6
AS
343682012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34369
34370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34371
7c7feb47
JM
343722012-11-22 Joseph Myers <joseph@codesourcery.com>
34373
7184dcdf
JM
34374 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34375 LDBL_MANT_DIG == 106]: Disable some tests.
34376 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34377 Likewise.
34378 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34379 Likewise.
34380
0a42601f
JM
34381 [BZ #14871]
34382 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34383 input for small inputs. Return +/- pi/2 for large inputs.
34384 * math/libm-test.inc (atan_test): Add more tests.
34385
79c9b9fe
JM
34386 * sysdeps/generic/unwind-dw2-fde-glibc.c
34387 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34388 __attribute__ ((unused)).
34389
c60d3bf2
JM
34390 [BZ #14645]
34391 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34392 x * y if x and y are nonzero and z is zero.
34393
ef1e0867
JM
34394 [BZ #14811]
34395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34396 nonzero exponents with absolute value below 0x1p-117 to +/-
34397 0x1p-117.
34398
1468ded3
JM
34399 [BZ #14869]
34400 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34401 up arguments below 2**-450, not just those below 2**-500.
34402 * math/libm-test.inc (hypot_test): Add another test.
34403
8e27e3cc
JM
34404 [BZ #14868]
34405 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34406 Return a+b for ratio over 2**120, not 2**60.
34407 * math/libm-test.inc (hypot_test): Add another test.
34408
c9c0279b
JM
34409 * math/libm-test.inc (clog_test): Use
34410 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34411 (clog10_test): Likewise.
34412
7c7feb47
JM
34413 [BZ #6778]
34414 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34415
fff1530e
AS
344162012-11-22 Andreas Schwab <schwab@suse.de>
34417
34418 * sysdeps/i386/fpu/libm-test-ulps: Update.
34419
94558d30
PT
344202012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34421
34422 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34423 printf output with newline.
34424
7e1be741
L
344252012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34426
6bfea974
L
34427 [BZ #14865]
34428 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34429 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34430 -z nodlopen, -z initfirst and -z execstack support.
34431 * configure: Regenerated.
34432
7e1be741
L
34433 * elf/elf.h (DF_1_NODIRECT): New macro.
34434 (DF_1_IGNMULDEF): Likewise.
34435 (DF_1_NOKSYMS): Likewise.
34436 (DF_1_NOHDR): Likewise.
34437 (DF_1_EDITED): Likewise.
34438 (DF_1_NORELOC): Likewise.
34439 (DF_1_SYMINTPOSE): Likewise.
34440 (DF_1_GLOBAUDIT): Likewise.
34441 (DF_1_SINGLETON): Likewise.
34442 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34443 DT_1_SUPPORTED_MASK bits.
34444 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34445
105ce2ce
CD
344462012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34447
34448 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34449
123be9de
TS
344502012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34451
d072f3f7
TS
34452 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34453 macro.
34454
123be9de
TS
34455 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34456 (sendmmsg): Move declarations...
34457 * socket/sys/socket.h: ... here.
34458 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34459 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34460 include it from...
34461 * socket/recvmmsg.c: ... this new file.
34462 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34463 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34464 definition of __sendmmsg hidden.
34465 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34466 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34467 Move ENOSYS stub into and include it from...
34468 * socket/sendmmsg.c: ... this new file.
34469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34470 (sysdep_routines): Move recvmmsg and sendmmsg...
34471 * socket/Makefile (routines): ... here.
34472 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34473 (GLIBC_PRIVATE): Add __sendmmsg.
34474 * include/sys/socket.h (__sendmmsg): Add declarations.
34475 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34476 sendmmsg.
34477
cf9a5d18
JM
344782012-11-20 Joseph Myers <joseph@codesourcery.com>
34479
34480 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34481 variable I1 with __attribute__ ((unused)).
34482 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34483
ecd4caf9
JM
344842012-11-19 Joseph Myers <joseph@codesourcery.com>
34485
be14d48f
JM
34486 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34487 DUMMY variables with __attribute__ ((unused)).
34488
ecd4caf9
JM
34489 * bits/byteswap.h: Include <bits/types.h>.
34490 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34491
986cab95
PT
344922012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34493
34494 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34495 string_t. Do not manually set errno.
34496 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34497 length with __strnlen. Make sure to both set errno and return it on
34498 failure.
34499
6d33cc9d
DM
345002012-11-19 David S. Miller <davem@davemloft.net>
34501
34502 With help from Joseph Myers.
34503 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34504 very large arguments properly.
34505 * math/libm-test.inc (atan_test): New tests.
34506 (atan2_test): New tests.
34507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34509
ee663277
JM
345102012-11-19 Joseph Myers <joseph@codesourcery.com>
34511
877f2d8e
JM
34512 [BZ #14856]
34513 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34514 Define to 3.
34515
116fc08a
JM
34516 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34517 [POSIX] (EADDRNOTAVAIL): Likewise.
34518 [POSIX] (EAFNOSUPPORT): Likewise.
34519 [POSIX] (EALREADY): Likewise.
34520 [POSIX] (ECONNABORTED): Likewise.
34521 [POSIX] (ECONNREFUSED): Likewise.
34522 [POSIX] (ECONNRESET): Likewise.
34523 [POSIX] (EDESTADDRREQ): Likewise.
34524 [POSIX] (EDQUOT): Likewise.
34525 [POSIX] (EHOSTUNREACH): Likewise.
34526 [POSIX] (EIDRM): Likewise.
34527 [POSIX] (EISCONN): Likewise.
34528 [POSIX] (ELOOP): Likewise.
34529 [POSIX] (EMULTIHOP): Likewise.
34530 [POSIX] (ENETDOWN): Likewise.
34531 [POSIX] (ENETUNREACH): Likewise.
34532 [POSIX] (ENOBUFS): Likewise.
34533 [POSIX] (ENODATA): Likewise.
34534 [POSIX] (ENOLINK): Likewise.
34535 [POSIX] (ENOMSG): Likewise.
34536 [POSIX] (ENOPROTOOPT): Likewise.
34537 [POSIX] (ENOSR): Likewise.
34538 [POSIX] (ENOSTR): Likewise.
34539 [POSIX] (ENOTCONN): Likewise.
34540 [POSIX] (ENOTSOCK): Likewise.
34541 [POSIX] (EOPNOTSUPP): Likewise.
34542 [POSIX] (EOVERFLOW): Likewise.
34543 [POSIX] (EPROTO): Likewise.
34544 [POSIX] (EPROTONOSUPPORT): Likewise.
34545 [POSIX] (EPROTOTYPE): Likewise.
34546 [POSIX] (ESTALE): Likewise.
34547 [POSIX] (ETIME): Likewise.
34548 [POSIX] (ETXTBSY): Likewise.
34549 [POSIX] (EWOULDBLOCK): Likewise.
34550 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34551 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34552 [POSIX] (SEEK_CUR): Likewise.
34553 [POSIX] (SEEK_END): Likewise.
34554 [POSIX || UNIX98] (mode_t): Do not require.
34555 [POSIX] (off_t): Likewise.
34556 [POSIX] (pid_t): Likewise.
34557 [POSIX] (sys/stat.h): Do not allow header.
34558 [POSIX] (unistd.h): Likewise.
34559 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34560 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34561 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34562 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34563 require.
34564 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34565 sigevent): Specify elements.
34566 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34567 entry.
34568 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34569 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34570
a483863f
JM
34571 * conform/data/cpio.h-data [POSIX]: Disable whole file.
34572 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34573 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34574 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34575 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34576 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34577 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34578 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34579 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34580 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34581 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34582 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34583 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34585 Likewise.
34586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34587 Likewise.
34588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34589 Likewise.
34590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34591 Likewise.
34592 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34594 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34595 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34596 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34597 Specify lower bound on value.
34598 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34599 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34600 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34601 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34602 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34603 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34604 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34605 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34606 value.
34607 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34608 as optional.
34609 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34610 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34611 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34612 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34613 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34614 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34615 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34616 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34617 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34618 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34619 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34620 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34621 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34622 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34623 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34624 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34625 entry.
34626 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34627 optional.
34628 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34629 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34630 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34631 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34632 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34634 Likewise.
34635 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34636 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34637 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34638 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34639 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34640 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34642 as optional.
34643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34644 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34646 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34647 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34648 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34649 specify as optional.
34650 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34651 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34652 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34653 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34654 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34655 [XPG3] (NL_LANGMAX): Likewise.
34656 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34657 [POSIX || XPG3] (NL_NMAX): Likewise.
34658 [POSIX || XPG3] (NL_SETMAX): Likewise.
34659 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34660 [XPG3] (NZERO): Likewise.
34661 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34662 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34663 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34664 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34665 (REG_ERANGE): Expect.
34666 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34667 optional-constant.
34668 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34669 Use (void) in prototype.
34670 [POSIX] (*_t): Allow.
34671 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34672 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34673 (WRDE_BADVAL): Expect.
34674
5ba924e3
JM
34675 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34676 expect.
34677 [XPG3 || XPG4] (O_RSYNC): Likewise.
34678 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34679 Likewise.
34680 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34681 [XPG3 || XPG4] (sigqueue): Likewise.
34682 [XPG3 || XPG4] (sigtimedwait): Likewise.
34683 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34684 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34685 [XPG3 || XPG4] (vsnprintf): Likewise.
34686 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34687 Likewise.
34688 [XPG3 || XPG4] (blksize_t): Likewise.
34689 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34690 Likewise.
34691 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34692 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34693 [XPG3 || XPG4] (struct itimerspec): Likewise.
34694 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34695 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34696 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34697 [XPG3 || XPG4] (clockid_t): Likewise.
34698 [XPG3 || XPG4] (timer_t): Likewise.
34699 [XPG3 || XPG4] (clock_getres): Likewise.
34700 [XPG3 || XPG4] (clock_gettime): Likewise.
34701 [XPG3 || XPG4] (clock_settime): Likewise.
34702 [XPG3 || XPG4] (nanosleep): Likewise.
34703 [XPG3 || XPG4] (timer_create): Likewise.
34704 [XPG3 || XPG4] (timer_delete): Likewise.
34705 [XPG3 || XPG4] (timer_gettime): Likewise.
34706 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34707 [XPG3 || XPG4] (timer_settime): Likewise.
34708 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34709 [XPG3 || XPG4] (getlogin_r): Likewise.
34710 [XPG3 || XPG4] (pread): Likewise.
34711 [XPG3 || XPG4] (pthread_atfork): Likewise.
34712 [XPG3 || XPG4] (pwrite): Likewise.
34713
ee663277
JM
34714 [BZ #14835]
34715 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34716 <bits/siginfo.h>.
34717
942caa16
PT
347182012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34719
e19af380
PT
34720 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34721 finalizing MALLSTREAM.
34722
942caa16
PT
34723 * sysdeps/mach/hurd/syncfs.c: New file.
34724
cfde9b46
SP
347252012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34726
34727 [BZ #14719]
34728 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34729 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34730 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34731 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34732 (_nss_dns_gethostbyname4_r): Likewise.
34733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34734 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34735
f6da27e5
PH
347362012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34737
34738 [BZ #13763]
34739 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34740
6665d4a2
SM
347412012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34742
1f51ee92
SM
34743 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34744 * elf/cache.c (print_entry): Print ",AArch64" for
34745 FLAG_AARCH64_LIB64
34746
6665d4a2
SM
34747 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34748 * elf/cache.c (print_entry): Print ",hard-float" for
34749 FLAG_ARM_LIBHF.
34750
05b227bd
DM
347512012-11-18 David S. Miller <davem@davemloft.net>
34752
34753 With help from Joseph Myers.
34754 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34755 cutoff to 2**-13.
34756 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34757 cutoff to 2**-25.
34758 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34759 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34760 small.
34761 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34762 * math/libm-test.inc (y0_test): New tests.
34763 (y1_test): New tests.
34764 * sysdeps/i386/fpu/libm-test-ulps: Update.
34765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34767
786b0b67
AS
347682012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34769
34770 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34771 64-bit targets.
34772 * configure: Regenerated.
34773
8e18b86d
DM
347742012-11-17 David S. Miller <davem@davemloft.net>
34775
34776 [BZ #14811]
34777 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34778 nonzero exponents with absolute value below 0x1p-128 to +/-
34779 0x1p-128.
34780
531f1ae0
JM
347812012-11-17 Joseph Myers <joseph@codesourcery.com>
34782
12df29e2
JM
34783 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34784
150dc1a0
JM
34785 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34786
531f1ae0
JM
34787 * posix/getconf-speclist.c: New file.
34788 * posix/posix-envs.def: Likewise.
34789 * posix/confstr.c (START_ENV_GROUP): New macro.
34790 (END_ENV_GROUP): Likewise.
34791 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34792 (KNOWN_PRESENT_ENV_STRING): Likewise.
34793 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34794 (UNKNOWN_ENVIRONMENT): Likewise.
34795 (confstr): Include posix-envs.def instead of handling
34796 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34797 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34798 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34799 (END_ENV_GROUP): Likewise.
34800 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34801 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34802 (UNKNOWN_ENVIRONMENT): Likewise.
34803 (__sysconf): Include posix-envs.def instead of handling associated
34804 cases directly here.
34805 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34806 preprocessing getconf-speclist.c rather than running getconf or
34807 generating empty file.
34808
a93f9cbc
PT
348092012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34810
34811 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34812
d64d9f87
AL
348132012-11-16 Andrej Lajovic <natrij@gmail.com>
34814
34815 [BZ #14672]
34816 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34817
447885eb
DM
348182012-11-16 David S. Miller <davem@davemloft.net>
34819
34820 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34821 smaller than LDBL_EPSILON/2.0L, just return xm1.
34822
bcbf9830
L
348232012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34824
34825 * elf/tst-array1.c (init): Set constructor priority to 1000.
34826 (fini): Set destructor priority to 1000.
34827 * elf/tst-array2dep.c: Likewise.
34828
2b766585
SP
348292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34830
34831 [BZ #11741]
34832 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34833 (_IO_new_file_xsputn): Also return EOF if none of the input
34834 data was written when overflow failed.
34835 * libio/iopadn.c (_IO_padn): Likewise.
34836 * libio/iowpadn.c (_IO_wpadn): Likewise.
34837 * stdio-common/tst-put-error.c: Add copyright notice.
34838 (do_test): Add case for printing padded string.
34839 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34840 _IO_padn returned error.
34841 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34842 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34843 return EOF.
34844
b1848fde
SP
348452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34846
34847 * libio/libioP.h: Add comment note that the references to C++
34848 bits are now obsolete.
34849
2fd89785
MS
348502012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34851
34852 * math/libm-test.inc (check_complex): Use asprintf.
34853
e3ea5409
JM
348542012-11-14 Joseph Myers <joseph@codesourcery.com>
34855
34856 * debug/pcprofiledump.c (print_version): Update copyright year.
34857 * malloc/memusagestat.c (print_version): Likewise.
34858
2e64d265
L
348592012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34860
34861 [BZ #14831]
34862 * elf/Makefile (tests): Add tst-audit8.
34863 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34864 ($(objpfx)tst-audit8.out): New target.
34865 (tst-audit8-ENV): New variable.
34866 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34867 audit if l_reloc_result is NULL.
34868 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34869 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34870 * elf/tst-audit8.c: New file.
34871
c485e4d2
MS
348722012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34873
34874 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34875 * misc/Makefile (CFLAGS-select.c): Define.
34876 * posix/Makefile (CFLAGS-pause.c): Define.
34877
3a0d900a
DM
348782012-11-13 David S. Miller <davem@davemloft.net>
34879
34880 * crypt/Makefile: Move test targets after toplevel Rules
34881 inclusion. Grab any necessary sysdep routines when linking.
34882 * crypt/md5.c (md5_process_block): Remove define, we will always
34883 name it __md5_process_block.
34884 (md5_finish_ctx): Update md5_process_block call.
34885 (md5_stream): Likewise.
34886 (md5_process_bytes): Likewise.
34887 (md5_process_block): Rename to __md5_process_block and move to ...
34888 * crypt/md5-block.c: ... here.
34889 * crypt/sha256.c (sha256_process_block): Move to ...
34890 * crypt/sha256-block.c: ... here.
34891 * crypt/sha512.c (sha512_process_block): Move to ...
34892 * crypt/sha512-block.c: ... here.
34893 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34894 path.
34895 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34896 * sysdeps/sparc/sparc64/multiarch/Makefile
34897 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34898 crypt subdir.
34899 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34900 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34901 multiarch changes.
34902 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34903 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34904 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34905 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34906 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34907 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34908 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34909 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34911 file.
34912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34914 file.
34915 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34916
8ca89318
JM
349172012-11-13 Joseph Myers <joseph@codesourcery.com>
34918
e27d476a
JM
34919 * timezone/tzselect.ksh: Update from tzcode git revision
34920 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34921 * timezone/zdump.c: Likewise.
34922 * timezone/zic.c: Likewise.
34923 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34924 in TZVERSION setting, not $(PKGVERSION).
34925 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34926 REPORT_BUGS_TO settings.
34927
8ca89318
JM
34928 [BZ #14838]
34929 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34930 macro.
34931
47594329
MS
349322012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34933
34934 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34935 detection to immediately after _FP_ROUND().
34936 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34937 bits are 0.
34938
640ac3f1
DM
349392012-11-11 David S. Miller <davem@davemloft.net>
34940
34941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34942 inttypes.h
34943 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34944 __close rather than their public counterparts.
34945
3d2577bb
JM
349462012-11-10 Joseph Myers <joseph@codesourcery.com>
34947
34948 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34949 file.
34950 [UNIX98] (sem_timedwait): Do not expect.
34951 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34952 [XPG4 || UNIX98] (sockatmark): Do not expect.
34953 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34954 (clock_getcpuclockid): Do not expect.
34955 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34956 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34957 Do not expect.
34958 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34959 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34960 [UNIX98] (vwscanf): Likewise.
34961 [UNIX98] (vswscanf): Likewise.
34962
fb1ae1ee
JM
349632012-11-09 Joseph Myers <joseph@codesourcery.com>
34964
9ec6f8bd
JM
34965 * timezone/version.h: Remove file.
34966 * timezone/README: Do not refer to version.h.
34967 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34968 $(objpfx)version.h.
34969 ($(objpfx)zdump.o): Likewise.
c3f81911 34970 ($(objpfx)version.h): New target.
9ec6f8bd 34971
0aa8f8a1
JM
34972 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34973 2012i.
34974 * timezone/README: Don't mention modification to tzselect.ksh.
34975 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34976 work on unmodified tzselect.ksh. Substitute version numbers in
34977 tzselect.ksh.
34978
4e87147f
JM
34979 * Makefile (format-me): Remove.
34980 (INSTALL): Adjust indentation. Use commands directly instead of
34981 using $(format-me).
34982
8b748aed
JM
34983 * aclocal.m4 (ACX_PKGVERSION): New macro.
34984 (ACX_BUGURL): Likewise.
34985 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34986 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34987 (REPORT_BUGS_TO): Likewise.
34988 * configure: Regenerated.
34989 * config.h.in (PKGVERSION): New macro.
34990 (REPORT_BUGS_TO): Likewise.
34991 * config.make.in (PKGVERSION): New variable.
34992 (PKGVERSION_TEXI): Likewise.
34993 (REPORT_BUGS_TO): Likewise.
34994 (REPORT_BUGS_TEXI): Likewise.
34995 * Makefile (format-me): Use -I$(common-objpfx)manual.
34996 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34997 ($(common-objpfx)manual/%): New target.
34998 (manual/%): Remove target.
34999 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35000 (print_version): Use PKGVERSION.
35001 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35002 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35003 and REPORT_BUGS_TO.
35004 ($(objpfx)xtrace): Likewise.
35005 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35006 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35007 (print_version): Use PKGVERSION.
35008 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35009 (do_version): Use PKGVERSION.
35010 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35011 REPORT_BUGS_TO.
35012 (common-ldd-rewrite): Likewise.
35013 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35014 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35015 (print_version): Use PKGVERSION.
35016 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35017 * elf/pldd.c (argp_program_bug_address): Remove variable.
35018 (more_help): New function.
35019 (argp): Use more_help.
35020 (print_version): Use PKGVERSION.
35021 * elf/sln.c (main): Use PKGVERSION.
35022 (usage): Use REPORT_BUGS_TO.
35023 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35024 (top level): Use PKGVERSION.
35025 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35026 (print_version): Use PKGVERSION.
35027 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35028 (print_version): Use PKGVERSION.
35029 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35030 (print_version): Use PKGVERSION.
35031 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35032 (print_version): Use PKGVERSION.
35033 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35034 (print_version): Use PKGVERSION.
35035 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35036 (print_version): Use PKGVERSION.
35037 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35038 and BUGURL.
35039 ($(objpfx)memusage): Likewise.
35040 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35041 (do_version): Use PKGVERSION.
35042 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35043 (print_version): Use PKGVERSION.
35044 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35045 ($PKGVERSION): New variable.
35046 ($REPORT_BUGS_TO): Likewise.
35047 (usage): Use $REPORT_BUGS_TO.
35048 (top level): Use $PKGVERSION.
35049 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35050 ($(objpfx)pkgvers.texi): New rule.
35051 ($(objpfx)stamp-pkgvers): Likewise.
35052 * manual/install.texi: Include pkgvers.texi.
35053 (--with-pkgversion): Document new configure option.
35054 (--with-bugurl): Likewise.
35055 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35056 than necessarily for this particular distribution. Use
35057 REPORT_BUGS_TO for where to report bugs.
35058 * INSTALL: Regenerated.
35059 * manual/libc.texinfo: Include pkgvers.texi.
35060 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35061 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35062 (print_version): Use PKGVERSION.
35063 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35064 (print_version): Use PKGVERSION.
35065 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35066 (print_version): Use PKGVERSION.
35067 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35068 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35069 macro.
35070 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35071 (print_version): Use PKGVERSION.
35072 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35073 (print_version): Use PKGVERSION.
35074 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35075 and PKGVERSION.
35076
92e4b6a9
JM
35077 * timezone/checktab.awk: Update from tzcode 2012i.
35078 * timezone/ialloc.c: Likewise.
35079 * timezone/private.h: Likewise.
35080 * timezone/scheck.c: Likewise.
35081 * timezone/tzfile.h: Likewise.
35082 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35083 (TZVERSION): Hardcode tzcode version number.
35084 * timezone/zdump.c: Update from tzcode 2012i.
35085 * timezone/zic.c: Likewise.
35086 * timezone/version.h: New file.
35087 * timezone/README: Describe version.h. Update upstream location.
35088
9bde902c
JM
35089 [BZ #14824]
35090 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35091 (mktemp): Enable declaration.
35092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35096 Likewise.
35097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35098 Likewise.
35099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35100 Likewise.
35101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35102 Likewise.
35103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35104 Likewise.
35105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35106 Likewise.
35107
fb1ae1ee
JM
35108 [BZ #14821]
35109 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35110 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35111 for copies of such integer values.
35112 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35113 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35114
2c1adbcb
AJ
351152012-11-09 Andreas Jaeger <aj@suse.de>
35116
35117 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35118 definitions and declarations that are provided by
35119 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35120
d0f8457e
AK
351212012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35122
3a235abb 35123 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
35124 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35125 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35126 definition.
35127
57241e26
MS
351282012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35129
35130 * elf/elf.h: Update comment before AArch64 relocations.
35131
60e8270d
DM
351322012-11-07 David S. Miller <davem@davemloft.net>
35133
35134 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35135 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35136 (__start_context): Declare.
35137 (__makecontext_ret): Delete.
35138 (__makecontext): Hook up __start_context instead of
35139 __makecontext_ret.
35140 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35141 (sysdep_routines): Add __start_context when in stdlib.
35142
0fbb0fbc
JM
351432012-11-07 Joseph Myers <joseph@codesourcery.com>
35144
35145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35146 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35147 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35148 hardcoded "nm".
35149 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35150 (READELF): New variable. Use it instead of hardcoded "readelf".
35151
eb48db7e
L
351522012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35153
35154 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35155 * sysdeps/x86/Makefile: Here.
35156 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35157 * sysdeps/x86/tst-xmmymm.sh: This.
35158
05bcf62a
JM
351592012-11-07 Joseph Myers <joseph@codesourcery.com>
35160
c4b6cf53
JM
35161 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35162 expectations.
35163 [UNIX98] (pthread_barrier_t): Do not expect.
35164 [UNIX98] (pthread_barrierattr_t): Likewise.
35165 [UNIX98] (pthread_spinlock_t): Likewise.
35166 [UNIX98] (pthread_barrier_destroy): Likewise.
35167 [UNIX98] (pthread_barrier_init): Likewise.
35168 [UNIX98] (pthread_barrier_wait): Likewise.
35169 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35170 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35171 [UNIX98] (pthread_barrierattr_init): Likewise.
35172 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35173 [UNIX98] (pthread_getcpuclockid): Likewise.
35174 [UNIX98] (pthread_mutex_timedlock): Likewise.
35175 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35176 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35177 [UNIX98] (pthread_sigmask): Likewise.
35178 [UNIX98] (pthread_spin_destroy): Likewise.
35179 [UNIX98] (pthread_spin_init): Likewise.
35180 [UNIX98] (pthread_spin_lock): Likewise.
35181 [UNIX98] (pthread_spin_trylock): Likewise.
35182 [UNIX98] (pthread_spin_unlock): Likewise.
35183 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35184 Do not expect.
35185 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35186 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35187 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35188 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35189 [XPG3 || XPG4] (pthread_key_t): Likewise.
35190 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35191 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35192 [XPG3 || XPG4] (pthread_once_t): Likewise.
35193 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35194 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35195 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35196 [XPG3 || XPG4] (pthread_t): Likewise.
35197
cbe6e120
JM
35198 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35199 not expect.
35200 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35201
1b126443
JM
35202 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35203 Change function return type to int.
35204
b961a573
JM
35205 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35206 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35207 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35208 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35209 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35210 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35211 [!POSIX] (posix_madvise): Likewise.
35212 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35213 && !UNIX98].
35214 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35215 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35216 (mode_t): Likewise.
35217 (posix_mem_offset): Likewise.
35218 (posix_typed_mem_get_info): Likewise.
35219 (posix_typed_mem_open): Likewise.
35220
9e188909
JM
35221 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35222 Change condition to [XOPEN2K8].
35223
05bcf62a
JM
35224 * conform/conformtest.pl: Preprocess allow-header data with -x c
35225 instead of from stdin.
35226 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35227 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35228 [C99-based standards] (cerfc): Likewise.
35229 [C99-based standards] (cexp2): Likewise.
35230 [C99-based standards] (cexpm1): Likewise.
35231 [C99-based standards] (clog10): Likewise.
35232 [C99-based standards] (clog1p): Likewise.
35233 [C99-based standards] (clog2): Likewise.
35234 [C99-based standards] (clgamma): Likewise.
35235 [C99-based standards] (ctgamma): Likewise.
35236 [C99-based standards] (cerff): Likewise.
35237 [C99-based standards] (cerfcf): Likewise.
35238 [C99-based standards] (cexp2f): Likewise.
35239 [C99-based standards] (cexpm1f): Likewise.
35240 [C99-based standards] (clog10f): Likewise.
35241 [C99-based standards] (clog1pf): Likewise.
35242 [C99-based standards] (clog2f): Likewise.
35243 [C99-based standards] (clgammaf): Likewise.
35244 [C99-based standards] (ctgammaf): Likewise.
35245 [C99-based standards] (cerfl): Likewise.
35246 [C99-based standards] (cerfcl): Likewise.
35247 [C99-based standards] (cexp2l): Likewise.
35248 [C99-based standards] (cexpm1l): Likewise.
35249 [C99-based standards] (clog10l): Likewise.
35250 [C99-based standards] (clog1pl): Likewise.
35251 [C99-based standards] (clog2l): Likewise.
35252 [C99-based standards] (clgammal): Likewise.
35253 [C99-based standards] (ctgammal): Likewise.
35254 * conform/data/inttypes.h-data [C99-based standards]: Include
35255 stdint.h-data. Remove all expectations for stdint.h contents.
35256 [C99-based standards] (PRI*): Do not allow.
35257 [C99-based standards] (SCN*): Likewise.
35258 [C99-based standards] (*_t): Likewise.
35259 [C99-based-standards] (PRId8): Expect macro.
35260 [C99-based-standards] (PRIi8): Likewise.
35261 [C99-based-standards] (PRIo8): Likewise.
35262 [C99-based-standards] (PRIu8): Likewise.
35263 [C99-based-standards] (PRIx8): Likewise.
35264 [C99-based-standards] (PRIX8): Likewise.
35265 [C99-based-standards] (SCNd8): Likewise.
35266 [C99-based-standards] (SCNi8): Likewise.
35267 [C99-based-standards] (SCNo8): Likewise.
35268 [C99-based-standards] (SCNu8): Likewise.
35269 [C99-based-standards] (SCNx8): Likewise.
35270 [C99-based-standards] (PRIdLEAST8): Likewise.
35271 [C99-based-standards] (PRIiLEAST8): Likewise.
35272 [C99-based-standards] (PRIoLEAST8): Likewise.
35273 [C99-based-standards] (PRIuLEAST8): Likewise.
35274 [C99-based-standards] (PRIxLEAST8): Likewise.
35275 [C99-based-standards] (PRIXLEAST8): Likewise.
35276 [C99-based-standards] (SCNdLEAST8): Likewise.
35277 [C99-based-standards] (SCNiLEAST8): Likewise.
35278 [C99-based-standards] (SCNoLEAST8): Likewise.
35279 [C99-based-standards] (SCNuLEAST8): Likewise.
35280 [C99-based-standards] (SCNxLEAST8): Likewise.
35281 [C99-based-standards] (PRIdFAST8): Likewise.
35282 [C99-based-standards] (PRIiFAST8): Likewise.
35283 [C99-based-standards] (PRIoFAST8): Likewise.
35284 [C99-based-standards] (PRIuFAST8): Likewise.
35285 [C99-based-standards] (PRIxFAST8): Likewise.
35286 [C99-based-standards] (PRIXFAST8): Likewise.
35287 [C99-based-standards] (SCNdFAST8): Likewise.
35288 [C99-based-standards] (SCNiFAST8): Likewise.
35289 [C99-based-standards] (SCNoFAST8): Likewise.
35290 [C99-based-standards] (SCNuFAST8): Likewise.
35291 [C99-based-standards] (SCNxFAST8): Likewise.
35292 [C99-based-standards] (PRId16): Likewise.
35293 [C99-based-standards] (PRIi16): Likewise.
35294 [C99-based-standards] (PRIo16): Likewise.
35295 [C99-based-standards] (PRIu16): Likewise.
35296 [C99-based-standards] (PRIx16): Likewise.
35297 [C99-based-standards] (PRIX16): Likewise.
35298 [C99-based-standards] (SCNd16): Likewise.
35299 [C99-based-standards] (SCNi16): Likewise.
35300 [C99-based-standards] (SCNo16): Likewise.
35301 [C99-based-standards] (SCNu16): Likewise.
35302 [C99-based-standards] (SCNx16): Likewise.
35303 [C99-based-standards] (PRIdLEAST16): Likewise.
35304 [C99-based-standards] (PRIiLEAST16): Likewise.
35305 [C99-based-standards] (PRIoLEAST16): Likewise.
35306 [C99-based-standards] (PRIuLEAST16): Likewise.
35307 [C99-based-standards] (PRIxLEAST16): Likewise.
35308 [C99-based-standards] (PRIXLEAST16): Likewise.
35309 [C99-based-standards] (SCNdLEAST16): Likewise.
35310 [C99-based-standards] (SCNiLEAST16): Likewise.
35311 [C99-based-standards] (SCNoLEAST16): Likewise.
35312 [C99-based-standards] (SCNuLEAST16): Likewise.
35313 [C99-based-standards] (SCNxLEAST16): Likewise.
35314 [C99-based-standards] (PRIdFAST16): Likewise.
35315 [C99-based-standards] (PRIiFAST16): Likewise.
35316 [C99-based-standards] (PRIoFAST16): Likewise.
35317 [C99-based-standards] (PRIuFAST16): Likewise.
35318 [C99-based-standards] (PRIxFAST16): Likewise.
35319 [C99-based-standards] (PRIXFAST16): Likewise.
35320 [C99-based-standards] (SCNdFAST16): Likewise.
35321 [C99-based-standards] (SCNiFAST16): Likewise.
35322 [C99-based-standards] (SCNoFAST16): Likewise.
35323 [C99-based-standards] (SCNuFAST16): Likewise.
35324 [C99-based-standards] (SCNxFAST16): Likewise.
35325 [C99-based-standards] (PRId32): Likewise.
35326 [C99-based-standards] (PRIi32): Likewise.
35327 [C99-based-standards] (PRIo32): Likewise.
35328 [C99-based-standards] (PRIu32): Likewise.
35329 [C99-based-standards] (PRIx32): Likewise.
35330 [C99-based-standards] (PRIX32): Likewise.
35331 [C99-based-standards] (SCNd32): Likewise.
35332 [C99-based-standards] (SCNi32): Likewise.
35333 [C99-based-standards] (SCNo32): Likewise.
35334 [C99-based-standards] (SCNu32): Likewise.
35335 [C99-based-standards] (SCNx32): Likewise.
35336 [C99-based-standards] (PRIdLEAST32): Likewise.
35337 [C99-based-standards] (PRIiLEAST32): Likewise.
35338 [C99-based-standards] (PRIoLEAST32): Likewise.
35339 [C99-based-standards] (PRIuLEAST32): Likewise.
35340 [C99-based-standards] (PRIxLEAST32): Likewise.
35341 [C99-based-standards] (PRIXLEAST32): Likewise.
35342 [C99-based-standards] (SCNdLEAST32): Likewise.
35343 [C99-based-standards] (SCNiLEAST32): Likewise.
35344 [C99-based-standards] (SCNoLEAST32): Likewise.
35345 [C99-based-standards] (SCNuLEAST32): Likewise.
35346 [C99-based-standards] (SCNxLEAST32): Likewise.
35347 [C99-based-standards] (PRIdFAST32): Likewise.
35348 [C99-based-standards] (PRIiFAST32): Likewise.
35349 [C99-based-standards] (PRIoFAST32): Likewise.
35350 [C99-based-standards] (PRIuFAST32): Likewise.
35351 [C99-based-standards] (PRIxFAST32): Likewise.
35352 [C99-based-standards] (PRIXFAST32): Likewise.
35353 [C99-based-standards] (SCNdFAST32): Likewise.
35354 [C99-based-standards] (SCNiFAST32): Likewise.
35355 [C99-based-standards] (SCNoFAST32): Likewise.
35356 [C99-based-standards] (SCNuFAST32): Likewise.
35357 [C99-based-standards] (SCNxFAST32): Likewise.
35358 [C99-based-standards] (PRId64): Likewise.
35359 [C99-based-standards] (PRIi64): Likewise.
35360 [C99-based-standards] (PRIo64): Likewise.
35361 [C99-based-standards] (PRIu64): Likewise.
35362 [C99-based-standards] (PRIx64): Likewise.
35363 [C99-based-standards] (PRIX64): Likewise.
35364 [C99-based-standards] (SCNd64): Likewise.
35365 [C99-based-standards] (SCNi64): Likewise.
35366 [C99-based-standards] (SCNo64): Likewise.
35367 [C99-based-standards] (SCNu64): Likewise.
35368 [C99-based-standards] (SCNx64): Likewise.
35369 [C99-based-standards] (PRIdLEAST64): Likewise.
35370 [C99-based-standards] (PRIiLEAST64): Likewise.
35371 [C99-based-standards] (PRIoLEAST64): Likewise.
35372 [C99-based-standards] (PRIuLEAST64): Likewise.
35373 [C99-based-standards] (PRIxLEAST64): Likewise.
35374 [C99-based-standards] (PRIXLEAST64): Likewise.
35375 [C99-based-standards] (SCNdLEAST64): Likewise.
35376 [C99-based-standards] (SCNiLEAST64): Likewise.
35377 [C99-based-standards] (SCNoLEAST64): Likewise.
35378 [C99-based-standards] (SCNuLEAST64): Likewise.
35379 [C99-based-standards] (SCNxLEAST64): Likewise.
35380 [C99-based-standards] (PRIdFAST64): Likewise.
35381 [C99-based-standards] (PRIiFAST64): Likewise.
35382 [C99-based-standards] (PRIoFAST64): Likewise.
35383 [C99-based-standards] (PRIuFAST64): Likewise.
35384 [C99-based-standards] (PRIxFAST64): Likewise.
35385 [C99-based-standards] (PRIXFAST64): Likewise.
35386 [C99-based-standards] (SCNdFAST64): Likewise.
35387 [C99-based-standards] (SCNiFAST64): Likewise.
35388 [C99-based-standards] (SCNoFAST64): Likewise.
35389 [C99-based-standards] (SCNuFAST64): Likewise.
35390 [C99-based-standards] (SCNxFAST64): Likewise.
35391 [C99-based-standards] (PRIdMAX): Likewise.
35392 [C99-based-standards] (PRIiMAX): Likewise.
35393 [C99-based-standards] (PRIoMAX): Likewise.
35394 [C99-based-standards] (PRIuMAX): Likewise.
35395 [C99-based-standards] (PRIxMAX): Likewise.
35396 [C99-based-standards] (PRIXMAX): Likewise.
35397 [C99-based-standards] (SCNdMAX): Likewise.
35398 [C99-based-standards] (SCNiMAX): Likewise.
35399 [C99-based-standards] (SCNoMAX): Likewise.
35400 [C99-based-standards] (SCNuMAX): Likewise.
35401 [C99-based-standards] (SCNxMAX): Likewise.
35402 [C99-based-standards] (PRIdPTR): Likewise.
35403 [C99-based-standards] (PRIiPTR): Likewise.
35404 [C99-based-standards] (PRIoPTR): Likewise.
35405 [C99-based-standards] (PRIuPTR): Likewise.
35406 [C99-based-standards] (PRIxPTR): Likewise.
35407 [C99-based-standards] (PRIXPTR): Likewise.
35408 [C99-based-standards] (SCNdPTR): Likewise.
35409 [C99-based-standards] (SCNiPTR): Likewise.
35410 [C99-based-standards] (SCNoPTR): Likewise.
35411 [C99-based-standards] (SCNuPTR): Likewise.
35412 [C99-based-standards] (SCNxPTR): Likewise.
35413 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35414 allow.
35415 * conform/data/stdint.h-data: Update comments to clarify
35416 requirements.
35417 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35418 type.
35419 [C99-based standards] (INT8_MAX): Likewise.
35420 [C99-based standards] (INT16_MIN): Likewise.
35421 [C99-based standards] (INT16_MAX): Likewise.
35422 [C99-based standards] (INT32_MIN): Likewise.
35423 [C99-based standards] (INT32_MAX): Likewise.
35424 [C99-based standards] (INT64_MIN): Likewise.
35425 [C99-based standards] (INT64_MAX): Likewise.
35426 [C99-based standards] (UINT8_MAX): Likewise.
35427 [C99-based standards] (UINT16_MAX): Likewise.
35428 [C99-based standards] (UINT32_MAX): Likewise.
35429 [C99-based standards] (UINT64_MAX): Likewise.
35430 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35431 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35432 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35433 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35434 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35435 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35436 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35437 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35438 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35439 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35440 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35441 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35442 [C99-based standards] (INT_FAST8_MIN): Likewise.
35443 [C99-based standards] (INT_FAST8_MAX): Likewise.
35444 [C99-based standards] (INT_FAST16_MIN): Likewise.
35445 [C99-based standards] (INT_FAST16_MAX): Likewise.
35446 [C99-based standards] (INT_FAST32_MIN): Likewise.
35447 [C99-based standards] (INT_FAST32_MAX): Likewise.
35448 [C99-based standards] (INT_FAST64_MIN): Likewise.
35449 [C99-based standards] (INT_FAST64_MAX): Likewise.
35450 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35451 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35452 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35453 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35454 [C99-based standards] (INTPTR_MIN): Likewise.
35455 [C99-based standards] (INTPTR_MAX): Likewise.
35456 [C99-based standards] (UINTPTR_MAX): Likewise.
35457 [C99-based standards] (INTMAX_MIN): Likewise.
35458 [C99-based standards] (INTMAX_MAX): Likewise.
35459 [C99-based standards] (UINTMAX_MAX): Likewise.
35460 [C99-based standards] (PTRDIFF_MIN): Likewise.
35461 [C99-based standards] (PTRDIFF_MAX): Likewise.
35462 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35463 [C99-based standards] (SIZE_MAX): Likewise.
35464 [C99-based standards] (WCHAR_MAX): Likewise.
35465 [C99-based standards] (WINT_MAX): Likewise.
35466 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35467 constraint on value.
35468 [C99-based standards] (WCHAR_MIN): Likewise.
35469 [C99-based standards] (WINT_MIN): Likewise.
35470 [C99-based standards] (*_t): Allow.
35471 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35472 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35473 Include math.h-data and complex.h-data. Remove all expectations
35474 of math.h and complex.h contents.
35475 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35476 at end of line.
35477 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35478 (struct tm): Expect tag.
35479 [C99-based-standards] (wcstof): Expect function.
35480 [C99-based-standards] (wcstold): Likewise.
35481 [C99-based-standards] (wcstoll): Likewise.
35482 [C99-based-standards] (wcstoull): Likewise.
35483 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35484 macro-int-constant. Specify type.
35485 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35486 constraint on value.
35487 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35488 Specify type.
35489 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35490 Specify value.
35491 [ISO C standards]: Do not allow headers.
35492 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35493 wcs[abcdefghijklmnopqrstuvwxyz]*.
35494 [ISO C standards] (*_t): Do not allow.
35495 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35496 Expect function.
35497 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35498 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35499 Specify type.
35500 [ISO C standards]: Do not allow headers.
35501 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35502 is[abcdefghijklmnopqrstuvwxyz]*.
35503 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35504 to[abcdefghijklmnopqrstuvwxyz]*.
35505 [ISO C standards] (*_t): Do not allow.
35506 * conform/data/stdalign.h-data: New file.
35507 * conform/data/stdbool.h-data: Likewise.
35508 * conform/data/stdnoreturn.h-data: Likewise.
35509
7514feb8
RM
355102012-11-07 Roland McGrath <roland@hack.frob.com>
35511
35512 [BZ #14815]
35513 * manual/filesys.texi (Directory Entries): Typo fix.
35514 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35515
19b2ecfc
MS
355162012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35517
35518 * elf/elf.h (EM_AARCH64): New macro.
35519 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35520 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35521 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35522 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35523 (R_AARCH64_TLSDESC): Likewise.
35524 (NT_ARM_TLS): Likewise.
35525 (NT_ARM_HW_BREAK): Likewise.
35526 (NT_ARM_HW_WATCH): Likewise.
35527
60e235ee
JM
355282012-11-07 Joseph Myers <joseph@codesourcery.com>
35529
35530 [BZ #14811]
35531 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35532 (__ieee754_powl): Saturate nonzero exponents with absolute value
35533 below 0x1p-79 to +/- 0x1p-79.
35534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35535 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35536 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35537 nonzero exponents with absolute value below 0x1p-32 to +/-
35538 0x1p-32.
35539 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35540 (__ieee754_powl): Saturate nonzero exponents with absolute value
35541 below 0x1p-79 to +/- 0x1p-79.
35542 * math/libm-test.inc (pow_test): Add more tests.
35543
0ab234b7
AK
355442012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35545
35546 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35547 _dl_s390_cap_flags with kernel. Increase string length.
35548 (_dl_s390_platforms): Add z196 and zEC12.
35549
45832f74
JM
355502012-11-07 Joseph Myers <joseph@codesourcery.com>
35551
35552 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35553 Change XOPEN21K to XOPEN2K.
35554
19218757
MK
355552012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
35556
35557 * string/memmove.c: Use memcpy when possible.
35558
c5f45721
AJ
355592012-11-06 Andreas Jaeger <aj@suse.de>
35560
35561 * po/eo.po: Update from translation team.
35562
82477c28
JM
355632012-11-06 Joseph Myers <joseph@codesourcery.com>
35564
35565 [BZ #14793]
35566 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35567 exponent and small x and y exponents, scale x or y up. Increase
35568 by 2 the exponent used in scaling up.
35569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35570 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35571 * math/libm-test.inc (fma_test): Add more tests.
35572 (fma_test_towardzero): Likewise.
35573 (fma_test_downward): Likewise.
35574 (fma_test_upward): Likewise.
35575
99252c8c
JM
355762012-11-05 Joseph Myers <joseph@codesourcery.com>
35577
acfa885f
JM
35578 [BZ #14805]
35579 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35580 fenv_t *.
35581
99252c8c
JM
35582 [BZ #14801]
35583 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35584 namespace for names of struct fields.
35585 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35586 fenv_t fields.
35587 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35588 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35589
d6d98dea
ST
355902012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
35591
35592 [BZ #3665]
35593 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35594
e10bb107
TS
355952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35596
35597 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35598 PTR_DEMANGLE.
35599
35600 [BZ #5246]
35601 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35602 PTR_DEMANGLE.
35603
a0c2940d
JM
356042012-11-04 Joseph Myers <joseph@codesourcery.com>
35605
35606 [BZ #14797]
35607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35608 definitely overflow as x * y not x * y + z.
35609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35610 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35611 * math/libm-test.inc (fma_test): Add more tests.
35612 (fma_test_towardzero): Likewise.
35613 (fma_test_downward): Likewise.
35614 (fma_test_upward): Likewise.
35615
b830319d
TS
356162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
35617
35618 [BZ #157]
35619
35620 * include/stub-tag.h: Remove file.
35621 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35622 '#include' of it.
35623 * manual/maint.texi (Porting): Don't reference it.
35624 * Makerules ($(objpfx)stubs): Likewise.
35625 * dirent/closedir.c: Don't include <stub-tag.h>.
35626 * dirent/dirfd.c: Likewise.
35627 * dirent/fdopendir.c: Likewise.
35628 * dirent/getdents.c: Likewise.
35629 * dirent/getdents64.c: Likewise.
35630 * dirent/opendir.c: Likewise.
35631 * dirent/readdir.c: Likewise.
35632 * dirent/readdir64.c: Likewise.
35633 * dirent/readdir64_r.c: Likewise.
35634 * dirent/readdir_r.c: Likewise.
35635 * dirent/rewinddir.c: Likewise.
35636 * dirent/seekdir.c: Likewise.
35637 * dirent/telldir.c: Likewise.
35638 * gmon/profil.c: Likewise.
35639 * grp/setgroups.c: Likewise.
35640 * inet/if_index.c: Likewise.
35641 * io/access.c: Likewise.
35642 * io/chdir.c: Likewise.
35643 * io/chmod.c: Likewise.
35644 * io/chown.c: Likewise.
35645 * io/close.c: Likewise.
35646 * io/dup.c: Likewise.
35647 * io/dup2.c: Likewise.
35648 * io/dup3.c: Likewise.
35649 * io/euidaccess.c: Likewise.
35650 * io/faccessat.c: Likewise.
35651 * io/fchdir.c: Likewise.
35652 * io/fchmod.c: Likewise.
35653 * io/fchmodat.c: Likewise.
35654 * io/fchown.c: Likewise.
35655 * io/fchownat.c: Likewise.
35656 * io/fcntl.c: Likewise.
35657 * io/flock.c: Likewise.
35658 * io/fstatfs.c: Likewise.
35659 * io/fstatfs64.c: Likewise.
35660 * io/fstatvfs.c: Likewise.
35661 * io/fstatvfs64.c: Likewise.
35662 * io/futimens.c: Likewise.
35663 * io/fxstat.c: Likewise.
35664 * io/fxstat64.c: Likewise.
35665 * io/fxstatat.c: Likewise.
35666 * io/fxstatat64.c: Likewise.
35667 * io/getcwd.c: Likewise.
35668 * io/isatty.c: Likewise.
35669 * io/lchmod.c: Likewise.
35670 * io/lchown.c: Likewise.
35671 * io/link.c: Likewise.
35672 * io/linkat.c: Likewise.
35673 * io/lseek.c: Likewise.
35674 * io/lseek64.c: Likewise.
35675 * io/lxstat64.c: Likewise.
35676 * io/mkdir.c: Likewise.
35677 * io/mkdirat.c: Likewise.
35678 * io/mkfifo.c: Likewise.
35679 * io/mkfifoat.c: Likewise.
35680 * io/open.c: Likewise.
35681 * io/open64.c: Likewise.
35682 * io/openat.c: Likewise.
35683 * io/openat64.c: Likewise.
35684 * io/pipe.c: Likewise.
35685 * io/pipe2.c: Likewise.
35686 * io/poll.c: Likewise.
35687 * io/posix_fadvise.c: Likewise.
35688 * io/posix_fadvise64.c: Likewise.
35689 * io/posix_fallocate.c: Likewise.
35690 * io/posix_fallocate64.c: Likewise.
35691 * io/read.c: Likewise.
35692 * io/readlink.c: Likewise.
35693 * io/readlinkat.c: Likewise.
35694 * io/rmdir.c: Likewise.
35695 * io/sendfile.c: Likewise.
35696 * io/sendfile64.c: Likewise.
35697 * io/statfs.c: Likewise.
35698 * io/statfs64.c: Likewise.
35699 * io/statvfs.c: Likewise.
35700 * io/statvfs64.c: Likewise.
35701 * io/symlink.c: Likewise.
35702 * io/symlinkat.c: Likewise.
35703 * io/ttyname.c: Likewise.
35704 * io/ttyname_r.c: Likewise.
35705 * io/umask.c: Likewise.
35706 * io/unlink.c: Likewise.
35707 * io/unlinkat.c: Likewise.
35708 * io/utime.c: Likewise.
35709 * io/utimensat.c: Likewise.
35710 * io/write.c: Likewise.
35711 * io/xmknod.c: Likewise.
35712 * io/xmknodat.c: Likewise.
35713 * io/xstat.c: Likewise.
35714 * io/xstat64.c: Likewise.
35715 * login/getpt.c: Likewise.
35716 * login/grantpt.c: Likewise.
35717 * login/unlockpt.c: Likewise.
35718 * math/e_acoshl.c: Likewise.
35719 * math/e_acosl.c: Likewise.
35720 * math/e_asinl.c: Likewise.
35721 * math/e_atan2l.c: Likewise.
35722 * math/e_atanhl.c: Likewise.
35723 * math/e_coshl.c: Likewise.
35724 * math/e_expl.c: Likewise.
35725 * math/e_fmodl.c: Likewise.
35726 * math/e_gammal_r.c: Likewise.
35727 * math/e_hypotl.c: Likewise.
35728 * math/e_j0l.c: Likewise.
35729 * math/e_j1l.c: Likewise.
35730 * math/e_jnl.c: Likewise.
35731 * math/e_lgammal_r.c: Likewise.
35732 * math/e_log10l.c: Likewise.
35733 * math/e_log2l.c: Likewise.
35734 * math/e_logl.c: Likewise.
35735 * math/e_powl.c: Likewise.
35736 * math/e_rem_pio2l.c: Likewise.
35737 * math/e_sinhl.c: Likewise.
35738 * math/e_sqrtl.c: Likewise.
35739 * math/fclrexcpt.c: Likewise.
35740 * math/fedisblxcpt.c: Likewise.
35741 * math/feenablxcpt.c: Likewise.
35742 * math/fegetenv.c: Likewise.
35743 * math/fegetexcept.c: Likewise.
35744 * math/fegetround.c: Likewise.
35745 * math/feholdexcpt.c: Likewise.
35746 * math/fesetenv.c: Likewise.
35747 * math/fesetround.c: Likewise.
35748 * math/feupdateenv.c: Likewise.
35749 * math/fgetexcptflg.c: Likewise.
35750 * math/fraiseexcpt.c: Likewise.
35751 * math/fsetexcptflg.c: Likewise.
35752 * math/ftestexcept.c: Likewise.
35753 * math/k_cosl.c: Likewise.
35754 * math/k_rem_pio2l.c: Likewise.
35755 * math/k_sinl.c: Likewise.
35756 * math/k_tanl.c: Likewise.
35757 * math/s_asinhl.c: Likewise.
35758 * math/s_atanl.c: Likewise.
35759 * math/s_cbrtl.c: Likewise.
35760 * math/s_erfl.c: Likewise.
35761 * math/s_expm1l.c: Likewise.
35762 * math/s_log1pl.c: Likewise.
35763 * math/s_tanhl.c: Likewise.
35764 * misc/acct.c: Likewise.
35765 * misc/brk.c: Likewise.
35766 * misc/chflags.c: Likewise.
35767 * misc/chroot.c: Likewise.
35768 * misc/fchflags.c: Likewise.
35769 * misc/fgetxattr.c: Likewise.
35770 * misc/flistxattr.c: Likewise.
35771 * misc/fremovexattr.c: Likewise.
35772 * misc/fsetxattr.c: Likewise.
35773 * misc/fsync.c: Likewise.
35774 * misc/ftruncate.c: Likewise.
35775 * misc/futimes.c: Likewise.
35776 * misc/futimesat.c: Likewise.
35777 * misc/getdomain.c: Likewise.
35778 * misc/getdtsz.c: Likewise.
35779 * misc/gethostid.c: Likewise.
35780 * misc/gethostname.c: Likewise.
35781 * misc/getloadavg.c: Likewise.
35782 * misc/getpagesize.c: Likewise.
35783 * misc/getsysstats.c: Likewise.
35784 * misc/getxattr.c: Likewise.
35785 * misc/gtty.c: Likewise.
35786 * misc/ioctl.c: Likewise.
35787 * misc/lgetxattr.c: Likewise.
35788 * misc/listxattr.c: Likewise.
35789 * misc/llistxattr.c: Likewise.
35790 * misc/lremovexattr.c: Likewise.
35791 * misc/lsetxattr.c: Likewise.
35792 * misc/lutimes.c: Likewise.
35793 * misc/madvise.c: Likewise.
35794 * misc/mincore.c: Likewise.
35795 * misc/mlock.c: Likewise.
35796 * misc/mlockall.c: Likewise.
35797 * misc/mmap.c: Likewise.
35798 * misc/mprotect.c: Likewise.
35799 * misc/msync.c: Likewise.
35800 * misc/munlock.c: Likewise.
35801 * misc/munlockall.c: Likewise.
35802 * misc/munmap.c: Likewise.
35803 * misc/preadv.c: Likewise.
35804 * misc/preadv64.c: Likewise.
35805 * misc/ptrace.c: Likewise.
35806 * misc/pwritev.c: Likewise.
35807 * misc/pwritev64.c: Likewise.
35808 * misc/readv.c: Likewise.
35809 * misc/reboot.c: Likewise.
35810 * misc/remap_file_pages.c: Likewise.
35811 * misc/removexattr.c: Likewise.
35812 * misc/revoke.c: Likewise.
35813 * misc/select.c: Likewise.
35814 * misc/setdomain.c: Likewise.
35815 * misc/setegid.c: Likewise.
35816 * misc/seteuid.c: Likewise.
35817 * misc/sethostid.c: Likewise.
35818 * misc/sethostname.c: Likewise.
35819 * misc/setregid.c: Likewise.
35820 * misc/setreuid.c: Likewise.
35821 * misc/setxattr.c: Likewise.
35822 * misc/sstk.c: Likewise.
35823 * misc/stty.c: Likewise.
35824 * misc/swapoff.c: Likewise.
35825 * misc/swapon.c: Likewise.
35826 * misc/sync.c: Likewise.
35827 * misc/syncfs.c: Likewise.
35828 * misc/syscall.c: Likewise.
35829 * misc/truncate.c: Likewise.
35830 * misc/ualarm.c: Likewise.
35831 * misc/usleep.c: Likewise.
35832 * misc/ustat.c: Likewise.
35833 * misc/utimes.c: Likewise.
35834 * misc/vhangup.c: Likewise.
35835 * misc/writev.c: Likewise.
35836 * posix/_exit.c: Likewise.
35837 * posix/alarm.c: Likewise.
35838 * posix/execve.c: Likewise.
35839 * posix/fexecve.c: Likewise.
35840 * posix/fork.c: Likewise.
35841 * posix/fpathconf.c: Likewise.
35842 * posix/getaddrinfo.c: Likewise.
35843 * posix/getegid.c: Likewise.
35844 * posix/geteuid.c: Likewise.
35845 * posix/getgid.c: Likewise.
35846 * posix/getgroups.c: Likewise.
35847 * posix/getlogin.c: Likewise.
35848 * posix/getlogin_r.c: Likewise.
35849 * posix/getpgid.c: Likewise.
35850 * posix/getpid.c: Likewise.
35851 * posix/getppid.c: Likewise.
35852 * posix/getresgid.c: Likewise.
35853 * posix/getresuid.c: Likewise.
35854 * posix/getsid.c: Likewise.
35855 * posix/getuid.c: Likewise.
35856 * posix/glob64.c: Likewise.
35857 * posix/nanosleep.c: Likewise.
35858 * posix/pathconf.c: Likewise.
35859 * posix/pause.c: Likewise.
35860 * posix/posix_madvise.c: Likewise.
35861 * posix/pread.c: Likewise.
35862 * posix/pread64.c: Likewise.
35863 * posix/pwrite.c: Likewise.
35864 * posix/pwrite64.c: Likewise.
35865 * posix/sched_getaffinity.c: Likewise.
35866 * posix/sched_getp.c: Likewise.
35867 * posix/sched_gets.c: Likewise.
35868 * posix/sched_primax.c: Likewise.
35869 * posix/sched_primin.c: Likewise.
35870 * posix/sched_rr_gi.c: Likewise.
35871 * posix/sched_setaffinity.c: Likewise.
35872 * posix/sched_setp.c: Likewise.
35873 * posix/sched_sets.c: Likewise.
35874 * posix/sched_yield.c: Likewise.
35875 * posix/setgid.c: Likewise.
35876 * posix/setlogin.c: Likewise.
35877 * posix/setpgid.c: Likewise.
35878 * posix/setresgid.c: Likewise.
35879 * posix/setresuid.c: Likewise.
35880 * posix/setsid.c: Likewise.
35881 * posix/setuid.c: Likewise.
35882 * posix/sleep.c: Likewise.
35883 * posix/spawni.c: Likewise.
35884 * posix/sysconf.c: Likewise.
35885 * posix/times.c: Likewise.
35886 * posix/wait.c: Likewise.
35887 * posix/wait3.c: Likewise.
35888 * posix/wait4.c: Likewise.
35889 * posix/waitpid.c: Likewise.
35890 * resolv/gai_sigqueue.c: Likewise.
35891 * resource/getpriority.c: Likewise.
35892 * resource/getrlimit.c: Likewise.
35893 * resource/getrusage.c: Likewise.
35894 * resource/nice.c: Likewise.
35895 * resource/setpriority.c: Likewise.
35896 * resource/setrlimit.c: Likewise.
35897 * resource/ulimit.c: Likewise.
35898 * rt/aio_cancel.c: Likewise.
35899 * rt/aio_fsync.c: Likewise.
35900 * rt/aio_read.c: Likewise.
35901 * rt/aio_sigqueue.c: Likewise.
35902 * rt/aio_suspend.c: Likewise.
35903 * rt/aio_write.c: Likewise.
35904 * rt/clock_getres.c: Likewise.
35905 * rt/clock_gettime.c: Likewise.
35906 * rt/clock_nanosleep.c: Likewise.
35907 * rt/clock_settime.c: Likewise.
35908 * rt/lio_listio.c: Likewise.
35909 * rt/mq_close.c: Likewise.
35910 * rt/mq_getattr.c: Likewise.
35911 * rt/mq_notify.c: Likewise.
35912 * rt/mq_open.c: Likewise.
35913 * rt/mq_receive.c: Likewise.
35914 * rt/mq_send.c: Likewise.
35915 * rt/mq_setattr.c: Likewise.
35916 * rt/mq_timedreceive.c: Likewise.
35917 * rt/mq_timedsend.c: Likewise.
35918 * rt/mq_unlink.c: Likewise.
35919 * rt/shm_open.c: Likewise.
35920 * rt/shm_unlink.c: Likewise.
35921 * rt/timer_create.c: Likewise.
35922 * rt/timer_delete.c: Likewise.
35923 * rt/timer_getoverr.c: Likewise.
35924 * rt/timer_gettime.c: Likewise.
35925 * rt/timer_settime.c: Likewise.
35926 * setjmp/__longjmp.c: Likewise.
35927 * setjmp/setjmp.c: Likewise.
35928 * signal/kill.c: Likewise.
35929 * signal/killpg.c: Likewise.
35930 * signal/raise.c: Likewise.
35931 * signal/sigaction.c: Likewise.
35932 * signal/sigaltstack.c: Likewise.
35933 * signal/sigblock.c: Likewise.
35934 * signal/sigignore.c: Likewise.
35935 * signal/sigintr.c: Likewise.
35936 * signal/signal.c: Likewise.
35937 * signal/sigpause.c: Likewise.
35938 * signal/sigpending.c: Likewise.
35939 * signal/sigqueue.c: Likewise.
35940 * signal/sigreturn.c: Likewise.
35941 * signal/sigset.c: Likewise.
35942 * signal/sigsetmask.c: Likewise.
35943 * signal/sigstack.c: Likewise.
35944 * signal/sigsuspend.c: Likewise.
35945 * signal/sigtimedwait.c: Likewise.
35946 * signal/sigvec.c: Likewise.
35947 * signal/sigwait.c: Likewise.
35948 * signal/sigwaitinfo.c: Likewise.
35949 * signal/sysv_signal.c: Likewise.
35950 * socket/accept.c: Likewise.
35951 * socket/accept4.c: Likewise.
35952 * socket/bind.c: Likewise.
35953 * socket/connect.c: Likewise.
35954 * socket/getpeername.c: Likewise.
35955 * socket/getsockname.c: Likewise.
35956 * socket/getsockopt.c: Likewise.
35957 * socket/isfdtype.c: Likewise.
35958 * socket/listen.c: Likewise.
35959 * socket/recv.c: Likewise.
35960 * socket/recvfrom.c: Likewise.
35961 * socket/recvmsg.c: Likewise.
35962 * socket/send.c: Likewise.
35963 * socket/sendmsg.c: Likewise.
35964 * socket/sendto.c: Likewise.
35965 * socket/setsockopt.c: Likewise.
35966 * socket/shutdown.c: Likewise.
35967 * socket/sockatmark.c: Likewise.
35968 * socket/socket.c: Likewise.
35969 * socket/socketpair.c: Likewise.
35970 * stdio-common/ctermid.c: Likewise.
35971 * stdio-common/cuserid.c: Likewise.
35972 * stdio-common/remove.c: Likewise.
35973 * stdio-common/rename.c: Likewise.
35974 * stdio-common/renameat.c: Likewise.
35975 * stdio-common/tempname.c: Likewise.
35976 * stdlib/getcontext.c: Likewise.
35977 * stdlib/makecontext.c: Likewise.
35978 * stdlib/setcontext.c: Likewise.
35979 * stdlib/swapcontext.c: Likewise.
35980 * stdlib/system.c: Likewise.
35981 * streams/fattach.c: Likewise.
35982 * streams/fdetach.c: Likewise.
35983 * streams/getmsg.c: Likewise.
35984 * streams/getpmsg.c: Likewise.
35985 * streams/putmsg.c: Likewise.
35986 * streams/putpmsg.c: Likewise.
35987 * sysdeps/unix/bsd/getpt.c: Likewise.
35988 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35989 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35990 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35992 Likewise.
35993 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35994 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35995 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35996 * sysvipc/msgctl.c: Likewise.
35997 * sysvipc/msgget.c: Likewise.
35998 * sysvipc/msgrcv.c: Likewise.
35999 * sysvipc/msgsnd.c: Likewise.
36000 * sysvipc/semctl.c: Likewise.
36001 * sysvipc/semget.c: Likewise.
36002 * sysvipc/semop.c: Likewise.
36003 * sysvipc/semtimedop.c: Likewise.
36004 * sysvipc/shmat.c: Likewise.
36005 * sysvipc/shmctl.c: Likewise.
36006 * sysvipc/shmdt.c: Likewise.
36007 * sysvipc/shmget.c: Likewise.
36008 * termios/tcdrain.c: Likewise.
36009 * termios/tcflow.c: Likewise.
36010 * termios/tcflush.c: Likewise.
36011 * termios/tcgetattr.c: Likewise.
36012 * termios/tcgetpgrp.c: Likewise.
36013 * termios/tcsendbrk.c: Likewise.
36014 * termios/tcsetattr.c: Likewise.
36015 * termios/tcsetpgrp.c: Likewise.
36016 * time/adjtime.c: Likewise.
36017 * time/clock.c: Likewise.
36018 * time/getitimer.c: Likewise.
36019 * time/gettimeofday.c: Likewise.
36020 * time/setitimer.c: Likewise.
36021 * time/settimeofday.c: Likewise.
36022 * time/stime.c: Likewise.
36023 * time/time.c: Likewise.
36024
360252012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 36026
a20492cf
PT
36027 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36028 /usr/old/bin.
36029
72e182e3
PT
36030 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36031 instead of spaces.
36032 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36033
fbeafede
JM
360342012-11-03 Joseph Myers <joseph@codesourcery.com>
36035
5b5b04d6
JM
36036 [BZ #14796]
36037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36038 FE_TONEAREST before applying Dekker multiplication and Knuth
36039 addition. Clear inexact exceptions and check for exact zero
36040 results afterwards.
36041 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36042 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36044 * math/libm-test.inc (fma_test): Add more tests.
36045 (fma_test_towardzero): Likewise.
36046 (fma_test_downward): Likewise.
36047 (fma_test_upward): Likewise.
36048 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36049 function.
36050 (libc_fesetround): New macro.
36051 (libc_fesetroundf): Likewise.
36052 (libc_fesetroundl): Likewise.
36053 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36054 function.
36055 (libc_fesetround_387): Likewise.
36056 (libc_fesetroundf): New macro.
36057 (libc_fesetround): Likewise.
36058 (libc_fesetroundl): Likewise.
36059 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36060 function.
36061 (libc_fesetroundf): New macro.
36062 (libc_fesetround): Likewise.
36063 (libc_fesetroundl): Likewise.
36064 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36065 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36066 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36067 libm_hidden_ver.
36068 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36069 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36070 libm_hidden_def.
36071 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36072 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36073 libm_hidden_ver.
36074 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36075 libm_hidden_def.
36076
fbeafede
JM
36077 [BZ #3439]
36078 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36079 integer constant usable in #if and use that to give value to enum
36080 constant.
36081 (FE_DIVBYZERO): Likewise.
36082 (FE_UNDERFLOW): Likewise.
36083 (FE_OVERFLOW): Likewise.
36084 (FE_INVALID): Likewise.
36085 (FE_INVALID_SNAN): Likewise.
36086 (FE_INVALID_ISI): Likewise.
36087 (FE_INVALID_IDI): Likewise.
36088 (FE_INVALID_ZDZ): Likewise.
36089 (FE_INVALID_IMZ): Likewise.
36090 (FE_INVALID_COMPARE): Likewise.
36091 (FE_INVALID_SOFTWARE): Likewise.
36092 (FE_INVALID_SQRT): Likewise.
36093 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36094 (FE_TONEAREST): Likewise.
36095 (FE_TOWARDZERO): Likewise.
36096 (FE_UPWARD): Likewise.
36097 (FE_DOWNWARD): Likewise.
36098 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36099 (FE_DIVBYZERO): Likewise.
36100 (FE_OVERFLOW): Likewise.
36101 (FE_UNDERFLOW): Likewise.
36102 (FE_INEXACT): Likewise.
36103 (FE_TONEAREST): Likewise.
36104 (FE_DOWNWARD): Likewise.
36105 (FE_UPWARD): Likewise.
36106 (FE_TOWARDZERO): Likewise.
36107 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36108 (FE_UNDERFLOW): Likewise.
36109 (FE_OVERFLOW): Likewise.
36110 (FE_DIVBYZERO): Likewise.
36111 (FE_INVALID): Likewise.
36112 (FE_TONEAREST): Likewise.
36113 (FE_TOWARDZERO): Likewise.
36114 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36115 (FE_OVERFLOW): Likewise.
36116 (FE_UNDERFLOW): Likewise.
36117 (FE_DIVBYZERO): Likewise.
36118 (FE_INEXACT): Likewise.
36119 (FE_TONEAREST): Likewise.
36120 (FE_TOWARDZERO): Likewise.
36121 (FE_UPWARD): Likewise.
36122 (FE_DOWNWARD): Likewise.
36123 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36124 (FE_DIVBYZERO): Likewise.
36125 (FE_OVERFLOW): Likewise.
36126 (FE_UNDERFLOW): Likewise.
36127 (FE_INEXACT): Likewise.
36128 (FE_TONEAREST): Likewise.
36129 (FE_DOWNWARD): Likewise.
36130 (FE_UPWARD): Likewise.
36131 (FE_TOWARDZERO): Likewise.
36132
105ca950
CM
361332012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36134
36135 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36136
a542b389
AS
361372012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36138
36139 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36140 commands. Quote $PWD.
36141 (blacklist_exports): Don't use remove_newlines. Replace "declare
36142 -x" by "export".
36143 (remove_newlines): Remove.
36144
f62c8abc
L
361452012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36146
36147 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36148 * stdlib/stdlib.h (atof): Moved to ...
36149 * include/bits/stdlib-float.h: Here. New file.
36150 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36151 * stdlib/bits/stdlib-float.h: New file.
36152 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36153 -mno-sse -mno-mmx.
36154 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36155 <xmmintrin.h>.
36156
0155d5b2
JM
361572012-11-02 Joseph Myers <joseph@codesourcery.com>
36158
a68d0680
JM
36159 * conform/conformtest.pl (@headers): Add fenv.h.
36160 * conform/data/fenv.h-data: New file.
36161 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36162 include of <math/fenv.h>.
36163
caf7f573
JM
36164 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36165 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36166 && !UNIX98]. Enables tests for XOPEN2K8.
36167 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36168 POSIX2008]: Likewise.
36169
6c073ad6
JM
36170 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36171 (struct rusage): Do not expect type or its members.
36172
0155d5b2
JM
36173 [BZ #3439]
36174 * math/math.h (FP_NAN): Define macro to integer constant usable in
36175 #if and use that to give value to enum constant.
36176 (FP_INFINITE): Likewise.
36177 (FP_ZERO): Likewise.
36178 (FP_SUBNORMAL): Likewise.
36179 (FP_NORMAL): Likewise.
36180
b5dcacb4
AS
361812012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36182
36183 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36184 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36185 arguments.
36186
f7934be8
RM
361872012-11-02 Roland McGrath <roland@hack.frob.com>
36188
36189 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36190 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36191 autoconf-time if not.
36192 * configure.in: Remove AC_PREREQ.
36193
d7d08bde
TMQMF
361942012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36195
36196 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36197 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36198 of the internal implementation.
36199
dcdae19a
JM
362002012-11-02 Joseph Myers <joseph@codesourcery.com>
36201
36202 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36203 except include of <misc/sys/syslog.h>.
36204
d6cffd3e
AS
362052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36206
36207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36208 function returns with a NULL context exit with zero.
36209
b3563932
TMQMF
362102012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36211
36212 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36213
b288a93d
L
362142012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36215
36216 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36217 (run_program_cmd): This.
36218 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36219 (tst_langinfo): New variable. Use it.
36220
a2421a68
SAS
362212012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36222
36223 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36224 floating point opcodes.
36225
6f796e1b
TS
362262012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36227
7402596b
TS
36228 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36229 variable.
36230
d0d4f868
TS
36231 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36232
6f796e1b
TS
36233 * sysdeps/mach/hurd/powerpc: Remove directory.
36234 * sysdeps/mach/powerpc: Likewise.
36235
4da224a2
AS
362362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36237
36238 * scripts/check-local-headers.sh: Ignore c++ headers.
36239
341dd673
TS
362402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36241
36242 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36243 __libc_cleanup_region_start argument.
36244
473611b2
JM
362452012-11-01 Joseph Myers <joseph@codesourcery.com>
36246
36247 [BZ #14784]
36248 [BZ #14785]
36249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36250 x * y using scaling, not as x * y + z.
36251 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36253 * math/libm-test.inc (fma_test): Add more tests.
36254 (fma_test_towardzero): Likewise.
36255 (fma_test_downward): Likewise.
36256 (fma_test_upward): Likewise.
36257
4078da3d
TS
362582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36259
36260 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36261
903252aa
JM
362622012-10-31 Joseph Myers <joseph@codesourcery.com>
36263
36264 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36265 New variable.
36266
cbc818d0
TS
362672012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36268
36269 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36270
5a03cb1e
AS
362712012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36272
36273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36274 Fix sort order.
36275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36276 Likewise.
36277
90aff2ff
TMQMF
362782012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36279
36280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36281 Fix the order of the list for glibc 2.17.
36282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36283 Likewise.
36284
1818fcb7
AS
362852012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36286
36287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36288
ef82f4da
JM
362892012-10-31 Joseph Myers <joseph@codesourcery.com>
36290
16a0e2ec
JM
36291 [BZ #14610]
36292 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36293 for low part of x being zero before using __atanl (y).
36294 * math/libm-test.inc (atan2_test): Add another test.
36295
0eb69512
JM
36296 * manual/install.texi (Configuring and compiling): Document
36297 general use of test-wrapper and test-wrapper-env.
36298 * INSTALL: Regenerated.
36299
ef82f4da
JM
36300 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36301 (__fma): Do not extract and scale down low bits on after-rounding
36302 systems when result rounded to normal precision would have normal
36303 exponent.
36304 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36305 (__fmal): Do not extract and scale down low bits on after-rounding
36306 systems when result rounded to normal precision would have normal
36307 exponent.
36308 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36309 (__fmal): Do not extract and scale down low bits on after-rounding
36310 systems when result rounded to normal precision would have normal
36311 exponent.
36312 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36313 macro.
36314 (fma_test): Add more tests.
36315 (fma_test_towardzero): Likewise.
36316 (fma_test_downward): Likewise.
36317 (fma_test_upward): Likewise.
36318
954ef0d9
L
363192012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36320
36321 * sysdeps/i386/tininess.h: Renamed to ...
36322 * sysdeps/x86/tininess.h: This.
36323 * sysdeps/x86_64/tininess.h: Removed.
36324
df61ffb2
JM
363252012-10-30 Joseph Myers <joseph@codesourcery.com>
36326
36327 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36328 input. Use $(build-program-cmd).
36329 ($(objpfx)tst-array1-static.out): Likewise.
36330 ($(objpfx)tst-array2.out): Likewise.
36331 ($(objpfx)tst-array3.out): Likewise.
36332 ($(objpfx)tst-array4.out): Likewise.
36333 ($(objpfx)tst-array5.out): Likewise.
36334 ($(objpfx)tst-array5-static.out): Likewise.
36335
01767843
CM
363362012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36337
47cc1490
CM
36338 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36339 if defined.
36340
01767843
CM
36341 * nss/nsswitch.h (nss_interface_function): Provide new
36342 macro for use with NSS functions.
36343 * grp/initgroups.c: Use new macro.
36344 * nss/getXXbyYY.c: Likewise.
36345 * nss/getXXbyYY_r.c: Likewise.
36346 * nss/getXXent.c: Likewise.
36347 * nss/getXXent_r.c: Likewise.
36348 * sysdeps/posix/getaddrinfo.c: Likewise.
36349
8321aa97
AJ
363502012-10-30 Andreas Jaeger <aj@suse.de>
36351
36352 * po/ru.po: Update Russion translation from translation project.
36353
2a27fd6d
JM
363542012-10-30 Joseph Myers <joseph@codesourcery.com>
36355
8627a232
JM
36356 [BZ #14152]
36357 [BZ #14783]
36358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36359 result and shift together with sticky bit instead of replicating
36360 round-to-nearest rounding.
36361 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36362 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36363 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36364 missing underflow exceptions.
36365 (fma_test_towardzero): Add more tests.
36366 (fma_test_downward): Likewise.
36367 (fma_test_upward): Likewise.
36368
2a27fd6d
JM
36369 [BZ #14047]
36370 * sysdeps/generic/tininess.h: New file.
36371 * sysdeps/i386/tininess.h: Likewise.
36372 * sysdeps/sh/tininess.h: Likewise.
36373 * sysdeps/x86_64/tininess.h: Likewise.
36374 * stdlib/tst-strtod-underflow.c: Likewise.
36375 * stdlib/tst-tininess.c: Likewise.
36376 * stdlib/strtod_l.c: Include <tininess.h>.
36377 (round_and_return): Do not set errno for exact underflow cases.
36378 Force an underflow exception when setting errno for underflow.
36379 Determine underflow based on rounding to normal precision if
36380 TININESS_AFTER_ROUNDING.
36381 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36382 ERANGE for exact underflow cases.
36383 * stdlib/Makefile (tests): Add tst-tininess and
36384 tst-strtod-underflow.
36385 ($(objpfx)tst-tininess): Use $(link-libm).
36386 ($(objpfx)tst-strtod-underflow): Likewise.
36387
e7170363
AJ
363882012-10-30 Andreas Jaeger <aj@suse.de>
36389
e5088dc6
AJ
36390 [BZ#14767]
36391 * elf/Makefile (tests): Remove conditional for have-initfini-array
36392 since this is now always required and the variable does not exist
36393 anymore.
36394 (tests-static): Likewise.
36395 (modules-names): Likewise.
36396
e7170363 36397 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
36398
36399 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36400 merged with constructor/destructor.
36401 (init_array): Likewise.
36402 * elf/tst-array2dep.c (fini_array): Likewise.
36403 (init_array): Likewise.
36404
60457d8a
MF
364052012-10-29 Mike Frysinger <vapier@gentoo.org>
36406
36407 * manual/message.texi: Delete @cartouche tags.
36408
8bece752
PT
364092012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36410
94ce799f
PT
36411 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36412 EOPNOTSUPP.
36413 * sysdeps/mach/hurd/fsync.c: Likewise.
36414
8bece752
PT
36415 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36416 [_POSIX_REALTIME_SIGNALS]: Change condition to
36417 [_POSIX_REALTIME_SIGNALS > 0].
36418
86ebe6b1
AJ
364192012-10-27 Andreas Jaeger <aj@suse.de>
36420
36421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36422 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36424 [__WORDSIZE != 64]: Likewise.
36425
54399c08
L
364262012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36427
36428 * iconvdata/tst-table.sh: Remove ${SHELL}.
36429 * iconvdata/tst-tables.sh: Likewise.
36430
e2211bed
DM
364312012-10-25 David S. Miller <davem@davemloft.net>
36432
36433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36434 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36435 of strtoull.
36436
f303f97c
DM
36437 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36438 ifunc-impl-list.c
36439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36440 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36441 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36442 file.
36443
1e9d84cd
RM
364442012-10-25 Roland McGrath <roland@hack.frob.com>
36445
36446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36447 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36448 __getdirentries.
36449
df381762
JM
364502012-10-25 Joseph Myers <joseph@codesourcery.com>
36451 Jim Blandy <jimb@codesourcery.com>
36452
36453 * scripts/cross-test-ssh.sh: New file.
36454 * manual/install.texi (Configuring and compiling): Document use of
36455 cross-test-ssh.sh.
36456 * INSTALL: Regenerated.
36457
bff64913
PT
364582012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36459
36460 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36461 EOPNOTSUPP.
36462
25fe8932
JM
364632012-10-25 Joseph Myers <joseph@codesourcery.com>
36464
36465 * Makeconfig (run-program-prefix): Fix comment.
36466
cc1290d0
JM
364672012-10-24 Joseph Myers <joseph@codesourcery.com>
36468 Jim Blandy <jimb@codesourcery.com>
36469
36470 * Makeconfig (test-wrapper): New variable,
36471 (test-wrapper-env): Likewise.
36472 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36473 (run-built-tests): Define to yes.
36474 (run-program-prefix): Use $(test-wrapper).
36475 (built-program-cmd): Likewise.
36476 * Rules (make-test-out): Use $(test-wrapper-env) and
36477 $(host-built-program-cmd).
36478 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36479 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36480 tst-pathopt.sh.
36481 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36482 $(test-wrapper-env) to tst-rtld-load-self.sh.
36483 ($(objpfx)order2.out): Use $(test-wrapper).
36484 ($(objpfx)tst-initorder.out): Likewise.
36485 ($(objpfx)tst-initorder2.out): Likewise.
36486 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36487 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36488 (test_wrapper_env): New variable. Use it to run ld.so.
36489 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36490 Use it to run ld.so.
36491 (test_wrapper_env): Likewise.
36492 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36493 $(test-wrapper) to run-iconv-test.sh.
36494 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36495 (ICONV): Use $test_wrapper.
36496 * posix/Makefile ($(objpfx)globtest.out): Pass
36497 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36498 globtest.sh, not $(run-program-prefix).
36499 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36500 (test_wrapper): Likewise.
36501 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36502 set together with run_via_rtld_prefix.
36503 (run_program_prefix): Define in terms of test_wrapper and
36504 run_via_rtld_prefix.
36505
6e6249d0
RM
365062012-10-24 Roland McGrath <roland@hack.frob.com>
36507
36508 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36509 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36510 Targets removed.
36511
36512 [BZ #14743]
36513 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36514 Declare __clock_getres, __clock_gettime, __clock_settime,
36515 __clock_nanosleep, and __clock_getcpuclockid.
36516 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36517 Remove librt_hidden_def (clock_gettime).
36518 * sysdeps/unix/clock_gettime.c: Likewise.
36519 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36520 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36521 * rt/clock_getres.c: Define __clock_getres as an alias.
36522 * sysdeps/posix/clock_getres.c: Likewise.
36523 * rt/clock_settime.c: Define __clock_settime as an alias.
36524 * sysdeps/unix/clock_settime.c: Likewise.
36525 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36526 * sysdeps/unix/clock_nanosleep.c: Likewise.
36527 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36528 * rt/clock-compat.c: New file.
36529 * rt/Makefile (librt-routines): Add clock-compat and move
36530 $(clock-routines) to ...
36531 (routines): ... here, new variable.
36532 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36533 Don't add get_clockfreq here.
36534 * rt/Versions (libc: GLIBC_2.17): New version set.
36535 Add clock_* symbols here.
36536 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
36537 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36538 (GLIBC_2.17): Add clock_* symbols.
36539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36541 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36543 Likewise.
36544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36545 Likewise.
36546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36550 * NEWS: Mention the move.
36551
36552 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36553 Use __open, __read, __close rather than their public counterparts.
36554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36555 (__get_clockfreq_via_cpuinfo): Likewise.
36556 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36557 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36558
36559 * config.h.in (HAVE_IFUNC): New #undef.
36560 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36561 was successful.
36562 * configure: Regenerated.
36563
0cae3f4b
MF
365642012-10-24 Mike Frysinger <vapier@gentoo.org>
36565
36566 * configure.in: Move READELF check to start of file.
36567 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36568 libc_cv_asm_gnu_indirect_function in the process.
36569 * configure: Regenerated.
36570
8175a253
MF
365712012-10-24 Mike Frysinger <vapier@gentoo.org>
36572
36573 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36574 send the output to /dev/null.
36575 (libc_cv_cc_with_libunwind): Likewise.
36576 (libc_cv_as_noexecstack): Likewise.
36577 * configure: Regenerate.
36578
0708a7d1
JM
365792012-10-24 Joseph Myers <joseph@codesourcery.com>
36580
10b40d85
JM
36581 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36582
0708a7d1
JM
36583 * posix/globtest.sh (TMPDIR): Do not set.
36584 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36585 (testout): Likewise.
36586
9fddec1a
AJ
365872012-10-24 Andreas Jaeger <aj@suse.de>
36588
3a8db22f
AJ
36589 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36590 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36591 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36592 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36593 posix_fadvise64, posix_fallocate64.
36594
9fddec1a
AJ
36595 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36596 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36597 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36598 Likewise.
36599 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36600 Likewise.
36601 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36602
36603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36604 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36605 <bits/fcntl-linux.h>.
36606 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36607
36608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36609 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36610 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36611 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36612 [__WORDSIZE != 64]: Likewise.
36613
ebfd1bbd
JM
366142012-10-23 Joseph Myers <joseph@codesourcery.com>
36615
03ac099f
JM
36616 * Makeconfig (run-built-tests): New variable.
36617 * Rules [$(cross-compiling) = yes]: Change condition to
36618 [$(run-built-tests) = no].
36619 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36620 to [$(run-built-tests) = yes].
36621 * elf/Makefile [$(cross-compiling) = no]: Likewise
36622 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36623 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36624 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36625 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36626 * io/Makefile [$(cross-compiling) = no]: Likewise.
36627 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36628 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36629 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36630 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36631 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36632 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36633 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36634 * string/Makefile [$(cross-compiling) = no]: Likewise.
36635
ebfd1bbd
JM
36636 * posix/Makefile ($(objpfx)globtest.out): Pass
36637 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36638 $(rtld-installed-name).
36639 * posix/globtest.sh (elf_objpfx): Remove variable.
36640 (rtld_installed_name): Likewise.
36641 (library_path): Likewise.
36642 (run_program_prefix): New variable. Use for running globtest
36643 binary.
36644
166bca24
JB
366452012-10-23 Jim Blandy <jimb@codesourcery.com>
36646 Joseph Myers <joseph@codesourcery.com>
36647
36648 * Makeconfig (host-built-program-cmd): New variable.
36649 * elf/Makefile (tst-stackguard1-ARGS): Use
36650 $(host-built-program-cmd).
36651 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36652 (tst-spawn-ARGS): Likewise.
36653 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36654
88866099
JM
366552012-10-23 Joseph Myers <joseph@codesourcery.com>
36656 Jim Blandy <jimb@codesourcery.com>
36657
36658 * Makeconfig (run-via-rtld-prefix): New variable.
36659 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36660 (built-program-cmd): Likewise.
36661
b4b4c296
AJ
366622012-10-22 Andreas Jaeger <aj@suse.de>
36663
36664 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36665 __O_RSYNC if it exists, otherwise to O_SYNC.
36666
6fb54a22
JB
366672012-10-22 Jim Blandy <jimb@codesourcery.com>
36668 Joseph Myers <joseph@codesourcery.com>
36669
36670 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36671 /dev/null.
36672 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36673 from /dev/null
36674 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36675 /dev/null.
36676
481b90b9
AJ
366772012-10-22 Andreas Jaeger <aj@suse.de>
36678
2a0e2669
AJ
36679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36680 Define always.
36681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36682
76e38f9a
AJ
36683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36684 bits/fcntl-linux.h.
36685
7cd37b43
AJ
36686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36687 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36688
481b90b9
AJ
36689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36690 to __O_LARGEFILE.
36691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36692 to __O_LARGEFILE.
36693
aba75984
JB
366942012-10-21 Jim Blandy <jimb@codesourcery.com>
36695 Joseph Myers <joseph@codesourcery.com>
36696
36697 * config.make.in (NM): New variable.
36698
88d4247f
AJ
366992012-10-21 Andreas Jaeger <aj@suse.de>
36700
36701 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36702 definitions and declarations that are provided by
36703 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36704
f2eed205
L
367052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36706
36707 [BZ #14683]
36708 * elf/Makefile (tests-static): Add tst-leaks1-static.
36709 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36710 ($(objpfx)tst-leaks1-static): New rule.
36711 ($(objpfx)tst-leaks1-static-mem): Likewise.
36712 (tst-leaks1-static-ENV): New macro.
36713 * elf/dl-open.c (dl_open_worker): Check the main application
36714 only if SHARED is defined.
36715 * elf/tst-leaks1-static.c: New file.
36716
335e6931
AJ
367172012-10-20 Andreas Jaeger <aj@suse.de>
36718
36719 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36720 generic values for Linux.
36721 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36722 and declarations that are provided by <bits/fcntl-linux.h> and
36723 include <bits/fcntl-linux.h>.
36724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36726
ac5c94d3
RM
367272012-10-20 Roland McGrath <roland@hack.frob.com>
36728
36729 * io/fcntl.h: Move include of <bits/types.h> to the top and
36730 include it unconditionally.
36731
de54b33a
L
367322012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36733
228cfb01
L
36734 * wcsmbs/Makefile (tests-ifunc): New variable.
36735 (tests): Add $(tests-ifunc).
36736 * wcsmbs/test-wcschr-ifunc.c: New file.
36737 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36738 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36739 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36740 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36741 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36742
69f07e5f
L
36743 * string/Makefile (tests-ifunc): New variable.
36744 (tests): Add $(tests-ifunc).
36745 * string/test-memccpy.c (TEST_NAME): New macro.
36746 * string/test-memchr.c (TEST_NAME): Likewise.
36747 * string/test-memcmp.c (TEST_NAME): Likewise.
36748 * string/test-memcpy.c (TEST_NAME): Likewise.
36749 * string/test-memmem.c (TEST_NAME): Likewise.
36750 * string/test-memmove.c (TEST_NAME): Likewise.
36751 * string/test-memset.c (TEST_NAME): Likewise.
36752 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36753 * string/test-stpcpy.c (TEST_NAME): Likewise.
36754 * string/test-stpncpy.c (TEST_NAME): Likewise.
36755 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36756 * string/test-strcasestr.c (TEST_NAME): Likewise.
36757 * string/test-strcat.c (TEST_NAME): Likewise.
36758 * string/test-strchr.c (TEST_NAME): Likewise.
36759 * string/test-strcmp.c(TEST_NAME): Likewise.
36760 * string/test-strcpy.c (TEST_NAME): Likewise.
36761 * string/test-strcspn.c (TEST_NAME): Likewise.
36762 * string/test-strlen.c (TEST_NAME): Likewise.
36763 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36764 * string/test-strncmp.c (TEST_NAME): Likewise.
36765 * string/test-strncpy.c (TEST_NAME): Likewise.
36766 * string/test-strnlen.c (TEST_NAME): Likewise.
36767 * string/test-strpbrk.c (TEST_NAME): Likewise.
36768 * string/test-strrchr.c (TEST_NAME): Likewise.
36769 * string/test-strspn.c (TEST_NAME): Likewise.
36770 * string/test-strstr.c (TEST_NAME): Likewise.
36771 * string/test-bcopy-ifunc.c: New file.
36772 * string/test-bzero-ifunc.c: Likewise.
36773 * string/test-memccpy-ifunc.c: Likewise.
36774 * string/test-memchr-ifunc.c: Likewise.
36775 * string/test-memcmp-ifunc.c: Likewise.
36776 * string/test-memcpy-ifunc.c: Likewise.
36777 * string/test-memmem-ifunc.c: Likewise.
36778 * string/test-memmove-ifunc.c: Likewise.
36779 * string/test-mempcpy-ifunc.c: Likewise.
36780 * string/test-memset-ifunc.c: Likewise.
36781 * string/test-rawmemchr-ifunc.c: Likewise.
36782 * string/test-stpcpy-ifunc.c: Likewise.
36783 * string/test-stpncpy-ifunc.c: Likewise.
36784 * string/test-strcasecmp-ifunc.c: Likewise.
36785 * string/test-strcasestr-ifunc.c: Likewise.
36786 * string/test-strcat-ifunc.c: Likewise.
36787 * string/test-strchr-ifunc.c: Likewise.
36788 * string/test-strchrnul-ifunc.c: Likewise.
36789 * string/test-strcmp-ifunc.c: Likewise.
36790 * string/test-strcpy-ifunc.c: Likewise.
36791 * string/test-strcspn-ifunc.c: Likewise.
36792 * string/test-strlen-ifunc.c: Likewise.
36793 * string/test-strncasecmp-ifunc.c: Likewise.
36794 * string/test-strncat-ifunc.c: Likewise.
36795 * string/test-strncmp-ifunc.c: Likewise.
36796 * string/test-strncpy-ifunc.c: Likewise.
36797 * string/test-strnlen-ifunc.c: Likewise.
36798 * string/test-strpbrk-ifunc.c: Likewise.
36799 * string/test-strrchr-ifunc.c: Likewise.
36800 * string/test-strspn-ifunc.c: Likewise.
36801 * string/test-strstr-ifunc.c: Likewise.
36802
de54b33a
L
36803 * debug/Makefile (tests-ifunc): New variable.
36804 (tests): Add $(tests-ifunc).
36805 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36806 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36807 * debug/test-stpcpy_chk-ifunc.c: New file.
36808 * debug/test-strcpy_chk-ifunc.c: Likewise.
36809
88481c16
SP
368102012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36811
36812 [BZ #13601]
36813 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36814 header is not read in.
36815
135948bd
JM
368162012-10-19 Joseph Myers <joseph@codesourcery.com>
36817
89f1c388
JM
36818 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36819 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36820 directly. Pass built executable to script as
36821 $(built-program-cmd).
36822 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36823 $testprogram without using LD_LIBRARY_PATH and $ldso.
36824
e40a0d21
JM
36825 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36826 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36827 $(rtld-installed-name).
36828 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36829 (rtld_installed_name): Likewise.
36830 (library_path): Likewise.
36831 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36832 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36833 $(run-program-prefix) to tst-tables.sh.
36834 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36835 it to run tst-table-from and tst-table-to.
36836 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36837 Pass it to tst-table.sh.
36838 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36839 $(run-program-prefix) to tst-gettext.sh.
36840 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36841 tst-translit.sh.
36842 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36843 tst-gettext2.sh.
36844 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36845 to run tst-gettext.
36846 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36847 to run tst-gettext2.
36848 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36849 to run tst-translit.
36850 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36851 $(run-program-prefix) to tst-mtrace.sh.
36852 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36853 to run tst-mtrace.
36854 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36855 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36856 $(rtld-installed-name).
36857 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36858 (rtld_installed_name): Likewise.
36859 (run_program_prefix): New variable. Use it to run wordexp-test.
36860
728e272a
JM
36861 * Makeconfig (ARCH): Remove all definitions.
36862 (machine): Likewise.
36863 [ARCH]: Remove conditional code.
36864 [!objdir]: Give error.
36865 [!objdir] (objpfx): Remove.
36866 [!objdir] (common-objpfx): Likewise.
36867 [!objdir] (common-objdir): Likewise.
36868 * configure.in (config_makefile): Remove. Hardcode Makefile in
36869 AC_CONFIG_FILES call.
36870 * configure: Regenerated.
36871
d528cdcf
JM
36872 [BZ #13888]
36873 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36874 or TMPDIR.
36875 (testout): Likewise.
36876
135948bd
JM
36877 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36878 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36879 $(rtld-installed-name).
36880 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36881 (rtld_installed_name): Likwise.
36882 (runit): Remove function.
36883 (run_getconf): New variable, Use it for running getconf binary.
36884
38c78296
L
368852012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36886
36887 [BZ #14716]
36888 * string/test-memmem.c (check_result): New function.
36889 (do_one_test): Use it.
36890 (check1): New function.
36891 (test_main): Use it.
36892
d077f65f
MT
368932012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36894
36895 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36896
ced52c71
JM
368972012-10-18 Joseph Myers <joseph@codesourcery.com>
36898
36899 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36900 (_G_LSEEK64): Likewise.
36901 (_G_MMAP64): Likewise.
36902 (_G_FSTAT64): Likewise.
36903 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36904 (_G_LSEEK64): Likewise.
36905 (_G_MMAP64): Likewise.
36906 (_G_FSTAT64): Likewise.
36907 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36908 unconditional. Call __mmap64 directly.
36909 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36910 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36911 __lseek64 directly.
36912 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36913 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36914 __mmap64 directly.
36915 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36916 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36917 __lseek64 directly.
36918 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36919 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36920 __lseek64 directly.
36921 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36922 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36923 __lseek64 directly.
36924 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36925 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36926 __fxstat64 directly.
36927 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36928 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36929 unconditional.
36930 (freopen64) [!_G_OPEN64]: Remove conditional code.
36931 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36932 unconditional.
36933 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36934 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36935 unconditional.
36936 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36937 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36938 unconditional.
36939 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36940 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36941 unconditional.
36942 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36943 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36944 unconditional.
36945 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36946 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36947 unconditional.
36948 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36949 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36950 unconditional.
36951 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36952
b741de23
SP
369532012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36954
36955 [BZ #12140]
36956 * manual/memory.texi (Malloc Tunable Parameters): Add note
36957 about free list pointers overwriting some perturb bytes.
36958 Wording suggested by Roland McGrath.
36959
f9b9d9c9
JM
369602012-10-17 Joseph Myers <joseph@codesourcery.com>
36961
36962 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36963 (lgamma_test): Likewise.
36964 (tgamma_test): Likewise.
36965
172a631a
FW
369662012-10-16 Florian Weimer <fweimer@redhat.com>
36967
36968 [BZ #14700]
36969 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36970 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36971
e9f37252
MK
369722012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36973
36974 * NEWS: Mention BZ #14716.
36975 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36976 when removing AVAILABLE1_USES_J macro.
36977
d394eb74
L
369782012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36979
36980 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36981 (__bswap_64): __uint64_t for unsigned 64-bit int.
36982
ca38dc17
AS
369832012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36984
36985 * include/string.h (memmem): Declare libc hidden alias.
36986 * string/memmem.c (memmem): Define libc hidden alias.
36987 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36988 __read, __close instead of open, read, close.
36989
9a387d1f
L
369902012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36991
ac49ecaf
L
36992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36993 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36994 global and hidden.
36995 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36996 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36997 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36998 Likewise.
36999 (__rawmemchr_sse2): Likewise.
37000 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37001 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37002 (__strchr_sse2): Likewise.
37003 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37004 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37005 (__strcasecmp_sse2): Likewise.
37006 (__strncasecmp_sse2): Likewise.
37007 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37008 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37009 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37010 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37011 (__strrchr_sse2): Likewise.
37012 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37013 ifunc-impl-list.c.
37014 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37015 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37016 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37017 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37018 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37019 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37020 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37021 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37022 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37023 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37024 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37025 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37026 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37027 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37028 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37029 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37030 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37031 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37032 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37033 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37034 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37035 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37036 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37037 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37038 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37039 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37040 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37041 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37042 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37043 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37044
b090e8ea
L
37045 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37046 global and hidden.
37047 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37048 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37049 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37050 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37051 Likewise.
37052 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37053 Likewise.
37054 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37055 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37056 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37057 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37058 ifunc-impl-list.c.
37059 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37060 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37061 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37062 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37063 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37064 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37065 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37066 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37067 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37068 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37069 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37070 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37071 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37072 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37073 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37074 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37075 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37076 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37077 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37078 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37079 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37080 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37081 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37082 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37084 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37085 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37086 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37087 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37088 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37089 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37090 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37091 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37092 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37093 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37094 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37095 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37096 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37097 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37098 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37099 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37100
11dd4af6
L
37101 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37102 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37103 * include/ifunc-impl-list.h: New file.
37104 * misc/ifunc-impl-list.c: Likewise.
37105 * misc/Makefile (routines): Add ifunc-impl-list.
37106 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37107 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
37108 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37109 TEST_NAME]: New variables.
11dd4af6
L
37110 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37111 are defined.
37112 (test_init): Call __libc_ifunc_impl_list to initialize
37113 func_list if TEST_IFUNC and TEST_NAME are defined.
37114
9a387d1f
L
37115 * string/Makefile (strop-tests): Add bcopy and bzero.
37116 * string/test-bcopy.c: New file.
37117 * string/test-bzero.c: Likewise.
37118 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37119 defined.
37120 * string/test-memset.c: Support bzero test if TEST_BZERO is
37121 defined.
37122 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37123 __libc_memmove.
37124 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37125 __libc_memset.
37126 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37127 of memset.
37128
472371b9
JM
371292012-10-10 Joseph Myers <joseph@codesourcery.com>
37130
1e4a9536
JM
37131 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37132 * configure: Regenerated.
37133
d173d12e
JM
37134 * Makeconfig (+link-static-before-libc): Don't include
37135 $(link-static-libc).
37136
472371b9
JM
37137 * libio/libio.h (_IO_pos_t): Remove.
37138
89a3ad0b
AO
371392012-10-10 Alexandre Oliva <aoliva@redhat.com>
37140
37141 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37142 McGrath.
37143
e7451425
AO
371442012-10-10 Alexandre Oliva <aoliva@redhat.com>
37145
37146 * crypt/crypt-entry.c: Include fips-private.h.
37147 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37148 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37149 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37150 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37151
4ba74a35
AO
371522012-10-10 Alexandre Oliva <aoliva@redhat.com>
37153
37154 * crypt/crypt-private.h: Include stdbool.h.
37155 (_ufc_setup_salt_r): Return bool.
37156 * crypt/crypt-entry.c: Include errno.h.
37157 (__crypt_r): Return NULL with EINVAL for bad salt.
37158 * crypt/crypt_util.c (bad_for_salt): New.
37159 (_ufc_setup_salt_r): Check that salt is long enough and within
37160 the specified alphabet.
37161 * crypt/badsalttest.c: New file.
37162 * crypt/Makefile (tests): Add it.
37163 ($(objpfx)badsalttest): New.
37164
f96f1242
MK
371652012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37166
37167 * NEWS: Add entry for BZ #14602.
37168
0e8e0c1c
JM
371692012-10-09 Joseph Myers <joseph@codesourcery.com>
37170
37171 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37172 type-generic.
37173 * math/libm-test.inc: Update comment listing what functions and
37174 macros are tested.
37175 (isgreater_test): New function.
37176 (isgreaterequal_test): Likewise.
37177 (isless_test): Likewise.
37178 (islessequal_test): Likewise.
37179 (islessgreater_test): Likewise.
37180 (isunordered_test): Likewise.
37181 (main): Call the new functions.
37182
273edc5e
RM
371832012-10-09 Roland McGrath <roland@hack.frob.com>
37184
b8493de0
RM
37185 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37186 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37187 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37188 * sysdeps/i386/configure: Regenerated.
37189 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37190 * sysdeps/mach/configure: Regenerated.
37191 * sysdeps/mach/hurd/configure: Regenerated.
37192 * sysdeps/powerpc/configure: Regenerated.
37193 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37194 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37195 * sysdeps/s390/s390-32/configure: Regenerated.
37196 * sysdeps/s390/s390-64/configure: Regenerated.
37197 * sysdeps/sh/configure: Regenerated.
37198 * sysdeps/sparc/configure: Regenerated.
37199 * sysdeps/unix/sysv/linux/configure: Regenerated.
37200 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37201 * sysdeps/x86_64/configure: Regenerated.
37202
273edc5e
RM
37203 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37204 defined. Don't check if MAP is NULL.
37205
c8450f70
JM
372062012-10-09 Joseph Myers <joseph@codesourcery.com>
37207
37208 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37209 (_G_stat64): Likewise.
37210 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37211 (_G_stat64): Likewise.
37212 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37213 instead of struct _G_stat64.
37214 * libio/fileops.c (mmap_remap_check): Likewise.
37215 (decide_maybe_mmap): Likewise.
37216 (_IO_new_file_seekoff): Likewise.
37217 (_IO_file_stat): Likewise.
37218 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37219 _G_off64_t.
37220 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37221 instead of struct _G_stat64.
37222 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37223
57e605ba
MK
372242012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37225
37226 [BZ #14602]
37227 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37228 Replace with ...
37229 (CHECK_EOL): New macro.
37230 (two_way_short_needle): Check beginning of haystack for EOL. Use
37231 CHECK_EOL.
37232 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37233 Replace with CHECK_EOL.
37234 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37235 Replace with CHECK_EOL.
37236
ef1bb361
JM
372372012-10-08 Joseph Myers <joseph@codesourcery.com>
37238
37239 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37240 type-generic.
37241 * math/libm-test.inc: Update comment listing what functions and
37242 macros are tested.
37243 (finite_test): New function.
37244 (isinf_test): Likewise.
37245 (isnan_test): Likewise.
37246 (fpclassify_test): Test subnormal input.
37247 (isfinite_test): Likewise.
37248 (isnormal_test): Likewise.
37249 (main): Call the new functions.
37250
55f11534
JN
372512012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37252
37253 [BZ #14660]
37254 * Makerules (%.dynsym): Force C locale when running
37255 $(OBJDUMP) --dynamic-syms.
37256
1ab29350
AS
372572012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37258
37259 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37260 <stdint.h>.
37261
f1ecb7ef
DM
372622012-10-06 David S. Miller <davem@davemloft.net>
37263
37264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37265 upper 32-bits of the length value in %o2 since we use branch-on-register
37266 tests which consider the entire 64-bit register.
37267
5d41d91a
L
372682012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37269
37270 * string/test-strstr.c (check2): Add a test for page boundary.
37271
3baddb72
DM
372722012-10-05 David S. Miller <davem@davemloft.net>
37273
37274 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37275 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37276 file.
37277 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37278 sysdep_routines.
37279 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37280 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37281 and bzero when HWCAP_SPARC_CRYPTO is present.
37282
9cee5585
L
372832012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37284
d7e0dab9
L
37285 [BZ #14602]
37286 * string/test-strstr.c (check2): New function.
37287 (test_main): Call check2.
37288
03759f47
L
37289 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37290 and bug-strchr1.
37291 * string/bug-strcasestr1.c (do_test): Moved to ...
37292 * string/test-strcasestr.c (check1): Here. New function.
37293 (do_one_test): Break out result checking code into ...
37294 (check_result): This. New function.
37295 (do_one_test): Call check_result.
37296 (test_main): Call check1.
37297 * string/bug-strchr1.c (do_test): Moved to ...
37298 * string/test-strchr.c (check1): Here. New function.
37299 (do_one_test): Break out result checking code into ...
37300 (check_result): This. New function.
37301 (do_one_test): Call check_result.
37302 (test_main): Call check1.
37303 * string/bug-strstr1.c (main): Moved to ...
046f153e 37304 * string/test-strstr.c (check1): Here. New function.
03759f47
L
37305 (do_one_test): Break out result checking code into ...
37306 (check_result): This. New function.
37307 (do_one_test): Call check_result.
37308 (test_main): Call check1.
37309 * string/bug-strcasestr1.c: Removed.
37310 * string/bug-strchr1.c: Likewise.
37311 * string/bug-strstr1.c: Likewise.
37312
53cea63e
L
37313 * elf/Makefile (dl-routines): Add hwcaps.
37314 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37315 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37316 (_dl_important_hwcaps): Moved to ...
37317 * elf/dl-hwcaps.c: Here. New file.
37318 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37319
9cee5585 37320 [BZ #14557]
bb859b06
L
37321 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37322 if IS_IN_rtld isn't defined.
37323
9cee5585
L
37324 * elf/dl-support.c (_dl_sysinfo_map): New.
37325 Include "get-dynamic-info.h" and "setup-vdso.h".
37326 (_dl_non_dynamic_init): Call setup_vdso.
37327 * elf/dynamic-link.h: Don't include <assert.h>.
37328 (elf_get_dynamic_info): Moved to ...
37329 * elf/get-dynamic-info.h: Here. New file.
37330 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37331 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37332 * elf/setup-vdso.h: Here. New file.
37333 * elf/rtld.c: Include "setup-vdso.h".
37334 (dl_main): Call setup_vdso.
37335
23c31b76
JM
373362012-10-05 Joseph Myers <joseph@codesourcery.com>
37337
28234b07
JM
37338 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37339 creal in comment listing functions tested. List finite, isinf,
37340 isnan, isless, islessequal, isgreater, isgreaterequal,
37341 islessgreater, isunordered, lgamma_r and pow10 as functions and
37342 macros not tested. Mention which functions not tested are aliases
37343 for other functions. Fix typo. Note that signs of NaNs are not
37344 tested.
37345
23c31b76
JM
37346 * scripts/config.guess: Update from config.git.
37347 * scripts/config.sub: Likewise.
37348
9043e228
RM
373492012-10-04 Roland McGrath <roland@hack.frob.com>
37350
37351 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37352 * misc/madvise.c (madvise): Renamed to __madvise.
37353 Make madvise a weak alias.
37354 * include/sys/mman.h: Declare __madvise.
37355 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37356 * sysdeps/unix/syscalls.list
37357 (madvise): Make __madvise the strong name, and madvise a weak alias.
37358 * sysdeps/unix/sysv/linux/syscalls.list
37359 (madvise, mmap): Remove redundant entries.
37360 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37361 * malloc/malloc.c (mtrim): Likewise.
37362 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37363
f57f8055
RM
373642012-10-03 Roland McGrath <roland@hack.frob.com>
37365
37366 * sysdeps/mach/hurd/dl-cache.c: File removed.
37367 * config.h.in (USE_LDCONFIG): New #undef.
37368 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37369 * configure: Regenerated.
37370 * elf/Makefile (dl-routines): Add dl-cache only under
37371 [$(use-ldconfig) = yes].
37372 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37373 cache on [USE_LDCONFIG].
37374 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37375 [USE_LDCONFIG].
37376 * elf/rtld.c (dl_main): Likewise.
37377
5bb0c10a
PT
373782012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37379
37380 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37381 _SC_LEVEL4_CACHE_LINESIZE.
37382
010188c6
RM
373832012-10-03 Roland McGrath <roland@hack.frob.com>
37384
37385 * sysdeps/unix/bsd/confstr.h: File removed.
37386
b6c5ec07
AO
373872012-10-02 Alexandre Oliva <aoliva@redhat.com>
37388
37389 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37390 sys/sdt-config.h.
37391
408223d4
RM
373922012-10-02 Roland McGrath <roland@hack.frob.com>
37393
37394 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37395 Make 'mapoff' field ElfW(Off) rather than off_t.
37396
bb9510dc
DL
373972012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37398
fc997c6e
DL
37399 * nscd/Makefile: Remove nscd-cflags and all its users.
37400 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37401 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37402
bb9510dc
DL
37403 [BZ #10631]
37404 * malloc.c (malloc_printerr): Clarify error message.
37405
05699367
L
374062012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37407
37408 [BZ #14648]
37409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37410 Set bit_FMA_Usable if FMA is supported.
37411 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37412 macro.
37413 (bit_FMA4_Usable): Updated.
37414 (index_FMA_Usable): New macro.
37415 (CPUID_FMA): Likewise
37416 (HAS_FMA): Defined with bit_FMA_Usable.
37417
51367701
RM
374182012-10-01 Roland McGrath <roland@hack.frob.com>
37419
37420 * bits/types.h (__swblk_t): Type removed.
37421 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37422 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37423 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37424 (__SWBLK_T_TYPE): Likewise.
37425 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37426 (__SWBLK_T_TYPE): Likewise.
37427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37428 (__SWBLK_T_TYPE): Likewise.
37429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37430 (__SWBLK_T_TYPE): Likewise.
37431
4d57bf63 374322012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 37433 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
37434
37435 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37436 (xdr_mapname): Use YPMAXMAP as maxsize.
37437 (xdr_peername): Use YPMAXPEER as maxsize.
37438 (xdr_keydat): Use YPAXRECORD as maxsize.
37439 (xdr_valdat): Use YPMAXRECORD as maxsize.
37440
93c65d43
RM
374412012-10-01 Roland McGrath <roland@hack.frob.com>
37442
497a03d6
RM
37443 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37444
93c65d43
RM
37445 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37446 * csu/init-first.c: ... here.
37447 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37448 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37449 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37450 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37451 * sysdeps/i386/init-first.c: File removed.
37452 * sysdeps/sh/init-first.c: File removed.
37453
bec749fd
JM
374542012-10-01 Joseph Myers <joseph@codesourcery.com>
37455
37456 [BZ #14645]
37457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37458 if x * y might underflow to zero and z is zero.
37459 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37460 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37461 * math/libm-test.inc (min_subnorm_value): New variable.
37462 (fma_test): Add more tests.
37463 (fma_test_towardzero): Likewise.
37464 (fma_test_downward): Likewise
37465 (fma_test_upward): Likewise.
37466 (initialize): Set min_subnorm_value.
37467
8ec5b013
JM
374682012-09-29 Joseph Myers <joseph@codesourcery.com>
37469
37470 [BZ #14638]
37471 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37472 0 + 0.
37473 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37474 mode for addition resulting in exact zero.
37475 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37476 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37477 exact 0 + 0.
37478 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37479 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37480 * math/libm-test.inc (fma_test): Add more tests.
37481 (fma_test_towardzero): New function.
37482 (fma_test_downward): Likewise.
37483 (fma_test_upward): Likewise.
37484 (main): Call the new functions.
37485
b1fa802e
DM
374862012-09-28 David S. Miller <davem@davemloft.net>
37487
37488 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37489
d3b9fd9e
RM
374902012-09-28 Roland McGrath <roland@hack.frob.com>
37491
ea4d37b3
RM
37492 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37493 instead of SIGALRM.
37494
ac51c949
RM
37495 * sysdeps/gnu/_G_config.h: Moved to ...
37496 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37497 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37498 * sysdeps/generic/_G_config.h: ... here.
37499
28c195f7
RM
37500 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37501
848917f9
RM
37502 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37503
6bacf05b
RM
37504 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37505 Conditionalize target on [libnss_test1.so-version].
37506
91363dbb
RM
37507 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37508
cc87f7d8
RM
37509 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37510 (elfobjdir): Move out of conditionals.
37511
b1c608fe
RM
37512 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37513 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37514 (__nss_lookup_function): Conditionalize label remove_from_tree on
37515 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 37516
1d9a6d96
DM
375172012-09-28 David S. Miller <davem@davemloft.net>
37518
37519 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37520 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37521 file.
37522 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37523 sysdep_routines.
37524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37526 when HWCAP_SPARC_CRYPTO is present.
37527
72581615
PT
375282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37529
37530 * io/tst-mknodat.c: Create a FIFO instead of a socket.
37531
715a900c
JL
375322012-09-28 Andreas Schwab <schwab@linux-m68k.org>
37533
37534 [BZ #6530]
37535 * stdio-common/vfprintf.c (process_string_arg): Revert
37536 2000-07-22 change.
37537
375382011-09-28 Jonathan Nieder <jrnieder@gmail.com>
37539
37540 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37541 for testcase.
37542 * stdio-common/tst-sprintf.c: Include <locale.h>
37543 (main): Test sprintf's handling of incomplete multibyte
37544 characters.
37545
9bac1d86
L
375462012-09-28 H.J. Lu <hongjiu.lu@intel.com>
37547
37548 * elf/dl-runtime.c (VERSYMIDX): Removed.
37549 * elf/dl-version.c (VERSYMIDX): Likewise.
37550 * elf/do-rel.h (VERSYMIDX): Likewise.
37551 (VALIDX): Likewise.
37552 * elf/dynamic-link.h (VERSYMIDX): Likewise.
37553 * elf/rtld.c (VALIDX): Likewise.
37554 (ADDRIDX): Likewise.
9bac1d86
L
37555 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37556 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37557 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
37558 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37559 (VALIDX): Likewise.
37560 (ADDRIDX): Likewise.
9bac1d86 37561
b31606c0
PT
375622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37563
37564 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37565
11541177
JL
375662012-09-28 Dmitry V. Levin <ldv@altlinux.org>
37567
37568 [BZ #11438]
37569 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37570 to global scope.
37571 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37572 addresses are in the same scope as 192.0.2/24.
37573 * posix/gai.conf: Document new scope table defaults.
37574
adb26fae
SP
375752012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37576
37577 [BZ #5298]
37578 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37579 for ftell. Compute offsets from write pointers instead.
37580 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37581
4573c6b0
SP
375822012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37583
37584 [BZ #14543]
37585 * libio/Makefile (tests): New test case tst-fseek.
37586 * libio/tst-fseek.c: New test case to verify that fseek/ftell
37587 combination works in wide mode.
37588 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37589 state when the external buffer state changes.
37590
aa9bbfe6
DM
375912012-09-27 David S. Miller <davem@davemloft.net>
37592
37593 [BZ #14376]
37594 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37595 pass reloc->r_addend in as the 'high' argument to
37596 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37597
784421e7
DM
37598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37599
c39bc8b8
PT
376002012-09-28 Pino Toscano <toscano.pino@tiscali.it>
37601
37602 * rt/tst-aio2.c: Include <pthread.h>.
37603 * rt/tst-aio3.c: Likewise.
37604
1ccc2399
SE
376052012-09-27 Steve Ellcey <sellcey@mips.com>
37606
37607 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37608
31ed4153
L
376092012-09-27 H.J. Lu <hongjiu.lu@intel.com>
37610
25f5f885
L
37611 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37612 contents on [SHARED].
31ed4153 37613
b7bfe116
MP
376142012-09-26 Marek Polacek <polacek@redhat.com>
37615
37616 [BZ #14530]
37617 [BZ #13741]
37618 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37619 for C++ and GCC <4.3 as well as for non GCC compilers.
37620
43c4edba
MT
376212012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37622
37623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37624
6a1bf82f
RM
376252012-09-25 Roland McGrath <roland@hack.frob.com>
37626
37627 * Makefile.in (all, install): Declare with .PHONY.
37628 Reported by Michael Hope <michael.hope@linaro.org>.
37629
8ad11b9a
TMQMF
376302012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37631
37632 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37633 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37634 system header.
37635 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37636 Likewise.
37637 (sydep_routines): Add the new and the internal functions.
37638 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37639 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37641 (GLIBC_2.17): Add the new function.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37643 (GLIBC_2.17): Likewise.
37644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37645 (GLIBC_2.17): Likewise.
37646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37647 (GLIBC_2.17): Likewise.
37648 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37649
7e2fca8d
AM
376502012-09-25 Alan Modra <amodra@gmail.com>
37651
37652 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37653 Add release barrier before setting once_control to say
37654 initialisation is done. Add hints on lwarx. Use macro in
37655 place of isync.
37656 (clear_once_control): Add release barrier.
37657
b87c4b24
JM
376582012-09-25 Joseph Myers <joseph@codesourcery.com>
37659
d032e0d2
JM
37660 [BZ #13629]
37661 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37662 specially.
37663 * math/s_clog10.c (__clog10): Likewise.
37664 * math/s_clog10f.c (__clog10f): Likewise.
37665 * math/s_clog10l.c (__clog10l): Likewise.
37666 * math/s_clogf.c (__clogf): Likewise.
37667 * math/s_clogl.c (__clogl): Likewise.
37668 * math/Makefile (libm-calls): Add x2y2m1.
37669 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37670 (__x2y2m1): Likewise.
37671 (__x2y2m1l): Likewise.
37672 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37673 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37674 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37675 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37676 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37677 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37678 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37679 * sysdeps/i386/fpu/libm-test-ulps: Update.
37680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37681
b87c4b24
JM
37682 [BZ #14621]
37683 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37684 int as type of variable DEPTH.
37685 (glob): Use size_t instead of int as type of variables NEWCOUNT
37686 and OLD_PATHC.
37687
6d3bf199
LD
376882012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37689
22bf5c17
LD
37690 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37691 Add s_sincosf-sse2.
37692 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37693 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37694 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37695 macros for using routine as __sincosf_ia32.
37696 Use macro for function declaration and weak_alias.
37697 * sysdeps/i386/fpu/libm-test-ulps: Update.
37698
37699 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37701
37702 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37703 subnormal argument.
37704 * math/s_cexpf.c (__cexpf): Likewise.
37705 * math/s_csinf.c (__csinf): Likewise.
37706 * math/s_csinhf.c (__csinhf): Likewise.
37707 * math/s_ctanf.c (__ctanf): Likewise.
37708 * math/s_ctanhf.c (__ctanhf): Likewise.
37709 * math/s_ccosh.c (__ccoshf): Likewise.
37710 * math/s_cexp.c (__cexpl): Likewise.
37711 * math/s_csin.c (__csin): Likewise.
37712 * math/s_csinh.c (__csinh): Likewise.
37713 * math/s_ctan.c (__ctan): Likewise.
37714 * math/s_ctanh.c (ctanh): Likewise.
37715 * math/s_ccoshl.c (__ccoshl): Likewise.
37716 * math/s_cexpl.c (__cexpl): Likewise.
37717 * math/s_csinl.c (__csinl): Likewise.
37718 * math/s_csinhl.c (__csinhl): Likewise.
37719 * math/s_ctanl.c (__ctanl): Likewise.
37720 * math/s_ctanhl.c (__ctanhl): Likewise.
37721
203e5603
JM
377222012-09-25 Joseph Myers <joseph@codesourcery.com>
37723
37724 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37725 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37726 (_IO_off_t): Define to __off_t, not _G_off_t.
37727 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37728 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37729 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37730 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37731 type of __dummy and __dummy2 fields.
37732 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37733 (_G_ssize_t): Likewise.
37734 (_G_off_t): Likewise.
37735 (_G_pid_t): Likewise.
37736 (_G_uid_t): Likewise.
37737 (_G_wchar_t): Likewise.
37738 (_G_wint_t): Likewise.
37739 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37740 (_G_ssize_t): Likewise.
37741 (_G_off_t): Likewise.
37742 (_G_pid_t): Likewise.
37743 (_G_uid_t): Likewise.
37744 (_G_wchar_t): Likewise.
37745 (_G_wint_t): Likewise.
37746 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37747 (_G_ssize_t): Likewise.
37748 (_G_off_t): Likewise.
37749 (_G_pid_t): Likewise.
37750 (_G_uid_t): Likewise.
37751 (_G_wchar_t): Likewise.
37752 (_G_wint_t): Likewise.
37753
9fab36eb
SP
377542012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37755
37756 * malloc/arena.c: Include malloc-sysdep.h.
37757 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37758 is sufficient to shrink the heap or an unmap is needed.
37759 * sysdeps/generic/malloc-sysdep.h: New file. Define
37760 new function check_may_shrink_heap.
37761 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37762 new function check_may_shrink_heap.
37763
2b4f00d1
SP
377642012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37765
37766 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37767 comments.
37768
9a9028b1
DL
377692012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37770
57c69bef
DL
37771 * catgets/test-gencat.sh: Add "set -e".
37772 * elf/tst-pathopt.sh: Likewise.
37773 * grp/tst_fgetgrent.sh: Likewise.
37774 * iconvdata/run-iconv-test.sh: Likewise.
37775 * intl/tst-gettext.sh: Likewise.
37776 * intl/tst-gettext2.sh: Likewise.
37777 * intl/tst-gettext4.sh: Likewise.
37778 * intl/tst-gettext6.sh: Likewise.
37779 * intl/tst-translit.sh: Likewise.
37780 * io/ftwtest-sh: Likewise.
37781 * libio/test-freopen.sh: Likewise.
37782 * malloc/tst-mtrace.sh: Likewise.
37783 * posix/globtest.sh: Likewise.
37784 * posix/tst-getconf.sh: Likewise.
37785 * posix/wordexp-tst.sh: Likewise.
37786 * stdio-common/tst-printf.sh: Likewise.
37787 * stdio-common/tst-unbputc.sh: Likewise.
37788 * stdlib/tst-fmtmsg.sh: Likewise.
37789 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37790 * catgets/Makefile: Do not specify -e option when running
37791 testsuite shell scripts.
37792 * elf/Makefile: Likewise.
37793 * grp/Makefile: Likewise.
37794 * iconvdata/Makefile: Likewise.
37795 * intl/Makefile: Likewise.
37796 * io/Makefile: Likewise.
37797 * libio/Makefile: Likewise.
37798 * malloc/Makefile: Likewise.
37799 * posix/Makefile: Likewise.
37800 * stdio-common/Makefile: Likewise.
37801 * stdlib/Makefile: Likewise.
37802 * sysdeps/x86_64/Makefile: Likewise.
37803
9a9028b1
DL
37804 * io/ftwtest-sh: Add copyright header.
37805 * posix/globtest.sh: Likewise.
37806 * posix/tst-getconf.sh: Likewise.
37807 * posix/wordexp-tst.sh: Likewise.
37808 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37809
ced6f16e
L
378102012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37811
94b32c39
L
37812 [BZ #13679]
37813 * Makeconfig (+link): Defined as $(+link-static) if
37814 $(build-shared) isn't yes.
37815 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37816 isn't yes.
37817 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37818
189e935b
L
37819 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37820
ced6f16e
L
37821 [BZ #14562]
37822 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37823 new chunk size with MALLOC_ALIGN_MASK.
37824
a9f8e53a
JM
378252012-09-24 Joseph Myers <joseph@codesourcery.com>
37826
37827 [BZ #5044]
37828 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37829 <rounding-mode.h>.
37830 (__printf_fphex): Determine rounding using get_rounding_mode and
37831 round_away.
37832 * stdio-common/tst-printf-round.c (struct hex_test): New
37833 structure.
37834 (hex_tests): New variable.
37835 (test_hex_in_one_mode): New function.
37836 (do_test): Also run tests for hex float output.
37837
43153109
JM
378382012-09-21 Joseph Myers <joseph@codesourcery.com>
37839
37840 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37841 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37842 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37843 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37844 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37845 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37846 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37847 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37848
8a26625d
JM
378492012-09-20 Joseph Myers <joseph@codesourcery.com>
37850
37851 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37852 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37853 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37854 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37855
f3fd569c
DL
378562012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37857
37858 [BZ #14579]
37859 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37860 mode only.
37861 * elf/tst-rtld-load-self.sh: New test.
37862 * elf/Makefile: Run it.
37863
63bbedd4
JM
378642012-09-18 Joseph Myers <joseph@codesourcery.com>
37865
37866 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37867 (tst-writev-ENV): Remove.
37868 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37869
626f8b6a
CM
378702012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37871
37872 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37873
b7aaa4d6
JM
378742012-09-17 Joseph Myers <joseph@codesourcery.com>
37875
37876 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37877 unconditional.
37878 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37879 Likewise.
37880 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37881 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37882 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37883 Likewise.
37884
65513990
L
378852012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37886
37887 [BZ #14587]
37888 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37889 * config.make.in (have-cpp-asm-debuginfo): Removed.
37890 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37891 * configure: Regenerated.
37892
784761be
JM
378932012-09-14 Joseph Myers <joseph@codesourcery.com>
37894
37895 [BZ #5044]
37896 * stdio-common/printf_fp.c: Include <stdbool.h> and
37897 <rounding-mode.h>.
37898 (___printf_fp): Determine rounding using get_rounding_mode and
37899 round_away.
37900 * stdio-common/tst-printf-round.c: New file.
37901 * stdio-common/Makefile (tests): Add tst-printf-round.
37902 (link-libm): New variable.
37903 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37904
9503345f
L
379052012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37906
37907 [BZ #14576]
37908 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37909 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37910 Likewise.
37911 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37912 Likewise.
37913
ad35fc00
JM
379142012-09-13 Joseph Myers <joseph@codesourcery.com>
37915
37916 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37917 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37918 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37919 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37920
6c9b0f68
JM
379212012-09-12 Joseph Myers <joseph@codesourcery.com>
37922
37923 [BZ #14518]
37924 * include/rounding-mode.h: New file.
37925 * sysdeps/generic/get-rounding-mode.h: Likewise.
37926 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37927 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37928 (MAX_VALUE): New macro.
37929 (MIN_VALUE): Likewise.
37930 (overflow_value): New function.
37931 (underflow_value): Likewise.
37932 (round_and_return): Use overflow_value and underflow_value to
37933 determine return values in overflow and underflow cases. Use
37934 round_away to determine rounding depending on rounding mode.
37935 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37936 determine return values in overflow and underflow cases.
37937 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37938 (struct test_results): New structure.
37939 (struct test): Use struct test_results to store expected results
37940 for all rounding modes.
37941 (TEST): Include expected results for all rounding modes.
37942 (test_in_one_mode): New function.
37943 (do_test): Use test_in_one_mode to compute and check results.
37944 Check results for all rounding modes.
37945 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37946 $(link-libm).
37947
19fcedd5
AM
379482012-12-09 Allan McRae <allan@archlinux.org>
37949
1e9d84cd 37950 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37951
8bbfd2f1
JM
379522012-09-11 Joseph Myers <joseph@codesourcery.com>
37953
37954 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37955 (_G_int32_t): Likewise.
37956 (_G_uint16_t): Likewise.
37957 (_G_uint32_t): Likewise.
37958 (_G_HAVE_BOOL): Likewise.
37959 (_G_HAVE_ATEXIT): Likewise.
37960 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37961 (_G_HAVE_IO_FILE_OPEN): Likewise.
37962 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37963 (_G_int32_t): Likewise.
37964 (_G_uint16_t): Likewise.
37965 (_G_uint32_t): Likewise.
37966 (_G_HAVE_BOOL): Likewise.
37967 (_G_HAVE_ATEXIT): Likewise.
37968 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37969 (_G_HAVE_IO_FILE_OPEN): Likewise.
37970 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37971 (_G_int32_t): Likewise.
37972 (_G_uint16_t): Likewise.
37973 (_G_uint32_t): Likewise.
37974 (_G_HAVE_BOOL): Likewise.
37975 (_G_HAVE_ATEXIT): Likewise.
37976 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37977 (_G_HAVE_IO_FILE_OPEN): Likewise.
37978
b1dc5912
L
379792012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37980
37981 * csu/libc-tls.c: Update copyright years.
37982
0e886ef9
JM
379832012-09-10 Joseph Myers <joseph@codesourcery.com>
37984
28361c5e
JM
37985 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37986 [!_G_USING_THUNKS]: Remove conditional code.
37987 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37988 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37989
0e886ef9
JM
37990 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37991 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37992 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37993 (_G_VTABLE_LABEL_PREFIX): Likewise.
37994 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37995 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37997 (_G_VTABLE_LABEL_PREFIX): Likewise.
37998 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37999 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38001 (_G_VTABLE_LABEL_PREFIX): Likewise.
38002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38003
bcba7aa2
L
380042012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38005
38006 * libio/Makefile: Include ../Makeconfig before tests.
38007 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38008 only if $(build-shared) is yes.
38009
06585ee8
L
38010 * iconv/gconv_db.c: Update copyright years.
38011
80ccd52c
LD
380122012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38013
38014 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38015 unwind info if defined PIC. Fix special cases description.
38016 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38017
38018 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38019 DP_HI_MASK entry.
38020 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38021
691bc9c1
L
380222012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38023
3d9b46b3
L
38024 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38025
de2139a9
L
38026 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38027 is NULL.
38028
5ca78dd0
L
38029 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38030 (LDLIBS-tst-chk4): This.
38031 (LDFLAGS-tst-chk5): Renamed to ...
38032 (LDLIBS-tst-chk5): This.
38033 (LDFLAGS-tst-chk6): Renamed to ...
38034 (LDLIBS-tst-chk6): This.
38035 (LDFLAGS-tst-lfschk4): Renamed to ...
38036 (LDLIBS-tst-lfschk4): This.
38037 (LDFLAGS-tst-lfschk5): Renamed to ...
38038 (LDLIBS-tst-lfschk5): This.
38039 (LDFLAGS-tst-lfschk6): Renamed to ...
38040 (LDLIBS-tst-lfschk6): This.
38041
691bc9c1
L
38042 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38043 on $(common-objpfx)soversions.mk.
38044
65cafb1c
JM
380452012-09-07 Joseph Myers <joseph@codesourcery.com>
38046
38047 [BZ #10014]
38048 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38049 example host name.
38050
c78ab094
SP
380512012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38052
38053 * malloc/arena.c (arena_get_retry): New function that gets
38054 another arena for the caller to try its request on.
38055 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38056 current arena cannot fulfill the request.
38057 (__libc_memalign): Likewise.
38058 (__libc_memalign): Likewise.
38059 (__libc_pvalloc): Likewise.
38060 (__libc_calloc): Likewise.
38061
01f49f59
JT
380622012-09-05 John Tobey <john.tobey@gmail.com>
38063
38064 [BZ #13542]
38065 * manual/arith.texi (Operations on Complex): Fix description
38066 of carg branch cut.
38067
4c23fed5
JM
380682012-09-06 Joseph Myers <joseph@codesourcery.com>
38069
1d3c8572
JM
38070 [BZ #10014]
38071 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38072 host name.
38073
4c23fed5
JM
38074 [BZ #10038]
38075 * manual/memory.texi (Memory): Make order of menu items match
38076 order of sections.
38077
04570aaa
L
380782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38079
38080 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38081 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38082 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38083
b80af2f4
L
380842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38085
38086 * csu/libc-tls.c (static_dtv): Renamed to ...
38087 (_dl_static_dtv): This. Make it global.
38088 (_dl_initial_dtv): Removed.
38089 (__libc_setup_tls): Updated.
38090 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38091 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38092 DL_INITIAL_DTV.
38093
2abe9f15
PM
380942012-09-06 Petr Machata <pmachata@redhat.com>
38095
38096 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38097 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38098 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38099 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38100
0948c3af
L
381012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38102
38103 [BZ #14545]
38104 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38105 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38106 freeing dtv[-1].
38107
a5055ad1
L
381082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38109
38110 [BZ #14544]
38111 * Makeconfig (link-static-before-libc): Replace $(+prector)
38112 with $(+prectorT).
38113 (link-static-after-libc): Replace $(+postctor) with
38114 $(+postctorT).
38115 (link-bounded): Replace $(+prector)/$(+postctor) with
38116 $(+prectorT)/$(+postctorT).
38117 (+prectorT): New macro.
38118 (+postctorT): Likewise.
38119
ed8c2ecd
JM
381202012-09-06 Joseph Myers <joseph@codesourcery.com>
38121
38122 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38123 (round_str): Handle values above the maximum for IBM long double
38124 as inexact.
38125 * stdlib/tst-strtod-round.c (tests): Regenerated.
38126
14c996c8
AK
381272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38128
38129 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38130 assembler flag.
38131 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38132 zarch_nohighgprs around the zarch optimized routines.
38133 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38134 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38135 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38136 for zarch.
38137
430d6ce6
DM
381382012-09-05 David S. Miller <davem@davemloft.net>
38139
38140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38141
57f41c40
AS
38142 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38143 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
38144 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38145 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38146 entries.
38147
24d4e01b
AO
381482012-09-05 Alexandre Oliva <aoliva@redhat.com>
38149
38150 * malloc/arena.c: Fold copyright years.
38151 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38152
61d58174
AO
381532012-09-05 Alexandre Oliva <aoliva@redhat.com>
38154
38155 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38156
20196a5e
AO
381572012-09-05 Alexandre Oliva <aoliva@redhat.com>
38158
38159 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38160
5c447383
AO
381612012-09-05 Alexandre Oliva <aoliva@redhat.com>
38162
38163 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38164 change internal state upon failure.
38165
fad64255
AO
381662012-09-05 Alexandre Oliva <aoliva@redhat.com>
38167
38168 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38169 * malloc/memusage.c (mmap): Likewise.
38170 (mmap64, mremap): Likewise. Adjust name in comment.
38171
1ffb8c90
SP
381722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38173
38174 * libio/fileops.c: Fix typos in comments.
38175 * libio/oldfileops.c: Likewise.
38176 * libio/wfileops.c: Likewise.
38177
6ef9cc37
SP
381782012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38179
38180 [BZ #1349]
38181 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38182 (tst-malloc-usable-ENV): Set environment for test case.
38183 * malloc/hooks.c (malloc_check_get_size): New function to get
38184 requested size.
38185 * malloc/malloc.c (musable): Use malloc_check_get_size.
38186 * malloc/tst-malloc-usable.c: New test case.
38187
4d038ae3
AS
381882012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38189
38190 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38191
c4e85184
AM
381922012-09-05 Allan McRae <allan@archlinux.org>
38193
b9dafc56 38194 [BZ #13966]
c4e85184
AM
38195 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38196 determine header location.
38197 * configure: Regenerated.
38198
e1343020
AS
381992012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38200
38201 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38202 float format.
38203 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
38204 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38205 format.
e1343020
AS
38206 (test): Regenerate.
38207
0a9f1987
DM
382082012-09-04 David S. Miller <davem@davemloft.net>
38209
38210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38213
29237804
FW
382142012-09-04 Florian Weimer <fweimer@redhat.com>
38215
38216 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38217 failures.
38218
edb3cb88
FW
38219 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38220
60160d83
JM
382212012-09-04 Joseph Myers <joseph@codesourcery.com>
38222
38223 [BZ #9914]
38224 * libio/iogetdelim.c: Include <limits.h>.
38225 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38226 + len + 1 would overflow.
38227
bcd6c8dc
AJ
382282012-09-03 Andreas Jaeger <aj@suse.de>
38229
38230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38231 * sysdeps/i386/fpu/libm-test-ulps: Update.
38232
4ffffbd2
LD
382332012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38234
38235 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38236 Add s_sinf-sse2, s_conf-sse2.
38237
38238 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38239 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38240 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38241 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38242
38243 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38244 for using routine as __sinf_ia32.
38245 Use macro for function declaration and weak_alias.
38246 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38247 for using routine as __cosf_ia32.
38248 Use macro for function declaration and weak_alias.
38249
38250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38251 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38252
38253 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38254 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38256
38257 * math/libm-test.inc (cos_test): Add more test cases.
38258 (sin_test): Likewise.
38259 (sincos_test): Likewise.
38260
511fa286
AK
382612012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38262
38263 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38264 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38265 hidden.
38266 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38267
5f30cfec
L
382682012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38269
38270 [BZ #14538]
38271 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38272 first element of the GOT.
38273 (elf_machine_load_address): Return the difference between
38274 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38275
0786794f
AM
382762012-09-01 Allan McRae <allan@archlinux.org>
38277
5f30cfec
L
38278 [BZ #13412]
38279 * configure.in (AWK): Require gawk version 3.0 or later.
38280 * configure: Regenerated.
0786794f 38281
26889eac
JM
382822012-09-01 Joseph Myers <joseph@codesourcery.com>
38283
38284 * sysdeps/unix/sysv/linux/kernel-features.h
38285 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38286 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38287 [__NR_clock_getres]: Make code unconditional.
38288 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38289 (clock_getcpuclockid): Remove code left unreachable by removal of
38290 conditionals.
38291 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38292 code unconditional.
38293 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38294 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38295 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38296 Make code unconditional.
38297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38299 * sysdeps/unix/sysv/linux/clock_settime.c
38300 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38301 conditional code.
38302 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38303 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38304
d22e28b0
L
383052012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38306
38307 [BZ #14476]
38308 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38309 scripts/test-installation.pl.
38310
38311 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38312 and $ld_so_version if it is set.
38313
050af9c4
SP
383142012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38315
38316 [BZ #14516]
38317 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38318 failure if reading from procfs failed.
38319 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38320
ad845c0b
JM
383212012-08-27 Joseph Myers <joseph@codesourcery.com>
38322
38323 * sysdeps/unix/sysv/linux/kernel-features.h
38324 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38325 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38326 Remove conditional code.
38327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38328 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38329 Remove conditional code.
38330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38331 * sysdeps/unix/sysv/linux/i386/fxstat.c
38332 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38333 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38334 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38335 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38336 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38337 * sysdeps/unix/sysv/linux/i386/lxstat.c
38338 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38340 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38341 Remove conditional code.
38342 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38343 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38344 Remove conditional code.
38345 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38346 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38347 <kernel-features.h>.
38348 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38349 Remove.
38350 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38351 Remove conditional code.
38352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38353 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38354 Remove conditional.
38355
5dbf56af
MF
383562012-08-27 Mike Frysinger <vapier@gentoo.org>
38357
38358 [BZ #5400]
38359 * NEWS: Add fixed bug number.
38360
d6e70f43
JM
383612012-08-27 Joseph Myers <joseph@codesourcery.com>
38362
7efb4737
JM
38363 [BZ #14519]
38364 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38365 underflowing exponent in case of negative sign.
38366 * stdlib/tst-strtod-round-data: Add more tests.
38367 * stdlib/tst-strtod-round.c (tests): Regenerated.
38368
af92131a
JM
38369 [BZ #3479]
38370 * stdlib/strtod_l.c (NDIG): Remove.
38371 (HEXNDIG): Likewise.
38372 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38373 smallest representable value.
38374 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38375 lie within an exact representation of 1/2 ulp of the result.
38376 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38377 unconditionally.
38378 (TENS_P9_IDX): Define unconditionally.
38379 (TENS_P9_SIZE): Likewise.
38380 (TENS_P10_IDX): Likewise.
38381 (TENS_P10_SIZE): Likewise.
38382 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38383 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38384 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38385 entries for 10^2^13 and 10^2^14.
38386 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38387 (TENS_P13_IDX): Define.
38388 (TENS_P13_SIZE): Likewise.
38389 (TENS_P14_IDX): Likewise.
38390 (TENS_P14_SIZE): Likewise.
38391 (_fpioconst_pow10): Change array size to
38392 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38393 unconditional.
38394 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38395 1024]: Add entries for 10^2^13 and 10^2^14.
38396 [LAST_POW10 > _LAST_POW10]: Remove #error.
38397 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38398 (_fpioconst_pow10): Change array size to
38399 FPIOCONST_POW10_ARRAY_SIZE.
38400 * stdlib/gen-fpioconst.c: New file.
38401 * stdlib/gen-tst-strtod-round.c: Likewise.
38402 * stdlib/tst-strtod-round-data: Likewise.
38403 * stdlib/tst-strtod-round.c: Likewise.
38404 * stdlib/Makefile (tests): Add tst-strtod-round.
38405
d6e70f43
JM
38406 [BZ #14459]
38407 * stdlib/strtod_l.c: Include <stdint.h>.
38408 (NDEBUG): Do not define.
38409 (round_and_return): Change EXPONENT parameter to type intmax_t.
38410 Rearrange calculations to avoid internal overflow possibilities.
38411 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38412 Rearrange calculations to avoid internal overflow possibilities.
38413 Assert that number fits inside MPNSIZE limbs.
38414 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38415 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38416 calculations and add assertions to avoid internal overflow
38417 possibilities. Add casts to avoid signed/unsigned operations.
38418 * stdlib/tst-strtod-overflow.c: New file.
38419 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38420
1f529f7d
MP
384212012-08-25 Marek Polacek <polacek@redhat.com>
38422
38423 * time/time.h: Fix some typos in comments.
38424
59a629f1
RM
384252012-08-23 Roland McGrath <roland@hack.frob.com>
38426
38427 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38428 * posix/tst-rfc3484-2.c: Likewise.
38429 * posix/tst-rfc3484-3.c: Likewise.
38430
d3bafbc9
SM
384312012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38432
38433 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38434 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38435
4efcc022
JM
384362012-08-23 Joseph Myers <joseph@codesourcery.com>
38437
38438 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38439 #include of fxstatat64.c.
38440
3cc3ef96
RM
384412012-08-22 Roland McGrath <roland@hack.frob.com>
38442
f04e2132
RM
38443 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38444 * shadow/getspent_r.c: Likewise.
38445 * shadow/getspnam.c: Likewise.
38446 * shadow/getspnam_r.c: Likewise.
38447 * gshadow/getsgent.c: Likewise.
38448 * gshadow/getsgent_r.c: Likewise.
38449 * gshadow/getsgnam.c: Likewise.
38450 * gshadow/getsgnam_r.c: Likewise.
38451 * inet/getnetbyad.c: Likewise.
38452 * inet/getnetbyad_r.c: Likewise.
38453 * inet/getnetbynm.c: Likewise.
38454 * inet/getnetbynm_r.c: Likewise.
38455 * inet/getnetent.c: Likewise.
38456 * inet/getnetent_r.c: Likewise.
38457 * inet/getproto.c: Likewise.
38458 * inet/getproto_r.c: Likewise.
38459 * inet/getprtent.c: Likewise.
38460 * inet/getprtent_r.c: Likewise.
38461 * inet/getprtname.c: Likewise.
38462 * inet/getprtname_r.c: Likewise.
38463 * inet/getrpcbyname.c: Likewise.
38464 * inet/getrpcbyname_r.c: Likewise.
38465 * inet/getrpcbynumber.c: Likewise.
38466 * inet/getrpcbynumber_r.c: Likewise.
38467 * inet/getrpcent.c: Likewise.
38468 * inet/getrpcent_r.c: Likewise.
38469 * inet/getaliasent.c: Likewise.
38470 * inet/getaliasent_r.c: Likewise.
38471 * inet/getaliasname.c: Likewise.
38472 * inet/getaliasname_r.c: Likewise.
38473 * nscd/getgrgid_r.c: Likewise.
38474 * nscd/getgrnam_r.c: Likewise.
38475 * nscd/gethstbyad_r.c: Likewise.
38476 * nscd/gethstbynm3_r.c: Likewise.
38477 * nscd/getpwnam_r.c: Likewise.
38478 * nscd/getpwuid_r.c: Likewise.
38479 * nscd/getsrvbynm_r.c: Likewise.
38480 * nscd/getsrvbypt_r.c: Likewise.
38481 * nscd/gai.c: Likewise.
38482
c53d909c
RM
38483 * configure.in (build_nscd): New substituted variable, set
38484 by --disable-build-nscd and defaults to $use_nscd.
38485 * configure: Regenerated.
38486 * config.make.in (build-nscd): New substituted variable.
38487 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38488 Change conditional to require [$(build-nscd) = yes] as well.
38489 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38490
3cc3ef96
RM
38491 [BZ# 13696]
38492 * configure.in (use_nscd): New substituted variable, set by
38493 --disable-nscd. If enabled, define USE_NSCD.
38494 * configure: Regenerated.
38495 * config.h.in: Add USE_NSCD.
38496 * config.make.in (use-nscd): New substituted variable.
38497 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38498 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38499 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38500 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38501 (CFLAGS-getgrnam_r.c): Likewise.
38502 (CFLAGS-initgroups.c): Likewise.
38503 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38504 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38505 Variables removed.
38506 * inet/getnetgrent_r.c
38507 (nscd_setnetgrent): New function, broken out of ...
38508 (setnetgrent): ... here. Call it.
38509 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38510 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38511 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38512 * nscd/Makefile (routines, aux): Move definitions after include of
38513 Makeconfig. Conditionalize on [$(use-nscd) != no].
38514 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38515 Conditionalize on [USE_NSCD].
38516 (is_nscd, nscd_init_cb): Likewise.
38517 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38518 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38519 * nss/nss_db/db-init.c: Likewise.
38520 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38521 [USE_NSCD].
38522 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38523 (make_request): Use it.
38524 (cache_valid_p): New function.
38525 (__check_pf): Use it.
38526 * NEWS: Add item for --disable-nscd.
38527
07e51550
DL
385282012-08-22 Dmitry V. Levin <ldv@altlinux.org>
38529
38530 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38531 to support sed >= 4.2.1-20-ga9bf076.
38532 * configure: Regenerated.
38533
35a5b08b
RM
385342012-08-22 Roland McGrath <roland@hack.frob.com>
38535
38536 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38537 Conditionalize whole body on [IREL].
38538
8479f23a
JL
385392012-08-22 Jeff Law <law@redhat.com>
38540
38541 [BZ #14505]
38542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38543 if the family is PF_UNSPEC.
38544
48da0b21
MF
385452012-08-22 Mike Frysinger <vapier@gentoo.org>
38546
38547 * Makerules (lib-version): Rename from V.
38548 (install-lib-nosubdir): Change V to lib-version.
38549
15d0da8c
WS
385502012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
38551
38552 [BZ #14252]
38553 * powerpc32/power6/wcschr.c: New file.
38554 * powerpc32/power6/wcscpy.c: New file.
38555 * powerpc32/power6/wcsrchr.c: New file.
38556 * powerpc64/power6/wcschr.c: New file.
38557 * powerpc64/power6/wcscpy.c: New file.
38558 * powerpc64/power6/wcsrchr.c: New file.
38559
bcca0895
MK
385602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38561
38562 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38563 (two_way_short_needle): Use it.
5a4aaa33
RM
38564 * string/strstr.c (AVAILABLE1_USES_J): Define.
38565 * string/strcasestr.c: Likewise.
99677e57
MK
38566
38567 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38568 array references.
38569 * string/strcasestr.c (TOLOWER): Make side-effect safe.
38570
400726de
MK
38571 [BZ #11607]
38572 * NEWS: Add an entry.
38573 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38574 define their defaults.
38575 (two_way_short_needle): Detect end-of-string on-the-fly.
38576 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38577 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38578 * string/bug-strcasestr1.c: New test.
38579 * string/Makefile: Run it.
38580
20a71f2c
MK
385812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
38582
38583 [BZ #11607]
38584 * string/str-two-way.h (two_way_short_needle): Optimize matching of
38585 the first character.
38586
21ad0558
RM
385872012-08-21 Roland McGrath <roland@hack.frob.com>
38588
38589 * csu/elf-init.c (__libc_csu_irel): Function removed.
38590 * csu/libc-start.c (apply_irel): New function.
38591 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38592
0e1d9911
JM
385932012-08-21 Joseph Myers <joseph@codesourcery.com>
38594
38595 * sysdeps/unix/sysv/linux/kernel-features.h
38596 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38597 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38598 <kernel-features.h>.
38599 [__NR_fadvise64_64]: Make code unconditional.
38600 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38601 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38602 !__NR_fadvise64_64)]: Likewise.
38603 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38604 !__NR_fadvise64_64))]: Likewise.
38605 [__NR_fadvise64]: Make code unconditional.
38606 [!__NR_fadvise64]: Remove conditional code.
38607 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38608 <kernel-features.h>.
38609 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38610 unconditional.
38611 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38612 conditional code.
38613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38614 not include <kernel-features.h>.
38615 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38616 unconditional.
38617 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38618 conditional code.
38619 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38620 include <kernel-features.h>.
38621 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38622 unconditional.
38623 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38624 conditional code.
38625
14a50c9d
WS
386262012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38627
38628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38629 slight instruction rearrangements per scrollpipe analysis.
38630 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38631
c0f4faf0
RM
386322012-08-20 Roland McGrath <roland@hack.frob.com>
38633
696da859
RM
38634 * manual/syslog.texi (syslog; vsyslog, closelog):
38635 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38636 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38637
c0f4faf0
RM
38638 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38639 DSOCAPS to match condition on defining it.
38640
348363b2
JM
386412012-08-20 Joseph Myers <joseph@codesourcery.com>
38642
a35cbf28
JM
38643 * sysdeps/unix/sysv/linux/kernel-features.h
38644 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38646 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38647 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38649 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38650 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38652 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38653 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38654
445f7ecd
JM
38655 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38656 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38657
348363b2
JM
38658 * sysdeps/unix/sysv/linux/kernel-features.h
38659 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38660 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38661 unconditional.
38662 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38663 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38664 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38665 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38666 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38667 Make code unconditional.
38668 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38669 (__mmap64) [!__NR_mmap2]: Likewise.
38670 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38671 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38672 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38673 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38674 [__NR_mmap2]: Make code unconditional.
38675 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38676 (__mmap64) [!__NR_mmap2]: Likewise.
38677
bc5bc0e5
AK
386782012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38679
38680 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38681
88d506de
AJ
386822012-08-18 Andreas Jaeger <aj@suse.de>
38683
38684 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38685
493387d2
MF
386862012-08-18 Mike Frysinger <vapier@gentoo.org>
38687
38688 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38689 * include/unistd.h (__have_sock_cloexec): Likewise.
38690 (__have_pipe2): Likewise.
38691 (__have_dup3): Likewise.
38692
a277af22
MF
386932012-08-18 Mike Frysinger <vapier@gentoo.org>
38694
38695 [BZ #9685]
38696 * include/unistd.h (__have_pipe2): Change define into an extern int.
38697 (__have_dup3): Likewise.
38698 * socket/have_sock_cloexec.c: Include fcntl.h.
38699 (__have_pipe2): New variable.
38700 (__have_dup3): Likewise.
38701
fdab8fd3
MF
387022012-08-17 Mike Frysinger <vapier@gentoo.org>
38703
38704 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38705
31035e80
MP
387062012-08-17 Marek Polacek <polacek@redhat.com>
38707
38708 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38709 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38710
3bd9e993
RM
387112012-08-17 Roland McGrath <roland@hack.frob.com>
38712
c91c505f
RM
38713 * configure.in: Add AC_SUBST for sysheaders.
38714 * configure: Regenerated.
38715 * config.make.in (sysheaders): New substituted variable.
38716
7c6f9d53
RM
38717 * sysdeps/unix/mkfifo.c: Moved ...
38718 * sysdeps/posix/mkfifo.c: ... here.
38719 * sysdeps/unix/mkfifoat.c: Moved ...
38720 * sysdeps/posix/mkfifoat.c: ... here.
38721
38722 * sysdeps/unix/utime.c: Moved ...
38723 * sysdeps/posix/utime.c: ... here.
38724
38725 * sysdeps/unix/time.c: Moved ...
38726 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38727 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38728 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38729
38730 * sysdeps/unix/nice.c: Moved ...
38731 * sysdeps/posix/nice.c: ... here.
38732
38733 * sysdeps/unix/alarm.c: Moved ...
38734 * sysdeps/posix/alarm.c: ... here.
38735
3bd9e993
RM
38736 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38737
d1f09384
JL
387382012-08-17 Jeff Law <law@redhat.com>
38739
38740 * intl/Makefile (codeset_mo): New variable.
38741 ($(codeset_mo)): New target.
38742 (tst-codeset.out): Depend on that. Remove explicit rule.
38743 (tst-gettext3.out, tst-gettext5.out): Likewise.
38744 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38745 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38746 * intl/tst-codeset.sh: Remove.
38747 * intl/tst-gettext3.sh: Likewise.
38748 * intl/tst-gettext5.sh: Likewise.
38749
2ae1ae5c
RM
387502012-08-17 Roland McGrath <roland@hack.frob.com>
38751
c31fdb83
RM
38752 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38753 * sysdeps/unix/syscalls.list: ... here.
38754
a0844057
RM
38755 * sysdeps/posix/getaddrinfo.c
38756 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38757 (gaiconf_init, gaiconf_reload): Use them.
38758 [!_STATBUF_ST_NSEC]
38759 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38760 Define using time_t rather than struct timespec.
38761
750c1f2a
RM
38762 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38763 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38764 Macros removed.
38765 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38766 [!NO_THREADS].
38767 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38768 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38769 Likewise.
38770
2ae1ae5c
RM
38771 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38772 __libc_cleanup_push argument.
38773
e66a42f5
RM
38774 * bits/param.h: New file.
38775 * misc/sys/param.h: New file.
38776 * include/sys/param.h: New file.
38777 * misc/Makefile (headers): Add bits/param.h.
38778 * sysdeps/generic/sys/param.h: File removed.
38779 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38780 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38781 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38782 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38783
b7c08a66
RM
38784 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38785 last change.
38786
b2e1c562
RM
38787 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38788 [_IO_MTSAFE_IO].
38789 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38790 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38791 New macros.
38792
c75ccd4c
RM
38793 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38794 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38795 rather than -D_IO_MTSAFE_IO conditionally.
38796 * stdio-common/Makefile (CPPFLAGS): Likewise.
38797 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38798 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38799 Use $(libio-mtsafe).
38800 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38801 of -D_IO_MTSAFE_IO.
38802 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38803 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38804 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38805 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38806 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38807 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38808 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38809 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38810 (CFLAGS-fread_u_chk.c): Likewise.
38811 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38812 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38813 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38814 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38815 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38816 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38817 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38818 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38819 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38820
38821 * libio/Makefile: Test [$(libc-reentrant) = yes]
38822 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38823
38824 * Makeconfig
38825 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38826 * sysdeps/pthread/configure: File removed.
38827 * sysdeps/pthread/Makeconfig: New file.
38828 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38829 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38830
d9195db8
GB
388312012-08-16 Gary Benson <gbenson@redhat.com>
38832
38833 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38834 unmapping the first object in a namespace.
38835
86466cd9
RM
388362012-08-16 Roland McGrath <roland@hack.frob.com>
38837
38838 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38839 (__internal_setnetgrent): ... this. Add internal_function to
38840 definition. Add libc_hidden_def.
38841 (setnetgrent): Update caller.
38842 (internal_endnetgrent): Renamed to ...
38843 (__internal_endnetgrent): ... this. Add internal_function to
38844 definition. Add libc_hidden_def.
38845 (endnetgrent): Update caller.
38846 (internal_getnetgrent_r): Renamed to ...
38847 (__internal_getnetgrent_r): ... this. Add internal_function to
38848 definition. Add libc_hidden_def.
38849 (__getnetgrent_r): Update caller.
38850 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38851
c3c8283c
JM
388522012-08-16 Joseph Myers <joseph@codesourcery.com>
38853
38854 * stdlib/longlong.h: Update from GCC.
38855
db1ee0a8
RM
388562012-08-16 Roland McGrath <roland@hack.frob.com>
38857
38858 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38859 on _QL, which is set by umul_ppmm but never used.
38860 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38861 variables, which are set by GMP macros but never used.
38862 * stdio-common/_itowa.c (_itowa): Likewise.
38863 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38864 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38865
30f69637
CD
388662012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38867
38868 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38869 struct La_sh_regs is not constant.
38870 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38871 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38872 and struct La_sparc64_regs are not constant.
38873
93a78ac4
JM
388742012-08-16 Joseph Myers <joseph@codesourcery.com>
38875
38876 * sysdeps/unix/sysv/linux/kernel-features.h
38877 (__ASSUME_POSIX_TIMERS): Remove.
38878 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38879 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38880 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38881 Make code unconditional.
38882 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38883 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38884 Make code unconditional.
38885 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38886 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38887 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38888 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38889 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38890 Make code unconditional.
38891 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38892 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38893 (__libc_missing_posix_timers): Remove.
38894
dd924cd7
RM
388952012-08-15 Roland McGrath <roland@hack.frob.com>
38896
4b4f2771
RM
38897 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38898 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38899
601c888b
RM
38900 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38901
176790a7
RM
38902 * elf/dl-sym.c: Include <stdlib.h>.
38903
329bc018
RM
38904 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38905 constants, which avoids warnings in 32-bit builds.
38906
e04e272d
RM
38907 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38908 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38909
952bf94a
RM
38910 * misc/lseek.c: File moved to ...
38911 * io/lseek.c: ... here.
38912
7c99b50a
RM
38913 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38914
dd924cd7
RM
38915 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38916 shifting LEN more than 31 bits at once.
38917
b3f479a8
LD
389182012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38919
38920 [BZ #14195]
8c4ae0d4
RM
38921 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38922 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38923 * string/test-strncasecmp.c (check1): Renamed to...
38924 (bz12205): ...this.
38925 (bz14195): Add new testcase for two empty input strings and N > 0.
38926 (test_main): Call new testcase, adapt for renamed function.
38927
9c55864e
AJ
389282012-08-15 Andreas Jaeger <aj@suse.de>
38929
38930 [BZ #14090]
38931 * crypt/md5test2.c: New test, based on test supplied by Serge
38932 Belyshev <belyshev@depni.sinp.msu.ru>.
38933 * crypt/Makefile (xtests): Add md5test-giant..
38934 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38935
02dcb6c5
PE
389362012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38937
38938 [BZ #14090]
38939 * crypt/md5.c (md5_process_block): Don't assume the buffer
38940 length is less than 2**32.
38941 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38942 length is less than 2**64.
38943
a3f95dcc
RM
389442012-08-15 Roland McGrath <roland@hack.frob.com>
38945
be75d758
RM
38946 * string/str-two-way.h: Include <sys/param.h>.
38947 (MAX): Macro removed.
38948
7312ca90
RM
38949 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38950 Move #define and #undef of memmove to just before and after
38951 including <string.h>.
38952
9a0a5486
RM
38953 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38954 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38955 and after including <string.h>. Move declarations of
38956 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38957 to before #include "string/memmove.c".
38958
67cc348d
RM
38959 * include/dirent.h: Declare __getdirentries.
38960
a3f95dcc
RM
38961 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38962 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38963
ca98e171
MF
389642012-08-14 Mike Frysinger <vapier@gentoo.org>
38965
38966 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38967 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38968 * sysdeps/i386/configure: Regenerated.
38969 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38970 STABS_CURRENT_FILE, and STABS_FUN.
38971 (END): Remove call to STABS_FUN_END.
38972 (STABS_CURRENT_FILE1): Delete.
38973 (STABS_CURRENT_FILE): Likewise.
38974 (STABS_FUN): Likewise.
38975 (STABS_FUN_END): Likewise.
38976 (STABS_FUN2): Likewise.
38977 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38978 * sysdeps/x86_64/configure: Regenerated.
38979
5908bf46
RM
389802012-08-14 Roland McGrath <roland@hack.frob.com>
38981
38982 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38983 * elf/dl-lookup.c: Likewise.
5908bf46 38984
f2c05b9e
JM
389852012-08-14 Joseph Myers <joseph@codesourcery.com>
38986
38987 * sysdeps/unix/sysv/linux/kernel-features.h
38988 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38989 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38990 unconditionally.
38991 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38992 unconditionally.
38993 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38994 condition on __ASSUME_CLONE_THREAD_FLAGS.
38995
e11f5155
AJ
389962012-08-14 Andreas Jaeger <aj@suse.de>
38997
38998 * sysdeps/i386/fpu/libm-test-ulps: Update.
38999
51a9ba86
MK
390002012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39001
2fdd4f78
AJ
39002 * include/atomic.h (atomic_exchange_and_add): Split into ...
39003 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39004 New atomic macros.
51a9ba86 39005
ba6cba9e
MT
390062012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39007
39008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39009
42443a47
JL
390102012-08-13 Jeff Law <law@redhat.com>
39011
39012 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39013 null byte in the output string.
39014
121dce05
JM
390152012-08-10 Joseph Myers <joseph@codesourcery.com>
39016
39017 * sysdeps/unix/sysv/linux/kernel-features.h
39018 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39019 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39020 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39021 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39022 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39023 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39024 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39025
bf51f568
JL
390262012-08-09 Jeff Law <law@redhat.com>
39027
39028 [BZ #13939]
39029 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39030 When avoid_arena is set, don't retry in the that arena. Pick the
39031 next one, whatever it might be.
39032 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39033 (arena_lock): Pass in new parameter to arena_get2.
39034 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39035 arena_get2.
39036 (__libc_malloc): Unify retrying after main arena failure with
39037 __libc_memalign version.
39038 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39039
f85fa270
L
390402012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39041
39042 [BZ #14166]
39043 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39044 to __redirect_strstr.
39045 (__strstr_sse42): Use typeof __redirect_strstr.
39046 (__strstr_ia32): Likewise.
39047 (__libc_strstr): New prototype.
39048 (strstr): Renamed to ...
39049 (__libc_strstr): This.
39050 (strstr): New strong alias of __libc_strstr.
39051 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39052 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39053 __redirect_time.
39054 Include <time.h>.
39055 (__libc_time): New prototype.
39056 (time_ifunc): Replace time with __libc_time.
39057 (time): New strong alias and hidden definition of __libc_time.
39058 (__GI_time): Remove strong alias.
39059 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39060 Include <stddef.h>.
39061 (memmove): Redefined to __redirect_memmove.
39062 (__memmove_sse2): Use typeof __redirect_memmove.
39063 (__memmove_ssse3): Likewise.
39064 (__memmove_ssse3_back): Likewise.
39065 (__libc_memmove): New prototype.
39066 (memmove): Renamed to ...
39067 (__libc_memmove): This.
39068 (memmove): New strong alias of __libc_memmove.
39069
33b4a91e
MS
390702012-08-08 Mark Salter <msalter@redhat.com>
39071
39072 * elf/elf.h
39073 (R_MN10300_TLS_GD): Define.
39074 (R_MN10300_TLS_LD): Likewise.
39075 (R_MN10300_TLS_LDO): Likewise.
39076 (R_MN10300_TLS_GOTIE): Likewise.
39077 (R_MN10300_TLS_IE): Likewise.
39078 (R_MN10300_TLS_LE): Likewise.
39079 (R_MN10300_TLS_DTPMOD): Likewise.
39080 (R_MN10300_TLS_DTPOFF): Likewise.
39081 (R_MN10300_TLS_TPOFF): Likewise.
39082 (R_MN10300_SYM_DIFF): Likewise.
39083 (R_MN10300_ALIGN): Likewise.
39084 (R_MN10300_NUM): Update.
39085
b36137f1
JM
390862012-08-08 Joseph Myers <joseph@codesourcery.com>
39087
39088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39089 Remove.
39090
cdd915fd
RM
390912012-08-08 Roland McGrath <roland@hack.frob.com>
39092
a2433aac
RM
39093 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39094
cdd915fd
RM
39095 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39096 sysdeps/unix -> sysdeps/posix move.
39097 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39098
bf9b740a
AM
390992012-08-07 Allan McRae <allan@archlinux.org>
39100
39101 [BZ #14303]
39102 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39103 (SUNOS_CPP): Likewise.
39104 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39105 not found.
39106 (open_input): Call CPP using execvp.
39107
93df14ee
JM
391082012-08-07 Joseph Myers <joseph@codesourcery.com>
39109
39110 * sysdeps/unix/sysv/linux/kernel-features.h
39111 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39112 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39113 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39114 (__ASSUME_WAITID_SYSCALL): Likewise.
39115 * sysdeps/unix/sysv/linux/dl-execstack.c
39116 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39117 code unconditional.
39118 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39119 conditional code.
39120 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39121 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39122 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39123 code.
39124 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39125 unconditional.
39126 [__ASSUME_WAITID_SYSCALL]: Likewise.
39127 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39128
d34689de
RM
391292012-08-07 Roland McGrath <roland@hack.frob.com>
39130
a281decc
RM
39131 * sysdeps/unix/closedir.c: Renamed to ...
39132 * sysdeps/posix/closedir.c: ... here.
39133 * sysdeps/unix/dirfd.c: Renamed to ...
39134 * sysdeps/posix/dirfd.c: ... here.
39135 * sysdeps/unix/dirstream.h: Renamed to ...
39136 * sysdeps/posix/dirstream.h: ... here.
39137 * sysdeps/unix/fdopendir.c: Renamed to ...
39138 * sysdeps/posix/fdopendir.c: ... here.
39139 * sysdeps/unix/opendir.c: Renamed to ...
39140 * sysdeps/posix/opendir.c: ... here.
39141 * sysdeps/unix/readdir.c: Renamed to ...
39142 * sysdeps/posix/readdir.c: ... here.
39143 * sysdeps/unix/readdir_r.c: Renamed to ...
39144 * sysdeps/posix/readdir_r.c: ... here.
39145 * sysdeps/unix/rewinddir.c: Renamed to ...
39146 * sysdeps/posix/rewinddir.c: ... here.
39147 * sysdeps/unix/seekdir.c: Renamed to ...
39148 * sysdeps/posix/seekdir.c: ... here.
39149 * sysdeps/unix/telldir.c: Renamed to ...
39150 * sysdeps/posix/telldir.c: ... here.
39151 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39152 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39153 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39154 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39155
22895b47
RM
39156 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39157 * bits/fcntl.h: ... here.
39158
707a53b6
RM
39159 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39160 not 0.
39161 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39162 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39163 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39164 (struct flock): Move l_start, l_len to the beginning.
39165 Use __pid_t for l_pid.
39166 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39167 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39168 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39169 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39170 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39171 [__USE_LARGEFILE64] (struct flock64): New type.
39172 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39173
f0bd3e25
RM
39174 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39175 * bits/dirent.h: ... here.
39176
d34689de
RM
39177 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39178 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39179
6dad2c06
JM
391802012-08-07 Joseph Myers <joseph@codesourcery.com>
39181
39182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39183 Change from 2.6.0 to 2.6.16.
39184 * sysdeps/unix/sysv/linux/configure: Regenerated.
39185 * sysdeps/unix/sysv/linux/kernel-features.h
39186 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39187 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39188 version.
39189 (__ASSUME_UTIMES): Likewise.
39190 (__ASSUME_CLONE_STOPPED): Remove.
39191 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39192 architectures, not kernel version.
39193 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39194 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39195 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39196 (__ASSUME_WAITID_SYSCALL): Likewise.
39197 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39198 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39199 * README: State 2.6.16 as minimum Linux kernel version. Do not
39200 refer to older versions.
39201
03af9520
RM
392022012-08-06 Roland McGrath <roland@hack.frob.com>
39203
8e49df1d
RM
39204 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39205 Define alphasort64 as an alias.
39206 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39207 Define versionsort64 as an alias.
39208 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39209 Define scandir64 as an alias.
39210 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39211 Define scandirat64 as an alias.
39212 * dirent/alphasort64.c (alphasort64):
39213 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39214 * dirent/versionsort64.c: Likewise.
39215 * dirent/scandir64.c: Likewise.
39216 * dirent/scandirat64.c: Likewise.
39217 * sysdeps/wordsize-64/alphasort.c: File removed.
39218 * sysdeps/wordsize-64/alphasort64.c: File removed.
39219 * sysdeps/wordsize-64/scandir.c: File removed.
39220 * sysdeps/wordsize-64/scandir64.c: File removed.
39221 * sysdeps/wordsize-64/scandirat.c: File removed.
39222 * sysdeps/wordsize-64/scandirat64.c: File removed.
39223 * sysdeps/wordsize-64/versionsort.c: File removed.
39224 * sysdeps/wordsize-64/versionsort64.c: File removed.
39225 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39228 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39230 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39232 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39233
39234 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39235 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39236 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39238 [defined __arch64__ || defined __sparcv9]
39239 (__INO_T_MATCHES_INO64_T): New macro.
39240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39241 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39242 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39243 * sysdeps/unix/sysv/linux/bits/dirent.h
39244 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39245 (_DIRENT_MATCHES_DIRENT64): New macro.
39246
03af9520
RM
39247 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39248 Define lockf64 as an alias.
39249 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39250 Define fseeko64 as an alias.
39251 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39252 Define ftello64 as an alias.
39253 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39254 Define _IO_fgetpos64 and fgetpos64 as aliases.
39255 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39256 Define _IO_fsetpos64 and fsetpos64 as aliases.
39257 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39258 Conditionalize body on this.
39259 * libio/fseeko64.c: Likewise.
39260 * libio/ftello64.c: Likewise.
39261 * libio/iofgetpos64.c: Likewise.
39262 * libio/iofsetpos64.c: Likewise.
39263 * sysdeps/wordsize-64/lockf.c: File removed.
39264 * sysdeps/wordsize-64/lockf64.c: File removed.
39265 * sysdeps/wordsize-64/fseeko.c: File removed.
39266 * sysdeps/wordsize-64/fseeko64.c: File removed.
39267 * sysdeps/wordsize-64/ftello.c: File removed.
39268 * sysdeps/wordsize-64/ftello64.c: File removed.
39269 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39270 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39271 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39272 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39274 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39276 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39278 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39280 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39281 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39283
39284 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39285 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39286 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39287 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39288 [defined __arch64__ || defined __sparcv9]
39289 (__OFF_T_MATCHES_OFF64_T): New macro.
39290 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39291 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39292 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39293 (__OFF_T_MATCHES_OFF64_T): New macro.
39294
c5757acd
L
392952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39296
39297 * stdlib/secure-getenv.c (__secure_getenv): Replace
39298 GLIBC_2_16 with GLIBC_2_17.
39299
3a31811e
L
393002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39301
39302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39304
faa2bccb
DM
393052012-08-03 David S. Miller <davem@davemloft.net>
39306
39307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39308
85fe1997
JM
393092012-08-03 Joseph Myers <joseph@codesourcery.com>
39310
39311 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39312 Remove.
39313 (__ASSUME_CORRECT_SI_PID): Likewise.
39314 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39315 (__ASSUME_TMPFS_NAME): Likewise.
39316 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39317 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39318 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39319 (HAVE_AUX_SECURE): Make definition unconditional.
39320 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39321 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39322
4f75b7a0
RM
393232012-08-03 Roland McGrath <roland@hack.frob.com>
39324
39325 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39326 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39327 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39328 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39329 __eloop_threshold instead of SYMLOOP_MAX.
39330
39331 * sysdeps/generic/eloop-threshold.h: New file.
39332 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39333 of MAXSYMLINKS.
39334 * elf/chroot_canon.c (chroot_canon): Likewise.
39335
7aab07e4
JM
393362012-08-03 Joseph Myers <joseph@codesourcery.com>
39337
39338 [BZ #13717]
39339 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39340 Change to 2.6.0 everywhere.
39341 * sysdeps/unix/sysv/linux/configure: Regenerated.
39342 * sysdeps/unix/sysv/linux/kernel-features.h
39343 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39344 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39345 kernel versions.
39346 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39347 (__ASSUME_FUTEX_REQUEUE): Remove.
39348 (__ASSUME_STATFS64): Define unconditionally.
39349 (__ASSUME_AT_SECURE): Likewise.
39350 (__ASSUME_CORRECT_SI_PID): Likewise.
39351 (__ASSUME_TGKILL): Define without depending on kernel version for
39352 i386.
39353 (__ASSUME_UTIMES): Likewise.
39354 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39355 kernel version.
39356 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39357 (__ASSUME_TMPFS_NAME): Likewise.
39358 * README: Update reference to Linux kernel versions.
39359
b67e9372
MP
393602012-08-02 Marek Polacek <polacek@redhat.com>
39361
1f529f7d 39362 [BZ# 14150]
b67e9372
MP
39363 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39364 libc_cv_asm_type_prefix with %.
39365 * configure: Regenerated.
d2441631
RM
39366 * include/libc-symbols.h: Remove comment about
39367 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
39368 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39369 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39370 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39371 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39372 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39373 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39374 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39375 * elf/tst-unique2mod1.c: Likewise.
39376 * elf/tst-unique1mod2.c: Likewise.
39377 * elf/tst-unique1mod1.c: Likewise.
39378 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39379 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39380 Replace ASM_TYPE_DIRECTIVE with .type.
39381 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39382 * sysdeps/i386/sysdep.h: Likewise.
39383 * sysdeps/x86_64/sysdep.h: Likewise.
39384 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
39385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39386 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 39387 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
39388 * sysdeps/powerpc/powerpc32/sysdep.h:
39389 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
39390 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39391 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39392 * sysdeps/i386/fpu/e_powf.S: Likewise.
39393 * sysdeps/i386/fpu/e_expl.S: Likewise.
39394 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39396 * sysdeps/i386/fpu/e_pow.S: Likewise.
39397 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39399 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39400 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39401 * sysdeps/i386/fpu/e_log2.S: Likewise.
39402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39403 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39404 * sysdeps/i386/fpu/e_powl.S: Likewise.
39405 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39406 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39407 * sysdeps/i386/fpu/e_logl.S: Likewise.
39408 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39409 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39410 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39413 * sysdeps/i386/fpu/e_log.S: Likewise.
39414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39415 * sysdeps/i386/fpu/e_logf.S: Likewise.
39416 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39417 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39418 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39419 * sysdeps/i386/fpu/e_log10.S: Likewise.
39420 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39421 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39422 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39423 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39424 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39425 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39426 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39427 * sysdeps/i386/i686/strtok.S: Likewise.
39428 * sysdeps/i386/i386-mcount.S: Likewise.
39429 * sysdeps/i386/strtok.S: Likewise.
39430 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39432 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39434 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39435 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39436 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39437 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39438 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39439 * sysdeps/x86_64/_mcount.S: Likewise.
39440 * sysdeps/x86_64/strtok.S: Likewise.
39441 * sysdeps/sh/_mcount.S: Likewise.
39442
2747bf9a
RM
394432012-08-01 Roland McGrath <roland@hack.frob.com>
39444
39445 * libio/iofopen.c: Include <fcntl.h>.
39446 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39447 (_IO_fopen64, fopen64): Define as aliases.
39448 * libio/iofopen64.c: Include <fcntl.h>.
39449 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39450 Conditionalize body on this.
39451 * sysdeps/wordsize-64/iofopen.c: File removed.
39452 * sysdeps/wordsize-64/iofopen64.c: File removed.
39453
3fb791b8
MP
394542012-08-01 Marek Polacek <polacek@redhat.com>
39455
39456 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39457 Use dlfcn directly instead of a variable.
39458 (binfmt-subdir): Do not define.
39459 (dlfcn): Likewise.
39460
a9f1039f
JM
394612012-08-01 Joseph Myers <joseph@codesourcery.com>
39462
23bddc06
JM
39463 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39464 Remove all definitions.
39465 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39466 <kernel-features.h>.
39467 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39468 (miss_F_GETOWN_EX): Remove all definitions.
39469 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39470 macro definition.
39471 [!__ASSUME_FCNTL64]: Remove conditional code.
39472 [__ASSUME_FCNTL64]: Make code unconditional.
39473 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39474 <kernel-features.h>.
39475 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39476 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39477 (lockf64) [__NR_fcntl64]: Make code unconditional.
39478 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39479
a9f1039f
JM
39480 * sysdeps/unix/sysv/linux/kernel-features.h
39481 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39482 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39483 Make code unconditional.
39484 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39485 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39487 [__NR_vfork]: Make code unconditional.
39488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39491 [__NR_vfork]: Make code unconditional.
39492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39494
09c0ee5f
RM
394952012-08-01 Roland McGrath <roland@hack.frob.com>
39496
48aec5b9
RM
39497 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39498 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39499
cd97c966
RM
39500 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39501 Define mkstemp64 as an alias.
3f55550c
RM
39502 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39503 Define mkstemps64 as an alias.
cd97c966
RM
39504 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39505 Define mkostemp64 as an alias.
b8625cfc
RM
39506 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39507 Define mkostemps64 as an alias.
cd97c966
RM
39508 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39509 Conditionalize body on this.
39510 * misc/mkostemp64.c: Likewise.
b8625cfc 39511 * misc/mkostemps64.c: Likewise.
3f55550c 39512 * misc/mkstemps64.c: Likewise.
cd97c966
RM
39513 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39514 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39515 * sysdeps/wordsize-64/mkostemp.c: File removed.
39516 * sysdeps/wordsize-64/mkstemp.c: File removed.
39517 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39519 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39520 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39521
09c0ee5f
RM
39522 [BZ #14138]
39523 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39524 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39525 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39526 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39527
39528 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39529 compat_symbol macros from <shlib-compat.h> rather than the underlying
39530 default_symbol_version and symbol_version macros, so that DEFAULT
39531 lines in shlib-versions are respected.
39532 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39533
7e66ee51
FW
395342012-08-01 Florian Weimer <fweimer@redhat.com>
39535
39536 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39537 Declare with warn_unused_result.
39538 (setgid, setregid, setegid, setresgid): Likewise.
39539 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39540 Likewise.
39541 * WUR-REPORT: Remove set*id functions.
39542
d2a54255
PT
395432012-07-31 Pino Toscano <toscano.pino@tiscali.it>
39544
39545 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39546
7ecdb005
RM
395472012-07-31 Roland McGrath <roland@hack.frob.com>
39548
b4180a5e 39549 [BZ #10191]
789bd351
RM
39550 * include/sys/socket.h (__libc_accept, __libc_accept4):
39551 Add attribute_hidden.
39552 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39553
40ce302d
RM
39554 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39555 use of PTR_MANGLE.
39556 * inet/getnetgrent_r.c (setup): Likewise.
39557
7ecdb005
RM
39558 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39559
e2eabb2c
DM
395602012-07-31 David S. Miller <davem@davemloft.net>
39561
39562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39563
d0419dbf
JM
395642012-07-31 Joseph Myers <joseph@codesourcery.com>
39565
39566 [BZ #13629]
39567 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39568 value between 1.0 and 2.0 and smaller part has absolute value less
39569 than 1.0.
39570 * math/s_clog10.c (__clog10): Likewise.
39571 * math/s_clog10f.c (__clog10f): Likewise.
39572 * math/s_clog10l.c (__clog10l): Likewise.
39573 * math/s_clogf.c (__clogf): Likewise.
39574 * math/s_clogl.c (__clogl): Likewise.
39575 * math/libm-test.inc (clog_test): Add more tests.
39576 (clog10_test): Likewise.
39577 * sysdeps/i386/fpu/libm-test-ulps: Update.
39578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39579
2bc13872
FW
395802012-07-31 Florian Weimer <fweimer@redhat.com>
39581
39582 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39583 Exit with zero in case no suitable GID is found, and write a
39584 message to standard error.
39585
bea9b193
RM
395862012-07-30 Roland McGrath <roland@hack.frob.com>
39587
39588 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39589 rather than to 1.
39590 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39591 (MAXPATHLEN): Removed.
39592 (NOGROUP, NODEV): New macros.
39593 (setbit, clrbit, isset, isclr): New macros.
39594 (howmany, roundup, powerof2): New macros.
39595 (DEV_BSIZE): New macro.
39596
39597 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39598 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39599
39600 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39601 definition on [!__NO_LONG_DOUBLE_MATH].
39602
39603 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39604 PTR_MANGLE and PTR_DEMANGLE.
39605
39606 * socket/accept4.c (accept4): Rename to __libc_accept4.
39607 Define accept4 as a weak alias.
39608
39609 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39610 on [_DIRENT_HAVE_D_TYPE].
39611 * io/ftw.c (ftw_dir): Likewise.
39612
39613 * io/xmknod.c (__xmknod): Don't check PATH for being null.
39614
39615 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39616
39617 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39618 Use the BSD numbers rather than the arbitrary ones we had.
39619 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39620 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39621 (SIGXCPU, SIGXFSZ): New macros.
39622 (_NSIG): Now 32.
39623
39624 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39625 initializer on [_LIBC_REENTRANT].
39626
39627 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39628 definitions inside [_POSIX_MAPPED_FILES].
39629
39630 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39631
39632 * dirent/opendir.c: Include <fcntl.h>.
39633
39634 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39635 (__libc_getspecific): Likewise.
39636 (__libc_key_create): Likewise.
39637
39638 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39639 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39640 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39641 (tmpfile64): Define as alias.
39642 * sysdeps/wordsize-64/tmpfile.c: File removed.
39643 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39646
39647 * stdio-common/vfscanf.c: Include <stdbool.h>.
39648 * nss/makedb.c: Likewise.
39649 * stdio-common/_i18n_number.h: Likewise.
39650 * argp/argp-help.c: Likewise.
39651 * posix/wordexp.c: Likewise.
39652 * sysdeps/posix/spawni.c: Likewise.
39653 * nss/nss_files/files-initgroups.c: Likewise.
39654 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39655 * nss/nss_files/files-initgroups.c: Likewise.
39656 * nss/nss_db/db-netgrp.c: Likewise.
39657 * nss/nss_db/db-initgroups.c: Likewise.
39658 * io/fchmodat.c: Include <sys/stat.h>.
39659
39660 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39661 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39662
39663 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39664 [HAVE_MMAP].
39665
39666 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39667 Add multiple inclusion protection.
39668
e5abc686
DM
396692012-07-27 David S. Miller <davem@davemloft.net>
39670
39671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39672
815e6fa3
GB
396732012-07-27 Gary Benson <gbenson@redhat.com>
39674
39675 [BZ #14298]
39676 * elf/rtld.c: Include <stap-probe.h>.
39677 (dl_main): Added static probes "init_start" and "init_complete".
39678 * elf/dl-load.c: Include <stap-probe.h>.
39679 (lose): Take new parameter "nsid".
39680 Added static probe "map_failed".
39681 (_dl_map_object_from_fd): Pass namespace id to lose.
39682 Added static probe "map_start".
39683 (open_verify): Pass namespace id to lose.
39684 * elf/dl-open.c: Include <stap-probe.h>.
39685 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39686 and "reloc_complete".
39687 * elf/dl-close.c: Include <stap-probe.h>.
39688 (_dl_close_worker): Added static probes "unmap_start" and
39689 "unmap_complete".
39690 * elf/rtld-debugger-interface.txt: New file documenting the above.
39691
9f98c16c
RM
396922012-07-26 Roland McGrath <roland@hack.frob.com>
39693
39694 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39695 rather than a string variable.
39696 * sunrpc/rpc_main.c (h_output): Likewise.
39697 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39698
f3c22df3
PT
396992012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39700
39701 * inet/check_native.c: New file.
39702
3129cfc6
JM
397032012-07-26 Joseph Myers <joseph@codesourcery.com>
39704
da865e95
JM
39705 [BZ #13629]
39706 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39707 if larger part has absolute value 1.0.
39708 * math/s_clog10.c (__clog10): Likewise.
39709 * math/s_clog10f.c (__clog10f): Likewise.
39710 * math/s_clog10l.c (__clog10l): Likewise.
39711 * math/s_clogf.c (__clogf): Likewise.
39712 * math/s_clogl.c (__clogl): Likewise.
39713 * math/libm-test.inc (clog_test): Add more tests.
39714 (clog10_test): Likewise.
39715 * sysdeps/i386/fpu/libm-test-ulps: Update.
39716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39717
3129cfc6
JM
39718 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39719 (pltexit): Likewise.
39720 (La_regs): Likewise.
39721 (La_retval): Likewise.
39722 (int_retval): Likewise.
39723 Update #error for removed macros to refer only to definitions in
39724 tst-audit.h.
39725 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39726 macro.
39727 (pltexit): Likewise.
39728 (La_regs): Likewise.
39729 (La_retval): Likewise.
39730 (int_retval): Likewise.
39731 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39732 macro.
39733 (pltexit): Likewise.
39734 (La_regs): Likewise.
39735 (La_retval): Likewise.
39736 (int_retval): Likewise.
39737 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39738 macro.
39739 (pltexit): Likewise.
39740 (La_regs): Likewise.
39741 (La_retval): Likewise.
39742 (int_retval): Likewise.
39743 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39744 macro.
39745 (pltexit): Likewise.
39746 (La_regs): Likewise.
39747 (La_retval): Likewise.
39748 (int_retval): Likewise.
39749 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39750 macro.
39751 (pltexit): Likewise.
39752 (La_regs): Likewise.
39753 (La_retval): Likewise.
39754 (int_retval): Likewise.
39755 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39756 macro.
39757 (pltexit): Likewise.
39758 (La_regs): Likewise.
39759 (La_retval): Likewise.
39760 (int_retval): Likewise.
39761 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39762 macro definitions in tst-audit.h.
39763 * sysdeps/i386/tst-audit.h: New file.
39764 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39765 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39766 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39767 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39768 * sysdeps/sh/tst-audit.h: Likewise.
39769 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39770 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39771 * sysdeps/x86_64/tst-audit.h: Likewise.
39772
bfc07087
AJ
397732012-07-26 Andreas Jaeger <aj@suse.de>
39774
b1b2aaf8
AJ
39775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39776 ptrace.
39777
39778 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39779 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39780 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39781 PTRACE_O_MASK.
39782 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39783 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39784 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39785
bfc07087
AJ
39786 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39787 value.
39788
39789 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39790 _sigsys.
39791 (si_call_addr, si_syscall, si_arch): Define new macro.
39792 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39793 _sigsys.
39794 (si_call_addr, si_syscall, si_arch): Define new marcro.
39795 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39796 _sigsys.
39797 (si_call_addr, si_syscall, si_arch): Define new macro.
39798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39799 _sigsys.
39800 (si_call_addr, si_syscall, si_arch): Define new macro.
39801
89b4b02f
JM
398022012-07-25 Joseph Myers <joseph@codesourcery.com>
39803
39804 [BZ #13717]
39805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39806 Change to 2.4.21 where previously 2.4.1.
39807 * sysdeps/unix/sysv/linux/configure: Regenerated.
39808 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39809 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39810 Linux kernel version.
39811 (__ASSUME_STD_AUXV): Remove.
39812 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39813 kernel version.
39814 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39815 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39816 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39817 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39818 (__ASSUME_NETLINK_SUPPORT): Likewise.
39819 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39820 (__no_netlink_support): Remove conditional definition.
39821 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39822 Remove.
39823 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39824 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39825 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39826 (if_nameindex_ioctl): Remove.
39827 (if_nameindex_netlink): Do not handle __no_netlink_support.
39828 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39829 code.
39830 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39831 Remove conditional code.
39832 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39833 code.
39834 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39835 unconditional.
39836 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39837 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39838 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39839 Remove.
39840 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39841 [!__ASSUME_STD_AUXV]: Remove conditional code.
39842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39843 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39844 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39847 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39848 code.
39849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39851 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39852 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39853 conditional code.
39854 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39856 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39857 code.
39858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39859 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39860 conditional code.
39861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39862 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39863 code unconditional.
39864 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39865 conditional code.
39866 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39867 unconditional.
39868 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39869 conditional code.
39870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39871 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39872 unconditional.
39873 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39874 conditional code.
39875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39876 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39877 code unconditional.
39878 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39879 conditional code.
39880 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39881 unconditional.
39882 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39883 conditional code.
39884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39885 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39886 code unconditional.
39887 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39888 conditional code.
39889 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39890 unconditional.
39891 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39892 conditional code.
39893
842a39cd
AS
398942012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39895
39896 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39897 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39898 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39899 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39900 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39901 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39902 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39903 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39904 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39905 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39906 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39907 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39908 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39909 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39910 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39911 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39912 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39913 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39914 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39916 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39917 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39919
84b3fd84
FW
399202012-07-25 Florian Weimer <fweimer@redhat.com>
39921
39922 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39923 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39924 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39925 Introduce __libc_secure_getenv.
0c7936d5
FW
39926 * stdlib/Versions (2.17): Add secure_getenv
39927 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39928 * stdlib/secure-getenv.c: Rename __secure_getenv to
39929 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39930 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39931 * stdlib/tst-secure-getenv.c: New.
39932 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39933 * manual/startup.texi (Environment Access): Document
39934 secure_getenv.
84b3fd84
FW
39935 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39936 __libc_secure_getenv.
39937 * inet/ruserpass.c (ruserpass): Likewise.
39938 * malloc/mtrace.c (mtrace): Likewise.
39939 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39940 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39941 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39942 * sysdeps/posix/tempname.c: Likewise. Evaluate
39943 HAVE_SECURE_GETENV.
39944 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39945 __secure_getenv to __libc_secure_getenv.
84b3fd84 39946 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39948 Likewise.
39949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39950 Likewise.
39951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39953 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39958
56e49b71
JM
399592012-07-25 Joseph Myers <joseph@codesourcery.com>
39960
39961 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39962 (struct La_i86_retval): Likewise.
39963 (struct La_x86_64_regs): Likewise.
39964 (struct La_x86_64_retval): Likewise.
39965 (struct La_x32_regs): Likewise.
39966 (struct La_x32_retval): Likewise.
39967 (struct La_ppc32_regs): Likewise.
39968 (struct La_ppc32_retval): Likewise.
39969 (struct La_ppc64_regs): Likewise.
39970 (struct La_ppc64_retval): Likewise.
39971 (struct La_sh_regs): Likewise.
39972 (struct La_sh_retval): Likewise.
39973 (struct La_s390_32_regs): Likewise.
39974 (struct La_s390_32_retval): Likewise.
39975 (struct La_s390_64_regs): Likewise.
39976 (struct La_s390_64_retval): Likewise.
39977 (struct La_sparc32_regs): Likewise.
39978 (struct La_sparc32_retval): Likewise.
39979 (struct La_sparc64_regs): Likewise.
39980 (struct La_sparc64_retval): Likewise.
39981 (struct audit_ifaces): Remove architecture-specific pltenter and
39982 pltexit members.
39983 * sysdeps/i386/ldsodefs.h: New file.
39984 * sysdeps/powerpc/ldsodefs.h: Likewise.
39985 * sysdeps/s390/ldsodefs.h: Likewise.
39986 * sysdeps/sh/ldsodefs.h: Likewise.
39987 * sysdeps/sparc/ldsodefs.h: Likewise.
39988 * sysdeps/x86_64/ldsodefs.h: Likewise.
39989
354691b7
MP
399902012-07-25 Marek Polacek <polacek@redhat.com>
39991
39992 [BZ #6808]
39993 * math/libm-test.inc (yn_test): Add another test.
39994 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39995 to ERANGE when the result is +-Inf.
39996 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39997 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39998 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39999 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40000
bf9e2071
JM
400012012-07-24 Joseph Myers <joseph@codesourcery.com>
40002
40003 * conform/data/time.h-data (NULL): Use macro-constant. Require
40004 equal to 0.
40005 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40006 clock_t.
40007 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40008
57633811
TS
400092012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40010
40011 * configure.in <sysdeps resolving>: Correct printing
40012 Implies_before.
40013 * configure: Regenerate.
40014
c23c33b0
TS
400152012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40016
40017 * math/w_ilogb.c: Include <limits.h>.
40018 * math/w_ilogbl.c: Likewise.
40019
b5982523
JM
400202012-07-20 Joseph Myers <joseph@codesourcery.com>
40021
40022 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40023 va_copy. Document allowing for unavailable va_copy only as
40024 pre-C99 compatibility.
40025 * manual/string.texi (Copying and Concatenation): Use va_copy
40026 instead of __va_copy in concat example.
40027
ac4ea442
PT
400282012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40029
40030 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40031 (__sendto): Use create_address_port. Initialize APORT and deallocate
40032 it if not null.
40033
f98eafbd
PT
40034 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40035 with O_NOLINK passed to __file_name_lookup.
40036
898c7aab
PT
40037 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40038 with O_NOLINK passed to __file_name_lookup.
40039
0ced335a
PT
40040 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40041 negative N or less than NGIDS.
40042
b3404dbd
PT
40043 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40044 type to string_t. Set ERANGE as errno and return it if NAME is not big
40045 enough. Use memcpy instead of strncpy.
40046
0f48659e
JM
400472012-07-20 Joseph Myers <joseph@codesourcery.com>
40048
40049 * elf/Makefile (check-data): Remove.
40050 (localplt.data): New vpath directive.
40051 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40052 instead of $(check-data).
40053 * scripts/data/localplt-generic.data: Move to ...
40054 * sysdeps/generic/localplt.data: ... here.
40055 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40056 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40057 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40059 ... here.
40060 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40062 ... here.
40063 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40065 ... here.
40066 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40068 ... here.
40069 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40071 ... here.
40072 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40074 ... here.
40075
d37cbdaa
AZ
400762012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40077
40078 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40079 PPC32 and PPC64 files.
40080 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40081 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40082
46f85fc2
AK
400832012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40084
40085 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40086 __makecontext_ret to ...
40087 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40088 ... here and call exit if uc_link is NULL. New file.
40089 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40090 __makecontext_ret.S.
40091 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40092 __makecontext_ret to ...
40093 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40094 ... here and call exit if uc_link is NULL. New file.
40095 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40096 __makecontext_ret.S.
40097
08f43f9b
AK
400982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40099
40100 * elf/elf.h (R_390_IRELATIVE): New definition.
40101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40102 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40103 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40105 (elf_machine_lazy_rel): Likewise.
40106 * sysdeps/s390/dl-irel.h: New file.
40107 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40108 * sysdeps/s390/s390-64/memset.S: New asm code.
40109 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40110 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40111 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40112 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40113 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40114 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40116 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40117 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40118 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40119 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40120 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40121 * sysdeps/s390/s390-32/memset.S: New asm code.
40122 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40123
3b05db33
MP
401242012-07-17 Marek Polacek <polacek@redhat.com>
40125
40126 [BZ #14349]
40127 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40128 * sysdeps/s390/s390-64/configure.in: Likewise.
40129 * sysdeps/sparc/configure.in: Likewise.
40130 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40131 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40132 * sysdeps/i386/configure.in: Likewise.
40133 * sysdeps/x86_64/configure.in: Likewise.
40134 * sysdeps/sh/configure.in: Likewise.
40135 * sysdeps/s390/s390-32/configure: Regenerated.
40136 * sysdeps/s390/s390-64/configure: Likewise.
40137 * sysdeps/x86_64/configure: Likewise.
40138 * sysdeps/sh/configure: Likewise.
40139 * sysdeps/powerpc/powerpc64/configure: Likewise.
40140 * sysdeps/powerpc/powerpc32/configure: Likewise.
40141 * sysdeps/sparc/configure: Likwise.
40142 * sysdeps/i386/configure: Likewise.
40143
a66877c6
MP
40144 * elf/dl-open.c: Comment fixes.
40145
cfc82fd8
JM
401462012-07-17 Joseph Myers <joseph@codesourcery.com>
40147
bd29910a
JM
40148 * Makefile [CXX] (check-data): Remove.
40149 [CXX] (c++-types.data): New vpath directive.
40150 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40151 vpath. Do not allow for C++ type data being missing.
40152 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40153 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40154 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40155 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40156 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40157 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40158 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40160 ... here.
40161 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40163 ... here.
40164 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40166 ... here.
40167 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40169 ... here.
40170 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40171 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40172 ... here.
40173 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40175 ... here.
40176 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40178 ... here.
40179 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40181
cfc82fd8
JM
40182 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40183 definitions to architecture-specific files.
40184 (TLS_IE): Likewise.
40185 (TLS_LD): Likewise.
40186 (TLS_GD): Likewise.
40187 * sysdeps/i386/tls-macros.h: New file.
40188 * sysdeps/powerpc/tls-macros.h: Likewise.
40189 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40190 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40191 * sysdeps/sh/tls-macros.h: Likewise.
40192 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40193 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40194 * sysdeps/x86_64/tls-macros.h: Likewise.
40195
f7db3170
TS
401962012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40197
07cbfc23
TS
40198 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40199 zero value for regular exit case.
40200
f7db3170
TS
40201 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40202 (__start_context): Preserve zero value for regular exit case.
40203
dc97c227
TS
402042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40205 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40206
40207 * manual/setjmp.texi (setcontext): Clarify normal process
40208 termination when uc_link is the null pointer.
40209 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40210 exit call.
40211
d0cd7d02
AS
402122012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40213
40214 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40215 preprocessor. Test for each exception mask separately.
40216
dd318934
AJ
402172012-07-16 Andreas Jaeger <aj@suse.de>
40218
40219 * po/ru.po: Update from translation team.
40220
8048311a
JM
402212012-07-15 Joseph Myers <joseph@codesourcery.com>
40222
40223 * conform/data/string.h-data (NULL): Use macro-constant. Require
40224 equal to 0.
40225 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40226 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40227 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40228 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40229 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40230
b637d46e
AJ
402312012-07-13 Andreas Jaeger <aj@suse.de>
40232
40233 * po/fr.po: Update from translation team.
40234
541428fe
MP
402352012-07-12 Marek Polacek <polacek@redhat.com>
40236
40237 [BZ #14173]
40238 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40239 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40240 loop condition.
40241
ec332e94
JM
402422012-07-12 Joseph Myers <joseph@codesourcery.com>
40243
40244 [BZ #13717]
40245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40246 Change to 2.4.1 where previously 2.4.0.
40247 * sysdeps/unix/sysv/linux/configure: Regenerated.
40248 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40249 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40250 version.
40251 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40252 (__ASSUME_AT_CLKTCK): Remove.
40253 (__ASSUME_AT_PAGESIZE): Likewise.
40254 (__ASSUME_AT_XID): Likewise.
40255 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40256 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40257 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40258 unconditionally.
40259 (HAVE_AUX_PAGESIZE): Likewise.
40260 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40261 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40262 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40263
7b6e99be
JB
402642012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40265
40266 [BZ #14307]
40267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40268 the temporary buffer used to invoke __gethostbyname2_r,
40269 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40270 host_data / struct gaih_addrtuple.
40271 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40272 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40273 header file nss/nsswitch.h.
40274 * nss/nsswitch.h (global scope): Add definition of implementation
40275 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40276 resolv/nss_dns/dns-host.c).
40277
608404eb
AJ
402782012-07-11 Andreas Jaeger <aj@suse.de>
40279
40280 * po/fr.po: Update from translation team.
40281
71220aca
AJ
40282 * po/sv.po: Update from translation team
40283 * po/fr.po: Another update from translation team.
40284
28cfe843
AZ
402852012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40286
40287 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40288 for subnormals or multiply small sinh result by itself.
40289 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40291
6b90f981
DM
402922012-07-11 David S. Miller <davem@davemloft.net>
40293
40294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40295
c6825772
AS
402962012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40297
40298 [BZ #14347]
40299 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40300 (INTERNAL_MARK): Shift it here.
40301
7b8e0d49
MP
403022012-07-10 Marek Polacek <polacek@redhat.com>
40303
40304 [BZ #14151]
40305 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40306 libc_cv_asm_global_directive with .globl.
40307 * configure: Regenerated.
40308 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40309 with .globl.
40310 * sysdeps/i386/configure: Regenerated.
40311 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40312 with .globl.
40313 * sysdeps/x86_64/configure: Regenerated.
40314 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40315 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40316 * elf/tst-unique2mod2.c: Likewise.
40317 * elf/tst-unique2mod1.c: Likewise.
40318 * elf/tst-unique1mod2.c: Likewise.
40319 * elf/tst-unique1mod1.c: Likewise.
40320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40322 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40323 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40324 * sysdeps/mach/sysdep.h: Likewise.
40325 * sysdeps/i386/sysdep.h: Likewise.
40326 * sysdeps/i386/i386-mcount.S: Likewise.
40327 * sysdeps/x86_64/_mcount.S: Likewise.
40328 * sysdeps/x86_64/sysdep.h: Likewise.
40329 * sysdeps/sh/_mcount.S: Likewise.
40330 * sysdeps/sh/sysdep.h: Likewise.
40331 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40332 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40333 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40334 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40335 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40336 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40337 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40338 * locale/localeinfo.h: Likewise.
40339 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40340 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40341
6c55cda3
RM
403422012-07-09 Roland McGrath <roland@hack.frob.com>
40343
40344 [BZ #14336]
40345 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40346 system".
40347 * manual/message.texi (The Uniforum approach): Likewise.
40348 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40349 (glibc iconv Implementation): Likewise.
40350
638a572e
JM
403512012-07-09 Joseph Myers <joseph@codesourcery.com>
40352
40353 [BZ #14337]
40354 * math/s_clog.c (__clog): Avoid scaling a value down where that
40355 could result in underflow.
40356 * math/s_clog10.c (__clog10): Likewise.
40357 * math/s_clog10f.c (__clog10f): Likewise.
40358 * math/s_clog10l.c (__clog10l): Likewise.
40359 * math/s_clogf.c (__clogf): Likewise.
40360 * math/s_clogl.c (__clogl): Likewise.
40361 * math/libm-test.inc (clog_test): Add more tests.
40362 (clog10_test): Likewise.
40363 * sysdeps/i386/fpu/libm-test-ulps: Update.
40364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40365
261f4859
AS
403662012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40367
0abaf3e4
AS
40368 [BZ #14283]
40369 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40370 by 7 not 8 to examine high bit of fractional part.
40371
261f4859
AS
40372 [BZ #14042]
40373 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40374 for call to __mcount_internal.
40375 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40376 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40377 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40378
f17ac40d
JM
403792012-07-06 Joseph Myers <joseph@codesourcery.com>
40380
9ad63c23
JM
40381 [BZ #14154]
40382 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40383 approximation for values within 0x1p-13f of an odd multiple of
40384 pi/4.
40385 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40386 exception. Add more tests.
40387 * sysdeps/i386/fpu/libm-test-ulps: Update.
40388
f17ac40d
JM
40389 [BZ #6778]
40390 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40391 inputs and return -1 for them. Do not check for +Inf in case not
40392 reachable for +Inf.
40393 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40394 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40396 and return -1 for them. Do not check for +Inf in case not
40397 reachable for +Inf.
40398 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40399 define.
40400 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40401 and return -1 for them. Do not check for +Inf in case not
40402 reachable for +Inf.
40403 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40404 spurious underflow.
40405 * sysdeps/i386/fpu/libm-test-ulps: Update.
40406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40407
fb21f89b
MF
404082012-07-06 Mike Frysinger <vapier@gentoo.org>
40409
40410 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40411
cdfe2c5e
JM
404122012-07-05 Joseph Myers <joseph@codesourcery.com>
40413
40414 [BZ #14157]
40415 [BZ #14331]
40416 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40417 could result in spurious underflow. Scale down values above
40418 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40419 * math/s_csqrtf.c (__csqrtf): Likewise.
40420 * math/s_csqrtl.c (__csqrtl): Likewise.
40421 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40422 spurious underflow.
40423 * sysdeps/i386/fpu/libm-test-ulps: Update.
40424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40425
70d35b67
AS
404262012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40427
704bc459
AS
40428 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40429 xopen-msg.sed.
40430 * catgets/xopen-msg.awk: New file.
40431 * catgets/xopen-msg.sed: Removed.
40432
70d35b67
AS
40433 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40434 po2text.sed.
40435 * intl/po2test.awk: New file.
40436 * intl/po2test.sed: Removed.
40437
ca61cf32
JM
404382012-07-04 Joseph Myers <joseph@codesourcery.com>
40439
40440 [BZ #14328]
40441 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40442 or multiply small sinh result by itself.
40443 * math/s_ctanf.c (__ctanf): Likewise.
40444 * math/s_ctanh.c (__ctanh): Likewise.
40445 * math/s_ctanhf.c (__ctanhf): Likewise.
40446 * math/s_ctanhl.c (__ctanhl): Likewise.
40447 * math/s_ctanl.c (__ctanl): Likewise.
40448 * math/libm-test.inc (ctan_test_tonearest): New function.
40449 (ctan_test_towardzero): Likewise.
40450 (ctan_test_downward): Likewise.
40451 (ctan_test_upward): Likewise.
40452 (ctanh_test_tonearest): Likewise.
40453 (ctanh_test_towardzero): Likewise.
40454 (ctanh_test_downward): Likewise.
40455 (ctanh_test_upward): Likewise.
40456 (main): Call these new functions.
40457 * sysdeps/i386/fpu/libm-test-ulps: Update.
40458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40459
ca48a46a
MF
404602012-07-03 Mike Frysinger <vapier@gentoo.org>
40461
40462 * .gitignore: Delete /ports entry.
40463
9d63d37d
AJ
404642012-07-03 Andreas Jaeger <aj@suse.de>
40465
40466 * po/bg.po: Update from translation team.
40467 * po/cs.po: Likewise.
40468 * po/de.po: Likewise.
40469 * po/hr.po: Likewise.
40470 * po/nl.pl: Likewise.
40471 * po/pl.po: Likewise.
40472 * po/vi.po: Likewise.
40473
370ca3d2
JM
404742012-07-03 Joseph Myers <joseph@codesourcery.com>
40475
95f5a9a8
JM
40476 * Makeconfig [!+link] (+link-before-libc): New variable.
40477 [!+link] (+link-after-libc): Likewise.
40478 [!+link] (+link-tests): Likewise.
40479 [!+link] (+link): Define in terms of $(+link-before-libc) and
40480 $(+link-after-libc).
40481 [!+link-static] (+link-static-before-libc): New variable.
40482 [!+link-static] (+link-static-after-libc): Likewise.
40483 [!+link-static] (+link-static-tests): Likewise.
40484 [!+link-static] (+link-static): Define in terms of
40485 $(+link-static-before-libc) and $(+link-static-after-libc).
40486 [build-shared] (link-libc-before-gnulib): New variable.
40487 [build-shared] (link-libc-tests): Likewise.
40488 [build-shared] (link-libc): Define in terms of
40489 $(link-libc-before-gnulib).
40490 [!build-shared] (link-libc-tests): New variable.
40491 (link-libc-static-tests): New variable.
40492 [!gnulib] (gnulib-arch): New variable.
40493 [!gnulib] (gnulib-tests): Likewise.
40494 [!gnulib] (static-gnulib-arch): Likewise.
40495 [!gnulib] (static-gnulib-tests): Likewise.
40496 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40497 Define with "=" instead of ":=".
40498 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40499 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40500 * Rules (binaries-all-notests): New variable.
40501 (binaries-all-tests): Likewise.
40502 (binaries-static-notests): Likewise.
40503 (binaries-static-tests): Likewise.
40504 (binaries-all): Define using $(binaries-all-notests) and
40505 $(binaries-all-tests).
40506 (binaries-static): Define using $(binaries-static-notests) and
40507 $(binaries-static-tests).
40508 (binaries-shared-tests): New variable.
40509 (binaries-shared-notests): Likewise.
40510 (binaries-shared): Remove variable.
40511 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40512 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40513 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40514 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40515 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40516 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40517 * elf/Makefile (sln-modules): New variable.
40518 (extra-objs): Add $(sln-modules:=.o).
40519 (ldconfig-modules): Add static-stubs.
40520 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40521 * elf/static-stubs.c: New file.
40522
7a845b2c
JM
40523 [BZ #14283]
40524 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40525 by 7 not 8 to examine high bit of fractional part. Use volatile
40526 variables when splitting into final array of floats if
40527 __FLT_EVAL_METHOD__ != 0.
40528 * math/libm-test.inc (cos_test): Add another test.
40529 (sin_test): Likewise.
40530 * sysdeps/i386/fpu/libm-test-ulps: Update.
40531
e2283f38
JM
40532 [BZ #14273]
40533 * math/libm-test.inc (cosh_test): Add more tests.
40534
370ca3d2
JM
40535 * version.h (RELEASE): Set to "development".
40536 (VERSION): Set to "2.16.90".
40537
ee9247c3
CD
405382012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
40539
40540 * NEWS: Update copyright. Remove last-updated date.
40541 Mention math library bug fixes and timezone data changes.
40542 * README: Mention GNU/Hurd, x32, and HPPA support status.
40543
4648c381
TS
405442012-06-28 Thomas Schwinge <thomas@codesourcery.com>
40545
40546 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40547
aac78a43
AJ
405482012-06-27 Andreas Jaeger <aj@suse.de>
40549
40550 * manual/contrib.texi (Contributors): Add Samuel Thibault.
40551
ed3dbfad
AJ
405522012-06-25 Andreas Jaeger <aj@suse.de>
40553
40554 * sysdeps/s390/fpu/libm-test-ulps: Update.
40555
4d0ee855
AS
405562012-06-23 Andreas Schwab <schwab@linux-m68k.org>
40557 Thomas Schwinge <thomas@codesourcery.com>
40558
40559 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40560 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40561 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40562 fanotify_mark.
40563
af1bce34
TS
405642012-06-23 Thomas Schwinge <thomas@codesourcery.com>
40565
a9fa33ba
TS
40566 * sysdeps/mach/start.c: Remove file.
40567 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40568 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40569 * sysdeps/sh/init-first.c: Likewise.
40570
58f902b8
TS
40571 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40572 registers for frame unwinding purposes, add CFI directives.
40573 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40574 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40575 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40576 Likewise.
40577
1518f58b
TS
40578 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40579 __fortify_fail returning.
40580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40581
db9b5059
TS
40582 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40583 sysdeps/sh/____longjmp_chk.S.
40584 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40585 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40586 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40587 (gen-as-const-headers): Append sigaltstack-offsets.sym.
40588
967705fe
TS
40589 * sysdeps/sh/abort-instr.h: New file.
40590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40591 process in case exit returns.
40592
a9def8c4
TS
40593 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40594 initialize the GOT register before use.
40595
2a649725
TS
40596 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40597 calculation of ARGC > 4.
40598
af1bce34
TS
40599 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40600 meaningful names to some local labels.
40601
d230f50a
KK
406022012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40603 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40604
40605 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40606 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40607 (__arch_compare_and_exchange_val_16_acq): Likewise.
40608 (__arch_compare_and_exchange_val_32_acq): Likewise.
40609 (atomic_exchange_and_add): Fix gUSA sequence.
40610 (atomic_add): Likewise.
40611 (atomic_add_negative): Likewise.
40612 (atomic_add_zero): Likewise.
40613 (atomic_bit_test_set): Likewise.
40614
0479b305
AS
406152012-06-22 Andreas Schwab <schwab@redhat.com>
40616
40617 [BZ #13579]
40618 * include/link.h (struct link_map): Add l_free_initfini.
40619 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40620 l_initfini.
40621 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40622 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40623 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40624 set.
40625
0e3933b9
CD
406262012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40627
40628 * configure.in: Use AC_LANG_SOURCE.
40629 * configure: Regenerate.
40630
4248b1b1
RM
406312012-06-22 Roland McGrath <roland@hack.frob.com>
40632
40633 * configure.in (libc_cv_localstatedir): New substituted variable.
40634 * configure: Regenerated.
40635 * config.make.in (localstatedir): New variable, substituted from
40636 libc_cv_localstatedir.
40637 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40638 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40639 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40640 * sysdeps/gnu/configure: Regenerated.
40641
006dd861
JL
406422012-06-21 Jeff Law <law@redhat.com>
40643
40644 [BZ #14277]
40645 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40646 free. Simplify list management for _LIBC case.
40647
79662d42
JM
406482012-06-21 Joseph Myers <joseph@codesourcery.com>
40649
b7abb4bf
JM
40650 [BZ #14273]
40651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40652 Clear sign bit of 64-bit integer value before comparing against
40653 overflow value.
40654
79662d42
JM
40655 * sysdeps/mach/configure: Regenerated.
40656
1f150908
L
406572012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40658
40659 [BZ #14278]
40660 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40661
28363bbf
JL
406622012-06-21 Jeff Law <law@redhat.com>
40663
40664 [BZ #13882]
40665 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40666 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40668 * elf/dl-open.c (dl_open_worker): Likewise.
40669
09615db4
CD
406702012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40671
40672 * scripts/list-sources.sh: Scan PORTS for translations.
40673 * po/libc.pot: Regenerated.
40674
2174c6dd
AJ
406752012-06-21 Andreas Jaeger <aj@suse.de>
40676
40677 [BZ #12194]
40678 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40679 warning.
40680 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40681 * bits/byteswap-16.h (__bswap_16): Likewise.
40682 * bits/byteswap.h (__bswap_constant_16): Likewise.
40683
3ee947b1
L
406842012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40685
40686 [BZ #14117]
a2f34833
L
40687 * sysdeps/i386/fpu_control.h: Removed.
40688 * sysdeps/x86_64/fpu_control.h: Moved to ...
40689 * sysdeps/x86/fpu_control.h: Here.
40690
3ee947b1
L
40691 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40692 (_FPU_SETCW): Likewise.
40693
ed1825f8
L
406942012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40695
25f1282a
L
40696 [BZ #14117]
40697 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40698 * sysdeps/x86/fpu/bits/mathinline.h: This.
40699 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40700
ed1825f8
L
40701 [BZ #14050]
40702 [BZ #14117]
40703 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40704 functions if __x86_64__ is defined.
40705
36d54b74
CLT
407062012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40707
40708 * string/endian.h: Add !__ASSEMBLER__ condition for including
40709 conversion interfaces.
40710
10285c21
JM
407112012-06-15 Joseph Myers <joseph@codesourcery.com>
40712
40713 [BZ #14241]
40714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40715 of ABS(x) in calculating zero to negative powers other than odd
40716 integers.
40717 * math/libm-test.inc (pow_test): Add more tests.
40718
06c5abbd
AJ
407192012-06-15 Andreas Jaeger <aj@suse.de>
40720
40721 * manual/contrib.texi (Contributors): Update entry of Liubov
40722 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40723 Machado Filho.
40724
a3aeac40
CH
407252012-06-15 Cyril Hrubis <metan@ucw.cz>
40726
40727 * string/string.h: Add __wur to GNU version of strerror_r.
40728
49bdf4c1
L
407292012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40730
40731 [BZ #14229]
40732 * string/Makefile (tests): Add tst-strtok_r.
40733 * string/tst-strtok_r.c: New file.
40734 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40735 RAX_LP/RDX_LP on SAVE_PTR.
40736
834f9b8d
RM
407372012-06-14 Roland McGrath <roland@hack.frob.com>
40738
40739 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40740
75fa1921
JM
407412012-06-14 Joseph Myers <joseph@codesourcery.com>
40742
40743 * libm_test.inc (csqrt_test): Allow more spurious underflow
40744 exceptions.
40745 (j0_test): Likewise.
40746 (j1_test): Likewise.
40747 (y0_test): Likewise.
40748 (y1_test): Likewise.
40749
771766df
CD
407502012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40751
40752 * po/Makefile (libc.pot): Use UTF-8 charset.
40753
ceb9e56b
PP
407542012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40755
40756 [BZ #14210]
40757 Suppress sign-conversion warning from FD_SET.
40758 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40759 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40760 not unsigned long int.
40761 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40762
ddb28975
L
407632012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40764
40765 [BZ #14050]
40766 [BZ #14117]
40767 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40768 __extern_always_inline instead of __extern_inline.
40769 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40770 (__signbit): Likewise.
40771 (__signbitl): Support C++ namespace.
40772 (lrintf): New inline function.
40773 (lrint): Likewise.
40774 (llrintf): Likewise.
40775 (llrint): Likewise.
40776 (fmaxf): Likewise.
40777 (fmax): Likewise.
40778 (fminf): Likewise.
40779 (fmin): Likewise.
40780 (rint): Likewise.
40781 (rintf): Likewise.
40782 (ceil): Likewise.
40783 (ceilf): Likewise.
40784 (floor): Likewise.
40785 (floorf): Likewise.
40786 (nearbyint): Likewise.
40787 (nearbyintf): Likewise.
40788
d7b4fb26
TS
407892012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40790
40791 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40792 non-default versions.
40793
eb55f5c2
RM
407942012-06-11 Roland McGrath <roland@hack.frob.com>
40795
40796 [BZ #14218]
40797 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40798
366af02c
TS
407992012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40800
99ff6e5c
TS
40801 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40802 (FE_UPWARD, FE_DOWNWARD): Don't define.
40803 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40804 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40805
366af02c
TS
40806 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40807 reading it.
40808 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40809 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40810
793ea851
KK
408112012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40812
40813 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40814 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40815 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40816 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40817
a728a38f
L
408182012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40819
40820 [BZ #14117]
c08010c7
L
40821 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40822 * sysdeps/i386/fpu/Implies: New file.
40823 * sysdeps/x86_64/fpu/Implies: Likewise.
40824 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40825 * sysdeps/x86/fpu/bits/fenv.h: This.
40826
a728a38f
L
40827 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40828 __SSE_MATH__.
40829
6e230d11
SP
408302012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40831
40832 [BZ #14134]
40833 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40834 character 0xffff that matches the last element of the
40835 conversion table.
40836
1b671feb
AZ
408372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40838
40839 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40840 fmodl commit.
40841
6043738b
AZ
408422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40843
40844 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40845 values higher than 25.6283.
40846
34ae0b32
AZ
408472012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40848
40849 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40850 subnormal exponent extraction and add some __builtin_expect.
40851 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40852 Fix for subnormal mantissa calculation.
40853
1214ec8f
MF
408542012-06-04 Mike Frysinger <vapier@gentoo.org>
40855
40856 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40857 cpu2 is -1 and errno is not ENOSYS.
40858
f3d1f93c
L
408592012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40860
40861 [BZ #14117]
0e4a3cd7
L
40862 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40863 * sysdeps/x86/bits/string.h: This.
40864 * sysdeps/x86_64/bits/string.h: Removed.
40865
6704c645
L
40866 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40867 if not compiling for x86-64, but compiling for >= i486.
40868
48495318
L
40869 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40870 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40871
14adcbfc
L
40872 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40873 New macro from Linux kernel 3.4.0.
40874 (FP_XSTATE_MAGIC2): Likewise.
40875 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40876 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40877 (struct _fpx_sw_bytes): New struct.
40878 (struct _xsave_hdr): Likewise.
40879 (struct _ymmh_state): Likewise.
40880 (struct _xstate): Likewise.
40881
68e408ab
L
40882 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40883 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40885 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40886 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40887 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40888
f3d1f93c
L
40889 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40891 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40892 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40893 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40894 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40895
d9dc34cd
TMQMF
408962012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40897
40898 [BZ #13743]
40899 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40900 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40901 (sysdep_headers): Include sys/platform/ppc.h.
40902 * sysdeps/powerpc/test-gettimebase.c: Test for
40903 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40904 * manual/Makefile (appendices): Include platform.texi.
40905 * manual/contrib.texi (Contributors): Update @node pointers.
40906 * manual/maint.texi (Maintenance): Likewise.
40907 (Platform): New node.
40908 * manual/platform.texi: New file. Document the new features.
40909
4af3879c
SP
409102012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40911 Jakub Jelinek <jakub@redhat.com>
40912
40913 [BZ #14188]
40914 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40915 where __builtin_expect is unavailable.
40916
2fd6ff13
DM
409172012-06-03 David S. Miller <davem@davemloft.net>
40918
40919 * stdlib/longlong.h: Updated from GCC.
40920
173f7220
AS
409212012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40922
40923 [BZ #14042]
40924 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40925 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40926 __mcount_internal.
40927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40928 (GLIBC_2.16): Likewise.
40929
f34a1c6f
L
409302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40931
40932 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40933
88a4576f
JM
409342012-06-01 Joseph Myers <joseph@codesourcery.com>
40935
ea32bcdd
JM
40936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40937 (default-abi): New variable.
40938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40939 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40940 variable.
40941 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40942 Likewise.
40943 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40944 Likewise.
40945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40946 Likewise.
40947
88a4576f
JM
40948 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40949 definition. Document in comment.
40950
402fe938
DM
409512012-06-01 David S. Miller <davem@davemloft.net>
40952
40953 * stdlib/longlong.h: Updated from GCC.
40954
3553723f
L
409552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40956
40957 [BZ #14117]
3bd872c4
L
40958 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40959 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40960 sys/debugreg.h sys/io.h here.
40961 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40962 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40963 sys/io.h.
40964 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40965 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40966 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40967 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40968 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40969 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40970
3553723f
L
40971 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40972 Define only if __x86_64__ is defined.
40973
4842e4fe
JM
409742012-06-01 Joseph Myers <joseph@codesourcery.com>
40975
c5bfe3d5
JM
40976 [BZ #14048]
40977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40978 Use int64_t for variable i.
40979 * math/libm-test.inc (fmod_test): Add more tests.
40980
4842e4fe
JM
40981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40982 z computation is not scheduled after fetestexcept.
40983 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40984 Use math_force_eval instead of asm to ensure calculation scheduled
40985 before exception test.
40986 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40987 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40988
efb73488
AJ
409892012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40990
40991 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40992 computation is not scheduled after fetestexcept.
40993
29bcce7c
L
409942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40995
40996 [BZ #14117]
40997 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40998 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40999
73a68f94
AZ
410002012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41001
41002 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41003 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41004
67b6df78
L
410052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41006
edf2933a 41007 [BZ #14117]
ebc64a18
L
41008 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41009 <bits/wordsize.h>.
41010 (__WCHAR_MIN): Support __WORDSIZE == 64.
41011 (__WCHAR_MAX): Likewise.
41012
edf2933a
L
41013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41014 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41015
57c6cf40
L
41016 [BZ #14183]
41017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41018 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41019
67b6df78 41020 [BZ #14117]
8eb6281e
L
41021 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41022 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41023
aac639f4
L
41024 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41025 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41026
67b6df78
L
41027 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41028 Defined to 1 if __x86_64__ isn't defined.
41029 (_STAT_VER_LINUX_OLD): New.
41030 (st_atime): Remove duplicate.
41031 (st_mtime): Likewise.
41032 (st_ctime): Likewise.
41033
1c2cfe81
DM
410342012-05-31 David S. Miller <davem@davemloft.net>
41035
41036 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41037 entries.
41038
5be8418c
AS
410392012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41040
e7725326
AS
41041 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41042 gen-libm-test.pl.
41043
5be8418c
AS
41044 [BZ #14132]
41045 * elf/dl-reloc.c: Include <_itoa.h>.
41046 (_dl_reloc_bad_type): Remove use of INTUSE.
41047 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41048 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41049 * stdio-common/psiginfo.c (psiginfo): Likewise.
41050 * stdio-common/psignal.c (psignal): Likewise.
41051 * string/strsignal.c (strsignal): Likewise.
41052 * include/signal.h (_sys_siglist): Declare hidden proto.
41053 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41054 INTVARDEF with libc_hidden_data_def.
41055 * stdio-common/itoa-udigits.c: Likewise.
41056 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41057 (_itoa_lower_digits_internal): Remove declaration.
41058 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41059 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41060 (_sys_sigabbrev_internal): Remove aliases.
41061 (_sys_siglist): Define hidden alias.
41062
507352f1
MT
410632012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41064
41065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41066 bits/sysctl.h.
41067
42bbb1c3
L
410682012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41069
41070 [BZ #14117]
6bd784b6
L
41071 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41072 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41073
8bca20f0
L
41074 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41075 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41076 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41077 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41079 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41080
f9e890a9
L
41081 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41082 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41083 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41084
471101a1
L
41085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41086 with __addr.
41087 (insw): Likewise.
41088 (insl): Likewise.
41089 (outsb): Likewise.
41090 (outsw): Likewise.
41091 (outsl): Likewise.
41092
6451c862
L
41093 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41094 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41095 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41096
a254b8c9
L
41097 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41098 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41100 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41101 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41102 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41103
b8dfdd92
L
41104 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41105 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41106
578cd270
L
41107 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41108 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41109
de662f5f
L
41110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41113
25653439
L
41114 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41115 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41116 to ...
41117 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41118
6bad24a0
L
41119 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41120 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41121 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41122
42bbb1c3
L
41123 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41124 for x86-64.
41125 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41126
2d10d547
JM
411272012-05-31 Joseph Myers <joseph@codesourcery.com>
41128
41129 * math/math.h (M_El): Use two more decimal places.
41130 (M_LOG2El): Likewise.
41131 (M_LOG10El): Likewise.
41132 (M_LN2l): Likewise.
41133 (M_LN10l): Likewise.
41134 (M_PIl): Likewise.
41135 (M_PI_2l): Likewise.
41136 (M_PI_4l): Likewise.
41137 (M_1_PIl): Likewise.
41138 (M_2_PIl): Likewise.
41139 (M_2_SQRTPIl): Likewise.
41140 (M_SQRT2l): Likewise.
41141 (M_SQRT1_2l): Likewise.
41142
f230c29b
DM
411432012-05-31 David S. Miller <davem@davemloft.net>
41144
41145 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41146 values between float registers.
41147 * sysdeps/sparc/sparc64/memset.S: Likewise.
41148 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41149
fed806c3
MF
411502012-05-31 Mike Frysinger <vapier@gentoo.org>
41151
41152 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41153 -D_FORTIFY_SOURCE=1.
41154 (CPPFLAGS-tst-longjmp_chk.c): Define.
41155 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41156 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41157 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41158 CFLAGS-tst-wchar-h.c.
41159
30917259
MP
411602012-05-31 Marek Polacek <polacek@redhat.com>
41161
41162 [BZ #14132]
41163 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41164 __endmntent_internal): Remove declaration.
41165 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41166 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41167 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41168
1c58d5dc
DM
411692012-05-30 David S. Miller <davem@davemloft.net>
41170
41171 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41172 (___Q_simulate_exceptions): Use real FP ops rather than writing
41173 into the %fsr.
41174 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41175 Likewise.
41176
7dc00e0d
L
411772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41178
41179 [BZ #14117]
0bd53985
L
41180 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41181 * sysdeps/x86/bits/xtitypes.h: This.
41182
3a257e66
L
41183 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41184 * sysdeps/x86/bits/wordsize.h: This.
41185
62f62904
L
41186 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41187 * sysdeps/x86/bits/huge_vall.h: This.
41188
404fe9d9
L
41189 * sysdeps/i386/bits/select.h: Removed.
41190 * sysdeps/x86_64/bits/select.h: Renamed to ...
41191 * sysdeps/x86/bits/select.h: This.
41192
d48d0446
L
41193 * sysdeps/i386/bits/setjmp.h: Removed.
41194 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41195 * sysdeps/x86/bits/setjmp.h: This.
41196
7dc00e0d
L
41197 * sysdeps/i386/bits/mathdef.h: Removed.
41198 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41199 * sysdeps/x86/bits/mathdef.h: This.
41200
03277f8f
AS
412012012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41202
41203 [BZ #14132]
41204 * include/sys/socket.h (__connect_internal)
41205 (__libc_sa_len_internal): Remove declaration.
41206 (__connect, __libc_sa_len): Declare hidden_proto.
41207 (SA_LEN): Remove use of INTUSE.
41208 * socket/connect.c: Add libc_hidden_def.
41209 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41210 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41211 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41212 alias.
41213 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41214 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41215 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41216 of adding _internal alias.
41217
13764867
L
412182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41219
41220 [BZ #14117]
6bd97696
L
41221 * sysdeps/i386/bits/link.h: Removed.
41222 * sysdeps/i386/bits/linkmap.h: Likewise.
41223 * sysdeps/x86_64/bits/link.h: Renamed to ...
41224 * sysdeps/x86/bits/link.h: This.
41225 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41226 * sysdeps/x86/bits/linkmap.h: This.
41227
f726f0bb
L
41228 * sysdeps/i386/bits/endian.h: Removed.
41229 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41230 * sysdeps/x86/bits/endian.h: This.
41231
13764867
L
41232 * sysdeps/i386/bits/byteswap.h: Removed.
41233 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41234 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41235 * sysdeps/x86/bits/byteswap.h: This.
41236 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41237 * sysdeps/x86/bits/byteswap-16.h: This.
41238 * sysdeps/i386/Implies: Add x86.
41239 * sysdeps/x86_64/Implies: Likewise.
41240
ae251b0b
DM
412412012-05-30 David S. Miller <davem@davemloft.net>
41242
41243 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41244 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41245 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41246 (FP_TRAPPING_EXCEPTIONS): Define.
41247 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41248 (FP_TRAPPING_EXCEPTIONS): Define.
41249 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41250 subnormals only when inexact has been signalled or underflow
41251 exceptions are enabled.
41252 (_FP_PACK_CANONICAL): Likewise.
41253
d5c90867
L
412542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41255
41256 [BZ #14183]
41257 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41258 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41259
63f1549e
RH
412602012-05-30 Richard Henderson <rth@twiddle.net>
41261
8d8f2279
RH
41262 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41263 with #ifndef NOT_IN_libc.
41264
63f1549e
RH
41265 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41266 marked to avoid plt entry.
41267
0ab0291b
L
412682012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41269
41270 [BZ #14112]
41271 * Makeconfig (default-abi): New macro.
41272 (abi-includes): Likewise.
41273 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41274 $(abi-$(default-abi)-lib-soname) for soname if defined.
41275 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41276 abi-variants.
41277 * Makefile (installed-stubs): Likewise.
41278 * include/stubs-biarch.h: Removed.
41279 * scripts/lib-names.awk: Only handle one library at a time.
41280 * scripts/soversions.awk: Remove WORDSIZE support.
41281 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41282 entries.
41283 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41284 Removed.
41285 (syscall-list-default-condition): Likewise.
41286 (syscall-list-default-condition): Likewise.
41287 (syscall-list-includes): Likewise.
41288 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41289 syscall-list-* with abi-*. Handle undefined abi-variants.
41290 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41291 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41292 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41293 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41294 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41295 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41296 Removed.
41297 (syscall-list-32-options): Likewise.
41298 (syscall-list-32-condition): Likewise.
41299 (syscall-list-64-options): Likewise.
41300 (syscall-list-64-condition): Likewise.
41301 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41302 macro.
41303 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41304 Renamed to ...
41305 (abi-*): This.
41306 (abi-64-ld-soname): New macro.
41307 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41308 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41309 Renamed to ...
41310 (abi-*): This.
41311 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41312 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41313
4da0431d
JM
413142012-05-30 Joseph Myers <joseph@codesourcery.com>
41315
3a85279c
JM
41316 * sysdeps/unix/sysv/linux/kernel-features.h
41317 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41318 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41319 include <kernel-features.h>.
41320 [!__NR_ftruncate64]: Remove conditional code.
41321 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41322 [__NR_ftruncate64]: Make code unconditional.
41323 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41324 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41325 include <kernel-features.h>.
41326 [!__NR_ftruncate64]: Remove conditional code.
41327 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41328 [__NR_ftruncate64]: Make code unconditional.
41329 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41331 include <kernel-features.h>.
41332 [!__NR_ftruncate64]: Remove conditional code.
41333 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41334 [__NR_ftruncate64]: Make code unconditional.
41335 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41337 include <kernel-features.h>.
41338 [!__NR_ftruncate64]: Remove conditional code.
41339 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41340 [__NR_ftruncate64]: Make code unconditional.
41341 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41342
4da0431d
JM
41343 * configure.in (libc_cv_fpie): Weaken to a compile test using
41344 LIBC_TRY_CC_OPTION.
41345 * configure: Regenerated.
41346
11ef492c
AK
413472012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41348
41349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41353 Refreshed.
41354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41360 Refreshed.
41361
d66ef399
DM
413622012-05-27 David S. Miller <davem@davemloft.net>
41363
41364 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41365 (___Q_zero): New.
41366 (__Q_simulate_exceptions): Return void. Change to simulate
41367 exceptions by writing into the %fsr.
41368 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41369 (__Qp_handle_exceptions): Likewise.
41370 (numbers): Delete.
41371 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41372 __Qp_handle_exceptions.
41373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41374 __Qp_handle_exceptions.
41375 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41376 as unused and give dummy FP_RND_NEAREST initializer.
41377 (FP_INHIBIT_RESULTS): Define.
41378 (___Q_simulate_exceptions): Update declaration.
41379 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41380 formatting.
41381 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41382 as unused and give dummy FP_RND_NEAREST initializer.
41383 (__Qp_handle_exceptions): Update declaration.
41384 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41385 formatting.
41386
04fb54b5
TS
413872012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41388
41389 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41390 the temporary FPU control word.
41391 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41392 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41393 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41394 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41395 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41396 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41397 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41398 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41399 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41400 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41402
3f99608f
KK
414032012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41404
41405 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41406 fields.
41407
65a4de4e
CLT
414082012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41409
41410 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41411 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41412 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41413 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41414 Likewise.
41415 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41416 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41417 Likewise.
41418
15749d40
UD
414192012-05-27 Ulrich Drepper <drepper@gmail.com>
41420
41421 * po/h.po: Update from translation team.
41422
25dbcb27
AS
414232012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41424
3d3f8e55
AS
41425 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41426
25dbcb27
AS
41427 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41428 handling of denormals.
41429 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41430 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41431 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41432 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41436 Likewise.
41437
7ad47a80 414382012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
41439
41440 [BZ #14152]
41441 * math/libm-test.inc (fma_test): Don't always expect underflow
41442 exception.
41443
9c6ea9fa
SP
414442012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41445
41446 [BZ #12416]
41447 * elf/tst-execstack.c: Include stackinfo.h.
41448 (do_test): Adjust test case to ensure that pthread_getattr_np
41449 behaviour remains the same after marking stack executable.
41450
a8239222
JM
414512012-05-25 Joseph Myers <joseph@codesourcery.com>
41452
41453 * sysdeps/unix/sysv/linux/kernel-features.h
41454 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41456 kernel-features.h.
41457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41459 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41460 kernel-features.h.
41461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41463
918b5606
L
414642012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41465
41466 * configure.in: Define the default includes to being none.
41467 * configure: Regenerated.
41468
3a097cc7
RM
414692012-05-25 Roland McGrath <roland@hack.frob.com>
41470
8422c9a5
RM
41471 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41472 * sysdeps/x86_64/setjmp.S: Likewise.
41473 * sysdeps/i386/bsd-setjmp.S: Likewise.
41474 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41475 * sysdeps/i386/setjmp.S: Likewise.
41476 * sysdeps/i386/__longjmp.S: Likewise.
41477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41478 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41479
3a097cc7
RM
41480 * include/stap-probe.h: New file.
41481 * configure.in: Handle --enable-systemtap.
41482 * configure: Regenerated.
41483 * config.h.in (USE_STAP_PROBE): New #undef.
41484 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41485 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41486 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41487
21708942
JM
414882012-05-25 Joseph Myers <joseph@codesourcery.com>
41489
41490 [BZ #13717]
41491 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41492 to 2.4.0 where earlier.
41493 * sysdeps/unix/sysv/linux/configure: Regenerated.
41494 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41495 <kernel-features.h>.
41496 [__ASSUME_32BITUIDS]: Make code unconditional.
41497 [!__ASSUME_32BITUIDS]: Remove conditional code.
41498 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41499 <kernel-features.h>.
41500 [__ASSUME_32BITUIDS]: Make code unconditional.
41501 [!__ASSUME_32BITUIDS]: Remove conditional code.
41502 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41503 [__ASSUME_32BITUIDS]: Make code unconditional.
41504 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41505 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/i386/getresgid.c: Do not include
41522 <kernel-features.h>.
41523 [__ASSUME_32BITUIDS]: Make code unconditional.
41524 [!__ASSUME_32BITUIDS]: Remove conditional code.
41525 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41526 <kernel-features.h>.
41527 [__ASSUME_32BITUIDS]: Make code unconditional.
41528 [!__ASSUME_32BITUIDS]: Remove conditional code.
41529 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41530 <kernel-features.h>.
41531 [__ASSUME_32BITUIDS]: Make code unconditional.
41532 [!__ASSUME_32BITUIDS]: Remove conditional code.
41533 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41534 <kernel-features.h>.
41535 [__ASSUME_32BITUIDS]: Make code unconditional.
41536 [!__ASSUME_32BITUIDS]: Remove conditional code.
41537 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41538 <kernel-features.h>.
41539 [__ASSUME_32BITUIDS]: Make code unconditional.
41540 [!__ASSUME_32BITUIDS]: Remove conditional code.
41541 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41542 <kernel-features.h>.
41543 [__ASSUME_32BITUIDS]: Make code unconditional.
41544 [!__ASSUME_32BITUIDS]: Remove conditional code.
41545 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41546 <kernel-features.h>.
41547 [__NR_setresgid] (__setresgid): Do not declare.
41548 [__ASSUME_32BITUIDS]: Make code unconditional.
41549 [!__ASSUME_32BITUIDS]: Remove conditional code.
41550 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41551 <kernel-features.h>.
41552 [__NR_setresuid] (__setresuid): Do not declare.
41553 [__ASSUME_32BITUIDS]: Make code unconditional.
41554 [!__ASSUME_32BITUIDS]: Remove conditional code.
41555 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41556 <kernel-features.h>.
41557 [__ASSUME_32BITUIDS]: Make code unconditional.
41558 [!__ASSUME_32BITUIDS]: Remove conditional code.
41559 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41560 <kernel-features.h>.
41561 [__ASSUME_32BITUIDS]: Make code unconditional.
41562 [!__ASSUME_32BITUIDS]: Remove conditional code.
41563 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41564 <kernel-features.h>.
41565 [__ASSUME_32BITUIDS]: Make code unconditional.
41566 [!__ASSUME_32BITUIDS]: Remove conditional code.
41567 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41568 <kernel-features.h>.
41569 [__ASSUME_32BITUIDS]: Make code unconditional.
41570 [!__ASSUME_32BITUIDS]: Remove conditional code.
41571 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41572 <kernel-features.h>.
41573 [__ASSUME_32BITUIDS]: Make code unconditional.
41574 [!__ASSUME_32BITUIDS]: Remove conditional code.
41575 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41576 <kernel-features.h>.
41577 [__ASSUME_32BITUIDS]: Make code unconditional.
41578 [!__ASSUME_32BITUIDS]: Remove conditional code.
41579 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41580 <kernel-features.h>.
41581 [__ASSUME_32BITUIDS]: Make code unconditional.
41582 [!__ASSUME_32BITUIDS]: Remove conditional code.
41583 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41584 <kernel-features.h>.
41585 [__ASSUME_32BITUIDS]: Make code unconditional.
41586 [!__ASSUME_32BITUIDS]: Remove conditional code.
41587 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41588 <kernel-features.h>.
41589 [__ASSUME_32BITUIDS]: Make code unconditional.
41590 [!__ASSUME_32BITUIDS]: Remove conditional code.
41591 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41592 <kernel-features.h>.
41593 [__ASSUME_32BITUIDS]: Make code unconditional.
41594 [!__ASSUME_32BITUIDS]: Remove conditional code.
41595 * sysdeps/unix/sysv/linux/kernel-features.h
41596 (__ASSUME_SETRESUID_SYSCALL): Remove.
41597 (__ASSUME_SETRESGID_SYSCALL): Likewise.
41598 (__ASSUME_32BITUIDS): Likewise.
41599 (__ASSUME_LDT_WORKS): Likewise.
41600 (__ASSUME_O_DIRECTORY): Likewise.
41601 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41602 architecture but not kernel version.
41603 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41604 (__ASSUME_MMAP2_SYSCALL): Likewise.
41605 (__ASSUME_STAT64_SYSCALL): Likewise.
41606 (__ASSUME_IPC64): Likewise.
41607 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41608 <kernel-features.h>.
41609 [__ASSUME_32BITUIDS]: Make code unconditional.
41610 [!__ASSUME_32BITUIDS]: Remove conditional code.
41611 * sysdeps/unix/sysv/linux/opendir.c: Do not include
41612 <kernel-features.h>.
41613 [__ASSUME_O_DIRECTORY]: Make code unconditional.
41614 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41615 132096]: Remove conditional code.
41616 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41617 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41618 <kernel-features.h>.
41619 [__ASSUME_32BITUIDS]: Make code unconditional.
41620 [!__ASSUME_32BITUIDS]: Remove conditional code.
41621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41622 <kernel-features.h>.
41623 [__ASSUME_32BITUIDS]: Make code unconditional.
41624 [!__ASSUME_32BITUIDS]: Remove conditional code.
41625 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41626 <kernel-features.h>.
41627 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41628 unconditional.
41629 (__setresgid): Do not declare.
41630 [__ASSUME_32BITUIDS]: Make code unconditional.
41631 [!__ASSUME_32BITUIDS]: Remove conditional code.
41632 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41633 <kernel-features.h>.
41634 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41635 unconditional.
41636 (__setresuid): Do not declare.
41637 [__ASSUME_32BITUIDS]: Make code unconditional.
41638 [!__ASSUME_32BITUIDS]: Remove conditional code.
41639 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41640 <kernel-features.h>.
41641 [__ASSUME_32BITUIDS]: Make code unconditional.
41642 [!__ASSUME_32BITUIDS]: Remove conditional code.
41643 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41644 <kernel-features.h>.
41645 [__ASSUME_32BITUIDS]: Make code unconditional.
41646 [!__ASSUME_32BITUIDS]: Remove conditional code.
41647
a386f1cc
RH
416482012-05-25 Richard Henderson <rth@twiddle.net>
41649
41650 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41651 dl_hwcap to ifunc resolver.
41652 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41653 elf_ifunc_invoke.
41654 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41655 dl_hwcap to ifunc resolver.
41656 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41657
b6550497
JM
416582012-05-24 Joseph Myers <joseph@codesourcery.com>
41659
41660 [BZ #14153]
41661 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41662 for |x| <= 2**-26, not 2**-57.
41663 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41664 exception.
41665
b0bc23a1
JL
416662012-05-24 Jeff Law <law@redhat.com>
41667
41668 * stdio-common/Makefile (tests): Add bug25.
41669 * stdio-common/bug25.c: New test.
41670
347c92e9
L
416712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41672
41673 [BZ #13576]
41674 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41675 multiple of MALLOC_ALIGNMENT in size.
41676 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41677
6bcc8b3f
JM
416782012-05-24 Joseph Myers <joseph@codesourcery.com>
41679
41680 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41681 Require >= 256.
41682 (FILENAME_MAX): Use macro-int-constant.
41683 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41684 (_IOFBF): Use macro-int-constant.
41685 (_IOLBF): Likewise.
41686 (_IONBF): Likewise.
41687 (SEEK_CUR): Likewise.
41688 (SEEK_END): Likewise.
41689 (SEEK_SET): Likewise.
41690 (TMP_MAX): Likewise.
41691 (EOF): Use macro-int-constant. Require < 0.
41692 (NULL): Use macro-constant. Require == 0.
41693 (stdin): Require type to be FILE *.
41694 (stdout): Likewise.
41695 (stderr): Likewise.
41696 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41697 macro-int-constant.
41698 (EXIT_SUCCESS): Likewise.
41699 (NULL): Use macro-constant. Require == 0.
41700 (RAND_MAX): Use macro-int-constant.
41701 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41702 [C99-based standards] (strtof): Require function.
41703 [C99-based standards] (strtold): Likewise.
41704 [C99-based standards] (strtoll): Likewise.
41705 [C99-based standards] (strtoull): Likewise.
41706 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41707 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41708 [ISO || ISO99 || ISO11] (math.h): Likewise.
41709 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41710 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41712
d18ea0c5
AS
417132012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41714
41715 [BZ #14132]
56d25bb8
AS
41716 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41717 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41718 * intl/dgettext.c (DCGETTEXT): Likewise.
41719 * intl/gettext.c (DCGETTEXT): Likewise.
41720 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41721 * posix/regex_internal.h (gettext): Likewise.
41722 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41723 Remove declaration.
41724 * include/argz.h (__argz_count_internal)
41725 (__argz_stringify_internal): Remove declaration.
41726 (__argz_count, __argz_stringify): Declare hidden proto.
41727 * intl/dcgettext.c: Remove use of INTDEF.
41728 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41729 * string/argz-stringify.c: Likewise.
41730 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41731 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41732 Declare hidden proto.
d18ea0c5
AS
41733 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41734 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41735 Declare hidden proto.
41736 * include/stdio.h (__asprintf_internal): Don't declare.
41737 (__asprintf): Don't define as macro. Declare hidden proto.
41738 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41739 (__fsetlocking): Declare hidden proto.
41740 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41741 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41742 hidden proto.
41743 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41744 (_IO_setlinebuf): Remove use of INTUSE.
41745 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41746 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41747 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41748 Remove declaration.
41749 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41750 (_IO_do_flush): Remove use of INTUSE.
41751 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41752 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41753 (_IO_adjust_column, _IO_least_wmarker)
41754 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41755 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41756 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41757 (_IO_default_doallocate, _IO_wdefault_doallocate)
41758 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41759 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41760 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41761 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41762 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41763 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41764 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41765 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41766 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41767 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41768 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41769 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41770 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41771 proto.
41772 (_IO_flush_all_internal, _IO_adjust_column_internal)
41773 (_IO_default_uflow_internal, _IO_default_finish_internal)
41774 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41775 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41776 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41777 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41778 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41779 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41780 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41781 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41782 (_IO_file_close_internal, _IO_file_close_it_internal)
41783 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41784 (_IO_file_init_internal, _IO_file_attach_internal)
41785 (_IO_file_fopen_internal, _IO_file_read_internal)
41786 (_IO_file_sync_internal, _IO_file_seek_internal)
41787 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41788 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41789 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41790 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41791 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41792 (_IO_list_all_internal, _IO_link_in_internal)
41793 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41794 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41795 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41796 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41797 (_IO_do_write_internal, _IO_padn_internal)
41798 (_IO_getline_info_internal, _IO_getline_internal)
41799 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41800 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41801 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41802 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41803 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41804 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41805 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41806 with libc_hidden_ver, remove use of INTUSE.
41807 * libio/genops.c: Likewise.
41808 * libio/freopen.c: Likewise.
41809 * libio/freopen64.c: Likewise.
41810 * libio/iofclose.c: Likewise.
41811 * libio/iofdopen.c: Likewise.
41812 * libio/iofflush.c: Likewise.
41813 * libio/iofflush_u.c: Likewise.
41814 * libio/iofgets.c: Likewise.
41815 * libio/iofgets_u.c: Likewise.
41816 * libio/iofopen.c: Likewise.
41817 * libio/iofopncook.c: Likewise.
41818 * libio/iofread.c: Likewise.
41819 * libio/iofread_u.c: Likewise.
41820 * libio/ioftell.c: Likewise.
41821 * libio/iofwrite.c: Likewise.
41822 * libio/iogetline.c: Likewise.
41823 * libio/iogets.c: Likewise.
41824 * libio/iogetwline.c: Likewise.
41825 * libio/iopadn.c: Likewise.
41826 * libio/iopopen.c: Likewise.
41827 * libio/ioseekoff.c: Likewise.
41828 * libio/ioseekpos.c: Likewise.
41829 * libio/iosetbuffer.c: Likewise.
41830 * libio/iosetvbuf.c: Likewise.
41831 * libio/ioungetc.c: Likewise.
41832 * libio/ioungetwc.c: Likewise.
41833 * libio/iovdprintf.c: Likewise.
41834 * libio/iovsprintf.c: Likewise.
41835 * libio/iovsscanf.c: Likewise.
41836 * libio/memstream.c: Likewise.
41837 * libio/obprintf.c: Likewise.
41838 * libio/oldfileops.c: Likewise.
41839 * libio/oldiofclose.c: Likewise.
41840 * libio/oldiofdopen.c: Likewise.
41841 * libio/oldiofopen.c: Likewise.
41842 * libio/oldiopopen.c: Likewise.
41843 * libio/oldstdfiles.c: Likewise.
41844 * libio/putc.c: Likewise.
41845 * libio/setbuf.c: Likewise.
41846 * libio/setlinebuf.c: Likewise.
41847 * libio/stdfiles.c: Likewise.
41848 * libio/strops.c: Likewise.
41849 * libio/vasprintf.c: Likewise.
41850 * libio/vscanf.c: Likewise.
41851 * libio/vsnprintf.c: Likewise.
41852 * libio/vswprintf.c: Likewise.
41853 * libio/wfiledoalloc.c: Likewise.
41854 * libio/wfileops.c: Likewise.
41855 * libio/wgenops.c: Likewise.
41856 * libio/wmemstream.c: Likewise.
41857 * libio/wstrops.c: Likewise.
41858 * libio/__fpurge.c: Likewise.
41859 * libio/__fsetlocking.c: Likewise.
41860 * assert/assert.c: Likewise.
41861 * debug/fgets_chk.c: Likewise.
41862 * debug/fgets_u_chk.c: Likewise.
41863 * debug/fread_chk.c: Likewise.
41864 * debug/fread_u_chk.c: Likewise.
41865 * debug/gets_chk.c: Likewise.
41866 * debug/obprintf_chk.c: Likewise.
41867 * debug/vasprintf_chk.c: Likewise.
41868 * debug/vdprintf_chk.c: Likewise.
41869 * debug/vsnprintf_chk.c: Likewise.
41870 * debug/vsprintf_chk.c: Likewise.
41871 * malloc/mtrace.c: Likewise.
41872 * misc/error.c: Likewise.
41873 * misc/syslog.c: Likewise.
41874 * stdio-common/asprintf.c: Likewise.
41875 * stdio-common/fxprintf.c: Likewise.
41876 * stdio-common/getw.c: Likewise.
41877 * stdio-common/isoc99_fscanf.c: Likewise.
41878 * stdio-common/isoc99_scanf.c: Likewise.
41879 * stdio-common/isoc99_vfscanf.c: Likewise.
41880 * stdio-common/isoc99_vscanf.c: Likewise.
41881 * stdio-common/isoc99_vsscanf.c: Likewise.
41882 * stdio-common/printf-prs.c: Likewise.
41883 * stdio-common/printf_fp.c: Likewise.
41884 * stdio-common/printf_fphex.c: Likewise.
41885 * stdio-common/printf_size.c: Likewise.
41886 * stdio-common/putw.c: Likewise.
41887 * stdio-common/scanf.c: Likewise.
41888 * stdio-common/sprintf.c: Likewise.
41889 * stdio-common/tmpfile.c: Likewise.
41890 * stdio-common/vfprintf.c: Likewise.
41891 * stdio-common/vfscanf.c: Likewise.
41892 * stdlib/strfmon_l.c: Likewise.
41893 * sunrpc/openchild.c: Likewise.
41894 * sunrpc/xdr_stdio.c: Likewise.
41895 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41896 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41897
d6c33fda
RM
418982012-05-24 Roland McGrath <roland@hack.frob.com>
41899
c1487492
RM
41900 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41901
41902 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41903 in the third column, to generate for the shared library an IFUNC
41904 that uses _dl_vdso_vsym.
41905 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41906 * Makeconfig (object-suffixes-noshared): New variable.
41907
41908 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41909 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41910 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41911 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41912
d6c33fda
RM
41913 [BZ #14132]
41914 * include/sys/time.h (__gettimeofday): Remove macro.
41915 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41916 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41917 Remove INTDEF.
41918 (__gettimeofday): Add libc_hidden_def.
41919 (gettimeofday): Add libc_hidden_weak.
41920 * sysdeps/mach/gettimeofday.c: Likewise.
41921 * sysdeps/posix/gettimeofday.c: Likewise.
41922 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41923 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41925 (__gettimeofday_internal): Remove strong_alias.
41926 (__gettimeofday): Add libc_hidden_def.
41927 (gettimeofday): Add libc_hidden_weak.
41928 * sysdeps/unix/syscalls.list (gettimeofday):
41929 Remove __gettimeofday_internal alias.
41930
b5a2bbe6
L
419312012-05-24 Daniel Jacobowitz <drow@false.org>
41932 H.J. Lu <hongjiu.lu@intel.com>
41933
41934 [BZ #12495]
41935 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41936 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41937 (largebin_index_32_big): New.
41938 (largebin_index): Use it for 16-byte alignment.
41939 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41940 correction with front_misalign.
41941
cfba4fda
L
419422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41943
7f907421
L
41944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41946 Likewise.
41947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41948 Likewise.
41949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41950 Likewise.
41951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41952 Likewise.
41953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41954 Likewise.
41955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41956 Likewise.
41957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41958 Likewise.
41959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41960 Likewise.
41961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41962 Likewise.
41963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41964 Likewise.
41965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41966 Likewise.
41967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41968 Likewise.
41969
cfba4fda
L
41970 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41971 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41972
80bad0cc
JM
419732012-05-24 Joseph Myers <joseph@codesourcery.com>
41974
7a25eb06
JM
41975 [BZ #10846]
41976 [BZ #14036]
41977 * math/libm-test.inc (exp_test): Add test from bug 14036.
41978 (pow_test): Add test from bug 10846.
41979
795405f9
JM
41980 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41981 and other flags.
41982 (special_function): Do not include flags in test name.
41983 (parse_args): Likewise.
41984 * sysdeps/i386/fpu/libm-test-ulps: Update.
41985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41987 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41989
80bad0cc
JM
41990 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41991 exceptions.
41992 * math/libm-test.inc ("Philosophy"): Update comment about
41993 exception testing.
41994 (UNDERFLOW_EXCEPTION): New macro.
41995 (UNDERFLOW_EXCEPTION_OK): Likewise.
41996 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41997 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41998 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41999 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42000 (INVALID_EXCEPTION_OK): Update value.
42001 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42002 (OVERFLOW_EXCEPTION_OK): Likewise.
42003 (IGNORE_ZERO_INF_SIGN): Likewise.
42004 (test_exceptions): Handle underflow exceptions.
42005 (acos_test): Update for underflow exception expectations.
42006 (cexp_test): Likewise.
42007 (clog_test): Likewise.
42008 (clog10_test): Likewise.
42009 (csqrt_test): Likewise.
42010 (ctan_test): Likewise.
42011 (ctanh_test): Likewise.
42012 (exp_test): Likewise.
42013 (exp10_test): Likewise.
42014 (exp2_test): Likewise.
42015 (expm1_test): Likewise.
42016 (fma_test): Likewise.
42017 (j0_test): Likewise.
42018 (jn_test): Likewise.
42019 (nexttoward_test): Likewise.
42020 (pow_test): Likewise.
42021 (scalbn_test): Likewise.
42022 (scalbln_test): Likewise.
42023 (tan_test): Likewise.
42024 (y1_test): Likewise.
42025 * sysdeps/i386/fpu/libm-test-ulps: Update.
42026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42027
9e0e3d0b
DM
420282012-05-23 David S. Miller <davem@davemloft.net>
42029
42030 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42031 (__libc_sigaction): Remove unused local variables.
42032
ccd0a08f
L
420332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42034
42035 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42036
62bdf9a6
PE
420372012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42038
f8591f80
PE
42039 mktime: avoid signed integer overflow
42040 * time/mktime.c (__mktime_internal): Do not mishandle the case
42041 where diff == INT_MIN.
42042
94c7d826
PE
42043 mktime: simplify computation of average
42044 * time/mktime.c (ranged_convert): Use new time_t_avg function
42045 instead of rolling our own (probably-slower) code.
42046
ce73d683
PE
42047 mktime: do not assume signed right shift propagates sign bit
42048 * time/mktime.c (isdst_differ): New static function.
42049 (__mktime_internal): No need to normalize tm_isdst now.
42050 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42051 tm_isdst values.
42052
72a22e59
PE
42053 mktime: merge another wrapv change from gnulib
42054 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42055 from some compilers.
42056
68605433
PE
42057 mktime: remove incorrect attempt at unusual arithmetics
42058 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42059 The code didn't really work on such machines anyway.
42060 (TYPE_MINIMUM): Assume two's complement.
42061 (twos_complement_arithmetic): Verify that long_int and time_t
42062 are two's complement (or unsigned, in the latter case).
42063
03cf7fe3
PE
42064 mktime: check signed shifts on long_int and time_t, too
42065 * time/mktime.c (SHR): Check that shifts work as desired
42066 on the types long_int and time_t too, as SHR is used on
42067 such types.
42068
f04dfbc2
PE
42069 mktime: do not assume 'long' is wide enough
42070 * time/mktime.c (verify): Move decl up.
42071 (long_int): New type.
42072 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42073 to remove assumption in the code that 'long' is wide enough to
42074 store year values. This assumption is not true on x32 and on
42075 some non-glibc platforms.
42076
62bdf9a6
PE
42077 mktime: merge wrapv change from gnulib
42078 * time/mktime.c (WRAPV): New macro.
42079 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42080 (guess_time_tm, __mktime_internal): Do not assume that signed
42081 integer overflow wraps around; modern compilers generate code
42082 where this assumption is no longer valid.
42083
5e292e4f
L
420842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42085
42086 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42087 Replace "jmp L(pseudo_end)" with "ret".
42088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42089 Likewise.
42090
8caf8c87
AJ
420912012-05-23 Andreas Jaeger <aj@suse.de>
42092
42093 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42094 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42095
1a09dc56
AJ
420962012-05-23 Andreas Jaeger <aj@suse.de>
42097 Maximilian Attems <max@stro.at>
42098
42099 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42100 New macros.
42101
1c87aba0
L
421022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42103
42104 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42105 code so that pseudo_end is just ret and the stack pointer is
42106 correct also for static library in error case.
42107
40e45bd5
JM
421082012-05-23 Joseph Myers <joseph@codesourcery.com>
42109
c2670533
JM
42110 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42111 move to syscalls.list.
42112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42116
40e45bd5
JM
42117 * manual/install.texi (Running make install): Do not mention Linux
42118 kernel version for which pt_chown is not needed.
42119 (Linux): Do not mention problems with nscd with 2.0 kernels.
42120 * INSTALL: Regenerated.
42121
be08eda5
AJ
421222012-05-23 Andreas Jaeger <aj@suse.de>
42123
42124 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42125 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42126 macro.
42127 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42129 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42131 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42137 * sysdeps/unix/sysv/linux/bits/in.h
42138 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42139
a6a056bb
RM
421402012-05-22 Roland McGrath <roland@hack.frob.com>
42141
42142 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42143 (PREPARE_VERSION): Just use assert instead, it will be elided
42144 under [NDEBUG] anyway.
42145
c9009328
L
421462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42147
42148 * sysdeps/unix/sysv/linux/Makefile: Include
42149 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 42150 (sysdep_routines): Remove sysctl.
c9009328
L
42151 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42152 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42153 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42154 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42155 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42156
73338355
AJ
421572012-05-22 Andreas Jaeger <aj@suse.de>
42158
42159 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42160 that pseudo_end is just ret and the stack pointer is correct also
42161 for static library in error case.
42162
d44638b0
PP
421632012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42164
42165 [BZ #14122]
42166 * nss/nsswitch.c (defconfig_entries): New variable.
42167 (__nss_database_lookup): Don't leak defconfig entries.
42168 (nss_parse_service_list): Don't leak on error paths.
42169 (free_database_entries): New function.
42170 (free_defconfig): New function.
42171 (free_mem): Move common code to free_database_entries.
42172
31a39bd8
L
421732012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42174
da0331a8
L
42175 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42176 Add arch_prctl.
42177 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42178
31a39bd8
L
42179 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42180 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42181 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42182 New macro.
42183 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42184 (INTERNAL_SYSCALL_TYPES): Likewise.
42185 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42186 (LOAD_REGS_TYPES_[1-6]): Likewise.
42187 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42188 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42189
45470df3
AZ
421902012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42191
42192 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42193 copysignl for GLIBC_2_0.
42194 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42195 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42196 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42197 logbl for GLIBC_2_0.
42198 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42199 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42200
98a61bcb
L
422012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42202
a4f6e481
L
42203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42204 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42205
f63d5db6
L
42206 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42207 Use "neg %eax".
42208
98a61bcb
L
42209 * time/mktime.c: Update copyright years.
42210
95770f14
PE
422112012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42212
6226efbd
PE
42213 mktime: merge comment-quoting-style change from gnulib
42214 * time/mktime.c: Quote 'like this' in comments.
42215 The GNU coding standards suggest that we no longer quote `like this',
42216 as "`" and "'" are typically rendered asymmetrically nowadays.
42217 The typical gnulib style is to quote 'like this' when quoting
42218 code, and "like this" when quoting English.
42219
b99e4f78
PE
42220 * time/mktime.c (compile-command): Add "-I.".
42221
643e01e6
PE
42222 mktime: merge mktime-internal.h change from gnulib
42223 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42224
2554247d
PE
42225 mktime: merge time_r change from gnulib
42226 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42227
826dd0ab
PE
42228 mktime: merge DEBUG change from gnulib
42229 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42230 case system <time.h> has a #define.
42231
bd83aabe
PE
42232 mktime: merge <sys/types.h> change from gnulib
42233 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42234 since <time.t> is now guaranteed to define time_t.
42235
95770f14
PE
42236 mktime: merge HAVE_CONFIG_H change from gnulib
42237 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42238
5e1a27a9
L
422392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42240
0e44a77e
L
42241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42242 Use "neg %eax".
42243
5e1a27a9
L
42244 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42245 __rlim_t cast.
42246 (struct rusage): Use anonymous union to pad each field to
42247 __syscall_slong_t.
42248
46259bec
DM
422492012-05-21 David S. Miller <davem@davemloft.net>
42250
42251 * Makefules (o-iterator): Remove .s cases.
42252 (compile-command.s): Delete.
42253 (COMPILE.s): Delete.
42254 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42255
59f0c22e
JM
422562012-05-21 Joseph Myers <joseph@codesourcery.com>
42257
42258 * configure.in (libc_cv_predef_stack_protector): Only consider
42259 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42260 * configure: Regenerated.
42261
20c07380
L
422622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42263
bbb3154b
L
42264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42265 New macro. Use R*LP on int and pointer.
42266 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
42267 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42268 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
42269 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42270
20c07380
L
42271 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42272 [__WORDSIZE_TIME64_COMPAT32] instead of
42273 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42274 (struct utmp): Likewise.
42275 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42276 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42277 Renamed to ...
42278 (__WORDSIZE_TIME64_COMPAT32): This.
42279 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42280 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42281 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42282 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42283 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42284 (__WORDSIZE_TIME64_COMPAT32): New macro.
42285
d8d1017e
AJ
422862012-05-21 Andreas Jaeger <aj@suse.de>
42287
42288 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42289 only if [SHARED]. Add prototype for __wcschr_ia32.
42290
6c7fb145
RM
422912012-05-21 Roland McGrath <roland@hack.frob.com>
42292
42293 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42294 of %rbp unmolested in the jmp_buf while mangling the low bits.
42295 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42296 unmolested high bits of %rbp while demangling the low bits.
42297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42298
66274218
AJ
422992012-05-21 Andreas Jaeger <aj@suse.de>
42300
07c58f8f
AJ
42301 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42302 * sunrpc/svc_simple.c: Use it for registerrpc.
42303 * sunrpc/xcrypt.c: Use it for passwd2des.
42304
66274218
AJ
42305 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42306
61f65140
L
423072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42308
42309 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42310 Don't define if [__SYSCALL_WORDSIZE != 32].
42311 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42312 New macro.
42313
5fefb436
AJ
423142012-05-21 Bruno Haible <bruno@clisp.org>
42315 Andreas Jaeger <aj@suse.de>
42316
42317 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42318 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42319 inptr and inend for must_buffer_ch.
42320 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42321 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42322 * stdio-common/Makefile (tests): Remove bug15.
42323 (bug15-ENV): Remove macro.
42324 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42325 anymore.
42326
d8e272ab
AJ
423272012-05-19 Andreas Jaeger <aj@suse.de>
42328 Roland McGrath <roland@hack.frob.com>
42329
42330 * manual/contrib.texi: Completely rewritten. It contains now an
42331 alphabetical list of contributors and their contributions.
42332
4a56a162
RH
423332012-05-21 Richard Henderson <rth@twiddle.net>
42334
42335 * misc/getauxval.c (__getauxval): Use unsigned long int.
42336 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42337 (getauxval): Use unsigned long int.
42338
d024d23c
L
423392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42340
42341 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42342
cbc00a03
RM
423432012-05-21 Roland McGrath <roland@hack.frob.com>
42344
42345 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42346 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42347 __alignof__ (long double).
42348
478143fa
AZ
423492012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42350
42351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42352
c7683a6d
RH
423532012-05-20 Richard Henderson <rth@twiddle.net>
42354
42355 * misc/getauxval.c: New file.
42356 * misc/sys/auxv.h: New file.
42357 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42358 (routines): Add getauxval.
42359 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42360 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42361 * elf/dl-sysdep.c (_dl_auxv): Remove.
42362 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42363 * elf/dl-support.c (_dl_auxv): New variable.
42364 (_dl_aux_init): Initialize it.
42365 * manual/startup.texi (Auxiliary Vector): New node.
42366 * sysdeps/generic/bits/hwcap.h: New file.
42367 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42368 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42369 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42370 * sysdeps/sparc/sysdep.h: ... here. Include it.
42371 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42372 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
42373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42374 Update.
c7683a6d
RH
42375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42378 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42383
a6f1845d
AZ
423842012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42385
42386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42387
cbcbe830
DM
423882012-05-19 David S. Miller <davem@davemloft.net>
42389
42390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42391
e0b16cc2
JM
423922012-05-19 Joseph Myers <joseph@codesourcery.com>
42393
42394 [BZ #14123]
42395 * math/s_ccosh.c: Include <float.h>
42396 (__ccosh): Avoid internal overflow calculating sinh and cosh
42397 values before multiplying by sin and cos values.
42398 * math/s_ccoshf.c: Likewise.
42399 * math/s_ccoshl.c: Likewise.
42400 * math/s_csin.c: Likewise.
42401 * math/s_csinf.c: Likewise.
42402 * math/s_csinl.c: Likewise.
42403 * math/s_csinh.c: Likewise.
42404 * math/s_csinhf.c: Likewise.
42405 * math/s_csinhl.c: Likewise.
42406 * math/libm-test.inc (ccos_test): Add more tests.
42407 (ccosh_test): Likewise.
42408 (csin_test): Likewise.
42409 (csinh_test): Likewise.
42410 * sysdeps/i386/fpu/libm-test-ulps: Update.
42411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42412
6ad13e08
L
424132012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42414
f66f0ce8
L
42415 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42416 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42417
6ad13e08
L
42418 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42419
b1d072a7
JM
424202012-05-19 Joseph Myers <joseph@codesourcery.com>
42421
42422 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42423 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42424 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42425 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42426 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42427 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42428 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42429 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42430 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42431 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42432 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42433 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42434 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42435 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42436 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42437 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42438 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42439 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42440 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42441 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42442 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42443 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42444 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42445 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42446 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42447 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42448 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42449 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42450 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42451 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42452 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42453
9eae47cb
AJ
424542012-05-18 Andreas Jaeger <aj@suse.de>
42455
42456 * csu/.gitignore: Delete.
42457
bb07f69f
L
424582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42459
42460 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42461 (timex): Use __syscall_slong_t.
42462
e6bdb741
AJ
424632012-05-18 Andreas Jaeger <aj@suse.de>
42464 Carlos O'Donell <carlos_odonell@mentor.com>
42465
42466 * manual/install.texi (Configuring and compiling): Update
42467 description about files modified in the source directory.
d6c33fda 42468 * INSTALL: Regenerated.
e6bdb741 42469
1b74487e
L
424702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42471
42472 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42473 value. Use "or" to set return value to -1.
42474 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42475 negate return value.
42476
a88b64b9
TMQMF
424772012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42478
57f41c40
AS
42479 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42480 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
42481 failure if the compiler has Graphite support disabled.
42482 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42483 Likewise.
57f41c40
AS
42484 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42485 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
42486 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42487 Likewise.
42488
3707636e
L
424892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42490
610b8622
L
42491 * sysdeps/x86_64/x32/_itoa.h: New file.
42492
7cd195df
L
42493 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42494 getdents system call only if kernel and user dirents have the
42495 same d_ino and d_off.
42496
94b07d20
L
42497 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42498 LLONG_MAX != LONG_MAX.
42499 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42500 (_fitoa_word): Likewise.
42501
18298070
L
42502 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42503 years.
42504 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42505 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42506 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42507
553c7ea4
L
42508 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42509 include <bits/wordsize.h>. Check __x86_64__ instead of
42510 __WORDSIZE.
42511 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42512 if __x86_64__ is defined. Use anonymous union on fpstate.
42513
3707636e
L
42514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42515 anonymous union.
42516
b53ef01a
AS
425172012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42518
37fb1dc0
AS
42519 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42520 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42521 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42522 Refer to _rtld_local_ro instead of _rtld_global_ro.
42523 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42524 Likewise.
42525 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42526 Likewise.
42527 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42528 Likewise.
42529 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42530 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42531 of _rtld_global, and rtld_progname instead of _dl_argv[0].
42532
b53ef01a
AS
42533 * sysdeps/powerpc/powerpc32/dl-machine.c
42534 (__elf_machine_runtime_setup) [PROF]: Don't reference
42535 _dl_prof_resolve.
42536
7a185db2
AJ
425372012-05-18 Andreas Jaeger <aj@suse.de>
42538
42539 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42540 function only available for GCCs before 3.4 since GCC 3.4
42541 introduced a builtin.
42542 (lrint): Likewise.
42543 (llrintf): Likewise.
42544 (llrint): Likewise.
42545 (fmaxf): Likewise.
42546 (fmax): Likewise.
42547 (fminf): Likewise.
42548 (fmin): Likewise.
42549 (rint): Likewise.
42550 (rintf): Likewise.
42551 (nearbyint): Likewise.
42552 (nearbyintf): Likewise.
42553 (ceil): Likewise.
42554 (ceilf): Likewise.
42555 (floor): Likewise.
42556 (floorf): Likewise.
42557
3e5aef87
L
425582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42559
428bd707
L
42560 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42561 on both fields and cast pointer to __syscall_ulong_t.
42562
3e5aef87
L
42563 * bits/types.h (__fsword_t): New type.
42564 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42565 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42567 (__FSWORD_T_TYPE): Likewise.
42568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42569 (__FSWORD_T_TYPE): Likewise.
42570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42571 (__FSWORD_T_TYPE): Likewise.
42572 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42573 (__FSWORD_T_TYPE): Likewise.
42574 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42575 __SWORD_TYPE with __fsword_t.
42576 (statfs64): Likewise.
42577
1ba7c3dc
DM
425782012-05-17 David S. Miller <davem@davemloft.net>
42579
42580 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42581
59910343
AJ
425822012-05-17 Andreas Jaeger <aj@suse.de>
42583
42584 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42585 warning.
42586
2e4c1e9e
L
425872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42588
42589 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42590
de7f5ce7
AJ
425912012-05-17 Andreas Jaeger <aj@suse.de>
42592
42593 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42594 when it is used.
42595
286abc3d
CM
425962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42597
42598 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42599
477cc68e
L
426002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
42601
42602 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42603 * sysdeps/x86_64/tst-mallocalign1.c: New file.
42604
1a0994f5
CD
426052012-05-17 Andreas Jaeger <aj@suse.de>
42606 Carlos O'Donell <carlos_odonell@mentor.com>
42607
42608 [BZ #14059]
42609 * sysdeps/x86_64/multiarch/init-arch.h
42610 (bit_YMM_Usable): Rename to...
42611 (bit_AVX_Usable): ... this.
42612 (bit_FMA4_Usable): New macro.
42613 (bit_XMM_state): New macro.
42614 (bit_YMM_state): New macro.
42615 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42616 [__ASSEMBLER__] (index_AVX_Usable): ... this.
42617 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42618 (CPUID_OSXSAVE): New macro.
42619 (CPUID_AVX): New macro.
42620 (CPUID_FMA4): New macro.
42621 (index_YMM_Usable): Rename to...
42622 (index_AVX_Usable): ... this.
42623 (HAS_AVX): Use HAS_ARCH_FEATURE.
42624 (HAS_FMA4): Likewise.
42625 (HAS_YMM_USABLE): Remove.
42626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42627 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42628 are present.
42629 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42630 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42631 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42632 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42633 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42634
0af797de
CM
426352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42636
42637 * math/libm-test.c: Support platforms without multiple rounding modes.
42638 * math/bug-nextafter.c: Support platforms without FP exceptions.
42639 * math/bug-nexttoward.c: Likewise.
42640 * math/test-fenv.c: Likewise.
42641 * math/test-misc.c: Likewise.
42642 * stdlib/bug-getcontext.c: Likewise.
42643
e39745ff
AJ
426442012-05-17 Andreas Jaeger <aj@suse.de>
42645
42646 * manual/examples/search.c (critter_cmp): Change signature to
42647 avoid warnings.
42648 * manual/string.texi (Collation Functions): Likewise.
42649
48970aba
L
426502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42651
42652 * bits/types.h: Fold copyright years.
42653 * bits/typesizes.h: Likewise.
42654 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42656 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42658 * time/time.h: Likewise.
42659
bedee953
PP
426602012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42661
42662 [BZ #208]
42663 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42664 in instead of returning them. Return void.
42665 (__libc_mallinfo): Accumulate over all arenas.
42666 (__malloc_stats): Adjust for change in int_mallinfo interface.
42667
61653dfb
RM
426682012-05-16 Roland McGrath <roland@hack.frob.com>
42669
30b99d79
RM
42670 [BZ #10375]
42671 * configure.in (NM): Add AC_CHECK_TOOL for it.
42672 (libc_extra_cflags): New substituted variable.
42673 Check for -fstack-protector being used implicitly.
42674 * configure: Regenerated.
42675 * config.make.in (config-extra-cflags): New variable,
42676 gets @libc_extra_cflags@.
42677 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42678
61653dfb
RM
42679 [BZ #10375]
42680 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42681 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42682 * configure: Regenerated.
42683 * config.make.in (CPPUNDEFS): New substituted variable.
42684 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42685 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42686 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42687
661768bb
L
426882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42689
42690 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42691 (mq_attr): Use __syscall_slong_t.
42692
d4261567
L
426932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42694
42695 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42696 Check __x86_64__ instead of __WORDSIZE.
42697 (_STAT_VER_LINUX): Likewise.
42698 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42699 __syscall_ulong_t and __syscall_slong_t.
42700 (stat64): Likewise.
42701
cf3ff365
L
427022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42703
42704 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42705
76cf3e4d
L
427062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42707
42708 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42709
a637753a
L
427102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42711
42712 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42713 __syscall_ulong_t.
42714
d5e05119
L
42715 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42716 include <bits/wordsize.h>. Check __x86_64__ instead of
42717 __WORDSIZE.
42718 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42719 defined.
42720 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42721
f62ee380
L
42722 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42723 include <bits/wordsize.h>. Check __x86_64__ instead of
42724 __WORDSIZE.
42725 (user_regs_struct): Use "__extension__ unsigned long long"
42726 instead of "unsigned long" if __x86_64__ is defined.
42727 (user): Likewise. Pad after pointer field if __ILP32__ is
42728 defined.
42729
4e124ced
JM
427302012-05-16 Joseph Myers <joseph@codesourcery.com>
42731
6a3951a0
JM
42732 * configure.in (makeinfo): Require version 4.5 or later. Allow
42733 versions 5 to 9.
42734 * configure: Regenerated.
42735 * manual/install.texi (texinfo): Increase version requirement to
42736 4.5 or later.
42737 * INSTALL: Regenerated.
42738
4e124ced
JM
42739 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42740
953ca31a
L
427412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42742
42743 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42744
617aca05
L
42745 * sysdeps/x86_64/x32/ffs.c: New file.
42746
5762f7ae
L
42747 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42748 __syscall_ulong_t.
42749 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42750 defined. Use __syscall_ulong_t.
42751 (shminfo): Use __syscall_ulong_t.
42752 (shm_info): Likewise.
42753
a26b6856
L
42754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42755 __syscall_ulong_t.
42756
cb2b9ef7
L
42757 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42758 <bits/wordsize.h>.
42759 (msgqnum_t): Use __syscall_ulong_t.
42760 (msglen_t): Likewise.
42761 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42762 __syscall_ulong_t.
42763
34683bb0
L
42764 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42765 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42766
84a68786
L
42767 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42768
48baa5f1
L
42769 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42770 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42771
180be88b
L
42772 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42773 __syscall_slong_t.
42774
5e90c8ad
L
42775 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42776 include <bits/wordsize.h>. Check __x86_64__ instead of
42777 __WORDSIZE.
42778
23dfb58b
L
42779 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42780 "unsigned long long int" if __x86_64__ is defined.
42781 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42782
ce5d54b0
L
42783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42784 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42785 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42786
13dc9eac
L
42787 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42788 <stdint.h>.
42789 (GET_PC): Cast to uintptr_t first.
42790 (GET_FRAME): Likewise.
42791 (GET_STACK): Likewise.
42792
a7895d15
L
42793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42796 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42798 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42800 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42801 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42803 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42807 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42809 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42811 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42813 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42815 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42817 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42819 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42821 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42822
656416c9
AS
428232012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42824
5bd66283
AS
42825 * Makerules (+depfiles): Also collect depfiles from .oS in
42826 $(extra-objs).
42827 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42828 .oS, $(libnldbl-routines)).
42829
656416c9
AS
42830 * Makerules (native-compile-mkdep-flags): Define.
42831 * sunrpc/Makefile (extra-objs): Add $(addprefix
42832 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42833 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42834 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42835 calling $(make-target-directory).
42836
a46f2169
L
428372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42838
42839 * bits/types.h (__snseconds_t): Removed.
42840 * time/time.h (struct timespec): Replace __snseconds_t with
42841 __syscall_slong_t.
42842 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42843 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42844 Likewise.
42845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42846 (__SNSECONDS_T_TYPE): Likewise.
42847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42848 (__SNSECONDS_T_TYPE): Likewise.
42849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42850 (__SNSECONDS_T_TYPE): Likewise.
42851
6af6528b
L
428522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42853
42854 * sysdeps/mach/hurd/bits/typesizes.h
42855 (__SYSCALL_SLONG_TYPE): New macro.
42856 (__SYSCALL_ULONG_TYPE): Likewise.
42857
de986b56
L
428582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42859
42860 * bits/types.h (__syscall_slong_t): New type.
42861 (__syscall_ulong_t): Likewise.
42862
42863 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42864 (__SYSCALL_ULONG_TYPE): Likewise.
42865 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42866 (__SYSCALL_SLONG_TYPE): Likewise.
42867 (__SYSCALL_ULONG_TYPE): Likewise.
42868 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42869 (__SYSCALL_SLONG_TYPE): Likewise.
42870 (__SYSCALL_ULONG_TYPE): Likewise.
42871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42872 (__SYSCALL_SLONG_TYPE): Likewise.
42873 (__SYSCALL_ULONG_TYPE): Likewise.
42874
85736dc7
L
428752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42876
42877 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42878 Add sigaltstack-offsets.sym.
42879 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42880 <sigaltstack-offsets.h>.
42881 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42882 longjmp_msg pointer.
42883 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42884 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42885 signal stack.
42886 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42887
cc03b296
JM
428882012-05-15 Joseph Myers <joseph@codesourcery.com>
42889
a9538892
JM
42890 * elf/stackguard-macros.h: Remove file.
42891 * sysdeps/generic/stackguard-macros.h: New file.
42892 * sysdeps/i386/stackguard-macros.h: Likewise.
42893 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42894 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42895 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42896 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42897 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42898 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42899 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42900 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42901 <elf/stackguard-macros.h>.
42902
cc03b296
JM
42903 [BZ #14109]
42904 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42905 __aligned__ in attribute.
42906 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42907 (gregset_t): Likewise.
42908
93171016
L
429092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42910
42911 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42912 * sysdeps/x86_64/64/Implies-after: Here. New file.
42913 * sysdeps/x86_64/x32/Implies-after: New file.
42914
d86813a0
L
429152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42916
42917 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42918 and access return value for _dl_profile_fixup. Use R10_LP to
42919 load frame size.
42920
2953ec75
L
429212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42922
42923 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42924
3b550e9e
L
429252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42926
42927 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42928 * sysdeps/x86_64/x32/sysdep.h: New file.
42929
eda41706
L
429302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42931
42932 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42933 * sysdeps/x86_64/setjmp.S: Likewise.
42934
9ea01d93
AZ
429352012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42936
42937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42938 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42939 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42940 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42941 remove unused global constant.
42942
02a91938
CM
429432012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42944
42945 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42946 include of <not-cancel.h>.
42947
6540185f
RM
429482012-05-15 Roland McGrath <roland@hack.frob.com>
42949
42950 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42951
509072a0
AJ
429522012-05-15 Jeff Law <law@redhat.com>
42953 Andreas Jaeger <aj@suse.de>
42954
42955 [BZ #13594]
42956 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42957 out from...
42958 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42959 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42960 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42961 code changing __hst_map_handle.map.
42962
ba75122d
RM
429632012-05-15 Roland McGrath <roland@hack.frob.com>
42964
42965 * configure.in (sysnames): Look for Implies-before and Implies-after
42966 files.
42967 * configure: Regenerated.
42968
890d8bd8
L
429692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42970
42971 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42972 8-byte data alignment with LP_SIZE alignment.
42973
f6ee6623
L
429742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42975
42976 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42977 into R10_LP.
42978
ea2626f6
L
429792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42980
42981 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42982
085f715e
L
429832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42984
42985 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42986 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42987 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42988 Likewise.
42989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42990
be8498fc
L
429912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42992
42993 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42994 (stackinfo_sub_sp): Likewise.
42995
70bc83b9
L
429962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42997
42998 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42999 RAX_LP.
43000
9bc0b730
L
430012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43002
43003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43004 into R*_LP.
43005
6d2850e7
L
430062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43007
43008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43009 sizes into R*_LP.
43010
3cb84561
L
430112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43012
43013 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43014
54e2ed81
L
430152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43016
43017 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43018 into R11_LP and load __x86_64_shared_cache_size_half into
43019 R8_LP.
43020
8a17f349
L
430212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43022
43023 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43024 R8_LP.
43025
777b1eea
AZ
430262012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43027
43028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43029 logb for POWER7.
43030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43031 logbf for POWER7.
43032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43033 logbl for POWER7.
43034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43035 powerpc32/power7/fpu/s_logb.c via #include.
43036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43037 powerpc32/power7/fpu/s_logbf.c via #include.
43038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43039 powerpc32/power7/fpu/s_logbl.c via #include.
43040
d20d4ac2
JM
430412012-05-15 Joseph Myers <joseph@codesourcery.com>
43042
43043 * README.libm: Remove file.
43044
6cdef1ab
L
430452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43046
43047 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43048 count for x32. Use R*_LP and omit operand-size suffix.
43049
0b254d8f
L
430502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43051
43052 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43053 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43054 * sysdeps/x86_64/x32/shlib-versions: New file.
43055
ceb809dc
RM
430562012-05-14 Roland McGrath <roland@hack.frob.com>
43057
43058 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43059 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43060 Use _dl_fatal_printf instead.
43061
37f1abd4
JM
430622012-05-14 Joseph Myers <joseph@codesourcery.com>
43063
43064 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43065 set if not set by the user. Do not allow for being unset.
43066 * sysdeps/unix/sysv/linux/configure: Regenerated.
43067
11de3a33
L
430682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43069
43070 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43071 the `q' suffix from lea and replace .quad with ASM_ADDR.
43072
e02f153a
L
430732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43074
43075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43076 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43077 instead of $17.
43078 (PTR_DEMANGLE): Likewise.
43079
520ae0fd
L
430802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43081
43082 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43083 (LP_OP): Likewise.
43084 (ASM_ADDR): Likewise.
43085 (RAX_LP): Likewise.
43086 (RBP_LP): Likewise.
43087 (RBX_LP): Likewise.
43088 (RCX_LP): Likewise.
43089 (RDI_LP): Likewise.
43090 (RSI_LP): Likewise.
43091 (RSP_LP): Likewise.
43092 (R8_LP): Likewise.
43093 (R9_LP): Likewise.
43094 (R10_LP): Likewise.
43095 (R10_LP): Likewise.
43096 (R11_LP): Likewise.
43097 (R12_LP): Likewise.
43098 (R13_LP): Likewise.
43099 (R14_LP): Likewise.
43100 (R15_LP): Likewise.
43101
b985be81
L
431022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43103
43104 * sysdeps/x86_64/x32/dl-machine.h: New file.
43105
6a4888ff
AJ
431062012-05-14 Andreas Jaeger <aj@suse.de>
43107
43108 * manual/Makefile (subdir): Remove export of subdir.
43109 (all): Remove target.
43110 (.PHONY): Remove all from list.
43111 (mkinstalldirs): Remove.
43112 (.PHONY): Remove installdirs from list.
43113 ($(inst_infodir)/libc.info): Use make-target-directory.
43114 (installdirs): Remove.
43115 (subdir_%): Remove.
43116 (glibc-targets): Remove.
43117 (lib): Remove.
43118 (stubs): Remove.
43119 ($(objpfx)stubs ../po/manual.pot): Remove.
43120 ($(objpfx)stamp%): Remove.
43121 (make-target-directory): Remove.
43122 (subdir_install): Remove.
43123 (routines): Remove.
43124 (aux): Remove.
43125 (sources): Remove.
43126 (objects): Remove.
43127 (headers): Remove.
43128
43129 [BZ #13750]
43130 * manual/.gitignore: Remove, it's not needed anymore.
43131 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43132 all files in it.
43133 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43134 directory.
43135 (texis): Renamed to $(objpfx)texis.
43136 (texis-path): New, contains path to generated files.
43137 (chapters.%): Use texis-path for complete path, add extra argument
43138 libc-texinfo.sh.
43139 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43140 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43141 (summary,texi, stamp-summary): Use complete path of
43142 files. Generate files in build dir.
43143 (dir-add.texi): Build in build dir.
43144 (libm-err.texi,stamp-libm-err): Likewise.
43145 (version.texi, stamp-version): Likewise.
43146 (.%c.texi): Likewise.
43147 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43148 (mostlyclean): Remove target.
43149 (realclean): Remove target.
43150 (generated): Add new variable with contents from mostlyclean and
43151 realclean, remove entries duplicated in common-mostlyclean, add
43152 stamp-libm-err and stamp-version.
43153 (generated-dirs): Add libc directory.
43154 ($(inst_infodir)/libc.info): Install files from build dir.
43155
43156 * manual/install.texi (Configuring and compiling): Adjust since
43157 the info files are not part of the tar ball anymore.
43158
7ac77294
AJ
431592012-05-14 Andreas Jaeger <aj@suse.de>
43160
43161 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43162 variable.
43163
ffb7875d
JM
431642012-05-14 Joseph Myers <joseph@codesourcery.com>
43165
43166 [BZ #13717]
43167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43168 to 2.2.0 where earlier.
43169 * sysdeps/unix/sysv/linux/configure: Regenerated.
43170 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43171 Remove conditional code.
43172 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43173 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43174 Remove conditional code.
43175 [!__NR_lchown]: Likewise.
43176 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43177 [__NR_lchown]: Likewise.
43178 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43179 comment referencing __ASSUME_LCHOWN_SYSCALL.
43180 * sysdeps/unix/sysv/linux/i386/sigaction.c
43181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43183 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43184 Remove conditional code.
43185 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43186 (__protocol_available): Remove #if 0 code.
43187 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43188 conditional code.
43189 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43190 * sysdeps/unix/sysv/linux/kernel-features.h
43191 (__ASSUME_GETCWD_SYSCALL): Don't define.
43192 (__ASSUME_REALTIME_SIGNALS): Likewise.
43193 (__ASSUME_PREAD_SYSCALL): Likewise.
43194 (__ASSUME_PWRITE_SYSCALL): Likewise.
43195 (__ASSUME_POLL_SYSCALL): Likewise.
43196 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43197 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43198 non-SPARC.
43199 (__ASSUME_SIOCGIFNAME): Don't define.
43200 (__ASSUME_MSG_NOSIGNAL): Likewise.
43201 (__ASSUME_SENDFILE): Define unconditionally.
43202 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43203 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43204 conditional code.
43205 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43206 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43207 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43208 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43209 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43210 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43211 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43216 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43217 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43222 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43223 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43225 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43228 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43229 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43231 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43232 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43234 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43235 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43236 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43237 Remove conditional code.
43238 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43239 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43240 Remove conditional code.
43241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43242 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43243 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43244 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43245 Remove conditional code.
43246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43247 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43248 Remove conditional code.
43249 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43250 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43251 Remove conditional code.
43252 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43253 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43254 Remove conditional code.
43255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43256 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43257 Remove conditional code.
43258 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43259 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43262 * sysdeps/unix/sysv/linux/sigaction.c
43263 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43264 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43265 * sysdeps/unix/sysv/linux/sigpending.c
43266 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43267 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43268 * sysdeps/unix/sysv/linux/sigprocmask.c
43269 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43270 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43271 * sysdeps/unix/sysv/linux/sigsuspend.c
43272 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43273 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43274 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43275 (__libc_missing_rt_sigs): Remove.
43276 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43277 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43278 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43279 Remove conditional code.
43280 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43281 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43282 return 1.
43283 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43284 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43285 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43286 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43287
1bfb7291
AJ
432882012-05-14 Andreas Jaeger <aj@suse.de>
43289
caae5a81
AJ
43290 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43291 it's not used in glibc.
43292 (__coshm1): Likewise.
43293 (__acosh1p): Likewise.
43294 (__sgn): Likewise.
43295
1bfb7291
AJ
43296 * manual/string.texi (Copying and Concatenation): Add missing
43297 variable in concat example.
43298 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43299
c044d724
L
433002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43301
144c5467 43302 [BZ #14103]
c044d724
L
43303 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43304 __builtin_clzl with __builtin_clzll.
43305
2523c62b
L
433062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43307
43308 [BZ #14104]
43309 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43310 libc_freeres_ptr.
43311
d7bb4c42
LD
433122012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43313
43314 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43315 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43316 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43317 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43318
9dc4e1fb
MF
433192012-05-14 Mike Frysinger <vapier@gentoo.org>
43320
43321 * NEWS: Update ia64 info.
43322
c7df0112
AS
433232012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43324
43325 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43326 used as bcopy.
43327
dc70356c
TS
433282012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43329
43330 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43331 * sysdeps/unix/syscalls.list (dup3): Likewise.
43332 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43333 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43334
9fb1a21f
L
433352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43336
43337 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43338 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43339
4822a2a5
L
433402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43341
43342 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43343 thread pointer.
43344 (TLS_IE): Use mov/add instead of movq/addq to load thread
43345 pointer.
43346 (TLS_GD_PREFIX): New.
43347 (TLS_GD): Use it.
43348
842b81d6
DM
433492012-05-11 David S. Miller <davem@davemloft.net>
43350
43351 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43352 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43353 (_FPU_SETCW): Likewise.
43354
1cf463cd
L
433552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43356
43357 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43358 is 32-byte aligned.
43359
60cc4a18
AS
433602012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43361
43362 [BZ #11837]
43363 * iconvdata/gb18030.c: Update tables.
43364 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43365 characters specially.
43366 (BODY for TO_LOOP): Add encoding of missing ranges.
43367
febb44a4
TS
433682012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43369
43370 [BZ #13673]
43371 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43372 * sysdeps/mach/hurd/dup3.c: Likewise.
43373 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43374 * sysdeps/powerpc/memmove.c:: Likewise.
43375
0a10fb9e
L
433762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43377
43378 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43379 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43380
df8a552f
L
433812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43382
43383 * elf/elf.h (R_X86_64_RELATIVE64): New.
43384 (R_X86_64_NUM): Updated.
43385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43386 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43387 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43388 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43389 tst-quad1pie tst-quad2pie
43390 (modules-names): Add tst-quadmod1 tst-quadmod2.
43391 ($(objpfx)tst-quad1): New dependency.
43392 ($(objpfx)tst-quad2): Likewise.
43393 ($(objpfx)tst-quad1pie): Likewise.
43394 ($(objpfx)tst-quad2pie): Likewise.
43395 * sysdeps/x86_64/tst-quad1.c: New file.
43396 * sysdeps/x86_64/tst-quad1pie.c: New file.
43397 * sysdeps/x86_64/tst-quad2.c: Likewise.
43398 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43399 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43400 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43401 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43402 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43403
f34d6f84
ST
434042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43405
f42d41d1
ST
43406 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43407 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43408 * streams/stropts.h (t_scalar_t): Define type.
43409
3c3571fc
ST
43410 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43411 (_PATH_PRESERVE): Set to "/var/lib".
43412 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43413
61f06bd3
ST
43414 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43415 instead of int.
43416
918d4d71
ST
43417 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43418 if __dir_mkfile succeeded.
43419
f34d6f84
ST
43420 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43421 checking for _hurd_dtablesize. Unlock it right after having
43422 finished _hurd_dtable allocation.
43423
10589b4a
TS
434242012-05-10 Thomas Schwinge <thomas@schwinge.name>
43425
674cdbc7
TS
43426 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43427 * sysdeps/mach/hurd/configure: Regenerated.
43428 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43429 special-casing to...
43430 * sysdeps/gnu/configure.in: ... this new file.
43431 * sysdeps/unix/sysv/linux/configure: Regenerated.
43432 * sysdeps/gnu/configure: New generated file.
43433
8e41b99f
TS
43434 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43435 for Linux: use nsec instead of usec, as well as:
43436 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43437 members of type struct timespec.
43438 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43439 New macros.
43440 (struct stat64): Likewise.
43441 (_STATBUF_ST_NSEC): New macro.
43442 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43443
10589b4a
TS
43444 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43445 __strtoul_internal rather than strtoul.
43446
63643c85
PT
434472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43448
43449 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43450 and reject them.
43451
3faebe6a
ST
434522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43453
43454 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43455 which preserves existing values.
43456 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43457
c6474b07
PT
434582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43459
43460 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43461 TIMEOUT values. Return EINVAL for NFDS values either negative or
43462 greater than FD_SETSIZE.
43463
1043890b
ST
434642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43465
43466 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43467 allocated, call __vm_protect to finish enabling the existing space, and
43468 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43469 allocate the remainder.
43470
37ed8b9b
PT
434712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43472
43473 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43474 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43475
db653660
ST
434762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43477
37ed8b9b
PT
43478 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43479 sysdeps/mach/hurd/readlink.c.
b29d4053 43480
db653660
ST
43481 * posix/tst-sysconf.c (posix_options): Only use
43482 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43483 _POSIX_SYNCHRONIZED_IO when they are defined
43484 * sysdeps/mach/hurd/bits/posix_opt.h:
43485 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43486 (_XOPEN_REALTIME): Undefine macro.
43487 (_XOPEN_REALTIME_THREADS): Undefine macro.
43488 (_XOPEN_SHM): Undefine macro.
43489 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43490 macro to -1.
43491 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43492 macro to -1.
43493 (_POSIX_ASYNC_IO): Undefine macro.
43494 (_POSIX_PRIORITIZED_IO): Undefine macro.
43495 (_POSIX_SPIN_LOCKS): Define macro to -1.
43496
ee16e894
ST
43497 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43498 SA_NODEFER, SA_RESETHAND.
43499 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43500 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43501 F_DUPFD_CLOEXEC.
43502
6103ae3b
TS
435032012-05-10 Thomas Schwinge <thomas@schwinge.name>
43504
43505 * elf/Makefile (pldd-modules): Define unconditionally.
43506
80b4e5f3
TS
435072012-05-10 Thomas Schwinge <thomas@schwinge.name>
43508
43509 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43510
edadcbd6
ST
435112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43512
43513 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43514 Return ENOENT when name is empty.
43515 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43516
80694780
TS
435172012-05-10 Thomas Schwinge <thomas@schwinge.name>
43518
1792c087
TS
43519 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43520
80694780
TS
43521 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43522
6b645f0d
ST
435232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43524
80694780
TS
43525 Fix mlock in all cases except non-readable pages.
43526 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43527 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 43528
6b645f0d
ST
43529 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43530 (__mkdir): When path is `/', just fail with EEXIST.
43531 * sysdeps/mach/hurd/mkdirat.c: Likewise.
43532
e468f8a3
TS
435332012-05-10 Thomas Schwinge <thomas@schwinge.name>
43534
43535 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43536 <sys/uio.h> (for writev).
43537 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43538 and <sys/param.h> (for MIN).
43539
a4186cff
PT
435402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43541
43542 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43543 REQUESTED_TIME. Properly set the remaining time and return EINTR
43544 if interrupted.
43545
510bbf14
TS
435462012-05-10 Thomas Schwinge <thomas@schwinge.name>
43547
43548 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43549 Depend on against $(link-rpcuserlibs).
43550
5d5722e8
ST
435512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43552
a4186cff
PT
43553 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43554 (__libc_stack_end): Do not use attribute_relro.
43555 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43556 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 43557 to libthread-provided value.
a4186cff
PT
43558 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43559 attribute_relro.
5d5722e8 43560
37233df9
TS
435612012-05-10 Thomas Schwinge <thomas@schwinge.name>
43562
be971a2b
TS
43563 [BZ #3748]
43564 * bits/libc-lock.h (__libc_once_get): New macro.
43565 * sysdeps/mach/bits/libc-lock.h: Likewise.
43566 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43567 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43568 instead of using implementation details.
43569
37233df9
TS
43570 * libio/fileops.c: Unconditionally include <kernel-features.h>.
43571 * libio/freopen.c: Likewise.
43572 * libio/freopen64.c: Likewise.
43573 * misc/syslog.c: Likewise.
43574 * nscd/connections.c: Likewise.
43575 * nscd/netgroupcache.c: Likewise.
43576 * sysdeps/posix/getcwd.c: Likewise.
43577
38de94a5
RM
435782012-05-10 Roland McGrath <roland@hack.frob.com>
43579
43580 * math/w_ilogbf.c: Add #include <limits.h>.
43581
67530489
ST
435822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43583
a4186cff 43584 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
43585 path instead of returning without unlocking.
43586
67530489
ST
43587 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43588 immediate-write ioctls.
43589 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43590
5aa3a74a
TS
435912012-05-10 Thomas Schwinge <thomas@schwinge.name>
43592
18bad2ae
TS
43593 * sysdeps/mach/hurd/i386/init-first.c (init): Use
43594 __builtin_frame_address instead of making assumptions about the
43595 location of the return address relative to DATA. Force early load of
43596 the return address.
43597 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43598 __builtin_frame_address.
43599
5aa3a74a
TS
43600 dup3 for GNU Hurd.
43601 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43602 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
43603 implement dup3 and do some further code clean-ups.
43604 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43605 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43606
ecd0de9a
ST
436072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43608
cd9fa985
ST
43609 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43610
a4186cff
PT
43611 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43612 HURD_CRITICAL_END around holding _hurd_dtable_lock.
43613 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43614 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43615 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43616 d->port.lock.
802ca5a5 43617
a4186cff
PT
43618 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43619 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43620 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43621
bcf55240
TS
436222012-05-10 Thomas Schwinge <thomas@schwinge.name>
43623
6960eb42
TS
43624 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43625 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43626 definitions.
43627
eb43375f
TS
43628 accept4 for GNU Hurd.
43629 * include/sys/socket.h (__libc_accept4): New prototype.
43630 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43631 to implement __libc_accept4.
43632 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43633 __libc_accept4.
43634 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43635
bcf55240
TS
43636 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43637 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43638 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43639 signal-defines.sym.
43640
6178c55b
ST
436412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43642
a4186cff 43643 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43644
6f080c2f
TS
436452012-05-10 Thomas Schwinge <thomas@schwinge.name>
43646
43647 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43648 assertion on O_CLOEXEC flag.
43649 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43650 * hurd/intern-fd.c: Likewise.
43651 * hurd/port2fd.c: Likewise.
43652
bcfe3a54
ST
436532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43654
43655 [BZ #3906]
43656 * bits/in.h (IPV6_PKTINFO): Define new macro.
43657 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43658
89c9aa49
AZ
436592012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43660
43661 [BZ #13954]
43662 [BZ #13955]
43663 [BZ #13956]
43664 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43666 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43667 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43668 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43669 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43670 * math/libm-test.inc (logb_test) : Additional logb tests.
43671
021db4be
AJ
436722012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43673 Andreas Jaeger <aj@suse.de>
43674
43675 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43676 * configure: Regenerated.
43677 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43678 * config.make.in (link-obsolete-rpc): New substituted variable.
43679 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43680 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43681 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43682 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43683 so that libc.a contains the symbols.
43684 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43685 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43686 * sunrpc/auth_none.c: Likewise.
43687 * sunrpc/auth_unix.c: Likewise.
43688 * sunrpc/authdes_prot.c: Likewise.
43689 * sunrpc/authuxprot.c: Likewise.
43690 * sunrpc/clnt_gen.c: Likewise.
43691 * sunrpc/clnt_perr.c: Likewise.
43692 * sunrpc/clnt_raw.c: Likewise.
43693 * sunrpc/clnt_simp.c: Likewise.
43694 * sunrpc/clnt_tcp.c: Likewise.
43695 * sunrpc/clnt_udp.c: Likewise.
43696 * sunrpc/clnt_unix.c: Likewise.
43697 * sunrpc/des_crypt.c: Likewise.
43698 * sunrpc/des_soft.c: Likewise.
43699 * sunrpc/get_myaddr.c: Likewise.
43700 * sunrpc/key_call.c: Likewise.
43701 * sunrpc/key_prot.c: Likewise.
43702 * sunrpc/netname.c: Likewise.
43703 * sunrpc/pm_getmaps.c: Likewise.
43704 * sunrpc/pm_getport.c: Likewise.
43705 * sunrpc/pmap_clnt.c: Likewise.
43706 * sunrpc/pmap_prot.c: Likewise.
43707 * sunrpc/pmap_prot2.c: Likewise.
43708 * sunrpc/pmap_rmt.c: Likewise.
43709 * sunrpc/publickey.c: Likewise.
43710 * sunrpc/rpc_cmsg.c: Likewise.
43711 * sunrpc/rpc_common.c: Likewise.
43712 * sunrpc/rpc_dtable.c: Likewise.
43713 * sunrpc/rpc_prot.c: Likewise.
43714 * sunrpc/rpc_thread.c: Likewise.
43715 * sunrpc/rtime.c: Likewise.
43716 * sunrpc/svc.c: Likewise.
43717 * sunrpc/svc_auth.c: Likewise.
43718 * sunrpc/svc_raw.c: Likewise.
43719 * sunrpc/svc_run.c: Likewise.
43720 * sunrpc/svc_tcp.c: Likewise.
43721 * sunrpc/svc_udp.c: Likewise.
43722 * sunrpc/svc_unix.c: Likewise.
43723 * sunrpc/svcauth_des.c: Likewise.
43724 * sunrpc/xcrypt.c: Likewise.
43725 * sunrpc/xdr.c: Likewise.
43726 * sunrpc/xdr_array.c: Likewise.
43727 * sunrpc/xdr_float.c: Likewise.
43728 * sunrpc/xdr_intXX_t.c: Likewise.
43729 * sunrpc/xdr_mem.c: Likewise.
43730 * sunrpc/xdr_rec.c: Likewise.
43731 * sunrpc/xdr_ref.c: Likewise.
43732 * sunrpc/xdr_sizeof.c: Likewise.
43733 * sunrpc/xdr_stdio.c: Likewise.
43734
b5c086a2
RM
437352012-05-10 Roland McGrath <roland@hack.frob.com>
43736
43737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43738 change. Update copyright years.
43739
6d74dd09
JM
437402012-05-10 Joseph Myers <joseph@codesourcery.com>
43741
43742 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43743
28e72501
MK
437442012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43745 Joseph Myers <joseph@codesourcery.com>
43746 Paul Pluzhnikov <ppluzhnikov@google.com>
43747
43748 [BZ #14012]
43749 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43750 requiring rpcgen.
43751 [cross-compiling] (extra-libs): Likewise.
43752 [cross-compiling] (extra-libs-others): Likewise.
43753 [cross-compiling] (librpcsvc-routines): Likewise.
43754 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43755 [cross-compiling] (omit-deps): Likewise.
43756 (sunrpc-CPPFLAGS): New variable.
43757 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43758 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43759 (cross-rpcgen-objs): New variable.
43760 (extra-objs): Append $(cross-rpcgen-objs).
43761 ($(cross-rpcgen-objs)): New rule.
43762 ($(objpfx)cross-rpcgen): Likewise.
43763 (rpcgen-cmd): Define to use $(built-program-file). Expand
43764 comment.
43765 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43766 ($(objpfx)x%.stmp): Likewise.
43767 * sunrpc/proto.h [IS_IN_build] (_): Define.
43768 [IS_IN_build] (_libc_intl_domainname): Likewise.
43769
c8c59454
L
437702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43771
43772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43773 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43774 and R_X86_64_TPOFF64.
43775
6f27cd16
JM
437762012-05-10 Joseph Myers <joseph@codesourcery.com>
43777
43778 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43779 sysdeps/unix/sysv/syscalls.list.
43780 (stime): Likewise.
43781 (utime): Likewise.
43782 * sysdeps/unix/sysv/syscalls.list: Remove file.
43783
02467e1c
PE
437842012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43785
43786 [BZ #3440]
43787 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43788 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43789 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43790 (__LC_IDENTIFICATION): Make these macros useful in #if
43791 expressions, as required by C99.
43792
da392631
AS
437932012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43794
43795 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43796 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43797 after this.
43798
8115f29b
L
437992012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43800
43801 * stdlib/longlong.h: Updated from GCC.
43802
bdd74070
AJ
438032012-05-09 Andreas Jaeger <aj@suse.de>
43804
edfe0dbe
AJ
43805 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43806 default is first entry.
43807 (run_mode): Set type.
43808 (main): Remove informal message about syslog.
43809 (options): Fix typo.
43810
bcfe3a54
ST
43811 [BZ #14053]
43812 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43813 to asm.
bcfe3a54
ST
43814 (lrint): Likewise.
43815 (llrintf): Likewise.
43816 (llrint): Likewise.
43817 (rint): Likewise.
43818 (rintf): Likewise.
43819 (nearbyint): Likewise.
43820 (nearbyintf): Likewise.
bdd74070 43821
91d8d69e
AJ
438222012-05-09 Andreas Jaeger <aj@suse.de>
43823 Pedro Alves <palves@redhat.com>
43824
43825 * nscd/nscd.c (run_mode): Use enum.
43826 (main): Cleanup coding style issue.
43827
bb90b80b
AJ
438282012-05-09 Alexandre Oliva <aoliva@redhat.com>
43829 Andreas Jaeger <aj@suse.de>
43830
bcfe3a54
ST
43831 * nscd/nscd.c (go_background): Replaced with...
43832 (run_mode): ... this.
bb90b80b 43833 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43834 (options): Add -F --foreground.
43835 (main): Implement it.
43836 (parse_opt): Parse it.
bb90b80b 43837
1a4b75a1
AJ
438382012-05-09 Andreas Jaeger <aj@suse.de>
43839
43840 [BZ #14083]
43841 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43842 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43843 -Wconversion warning.
43844 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43845 Likewise.
43846
b1cc2472
JM
438472012-05-09 Joseph Myers <joseph@codesourcery.com>
43848
43849 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43850 == 0.
43851 (LC_ALL): Use macro-int-constant.
43852 (LC_COLLATE): Likewise.
43853 (LC_CTYPE): Likewise.
43854 (LC_MESSAGES): Likewise.
43855 (LC_MONETARY): Likewise.
43856 (LC_NUMERIC): Likewise.
43857 (LC_TIME): Likewise.
43858 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43859 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43860 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43861 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43862 Specify type.
43863 [C99-based standards] (float_t): Expect type.
43864 [C99-based standards] (double_t): Expect type.
43865 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43866 type.
43867 [C99-based standards] (HUGE_VALL): Likewise.
43868 [C99-based standards] (INFINITY): Likewise.
43869 [C99-based standards] (NAN): Likewise.
43870 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43871 [C99-based standards] (FP_NAN): Likewise.
43872 [C99-based standards] (FP_NORMAL): Likewise.
43873 [C99-based standards] (FP_SUBNORMAL): Likewise.
43874 [C99-based standards] (FP_ZERO): Likewise.
43875 [C99-based standards] (FP_FAST_FMA): Use
43876 optional-macro-int-constant. Specify type. Require == 1.
43877 [C99-based standards] (FP_FAST_FMAF): Likewise.
43878 [C99-based standards] (FP_FAST_FMAL): Likewise.
43879 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43880 [C99-based standards] (FP_ILOGBNAN): Likewise.
43881 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43882 Specify type.
43883 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43884 [C99-based standards] (math_errhandling): Specify type.
43885 [ISO99 || ISO11] (signgam): Do not allow.
43886 [non-C99-based standards] (copysignf): Do not allow.
43887 [non-C99-based standards] (exp2f): Likewise.
43888 [non-C99-based standards] (log2f): Likewise.
43889 [non-C99-based standards] (modff): Allow.
43890 [non-C99-based standards] (erff): Do not allow.
43891 [non-C99-based standards] (erfcf): Likewise.
43892 [non-C99-based standards] (gammaf): Likewise.
43893 [non-C99-based standards] (hypotf): Likewise.
43894 [non-C99-based standards] (j0f): Likewise.
43895 [non-C99-based standards] (j1f): Likewise.
43896 [non-C99-based standards] (jnf): Likewise.
43897 [non-C99-based standards] (lgammaf): Likewise.
43898 [non-C99-based standards] (tgammaf): Likewise.
43899 [non-C99-based standards] (y0f): Likewise.
43900 [non-C99-based standards] (y1f): Likewise.
43901 [non-C99-based standards] (ynf): Likewise.
43902 [non-C99-based standards] (isnanf): Likewise.
43903 [non-C99-based standards] (acoshf): Likewise.
43904 [non-C99-based standards] (asinhf): Likewise.
43905 [non-C99-based standards] (atanhf): Likewise.
43906 [non-C99-based standards] (cbrtf): Likewise.
43907 [non-C99-based standards] (expm1f): Likewise.
43908 [non-C99-based standards] (ilogbf): Likewise.
43909 [non-C99-based standards] (log1pf): Likewise.
43910 [non-C99-based standards] (logbf): Likewise.
43911 [non-C99-based standards] (nextafterf): Likewise.
43912 [non-C99-based standards] (remainderf): Likewise.
43913 [non-C99-based standards] (rintf): Likewise.
43914 [non-C99-based standards] (scalbf): Likewise.
43915 [non-C99-based standards] (copysignl): Likewise.
43916 [non-C99-based standards] (exp2l): Likewise.
43917 [non-C99-based standards] (log2l): Likewise.
43918 [non-C99-based standards] (modfl): Allow.
43919 [non-C99-based standards] (erfl): Do not allow.
43920 [non-C99-based standards] (erfcl): Likewise.
43921 [non-C99-based standards] (gammal): Likewise.
43922 [non-C99-based standards] (hypotl): Likewise.
43923 [non-C99-based standards] (j0l): Likewise.
43924 [non-C99-based standards] (j1l): Likewise.
43925 [non-C99-based standards] (jnl): Likewise.
43926 [non-C99-based standards] (lgammal): Likewise.
43927 [non-C99-based standards] (tgammal): Likewise.
43928 [non-C99-based standards] (y0l): Likewise.
43929 [non-C99-based standards] (y1l): Likewise.
43930 [non-C99-based standards] (ynl): Likewise.
43931 [non-C99-based standards] (isnanl): Likewise.
43932 [non-C99-based standards] (acoshl): Likewise.
43933 [non-C99-based standards] (asinhl): Likewise.
43934 [non-C99-based standards] (atanhl): Likewise.
43935 [non-C99-based standards] (cbrtl): Likewise.
43936 [non-C99-based standards] (expm1l): Likewise.
43937 [non-C99-based standards] (ilogbl): Likewise.
43938 [non-C99-based standards] (log1pl): Likewise.
43939 [non-C99-based standards] (logbl): Likewise.
43940 [non-C99-based standards] (nextafterl): Likewise.
43941 [non-C99-based standards] (remainderl): Likewise.
43942 [non-C99-based standards] (rintl): Likewise.
43943 [non-C99-based standards] (scalbl): Likewise.
43944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43945 [non-C99-based standards] (FP_*): Do not allow.
43946 [C99-based standards] (FP_*): Change to
43947 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43948 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43949 allow.
43950 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43951 (SIG_ERR): Likewise.
43952 [X/Open-based standards] (SIG_HOLD): Likewise.
43953 (SIG_IGN): Likewise.
43954 (SIGABRT): Use macro-int-constant. Specify type. Require
43955 positive value.
43956 (SIGFPE): Likewise.
43957 (SIGILL): Likewise.
43958 (SIGINT): Likewise.
43959 (SIGSEGV): Likewise.
43960 (SIGTER): Likewise.
43961 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43962 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43963 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43964 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43965 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43966 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43967 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43968 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43969 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43970 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43971 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43972 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43973 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43974 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43975 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43976 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43977 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43978 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43979 [X/Open-based standards] (SIGTRAP): Likewise.
43980 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43981 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43982 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43983 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43984 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43985 allow.
43986
b9f1922d
IW
439872012-05-08 Ian Wienand <ianw@vmware.com>
43988
43989 [BZ #14080]
43990 * time/tzset.c (__tzset_parse_tz): Update default rules for
43991 daylight time changes in the Energy Policy Act of 2005.
43992
1db86e88
AJ
439932012-05-09 Andreas Jaeger <aj@suse.de>
43994
43995 [BZ #13983]
43996 * elf/ldconfig.c (parse_conf): Change string to make clear that
43997 ldconfig only issued a warning if ld.so.conf does not exist.
43998
dee4a4e3
DM
439992012-05-08 David S. Miller <davem@davemloft.net>
44000
ee0db190
DM
44001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44002 movxtod instead of popping the value on the stack.
44003
dee4a4e3
DM
44004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44005
6a43ec98
CD
440062012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44007
44008 * config.h.in: Add HAVE_ARM_PCS_VFP.
44009
05c2c961
RMG
440102012-05-08 Roland Mc Grath <roland@hack.frob.com>
44011
bcfe3a54
ST
44012 [BZ #13979]
44013 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44014 checking but the checks are disabled for any reason.
05c2c961 44015
4b30f61a
L
440162012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44017
44018 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44019 and ELF64_R_TYPE with ELFW(R_TYPE).
44020
eee2bc67
JM
440212012-05-08 Joseph Myers <joseph@codesourcery.com>
44022
7ea5391a
JM
44023 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44024 (ulimit): Likewise.
44025
eee2bc67
JM
44026 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44027 (settimeofday): Likewise.
44028
abb66a67
MF
440292012-05-08 Mike Frysinger <vapier@gentoo.org>
44030
44031 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44032 a struct th_u2 inside the union, and move tu_block/tu_code into
44033 a new th_u3 union of tu_block/tu_code inside of that. Move
44034 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44035 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44036 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44037 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44038 (th_stuff): Change to th_u1.tu_stuff.
44039 (th_data): Define.
44040 (th_msg): Change to th_u1.th_u2.tu_data.
44041
7f18b530
DM
440422012-05-07 David S. Miller <davem@davemloft.net>
44043
05760585
DM
44044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44045
7f18b530
DM
44046 [BZ #14074]
44047 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44048 (SETUP_PIC_REG): Use it.
44049 (SETUP_PIC_REG_LEAF): Use it.
44050
495fd99f
JM
440512012-05-07 Joseph Myers <joseph@codesourcery.com>
44052
44053 [BZ #13885]
44054 [BZ #13923]
44055 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44056 USE_AS_EXPM1L.
44057 (EXPL_FINITE): Likewise.
44058 (FLDLOG): Likewise.
44059 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44060 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44061 e_expl.S.
44062 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44063 USE_AS_EXPM1L.
44064 (EXPL_FINITE): Likewise.
44065 (FLDLOG): Likewise.
44066 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44067 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44068 e_expl.S.
44069 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44070 test of -max_value argument for long double.
44071 * sysdeps/i386/fpu/libm-test-ulps: Update.
44072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44073
6693d694
DM
440742012-05-06 David S. Miller <davem@davemloft.net>
44075
44076 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44077 quad soft-float symbols whose references which are compiler
44078 generated.
44079 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44080
6c23e11c
JM
440812012-05-06 Joseph Myers <joseph@codesourcery.com>
44082
d8b82cad
JM
44083 [BZ #13884]
44084 [BZ #13914]
44085 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44086 USE_AS_EXP10L.
44087 (EXPL_FINITE): Likewise.
44088 (FLDLOG): Likewise.
44089 (c0): Likewise.
44090 (c1): Likewise.
44091 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44092 Adjust comments for base varying.
44093 (__expl_finite): Change alias to EXPL_FINITE.
44094 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44095 e_expl.S.
44096 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44097 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44099 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44100 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44101 USE_AS_EXP10L.
44102 (EXPL_FINITE): Likewise.
44103 (FLDLOG): Likewise.
44104 (c0): Likewise.
44105 (c1): Likewise.
44106 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44107 Adjust comments for base varying.
44108 (__expl_finite): Change alias to EXPL_FINITE.
44109 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44110 tests for bugs.
44111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44112
6c23e11c
JM
44113 [BZ #14064]
44114 * math/libm-test.inc (check_float_internal): Correct ulp
44115 calculation for subnormal expected results.
44116
29ba805c
AJ
441172012-05-06 Andreas Jaeger <aj@suse.de>
44118
44119 * Makeconfig (+math-flags): New, set to -frounding-math.
44120 (+cflags): Add +math-flags so that all of glibc gets compiled with
44121 it.
44122
44123 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44124
7b17aeda
JM
441252012-05-05 Joseph Myers <joseph@codesourcery.com>
44126
5779f134
JM
44127 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44128 Disable one test.
44129
41498f4d
JM
44130 [BZ #13787]
44131 [BZ #13922]
44132 [BZ #14036]
44133 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44134 (__ieee754_expl): Allow for and saturate large arguments.
44135 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44136 (u_threshold): Likewise.
44137 (__exp): Call __ieee754_exp before checking for overflow and
44138 underflow.
44139 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44140 (u_threshold): Likewise.
44141 (__expf): Call __ieee754_expf before checking for overflow and
44142 underflow.
44143 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44144 (u_threshold): Likewise.
44145 (__expl): Call __ieee754_expl before checking for overflow and
44146 underflow.
44147 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44148 (__ieee754_expl): Allow for and saturate large arguments.
44149 * math/libm-test.inc (exp_test): Add another test. Do not allow
44150 missing overflow exception on overflow.
44151 (expm1_test): Do not allow missing overflow exception on overflow.
44152
6698b8bf
JM
44153 * sysdeps/i386/fpu/e_expl.c: Move to ...
44154 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44155 rather than using inline asm.
44156 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44157 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44158 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44159
7b17aeda
JM
44160 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44161 (nice): Likewise.
44162 (poll): Likewise.
44163 (signal): Likewise.
44164 (time): Likewise.
44165 (times): Likewise.
44166
f7c85819
JM
441672012-05-04 Joseph Myers <joseph@codesourcery.com>
44168
44169 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44170 sysdeps/unix/common/syscalls.list.
44171 (fchmod): Likewise.
44172 (fchown): Likewise.
44173 (ftruncate): Likewise.
44174 (getrusage): Likewise.
44175 (gettimeofday): Likewise.
44176 (setpgid): Likewise.
44177 (setregid): Likewise.
44178 (setreuid): Likewise.
44179 (sigaction): Likewise.
44180 (truncate): Likewise.
44181 (vhangup): Likewise.
44182 * sysdeps/unix/common/syscalls.list: Remove file.
44183 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44184 * sysdeps/unix/sysv/linux/Implies: Likewise.
44185
336270d0
L
441862012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44187
44188 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44190 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44191 Moved to ...
44192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44193 Here.
44194 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44195 to ...
44196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44197 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44198 to ...
44199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44200 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44201 to ...
44202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44203 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44204 to ...
44205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44206 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44207 to ...
44208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44209 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44210 to ...
44211 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44212 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44213 to ...
44214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44215 Here.
44216 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44217 to ...
44218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44219 Here.
44220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44221 to ...
44222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44224 Moved to ...
44225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44226 Here.
44227 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44228 to ...
44229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44230
d128e450
JM
442312012-05-04 Joseph Myers <joseph@codesourcery.com>
44232
fa8ee516
JM
44233 * sysdeps/unix/common/bits/dirent.h: Remove file.
44234 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44235
d128e450
JM
44236 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44237 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44238 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44239 * sysdeps/unix/bsd/isatty.c: Likewise.
44240 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44241 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44242 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44243
ff8faaf0 442442012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 44245
62881be4 44246 [BZ #13563]
31dc8730
AZ
44247 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44248 long double comparison inaccuracies.
44249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44251
6fef930c
AS
442522012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44253
44254 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44256
8f203e6c
JM
442572012-05-04 Joseph Myers <joseph@codesourcery.com>
44258
44259 [BZ #14049]
44260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44261 nonzero digits before rounding a hex value.
44262 * stdlib/tst-strtod.c (tests): Add another test.
44263
5197d9c2
AK
442642012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44265
44266 * sysdeps/s390/fpu/libm-test-ulps: Update.
44267
f0c1dedf
AJ
442682012-05-03 Andreas Jaeger <aj@suse.de>
44269
44270 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44271 does not get optimized out.
44272 (malloc_opt_barrier): New.
44273
a65ef2ae 442742012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 44275 Roland McGrath <roland@hack.frob.com>
a65ef2ae 44276
2b942cb7 44277 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 44278 intermediate file deletion.
2b942cb7 44279 (generated): Add .symlist files.
a65ef2ae 44280
54b71e02
JM
442812012-05-03 Joseph Myers <joseph@codesourcery.com>
44282
44283 [BZ #13775]
44284 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44285 Redirect under this condition.
44286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44287 [__USE_GNU] (__dprintf_chk): Not under this condition.
44288 [__USE_GNU] (__vdprintf_chk): Likewise.
44289 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44290 under this condition.
44291 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44292 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44293 [__USE_XOPEN2K8] (vdprintf): Likewise.
44294 [__USE_GNU] (__dprintf_chk): Not under this condition.
44295 [__USE_GNU] (__vdprintf_chk): Likewise.
44296 [__USE_GNU] (dprintf): Likewise.
44297 [__USE_GNU] (vdprintf): Likewise.
44298
d3dfcc41
RM
442992012-05-03 Roland McGrath <roland@hack.frob.com>
44300
44301 * elf/Makefile (common-generated): Set this instead of generated for
44302 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44303 $(all-built-dso)-derived lists.
44304
7ac30cc5
AJ
443052012-05-03 Andreas Jaeger <aj@suse.de>
44306
0c51e550
AJ
44307 * sysdeps/i386/fpu/libm-test-ulps: Update.
44308
7ac30cc5
AJ
44309 * FAQ: Removed.
44310 * FAQ.in: Likewise.
44311 * scripts/gen-FAQ.pl: Likewise.
44312 * manual/install.texi (Installation): Point to online location of
44313 FAQ.
44314 * Makefile (files-for-dist): Remove FAQ.
44315 (FAQ): Remove.
44316
d4c2917f
AM
443172012-05-02 Allan McRae <allan@archlinux.org>
44318
44319 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44320 (LDFLAGS-reldepmod5.so): Likewise.
44321 (LDFLAGS-reldep6mod1.so): Likewise.
44322 (LDFLAGS-reldep6mod4.so): Likewise.
44323 (LDFLAGS-reldep8mod3.so): Likewise.
44324 (LDFLAGS-unload4mod1.so): Likewise.
44325 (LDFLAGS-unload4mod2.so): Likewise.
44326 (LDFLAGS-tst-initorder): Likewise.
44327 (LDFLAGS-tst-initordera2.so): Likewise.
44328 (LDFLAGS-tst-initordera3.so): Likewise.
44329 (LDFLAGS-tst-initordera4.so): Likewise.
44330 (LDFLAGS-tst-initorderb2.so): Likewise.
44331 (LDFLAGS-noload): Likewise.
44332 (LDFLAGS-next): Likewise.
44333 (LDFLAGS-order2mod1.so): Likewise.
44334 (LDFLAGS-order2mod2.so): Likewise.
44335 (LDFLAGS-tst-initorder2): Likewise.
44336 (LDFLAGS-tst-initorder2a.so): Likewise.
44337 (LDFLAGS-tst-initorder2b.so): Likewise.
44338 (LDFLAGS-tst-initorder2c.so): Likewise.
44339 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44340
d77f993f
DM
443412012-05-02 David S. Miller <davem@davemloft.net>
44342
44343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44344
171a70b4
PP
443452012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44346
44347 [BZ #14055]
44348 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44349
0be196ad
AJ
443502012-05-02 Andreas Jaeger <aj@suse.de>
44351
44352 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44353 since we manipulate rounding mode.
44354 (CPPFLAGS-test-idouble.c): Likewise.
44355 (CPPFLAGS-test-ifloat.c): Likewise.
44356 (CFLAGS-test-ldouble.c): Likewise.
44357 (CFLAGS-test-double.c): Likewise.
44358 (CFLAGS-test-float.c): Likewise.
44359 (CFLAGS-test-misc.c): Likewise.
44360 (CFLAGS-test-test-fenv.c): Likewise.
44361
4f9d04aa
AZ
443622012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44363
2b942cb7
RM
44364 [BZ #2550]
44365 [BZ #2570]
44366 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44367 comparisons to determine direction to adjust input.
4f9d04aa 44368
82a79e7d
RM
443692012-05-01 Roland McGrath <roland@hack.frob.com>
44370
f5a01ca9
RM
44371 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44372 output to the target.
44373
90fe4186
RM
44374 * scripts/localplt.awk: New file.
44375 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44376 (check-localplt-CFLAGS): Variable removed.
44377 ($(all-built-dso:=.jmprel)): New static pattern rule.
44378 (generated): Add those targets.
44379 (localplt-built-dso): New variable.
44380 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44381
44382 * elf/check-localplt.c: File removed.
44383
82397ed6
RM
44384 * scripts/check-execstack.awk: New file.
44385 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44386 (check-execstack-CFLAGS): Variable removed.
44387 ($(objpfx)check-execstack.h): Target removed.
44388 ($(objpfx)execstack-default): New target.
44389 (generated): Add that instead of check-execstack.h.
44390 ($(all-built-dso:=.phdr)): New static pattern rule.
44391 (generated): Add those targets.
44392 * elf/check-execstack.c: File removed.
44393
82a79e7d
RM
44394 * scripts/check-textrel.awk: New file.
44395 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44396 (check-textrel-CFLAGS): Variable removed.
44397 (all-built-dso): Use := to define.o
44398 ($(all-built-dso:=.dyn)): New static pattern rule.
44399 (generated): Add those targets.
44400 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44401 * config.make.in (READELF): New substituted variable.
44402 * elf/check-textrel.c: File removed.
44403
62fde54f 444042012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 44405
615605c9
JM
44406 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44407 allow.
44408 * conform/data/ctype.h-data [C99-based standards] (isblank):
44409 Expect function.
44410 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44411 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44413 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44414 Specify type. Require positive value.
44415 (EILSEQ): Likewise.
44416 (ERANGE): Likewise.
44417 [ISO || POSIX] (EILSEQ): Do not expect.
44418 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44419 Specify type. Require positive value.
44420 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44421 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44422 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44423 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44424 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44425 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44426 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44427 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44428 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44429 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44430 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44431 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44432 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44433 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44434 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44435 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44436 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44437 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44438 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44439 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44440 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44441 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44442 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44443 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44444 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44445 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44446 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44447 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44448 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44449 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44450 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44451 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44452 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44453 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44454 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44455 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44456 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44457 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44458 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44459 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44460 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44461 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44462 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44463 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44464 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44465 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44466 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44467 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44468 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44469 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44470 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44471 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44472 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44473 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44474 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44475 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44476 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44477 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44478 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44479 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44480 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44481 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44482 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44483 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44484 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44485 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44486 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44487 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44488 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44489 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44490 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44491 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44492 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44493 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44494 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44495 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44496 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44497 Require >= 2.
44498 (FLT_ROUNDS): Expect as macro, not constant.
44499 (FLT_MANT_DIG): Use macro-int-constant.
44500 (DBL_MANT_DIG): Likewise.
44501 (LDBL_MANT_DIG): Likewise.
44502 (FLT_DIG): Likewise.
44503 (DBL_DIG): Likewise.
44504 (LDBL_DIG): Likewise.
44505 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44506 (DBL_MIN_EXP): Likewise.
44507 (LDBL_MIN_EXP): Likewise.
44508 (FLT_MAX_EXP): Use macro-int-constant.
44509 (DBL_MAX_EXP): Likewise.
44510 (LDBL_MAX_EXP): Likewise.
44511 (FLT_MAX_10_EXP): Likewise.
44512 (DBL_MAX_10_EXP): Likewise.
44513 (LDBL_MAX_10_EXP): Likewise.
44514 (FLT_MAX): Use macro-constant.
44515 (DBL_MAX): Likewise.
44516 (LDBL_MAX): Likewise.
44517 (FLT_EPSILON): Use macro-constant. Give upper bound.
44518 (DBL_EPSILON): Likewise.
44519 (LDBL_EPSILON): Likewise.
44520 (FLT_MIN): Likewise.
44521 (DBL_MIN): Likewise.
44522 (LDBL_MIN): Likewise.
44523 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44524 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44525 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44526 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44527 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44528 [ISO11] (DBL_DECIMAL_DIG): Likewise.
44529 [ISO11] (FLT_DECIMAL_DIG): Likewise.
44530 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44531 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44532 [ISO11] (FLT_TRUE_MIN): Likewise.
44533 [ISO11] (LDBL_TRUE_MIN): Likewise.
44534 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44535 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44536 (SCHAR_MIN): Use macro-int-constant. Specify type.
44537 (SCHAR_MAX): Likewise.
44538 (UCHAR_MAX): Likewise.
44539 (CHAR_MIN): Likewise.
44540 (CHAR_MAX): Likewise.
44541 (MB_LEN_MAX): Use macro-int-constant.
44542 (SHRT_MIN): Use macro-int-constant. Specify type.
44543 (SHRT_MAX): Likewise.
44544 (USHRT_MAX): Likewise.
44545 (INT_MAX): Likewise.
44546 (INT_MIN): Use macro-int-constant. Specify type. Make upper
44547 bound negative.
44548 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
44549 bound with "U".
44550 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44551 bound with "L".
44552 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
44553 bound negative. Suffix upper bound with "L".
44554 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
44555 bound with "UL".
44556 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44557 Specify type.
44558 [C99-based standards] (LLONG_MAX): Likewise.
44559 [C99-based standards] (ULLONG_MAX): Likewise.
44560 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
44561 == 0.
44562 [ISO11] (max_align_t): Require type.
44563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44564
c9140a62
JM
44565 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44566 from $CFLAGS, without defining away __attribute__ calls.
44567 (checknamespace): Use $CFLAGS_namespace.
44568
9af0bf29
JM
44569 * conform/conformtest.pl (@keywords): Only include C99 keywords
44570 for standards based on C99 or C11.
44571
343222a2
JM
44572 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44573 Disable tests.
44574 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44575 UNIX98]: Likewise.
44576
661f8cf0
JM
44577 * conform/conformtest.pl: Handle "macro-int-constant" and test for
44578 usability of symbols in #if.
44579
ee74b9cb
JM
44580 * conform/conformtest.pl: If macro or constant types start
44581 "promoted:", expect the symbol to be of the following type
44582 promoted by the integer promotions.
62fde54f 44583
aafc49b3
JM
44584 * conform/conformtest.pl: Parse all "constant" and "macro" lines
44585 in one place. Also handle "macro-constant".
44586
fefdf574
JM
44587 * conform/conformtest.pl: Only accept expected macro values with
44588 "==". Parse all "macro" lines in one place.
44589 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44590
f2d922fe
JM
44591 * conform/conformtest.pl: Handle braced types on "constant" lines
44592 instead of handling "typed-constant".
44593 * conform/data/signal.h-data: Use "constant" instead of
44594 "typed-constant".
44595
d22956c9
JM
44596 * conform/conformtest.pl: Handle "optional-" at start of lines in
44597 one place rather than duplicating several cases. Handle each
44598 format of "macro" line with initial "optional-".
44599
028e2e38
JM
44600 * conform/conformtest.pl: Only accept expected constant or
44601 optional-constant values with "==". Parse all "constant" lines in
44602 one place. Parse all "optional-constant" lines in one place.
44603 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44604 * conform/data/fmtmsg.h-data: Likewise.
44605 * conform/data/netinet/in.h-data: Likewise.
44606 * conform/data/tar.h-data: Likewise.
44607 * conform/data/limits.h-data: Use "==" form on "constant" and
44608 "optional-constant" lines.
44609
1b8f2850
JM
44610 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44611 Use -std=c99 for XOPEN2K.
44612 (@knownproblems): Remove.
44613 (newtoken): Don't check %isknown.
44614
a05a144b
JM
44615 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44616 Do not expect macro.
44617 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44618 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44619 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44620 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44621 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44622 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44623 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44624 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44625 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44626 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44627 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44628 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44629 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44630 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44631 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44632 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44633 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44634 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44635 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44636 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44637 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44640 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44641 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44642 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44643 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44644 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44645 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44646 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44647 [XPG3] (acosh): Likewise.
44648 [XPG3] (asinh): Likewise.
44649 [XPG3] (atanh): Likewise.
44650 [XPG3] (cbrt): Likewise.
44651 [XPG3] (expm1): Likewise.
44652 [XPG3] (ilogb): Likewise.
44653 [XPG3] (log1p): Likewise.
44654 [XPG3] (logb): Likewise.
44655 [XPG3] (nextafter): Likewise.
44656 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44657 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44658 [XPG3] (remainder): Likewise.
44659 [XPG3] (rint): Likewise.
44660 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44661 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44662 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44663 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44664 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44665 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44666 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44667 [UNIX98 || XOPEN2K] (scalb): Expect.
44668 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44669 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44670 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44671 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44672 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44673 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44674 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44675 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44676 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44677 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44678 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44679 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44680 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44681 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44682 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44683 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44684 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44685 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44686 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44687 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44688 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44689 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44690 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44691 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44692 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44693 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44694 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44695 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44696 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44697 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44698 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44699 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44700 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44701 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44702 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44703 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44704 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44705 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44706 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44707 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44708 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44709 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44710 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44711 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44712 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44713 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44714 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44715 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44716 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44717 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44718 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44719 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44720 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44721 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44722 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44723 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44724 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44725 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44726 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44727 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44728 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44729 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44730 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44731 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44732 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44733 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44734 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44735 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44736 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44737 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44738 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44739 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44740 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44741 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44742 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44743 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44744 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44745 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44746 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44747 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44748 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44749 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44750 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44751 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44752 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44753 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44754 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44755 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44756 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44757 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44758 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44759 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44760 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44761 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44762 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44763 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44764 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44765 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44766 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44767 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44768 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44769 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44770 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44771 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44772 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44773 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44774 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44775 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44776 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44777 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44778 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44779 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44780 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44781 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44782 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44783 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44784 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44785 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44786 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44787 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44788 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44789 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44790 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44791 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44792 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44793 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44794 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44795 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44796 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44797 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44798 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44799 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44800 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44801 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44802 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44803 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44804 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44805
73c5ebe3
JM
44806 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44807 _XOPEN_SOURCE_EXTENDED for XPG4.
44808
39c33b6c
JM
44809 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44810
62fde54f
JM
44811 * Makeconfig (localtime): Remove variable.
44812 (inst_localtime-file): Likewise.
44813
0741d64c
AS
448142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44815
44816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44817 Update.
44818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44819 Update.
44820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44821 Update.
44822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44823 Update.
44824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44825 Update.
44826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44827 Update.
44828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44829 Update.
44830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44831 Update.
44832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44833 Update.
44834
7cb029ee
JM
448352012-05-01 Joseph Myers <joseph@codesourcery.com>
44836
44837 [BZ #2550]
44838 [BZ #2570]
44839 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44840 comparisons to determine direction to adjust input.
44841 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44842 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44844 Likewise.
44845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44846 Likewise.
44847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44848 Likewise.
44849 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44850 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44851 Likewise.
44852 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44853 Likewise.
44854 * math/libm-test.inc (nexttoward_test): Add more tests.
44855
412bd966
AS
448562012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44857
44858 [BZ #14040]
44859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44860 in version GLIBC_2.1, not GLIBC_2.0.
44861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44862 Likewise.
44863
9568c0c2
JM
448642012-04-30 Joseph Myers <joseph@codesourcery.com>
44865
adfbc8ac
JM
44866 [BZ #13942]
44867 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44868 (1 - x) * (1 + x).
44869 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44870 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44871 * math/libm-test.inc (acos_test): Add more tests.
44872 (asin_test): Likewise.
44873 * sysdeps/i386/fpu/libm-test-ulps: Update.
44874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44875
5ba3cc69
JM
44876 [BZ #14034]
44877 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44878 of square root.
44879 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44880 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44881 * math/libm-test.inc (acos_test_tonearest): New function.
44882 (acos_test_towardzero): Likewise.
44883 (acos_test_downward): Likewise.
44884 (acos_test_upward): Likewise.
44885 (asin_test_tonearest): Likewise.
44886 (asin_test_towardzero): Likewise.
44887 (asin_test_downward): Likewise.
44888 (asin_test_upward): Likewise.
44889 (main): Call the new functions.
44890 * sysdeps/i386/fpu/libm-test-ulps: Update.
44891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44892
9568c0c2
JM
44893 [BZ #13884]
44894 [BZ #13924]
44895 * math/e_exp10.c: Include <float.h>.
44896 (__ieee754_exp10): Handle underflow here rather than multiplying
44897 large negative argument by M_LN10.
44898 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44899 of __ieee754_expf.
44900 * math/e_exp10l.c: Include <float.h>.
44901 (__ieee754_exp10l): Handle underflow here rather than multiplying
44902 large negative argument by M_LN10l.
44903 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44904 spurious overflow exception on underflow.
44905
5ac3ea17
MP
449062012-04-29 Marek Polacek <polacek@redhat.com>
44907
44908 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44909 (__fortify_function): New macro.
44910 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44911 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44912 __extern_always_inline.
44913 * libio/bits/stdio2.h: Likewise.
44914 * libio/bits/stdio.h: Likewise.
44915 * string/string.h: Likewise.
44916 * string/bits/string3.h: Likewise.
44917 * include/stdio.h: Likewise.
44918 * stdlib/bits/stdlib.h: Likewise.
44919 * stdlib/stdlib.h: Likewise.
44920 * rt/bits/mqueue2.h: Likewise.
44921 * rt/mqueue.h: Likewise.
44922 * posix/bits/unistd.h: Likewise.
44923 * posix/unistd.h: Likewise.
44924 * io/bits/poll2.h: Likewise.
44925 * io/bits/fcntl2.h: Likewise.
44926 * io/fcntl.h: Likewise.
44927 * io/sys/poll.h: Likewise.
44928 * misc/bits/syslog.h: Likewise.
44929 * misc/bits/syslog-ldbl.h: Likewise.
44930 * misc/sys/syslog.h: Likewise.
44931 * socket/bits/socket2.h: Likewise.
44932 * socket/sys/socket.h: Likewise.
44933 * debug/tst-chk1.c: Likewise.
44934 * wcsmbs/bits/wchar2.h: Likewise.
44935 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44936 * wcsmbs/wchar.h: Likewise.
44937
ecf0ebfb
AJ
449382012-04-29 Andreas Jaeger <aj@suse.de>
44939
44940 * Makerules (tests): Remove enable-check-abi protection.
44941 (check-abi-warn): Remove.
44942 (check-abi-%): Remove check-abi-warn usage.
44943
44944 * configure.in: Remove check-abi configure option.
44945 * configure: Regenerated.
44946 * config.make.in (enable-check-abi): Remove.
44947
6d5c57fa
AS
449482012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44949
24c5d07e 44950 [BZ #14033]
ded5180a
AS
44951 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44952 double functions to double *_finite functions.
44953
7e0d315d
AS
44954 [BZ #13941]
44955 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44956 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44957 LDBL_MIN_EXP.
44958 * stdio-common/Makefile (tests): Add tst-sprintf3.
44959 * stdio-common/tst-sprintf3.c: New file.
44960
6d5c57fa
AS
44961 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44962 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44963
0749ff8b
JM
449642012-04-28 Joseph Myers <joseph@codesourcery.com>
44965
44966 * conform/conformtest.pl: Remove duplicate typed-constant
44967 handling.
44968
8dbd5d7b
DM
449692012-04-28 David S. Miller <davem@davemloft.net>
44970
44971 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44972 (check-abi-%): Remove AWK script prerequisite and explicit
44973 abilist directory.
44974 (check-abi): Rewrite to just diff the symlist with the abilist.
44975 (config-tls, config-abi-config): Delete, no longer used.
44976 (update-abi-%): Remove AWK script and explicit abilist directory.
44977 (update-abi): Rewrite to simply compare and conditionally copy the
44978 symlist and the sysdep abilist file. Remove update-abi-config
44979 checks.
44980 * abilist/ld.abilist: Remove.
44981 * abilist/libBrokenLocale.abilist: Remove.
44982 * abilist/libanl.abilist: Remove.
44983 * abilist/libcrypt.abilist: Remove.
44984 * abilist/libdl.abilist: Remove.
44985 * abilist/librt.abilist: Remove.
44986 * abilist/libthread_db.abilist: Remove.
44987 * abilist/libutil.abilist: Remove.
44988 * scripts/extract-abilist.awk: Remove.
44989 * scripts/merge-abilist.awk: Remove.
44990 * sysdeps/generic/libcidn.abilist: New file.
44991 * sysdeps/generic/libnss_compat.abilist: New file.
44992 * sysdeps/generic/libnss_db.abilist: New file.
44993 * sysdeps/generic/libnss_dns.abilist: New file.
44994 * sysdeps/generic/libnss_files.abilist: New file.
44995 * sysdeps/generic/libnss_hesiod.abilist: New file.
44996 * sysdeps/generic/libnss_nis.abilist: New file.
44997 * sysdeps/generic/libnss_nisplus.abilist: New file.
44998 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44999 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45000 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45001 file.
45002 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45003 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45004 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45005 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45006 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45007 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45008 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45009 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45010 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45011 file.
45012 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45013 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45014 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45015 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45016 file.
45017 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45018 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45019 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45020 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45021 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45022 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45023 file.
45024 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45026 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45027 file.
45028 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45030 New file.
45031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45032 New file.
45033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45034 New file.
45035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45036 New file.
45037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45038 New file.
45039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45040 New file.
45041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45042 New file.
45043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45044 New file.
45045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45046 New file.
45047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45048 New file.
45049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45050 New file.
45051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45052 New file.
45053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45054 New file.
45055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45056 file.
45057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45058 New file.
45059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45060 New file.
45061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45062 file.
45063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45064 New file.
45065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45066 New file.
45067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45068 file.
45069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45070 New file.
45071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45072 New file.
45073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45074 New file.
45075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45076 New file.
45077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45078 New file.
45079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45080 New file.
45081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45083 file.
45084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45085 New file.
45086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45087 file.
45088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45089 file.
45090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45091 file.
45092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45093 file.
45094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45095 file.
45096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45097 New file.
45098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45099 file.
45100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45101 file.
45102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45103 New file.
45104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45105 file.
45106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45108 file.
45109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45110 New file.
45111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45112 file.
45113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45114 file.
45115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45116 file.
45117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45118 file.
45119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45120 file.
45121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45122 New file.
45123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45124 file.
45125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45126 file.
45127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45128 New file.
45129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45130 file.
45131 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45132 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45133 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45134 file.
45135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45136 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45137 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45138 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45139 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45140 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45141 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45142 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45143 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45144 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45147 file.
45148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45149 New file.
45150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45151 file.
45152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45153 file.
45154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45155 file.
45156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45157 file.
45158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45159 file.
45160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45161 New file.
45162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45163 New file.
45164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45165 file.
45166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45167 New file.
45168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45169 file.
45170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45172 file.
45173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45174 New file.
45175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45176 file.
45177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45178 file.
45179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45180 file.
45181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45182 file.
45183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45184 file.
45185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45186 New file.
45187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45188 New file.
45189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45190 file.
45191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45192 New file.
45193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45194 file.
45195
41d73a1b
JM
451962012-04-28 Joseph Myers <joseph@codesourcery.com>
45197
45198 * conform/conformtest.pl: Fix typo in handling typed-constant from
45199 allow-header.
45200
28aeeda4
JM
452012012-04-27 Joseph Myers <joseph@codesourcery.com>
45202
adae8f5e
JM
45203 * README: Cut down references to pre-2.6 Linux kernels and
45204 Linuxthreads. Update lists of configurations in libc and ports
45205 and sort alphabetically. Say "or newer" with Linux kernel version
45206 requirements.
45207
28aeeda4
JM
45208 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45209
a462cb63
RA
452102012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45211
45212 [BZ #887]
45213 * math/libm-test.inc (logb_test_downward): New test to expose
45214 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45215 rounding mode.
45216
6ad3493e
JM
452172012-04-27 Joseph Myers <joseph@codesourcery.com>
45218
45219 [BZ #14027]
45220 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45221 to be done.
45222 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45223 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45224
2ce4f015
JM
452252012-04-26 Joseph Myers <joseph@codesourcery.com>
45226
5aeb141a
JM
45227 * sysdeps/unix/i386/brk.S: Remove file.
45228 * sysdeps/unix/i386/dl-brk.S: Likewise.
45229 * sysdeps/unix/i386/pipe.S: Likewise.
45230 * sysdeps/unix/i386/sigreturn.S: Likewise.
45231 * sysdeps/unix/i386/syscall.S: Likewise.
45232 * sysdeps/unix/i386/vfork.S: Likewise.
45233 * sysdeps/unix/i386/wait.S: Likewise.
45234
7143acae
JM
45235 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45236 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45237
2ce4f015
JM
45238 * configure.in (arm*-none*): Do not allow without
45239 --enable-hacker-mode.
45240 (netbsd*): Remove case setting base_os.
45241 (386bsd*): Likewise.
45242 (freebsd*): Likewise.
45243 (bsdi*): Likewise.
45244 (osf*): Likewise.
45245 (sunos*): Likewise.
45246 (ultrix*): Likewise.
45247 (newsos*): Likewise.
45248 (dynix*): Likewise.
45249 (*bsd*): Likewise.
45250 (sysv*): Likewise.
45251 (isc*): Likewise.
45252 (esix*): Likewise.
45253 (sco*): Likewise.
45254 (minix*): Likewise.
45255 (irix4*): Likewise.
45256 (irix6*): Likewise.
45257 (solaris[2-9]*): Likewise.
45258 (none): Likewise.
45259 * configure: Regenerated.
45260
0ac229c8
AZ
452612012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45262
45263 [BZ #11521]
45264 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45265 overflow or cancellation in calculating denominator.
45266 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45268 down expression to avoid unexpected rounding in newer GCCs.
45269 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45270
33f244f4
DM
452712012-04-26 David S. Miller <davem@davemloft.net>
45272
45273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45274 long-double compat symbols.
45275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45288
cfa1f3e8
DM
452892012-04-25 David S. Miller <davem@davemloft.net>
45290
45291 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45292 HWCAP_* values only after the memory barriers have been defined.
45293 (atomic_full_barrier): Define.
45294 (atomic_read_barrier): Define.
45295 (atomic_write_barrier): Define.
45296
6e236b92
SP
452972012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45298
45299 * shlib-versions: Add libgcc_s version information.
45300 * sysdeps/generic/libgcc_s.h: Remove.
45301 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45302 libgcc_s.h.
45303 * sysdeps/gnu/unwind-resume.c: Likewise.
45304 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45305
aab39a09
DM
453062012-04-25 David S. Miller <davem@davemloft.net>
45307
45308 * sysdeps/unix/sparc/brk.S: Delete.
45309 * sysdeps/unix/sparc/dl-brk.S: Delete.
45310 * sysdeps/unix/sparc/pipe.S: Delete.
45311 * sysdeps/unix/sparc/sysdep.S: Delete.
45312 * sysdeps/unix/sparc/sysdep.h: Delete.
45313 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
45314 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45315 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45317 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
45318 (JUMPTARGET): Remove.
45319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45320 sysdeps/unix/sparc/sysdep.h
45321 (ENTRY, END): Remove.
45322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45323
a3cc4f48
JM
453242012-04-25 Joseph Myers <joseph@codesourcery.com>
45325
2ed8cda2
JM
45326 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45327 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45328 -DIS_IN_build.
45329
35d76d59
JM
45330 * timezone/README: Update upstream location and email address for
45331 tzcode and tzdata.
45332 * timezone/zdump.c: Update from tzcode 2012b.
45333 * timezone/zic.c: Likewise.
45334
a3cc4f48
JM
45335 * configure.in (libc_cv_as_needed): Remove test.
45336 * configure: Regenerated.
45337 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45338 conditional definition.
45339 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45340 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45341 * config.make.in (have-as-needed): Remove variable.
45342
ceab42c3
SP
453432012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45344 Paul Pluzhnikov <ppluzhnikov@google.com>
45345
45346 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45347 strings correctly.
45348
3ce2865f
CLT
453492012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45350
45351 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45352 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45353 * sysdeps/sh/strlen.S: Likewise.
45354
f37e0d68
JM
453552012-04-24 Joseph Myers <joseph@codesourcery.com>
45356
ae186e9a
JM
45357 * sysdeps/unix/fork.S: Remove file.
45358 * sysdeps/unix/i386/fork.S: Likewise.
45359 * sysdeps/unix/sparc/fork.S: Likewise.
45360
b96914af
JM
45361 * sysdeps/unix/system.c: Remove file.
45362 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45363
f37e0d68
JM
45364 * sysdeps/unix/getegid.S: Remove file.
45365 * sysdeps/unix/geteuid.S: Likewise.
45366
87ef29ca
RM
453672012-04-24 Roland McGrath <roland@hack.frob.com>
45368
83bcd236
RM
45369 * scripts/check-localplt.awk: New file.
45370 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45371 of diff.
45372 * scripts/data/localplt-generic.data: Add a comment.
45373
87ef29ca
RM
45374 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45375 NODE when __dir_mkfile failed.
45376 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45377 Reported by Ludovic Courtès <ludo@gnu.org>.
45378
e5a6e567
AJ
453792012-04-24 Andreas Jaeger <aj@suse.de>
45380
45381 * Makerules (common-clean): Also remove gen-as-const-headers
45382 files.
45383
c1820385
JM
453842012-04-24 Joseph Myers <joseph@codesourcery.com>
45385
45386 * Makerules (native-compile): Do not change working directory for
45387 build. Use $(OUTPUT_OPTION) in command.
45388 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45389
94e02fc4
AZ
453902012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45391
45392 [BZ #13886]
45393 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45394 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45395 * math/libm-test.inc (floor_test): Add more tests.
45396 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45397
3a533ca3
JM
453982012-04-24 Joseph Myers <joseph@codesourcery.com>
45399
940ab4b3
JM
45400 * sysdeps/unix/getdents.c: Remove file.
45401 * sysdeps/unix/sysv/getdents.c: Likewise.
45402 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45403
90e037bd
JM
45404 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45405 sysdeps/unix/mman/syscalls.list.
45406 (mmap): Likewise.
45407 (mprotect): Likewise.
45408 (msync): Likewise.
45409 (munmap): Likewise.
45410 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45411 * sysdeps/unix/mman/syscalls.list: Remove.
45412 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45413
3a533ca3
JM
45414 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45415 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45416 * configure: Regenerated.
45417 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45418 $(libgcc_s_suffix).
45419 * config.make.in (libgcc_s_suffix): Remove variable.
45420
1ad743de
JM
454212012-04-23 Joseph Myers <joseph@codesourcery.com>
45422
4ad451e2
JM
45423 * sysdeps/unix/sysv/gethostname.c: Move to ...
45424 * sysdeps/posix/gethostname.c: ... here.
45425
5e37ce39
JM
45426 * sysdeps/unix/execve.S: Remove file.
45427
1ad743de
JM
45428 * sysdeps/unix/_exit.S: Remove file.
45429
4e681b5b
AJ
454302012-04-23 Andreas Jaeger <aj@suse.de>
45431
45432 [BZ #13739]
45433 * manual/Makefile: Remove make dist support, there's no
45434 need for a stand-alone documentation tar ball.
45435 (TEXI2DVI): Define always, it's not in Makeconfig.
45436 (dist): Removed.
45437 (tar-it): Removed.
45438 (edition): Removed.
45439 (glibc-doc-$(edition).tar): Removed
45440 (%.Z): Removed.
45441 (%.gz): Removed.
45442 (%.uu): Removed.
45443 (ETAGS): Remove, it's in Makeconfig.
45444 (move-if-change): Remove, it's in Makeconfig.
45445
38686a03 454462012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
45447
45448 [BZ #13970]
45449 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45450 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45451 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45452 (strtod_l, strtof_l, strtold_l): Remove __wur.
45453 It is not necessarily an error to ignore strtol's return value.
45454 One can reliably look at the stored endptr to decide whether
45455 the number had valid syntax.
45456
7c0616fa
AJ
454572012-04-21 Andreas Jaeger <aj@suse.de>
45458
803cb6b7 45459 [BZ #13739]
7c0616fa
AJ
45460 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45461
b0fe253f
JM
454622012-04-21 Joseph Myers <joseph@codesourcery.com>
45463
45464 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45465 * sysdeps/unix/sysv/Versions: Remove file.
45466
8280f22d
MT
454672012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45468
45469 [BZ #13927]
45470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45471
75ce411f 454722012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
45473
45474 [BZ #7064]
45475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45476 version from __vm86.
45477
097d59fa
JM
454782012-04-20 Joseph Myers <joseph@codesourcery.com>
45479
a90f3bcb
JM
45480 * sysdeps/unix/common/lxstat.c: Remove file.
45481 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45482
edc7ea78
JM
45483 * sysdeps/unix/sysv/Makefile: Remove file.
45484
cb78c221
JM
45485 * sysdeps/unix/sysv/direct.h: Remove file.
45486
efa6a45f
JM
45487 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45488 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45489 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45490 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45491 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45492 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45493 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45494
9c9f2d0c
JM
45495 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45496
4541c83b
JM
45497 * sysdeps/unix/xmknod.c: Remove file.
45498 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45499
f5d153a0
JM
45500 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45501
aa746595
JM
45502 * sysdeps/unix/sysv/i386/time.S: Remove file.
45503
cce5905e
JM
45504 * sysdeps/unix/fxstat.c: Remove file.
45505 * sysdeps/unix/xstat.c: Likewise.
45506 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45507
37fa3841
JM
45508 * sysdeps/unix/sysv/sigaction.c: Remove file.
45509
ff1962a3
JM
45510 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45511 (sysdep_headers): Remove variable.
45512 [termio.h not in sysdep_headers] (generated): Likewise.
45513 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45514 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45515 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45516 * sysdeps/unix/sysv/tcflow.c: Likewise.
45517 * sysdeps/unix/sysv/tcflush.c: Likewise.
45518 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45519 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45520 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45521 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45522 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45523
e7740d31
JM
45524 * sysdeps/unix/siglist.c: Remove file.
45525
ee06f18b
JM
45526 * sysdeps/unix/getppid.S: Remove file.
45527
097d59fa
JM
45528 * sysdeps/unix/mkdir.c: Remove file.
45529 * sysdeps/unix/rmdir.c: Likewise.
45530
ff3d51ec
AS
455312012-04-19 Andreas Schwab <schwab@linux-m68k.org>
45532
45533 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45534 ERR_MAX value.
45535 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45536 errlist-compat value.
45537
50f81fd7
DM
455382012-04-18 David S. Miller <davem@davemloft.net>
45539
45540 * sysdeps/generic/memcopy.h (reg_char): Delete.
45541 * debug/strcat_chk.c: Use char, not reg_char.
45542 * debug/strcpy_chk.c: Likewise.
45543 * debug/strncat_chk.c: Likewise.
45544 * debug/strncpy_chk.c: Likewise.
45545 * string/memchr.c: Likewise.
45546 * string/memrchr.c: Likewise.
45547 * string/rawmemchr.c: Likewise.
45548 * string/strcat.c: Likewise.
45549 * string/strchr.c: Likewise.
45550 * string/strchrnul.c: Likewise.
45551 * string/strcmp.c: Likewise.
45552 * string/strcpy.c: Likewise.
45553 * string/strncat.c: Likewise.
45554 * string/strncmp.c: Likewise.
45555 * string/strncpy.c: Likewise.
45556
8ff41c46
WS
455572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45558
45559 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45560 __builtin_memcopy is called when src and dest ranges are known to not
45561 overlap.
45562
6b652f46
WS
455632012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45564
45565 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45566 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45567 fwd_align_merge macro call.
45568 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45569 bwd_align_merge macro call.
45570 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45571
b282631e
WS
455722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
45573
45574 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45575 bwd_align_merge macros.
45576 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45577 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45578 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45579
95aa737c
DM
455802012-04-18 David S. Miller <davem@davemloft.net>
45581
45582 * sysdeps/sparc/sparc64/memcopy.h: Delete.
45583
7a99a614
AJ
455842012-04-18 Andreas Jaeger <aj@suse.de>
45585
45586 [BZ# 6794]
45587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45588 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45590
45591 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45592 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45594
45595 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45596 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45597 Adjust for changed ldbl-128 files.
45598
45599 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45600 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45601 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45602
e5270c23
DM
456032012-04-17 David S. Miller <davem@davemloft.net>
45604
45605 * sysdeps/sparc/sparc32/memcopy.h: Delete.
45606
fb5e92c9
AS
456072012-04-17 Andreas Schwab <schwab@linux-m68k.org>
45608
45609 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45610 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45611 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45612 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45613 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45614 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45615
76da7265
AZ
456162012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45617
45618 [BZ #6794]
45619 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45620 * math/libm-test.inc: Add ilogb errno and exception tests.
45621 * math/w_ilogb.c: New file: ilogb wrapper.
45622 * math/w_ilogbf.c: New file: ilogbf wrapper.
45623 * math/w_ilogbl.c: New file: ilogbl wrapper.
45624 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45625 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45626 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45627 exception being thrown with 0.0 as argument.
45628 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45629 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45630 exception being thrown with 0.0 as argument.
45631 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45632 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45633 exception being thrown with 0.0 as argument.
45634 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45635 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45636 exception being thrown with 0.0 as argument.
45637 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45638 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45639 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45640 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45641 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45642 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45643 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45644 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45645 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45646
0396e69d
PB
456472012-04-17 Petr Baudis <pasky@ucw.cz>
45648
45649 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45650 with altivec.
45651
750b5926
MP
456522012-04-16 Marek Polacek <polacek@redhat.com>
45653
45654 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45655
751728a1
MP
456562012-04-16 Marek Polacek <polacek@redhat.com>
45657
45658 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45659 operands of fdivp instruction.
45660
34a27407
L
456612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45662
45663 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45664 * elf/tst-auditmod3b.c: Likewise.
45665 * elf/tst-auditmod4b.c: Likewise.
45666 * elf/tst-auditmod5b.c: Likewise.
45667 * elf/tst-auditmod6b.c: Likewise.
45668 * elf/tst-auditmod6c.c: Likewise.
45669 * elf/tst-auditmod7b.c: Likewise.
45670 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45671 * sysdeps/x86_64/preconfigure.in: Likewise.
45672 * sysdeps/x86_64/preconfigure: Regenerated.
45673
7e73e17d
L
456742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45675
45676 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45677 __ILP32__.
45678
c7a6ab72
AB
456792012-04-13 Antoine Balestrat <merkil33@gmail.com>
45680
45681 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45682 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45683
a9e8e0e0
CL
456842012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45685
45686 [BZ #13973]
45687 * locale/iso-639.def: Fix gl language name. Spotted by
45688 Yaron Shahrabani.
45689
ec98af7d
RM
456902012-04-12 Roland McGrath <roland@hack.frob.com>
45691
45692 [BZ #2074]
45693 * libio/libio.h (__io_write_fn): Update comment.
45694
247c3ede
PB
456952012-04-12 Petr Baudis <pasky@ucw.cz>
45696
45697 [BZ #2074]
45698 * stdio.texi (Hook Functions): The user provided writer function
45699 is not allowed to return -1.
45700
55939d6d
DM
457012012-04-11 David S. Miller <davem@davemloft.net>
45702
45703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45704
90020f5a
MF
457052012-04-11 Mike Frysinger <vapier@gentoo.org>
45706
45707 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45708 Add a leading slash to rtkaio.
45709
288f9098
JM
457102012-04-11 Jim Meyering <meyering@redhat.com>
45711
90020f5a
MF
45712 [BZ #11959]
45713 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45714 It is not necessarily an error to ignore fwrite's return
45715 value. One can reliably use ferror to test for errors after
45716 the fact.
288f9098 45717
4be2b570
L
457182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45719
45720 * bits/types.h (__snseconds_t): New type.
45721 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45722
45723 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45725 (__SNSECONDS_T_TYPE): Likewise.
45726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45727 (__SNSECONDS_T_TYPE): Likewise.
45728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45729 (__SNSECONDS_T_TYPE): Likewise.
45730
288f9098 457312012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45732
45733 [BZ #2636]
45734 * manual/time.texi (Processor Time): Return type of times is
45735 elapsed real time since an arbitrary point in the past.
45736 (CPU Time): Move CLK_TCK from here...
45737 (Processor Time): ...to here. Correct description.
45738 * manual/conf.texi (Constants for Sysconf): Correct description of
45739 _SC_CLK_TCK.
45740
d7dd4413
DM
457412012-04-10 David S. Miller <davem@davemloft.net>
45742
45743 [BZ #13967]
45744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45745 where the is a gap between DT_REL(A) and DT_JMPREL.
45746
b46068fc
L
457472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45748
45749 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45750 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45751 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45752
73d65cc3
SP
457532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45754
45755 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45756 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45757 (dl_main): Handle --inhibit-cache.
45758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45759 _dl_inhibit_cache.
45760 * elf/dl-load.c (_dl_map_object): Use it.
45761 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45762
bcc8d661
JM
457632012-04-09 Joseph Myers <joseph@codesourcery.com>
45764
8f9a2fae
JM
45765 [BZ #13872]
45766 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45767 (__ieee754_powl): Saturate large exponents rather than testing for
45768 overflow of y*log2(x).
45769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45770 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45771 exceptions.
45772
bcc8d661
JM
45773 [BZ #11521]
45774 * math/s_ctan.c: Include <float.h>.
45775 (__ctan): Avoid internal overflow or cancellation in calculating
45776 denominator.
45777 * math/s_ctanf.c: Likewise.
45778 * math/s_ctanl.c: Likewise.
45779 * math/s_ctanh.c: Likewise.
45780 * math/s_ctanhf.c: Likewise.
45781 * math/s_ctanhl.c: Likewise.
45782 * math/libm-test.inc (ctan_test): Add more tests.
45783 (ctanh_test): Likewise.
45784 * sysdeps/i386/fpu/libm-test-ulps: Update.
45785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45786
823fbbb4
AJ
457872012-04-09 Andreas Jaeger <aj@suse.de>
45788
03879793
AJ
45789 [BZ #6894]
45790 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45791 is an optional BSD extension.
45792
823fbbb4
AJ
45793 [BZ #10254]
45794 * manual/stdio.texi (Opening Streams): Document additional fopen
45795 parameters.
45796
8de131cb
RM
457972012-04-09 Roland McGrath <roland@hack.frob.com>
45798
45799 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45800 %eax without telling the compiler.
45801
c0ed9d7d
CD
458022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45803
45804 [BZ # 13963]
45805 * manual/install.texi: Use sourceware.org.
45806
c483f6b4
JM
458072012-04-09 Joseph Myers <joseph@codesourcery.com>
45808
d7dd9453
JM
45809 [BZ #13873]
45810 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45811 (__ieee754_pow): Generate overflow and underflow using huge*huge
45812 and tiny*tiny rather than just returning constant infinity or zero
45813 for large exponents.
45814 * math/libm-test.inc (pow_test): Require overflow exceptions for
45815 applicable cases of large exponents.
45816
c483f6b4
JM
45817 [BZ #706]
45818 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45819 (__ieee754_pow): Use iterative multiplication algorithm only for
45820 integer exponents with absolute value below 1024. Check for odd
45821 integer exponents when using algorithm for real exponents.
45822 * math/libm-test.inc (pow_test): Add more tests.
45823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45824
d2de7579
JM
458252012-04-08 Joseph Myers <joseph@codesourcery.com>
45826
45827 [BZ #13705]
45828 * math/libm-test.inc (exp_test): Do not allow overflow exception
45829 on underflow test.
45830
f77f1232
AJ
458312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45832
45833 [BZ #13705]
45834 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45835 instead of __kernel_standard_f.
45836
3884932b
MF
458372012-04-08 Mike Frysinger <vapier@gentoo.org>
45838
45839 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45840 * sysdeps/x86_64/memset_chk.S: Likewise.
45841
54472e9c
AJ
458422012-04-08 Andreas Jaeger <aj@suse.de>
45843
6ab0fbfc
AJ
45844 [BZ #10153]
45845 * manual/startup.texi (Environment Access): Describe return value
45846 for putenv and setenv.
45847
61efba8c
AJ
45848 [BZ #6895]
45849 * manual/filesys.texi (Directory Entries): Add description for
45850 DT_LNK.
45851
95c3f29a
AJ
45852 [BZ #6890]
45853 * manual/filesys.texi (Directory Entries): Clarify that it's file
45854 system not operating system in the description of DT_UNKNOWN.
45855
54472e9c
AJ
45856 [BZ #6578]
45857 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45858
624254b1
SC
458592012-04-08 Stephen Compall <s11@member.fsf.org>
45860
45861 [BZ #6649]
45862 * manual/llio.texi (Opening and Closing Files): Add cross
45863 reference to explain mode argument.
45864
1e4920e0
MF
458652012-04-07 Mike Frysinger <vapier@gentoo.org>
45866
45867 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45868 * sysdeps/x86_64/memset_chk.S: Likewise.
45869
5ed848f3
DM
458702012-04-07 David S. Miller <davem@davemloft.net>
45871
45872 * elf/elf.h (R_SPARC_WDISP10): Define.
45873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45874 R_SPARC_SIZE32.
45875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45876 R_SPARC_SIZE64 and R_SPARC_H34.
45877
96154cd8
CD
458782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45879
45880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45881 conditions and remove no longer applicable assertion.
45882
9904dc47
L
458832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45884
45885 * bits/byteswap.h: Include <features.h>.
45886 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45887 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45888
f8887d0a
L
458892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45890
45891 * bits/byteswap.h (__bswap_16): Removed.
45892 Include <bits/byteswap-16.h> to get __bswap_16.
45893 * sysdeps/i386/bits/byteswap.h: Likewise.
45894 * sysdeps/s390/bits/byteswap.h: Likewise.
45895 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45896 * bits/byteswap-16.h: New file.
45897 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45898 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45899 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45900 * string/Makefile (headers): Add bits/byteswap-16.h.
45901
62470f60
PP
459022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45903
45904 [BZ #13895]
45905 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45906 extra indirection.
45907 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45908 * nss/tst-nss-static.c: New.
45909
4dad7bab
RM
459102012-04-06 Robert Millan <rmh@gnu.org>
45911
45912 [BZ #6486]
45913 * manual/llio.texi (File Position Primitive): lseek
45914 refers to WHENCE when it really means OFFSET.
45915
e9142a17
AJ
459162012-04-06 Andreas Jaeger <aj@suse.de>
45917
2c040eff
AJ
45918 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45919 strncmp declarations.
45920
e9142a17
AJ
45921 * abilist/libc.abilist: Add __poll and __ppoll.
45922
ff9f1c5f
DM
459232012-04-05 David S. Miller <davem@davemloft.net>
45924
dcd2ae90
DM
45925 * scripts/check-local-headers.sh: Accept a host triplet in the
45926 path matched by the exclude regexp.
45927
993eb054
DM
45928 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45929 definition.
45930 * sysdeps/powerpc/powerpc32/dl-machine.h
45931 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45932 * sysdeps/s390/s390-32/dl-machine.h
45933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45934 * sysdeps/sparc/sparc32/dl-machine.h
45935 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45936 * sysdeps/sparc/sparc64/dl-machine.h
45937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45938
ff9f1c5f
DM
45939 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45940 lazy binding.
48e2e132 45941 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45942 undefined symbol errors.
45943
48e2e132 45944 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45945 DT_NEEDED entries.
45946
e80d6f94
MM
459472012-04-05 Michael Matz <matz@suse.de>
45948
45949 [BZ #13592]
45950 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45951
349fa79f
AJ
459522012-04-05 Andreas Jaeger <aj@suse.de>
45953
45954 [BZ #13908]
45955 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45956 comment.
45957
f402708f
KK
459582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45959
45960 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45961 which ROUND is no valid rounding mode.
45962
2ecccfc9
KK
459632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45964
45965 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45966 read again.
45967 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45968
8a53f50f
KK
459692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45970
45971 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45972 an exception using FPU order intentionally.
45973
459742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45975
45976 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45977 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45978 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45979 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45980
d653abb7
SJ
459812012-04-05 Simon Josefsson <simon@josefsson.org>
45982
45983 [BZ #12340]
45984 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45985 EINVAL when BUFLEN is too smal.
45986
c3b1bf7d
TS
459872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45988
45989 [BZ #13553]
45990 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45991 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45992
b1aa60f3
AJ
459932012-04-03 Andreas Jaeger <aj@suse.de>
45994
c3b1bf7d 45995 [BZ #13938]
67f60a26
AJ
45996 * manual/setjmp.texi (System V contexts): Fix sentence.
45997
b1aa60f3
AJ
45998 [BZ #13926]
45999 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46000 New macro for this case.
46001 [!__GNUC__] (__bswap_64): New inline function for this case.
46002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46003 * bits/byteswap.h: Likewise.
46004 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46005 ull, guard with __GLIBC_HAVE_LONG_LONG.
46006
46007 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46008 __GLIBC_HAVE_LONG_LONG.
46009
46010 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46011 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46012
39c59c35
TMQMF
460132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46014
46015 [BZ #13691]
46016 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46017 inptr and inend, rather than using last_ch.
46018
135ffda8
DM
460192012-04-02 David S. Miller <davem@davemloft.net>
46020
46021 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46022 * stdio-common/printf-parse.h (read_int): Change return type to
46023 'int', return -1 on INT_MAX overflow.
46024 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46025 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46026 overflows INT_MAX. Check for overflow of in-format-string precision
46027 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46028 SIZE_MAX not INT_MAX for integer overflow test.
46029 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46030 skip the construct in the format string but do not record anything.
46031 * stdio-common/bug22.c: Adjust to test both width/prevision
46032 INT_MAX overflow as well as total length INT_MAX overflow. Check
46033 explicitly for proper errno values.
46034
228c019e
TS
460352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46036
302cadd3
TS
46037 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46038 CHAR_MAX.
46039 * string/test-strcmp.c [! WIDE]: Likewise.
46040 * time/tst-mktime2.c: Likewise for INT_MAX.
46041 * string/test-string.h: #include <sys/param.h> for MIN.
46042
228c019e
TS
46043 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46044 * sysdeps/i386/init-first.c (init): Likewise.
46045 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46046 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46047 * sysdeps/sh/init-first.c (init): Likewise.
46048
cfa633f5
UD
460492012-04-01 Ulrich Drepper <drepper@gmail.com>
46050
46051 * po/ru.po: Update from translation team.
d1635ef8 46052 * po/vi.po: Likewise.
cfa633f5 46053
6cd0a5ea
SP
460542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46055
46056 * resolv/nss_dns/dns-host.c: Merge copyright years.
46057
4b43400f
LD
460582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46059
46060 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46061 Optimize memcpy with prefetch if
46062 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46063 src, dst pointers have unequal 16 byte alignments.
46064
48c41d04
SP
460652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46066
46067 [BZ #13928]
46068 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46069 from a CNAME entry and return the minimum ttl for the query.
46070 (gaih_getanswer_slice): Likewise.
46071
b8dc394d
JL
460722012-03-30 Jeff Law <law@redhat.com>
46073
46074 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46075 due to long keys.
46076 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46077 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46078
2f5a5ed0
JL
46079 * resolv/nss_dns/dns-host.c: Update copyright year.
46080
1d39e359
UD
460812012-03-30 Ulrich Drepper <drepper@gmail.com>
46082
c030f70c 46083 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 46084 requests to save a system call. Fix check that all bytes are sent.
c030f70c 46085
1d39e359
UD
46086 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46087 comments for sendmmsg.
46088
460892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
46090
46091 [BZ #13691]
46092 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46093 with only 1 character between 0x0041 and 0x01b0.
46094 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46095 * wcsmbs/tst-mbsnrtowcs.c: New file.
46096
20fde227
DM
460972012-03-29 David S. Miller <davem@davemloft.net>
46098
46099 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46100 small copies by hand.
46101
984a4237
JL
461022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46103
46104 [BZ #13761]
57f41c40
AS
46105 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46106 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46107 group memberships.
984a4237 46108
18c9d62b
DM
461092012-03-28 David S. Miller <davem@davemloft.net>
46110
88d85d4f
DM
46111 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46112 that branches into memcpy.
46113 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46116 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46118 bits.
46119 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46120 implementation too.
46121 * sysdeps/sparc/mempcpy.S: New file.
46122
e5aa83e1
DM
46123 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46124 the IFUNC routine in the libc case.
46125 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46126
88570753
DM
46127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46128 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46129 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46130 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46131 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46132 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46133 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46134 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46135
249d7567
DM
46136 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46137 loop to 256 bytes instead of 64 bytes and fix test signedness.
46138
18c9d62b
DM
46139 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46140 * sysdeps/sparc/sparc32/Makefile: rather than here...
46141 * sysdeps/sparc/sparc64/Makefile: and here.
46142
05f3d1f6
UD
461432012-03-28 Ulrich Drepper <drepper@gmail.com>
46144
46145 * malloc/mallocbug.c: Avoid warnings about unused variables.
46146
86ae07a8
JL
461472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46148
46149 [BZ #13760]
46150 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46151 in the right place. Discard and retry query if response is
46152 larger than input buffer size.
46153
41bf21a1
JM
461542012-03-28 Joseph Myers <joseph@codesourcery.com>
46155
d6270972
JM
46156 [BZ #369]
46157 [BZ #2678]
46158 [BZ #3866]
46159 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46160 x for large integer exponent.
46161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46162 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46163 sign of result as needed afterwards.
46164 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46165 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46166 result for underflowing pow the same as for overflow.
46167 (__kernel_standard_l): Handle powl overflow and underflow here
46168 rather than calling __kernel_standard.
46169 * math/libm-test.inc (pow_test): Add more tests.
46170
414fca03 46171 [BZ #3868]
41bf21a1
JM
46172 [BZ #13879]
46173 [BZ #13910]
46174 [BZ #13911]
46175 [BZ #13912]
46176 [BZ #13913]
46177 [BZ #13915]
46178 [BZ #13916]
46179 [BZ #13917]
46180 [BZ #13918]
46181 [BZ #13919]
46182 [BZ #13920]
46183 [BZ #13921]
46184 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46185 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46186 (__kernel_standard_l): New function.
46187 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46188 __kernel_standard.
46189 * math/w_acosl.c (__acosl): Likewise.
46190 * math/w_asinl.c (__asinl): Likewise.
46191 * math/w_atan2l.c (__atan2l): Likewise.
46192 * math/w_atanhl.c (__atanhl): Likewise.
46193 * math/w_coshl.c (__coshl): Likewise.
46194 * math/w_exp10l.c (__exp10l): Likewise.
46195 * math/w_exp2l.c (__exp2l): Likewise.
46196 * math/w_fmodl.c (__fmodl): Likewise.
46197 * math/w_hypotl.c (__hypotl): Likewise.
46198 * math/w_j0l.c (__j0l, __y0l): Likewise.
46199 * math/w_j1l.c (__j1l, __y1l): Likewise.
46200 * math/w_jnl.c (__jnl, __ynl): Likewise.
46201 * math/w_lgammal.c (__lgammal): Likewise.
46202 * math/w_log10l.c (__log10l): Likewise.
46203 * math/w_log2l.c (__log2l): Likewise.
46204 * math/w_logl.c (__logl): Likewise.
46205 * math/w_powl.c (__powl): Likewise.
46206 * math/w_remainderl.c (__remainderl): Likewise.
46207 * math/w_scalbl.c (sysv_scalbl): Likewise.
46208 * math/w_sinhl.c (__sinhl): Likewise.
46209 * math/w_sqrtl.c (__sqrtl): Likewise.
46210 * math/w_tgammal.c (__tgammal): Likewise.
46211 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46212 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46213 * math/libm-test.inc (acos_test): Add more tests.
46214 (acosh_test): Likewise.
46215 (asin_test): Likewise.
46216 (atanh_test): Likewise.
46217 (exp_test): Likewise.
46218 (exp10_test): Likewise.
46219 (exp2_test): Likewise.
46220 (expm1_test): Likewise.
46221 (lgamma_test): Likewise.
46222 (log_test): Likewise.
46223 (log10_test): Likewise.
46224 (log1p_test): Likewise.
46225 (log2_test): Likewise.
46226 (pow_test): Do not allow some spurious overflow exceptions.
46227 (sqrt_test): Add more tests.
46228 (tgamma_test): Likewise.
46229 (y0_test): Likewise.
46230 (y1_test): Likewise.
46231 (yn_test): Likewise.
46232
dd62fda6
AB
462332012-03-27 Anton Blanchard <anton@samba.org>
46234
46235 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46236 MAP_HUGETLB.
46237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46240
1e3cdfda
AJ
462412012-03-27 David S. Miller <davem@davemloft.net>
46242
b855ab85
DM
46243 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46244
1e3cdfda
AJ
46245 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46246 have-as-vis3 check.
46247
462482012-03-27 Andreas Jaeger <aj@suse.de>
46249
46250 * sysdeps/x86_64/elf/configure.in: Moved to ...
46251 * sysdeps/x86_64/configure.in: ... here.
46252 * sysdeps/x86_64/elf/start.S: Moved to ...
46253 * sysdeps/x86_64/start.S: ... here.
46254 * sysdeps/x86_64/elf/configure: Delete.
46255
46256 * sysdeps/x86_64/configure.in: Merge contents from
46257 sysdeps/i386/configure.in (without i686 check).
46258
46259 * sysdeps/i386/elf/Versions: Merge into ...
46260 * sysdeps/i386/Versions: ... this.
46261 * sysdeps/i386/elf/Versions: Delete file.
46262 * sysdeps/i386/elf/start.S: Moved to ...
46263 * sysdeps/i386/start.S: ...here.
46264 * sysdeps/i386/elf/configure.in: Merge into...
46265 * sysdeps/i386/configure.in: ...here.
46266 * sysdeps/i386/elf/configure.in: Delete file.
46267 * sysdeps/i386/elf/configure: Delete file.
46268
46269 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46270 * debug/backtracesyms.c: ... here.
46271 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46272 * debug/backtracesymsfd.c: ... here.
46273 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46274 * sysdeps/generic/ifunc-sel.h: ... here.
46275
46276 * sysdeps/unix/i386/start.c: Delete file.
46277 * sysdeps/unix/sparc/start.c: Delete file.
46278 * sysdeps/unix/start.c: Delete file.
46279
46280 * sysdeps/sh/elf/configure.in: Moved to ...
46281 * sysdeps/sh/configure.in: ... here.
46282 * sysdeps/sh/elf/start.S: Moved to ...
46283 * sysdeps/sh/start.S: ... here.
46284 * sysdeps/sh/elf/configure: Delete file.
46285
46286 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46287 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46288 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46289 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46290 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46291 * sysdeps/powerpc/powerpc64/start.S: here.
46292 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46293 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46294 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46295 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46296 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46297
46298 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46299 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46300 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46301 * sysdeps/powerpc/powerpc32/start.S: ... here.
46302 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46303 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46304 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46305
46306 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46307 * sysdeps/powerpc/ifunc-sel.h: ... here.
46308 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46309 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46310
46311 * sysdeps/sparc/elf/configure.in: Moved to ...
46312 * sysdeps/sparc/configure.in: ... here.
46313 * sysdeps/sparc/elf/configure: Delete file.
46314 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46315 * sysdeps/sparc/sparc32/start.S: ... here.
46316 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46317 * sysdeps/sparc/sparc64/start.S: ... here.
46318 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46319 * sysdeps/sparc/sparc32/Makefile: ... this.
46320 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46321 * sysdeps/sparc/sparc64/Makefile: ... this.
46322
46323 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46324 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46325 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46326 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46327 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46328 * sysdeps/s390/s390-32/setjmp.S: ... here.
46329 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46330 * sysdeps/s390/s390-32/configure.in: ... here.
46331 * sysdeps/s390/s390-32/elf/configure: Delete file.
46332 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46333 * sysdeps/s390/s390-32/start.S: ... here.
46334
46335 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46336 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46337 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46338 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46339 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46340 * sysdeps/s390/s390-64/setjmp.S: ... here.
46341 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46342 * sysdeps/s390/s390-64/configure.in: ... here
46343 * sysdeps/s390/s390-64/elf/configure: Delete file.
46344 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46345 * sysdeps/s390/s390-64/start.S: ... here.
46346 * sysdeps/s390/s390-64/elf/configure: Delete.
46347
46348 * configure.in: Remove support for elf directories in sysdeps.
46349
46350 * configure: Regenerated.
46351 * sysdeps/i386/configure: Regenerated.
46352 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46353 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46354 * sysdeps/s390/s390-32/configure: Regenerated.
46355 * sysdeps/s390/s390-64/configure: Regenerated.
46356 * sysdeps/sh/configure: Regenerated.
46357 * sysdeps/sparc/configure: Regenerated.
46358 * sysdeps/x86_64/configure: Regenerated.
46359
a3f61311
AS
463602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46361
c876e002
AS
46362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46363
a3f61311
AS
46364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46365 denormal result into account.
46366
ac4c54f0
RM
463672012-03-25 Roland McGrath <roland@hack.frob.com>
46368
46369 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46370 Reported by Allan McRae <allan@archlinux.org>.
46371
6a9b9c02
JL
463722012-03-23 Jeff Law <law@redhat.com>
46373
46374 * nss/getnssent.c (__nss_getent): Fix typo.
46375
4c42a0c1
DM
463762012-03-23 David S. Miller <davem@davemloft.net>
46377
46378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46379
1532c7ac
L
463802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46381
46382 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46383 to pad to uint64_t for each field.
46384 (dl_tls_index): Replace unsigned long with uint64_t.
46385
3ff42526
PP
463862012-03-23 Daniel Jacobowitz <dmj@google.com>
46387 Paul Pluzhnikov <ppluzhnikov@google.com>
46388
46389 [BZ #6528]
46390 * grp/Makefile (otherlibs): Don't set it.
46391 * inet/Makefile (otherlibs): Likewise.
46392 * login/Makefile (otherlibs): Likewise.
46393 * nscd/Makefile (otherlibs): Likewise.
46394 * posix/Makefile (otherlibs): Likewise.
46395 * pwd/Makefile (otherlibs): Likewise.
46396 * rt/Makefile (otherlibs): Likewise.
46397 * sunrpc/Makefile (otherlibs): Likewise.
46398 * nss/Makefile (otherlibs): Likewise.
46399 Add libnss_files to routines and static-only-routines.
46400 ($(objpfx)getent): Remove rule.
46401 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46402 static-only-routines.
46403
7c69cd14
JM
464042012-03-22 Joseph Myers <joseph@codesourcery.com>
46405
46406 [BZ #13892]
46407 * math/s_cexp.c: Include <float.h>.
46408 (__cexp): Handle exp result overflowing not necessarily
46409 overflowing both real and imaginary parts of result.
46410 * math/s_cexpf.c: Likewise.
46411 * math/s_cexpl.c: Likewise.
46412 * math/libm-test.inc (cexp_test): Add more tests.
46413 * sysdeps/i386/fpu/libm-test-ulps: Update.
46414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46415
81b035fe
L
464162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46417
46418 * include/link.h (ELFW): New macro.
46419 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46420 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46421
1da7940c
L
464222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46423
46424 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46425 with uint64_t.
46426
b749dbb9
L
464272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46428
46429 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46430 declaration.
46431 (struct La_x32_retval): Likewise.
46432
2ff87f3f
L
464332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46434
46435 * sysdeps/x86_64/preconfigure.in: New file.
46436 * sysdeps/x86_64/preconfigure: New generated file.
46437
c0df8e69
JM
464382012-03-22 Joseph Myers <joseph@codesourcery.com>
46439
48e44791
JM
46440 [BZ #13824]
46441 * math/e_exp2l.c: Include <float.h>.
46442 (__ieee754_exp2l): Handle overflow and underflow cases
46443 separately. Only pass fractional part of argument to
46444 __ieee754_expl.
46445 * math/libm-test.inc (exp2_test): Add more tests.
46446
c0df8e69
JM
46447 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46448 negating x to take absolute value.
46449 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46450 Likewise.
46451 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46452 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46453 Likewise.
46454 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46455 computing low part if x was negated.
46456 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46457
c8e43ba7
L
464582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46459
46460 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46461 la_x32_gnu_pltexit.
46462 (pltexit): Cast int_retval to ptrdiff_t.
46463 * elf/tst-auditmod3b.c: Likewise.
46464 * elf/tst-auditmod4b.c: Likewise.
46465 * elf/tst-auditmod5b.c: Likewise.
46466 * elf/tst-auditmod6b.c: Likewise.
46467 * elf/tst-auditmod6c.c: Likewise.
46468 * elf/tst-auditmod7b.c: Likewise.
46469
46470 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46471 and x32_gnu_pltexit.
46472
46473 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46474 __ELF_NATIVE_CLASS.
46475 (La_x32_regs): New macro.
46476 (La_x32_retval): Likewise.
46477 (la_x32_gnu_pltenter): New function prototype.
46478 (la_x32_gnu_pltexit): Likewise.
46479
7998fa78
AS
464802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46481
dcb33988
AS
46482 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46483 exponent.
46484
233fc563
AS
46485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46486
7998fa78
AS
46487 * configure.in (libc_cv_cc_nofma): Check for option to disable
46488 generation of FMA instructions.
46489 * configure: Regenerate.
46490 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46491 * sysdeps/ieee754/dbl-64/Makefile: New file.
46492 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46493 Remove brandred-fma4.
46494 (CFLAGS-brandred-fma4.c): Remove.
46495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46496 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46497 define.
46498 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46499 define.
46500
8e95c99a
L
465012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46502
46503 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46504 LLONG_MAX != LONG_MAX.
46505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46506 (_fitoa_word): Likewise.
46507 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46508 LLONG_MAX != LONG_MAX.
46509 * stdio-common/_itowa.h: Include <_itoa.h>.
46510 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46511 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46512 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46513 only if not defined.
46514 (_ITOA_WORD_TYPE): Likewise.
46515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46516 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46517
6f4db457
DM
465182012-03-21 David S. Miller <davem@davemloft.net>
46519
46520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46521
7785fe5a
L
465222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46523
46524 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46525 of x86_64 when setting libc_cv_slibdir, libdir and
46526 libc_cv_localedir.
46527 * sysdeps/unix/sysv/linux/configure: Regenerated.
46528
4535cd55
JM
465292012-03-21 Joseph Myers <joseph@codesourcery.com>
46530
46531 * manual/lang.texi (Old Varargs): Remove section.
46532 (How Variadic): Update menu.
46533 (va_start): Do not mention varargs.h.
46534
17228132
TS
465352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46536 Joseph Myers <joseph@codesourcery.com>
46537
46538 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46539 link test.
46540 * configure: Regenerated.
46541
8149f976
TS
465422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
46543
05f3d1f6
UD
46544 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46545 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46546 conformtest.pl
8149f976 46547
1a4ac776
JM
465482012-03-21 Joseph Myers <joseph@codesourcery.com>
46549
be22ce65
JM
46550 * NOTES: Remove.
46551 * Makefile (files-for-dist): Remove NOTES.
46552 (NOTES): Remove rule.
46553 * README: Don't refer to NOTES.
46554 * manual/creature.texi: Don't include macros.texi.
46555 * manual/intro.texi (creature.texi): Remove comment referring to
46556 NOTES.
46557
40b601fb
JM
46558 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46559 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46560 * configure: Regenerated.
46561 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46562 LIBC_TRY_CC_OPTION.
46563 (libc_cv_as_i686): Likewise.
46564 (libc_cv_cc_avx): Likewise.
46565 (libc_cv_cc_sse2avx): Likewise.
46566 (libc_cv_cc_fma4): Likewise.
46567 (libc_cv_cc_novzeroupper): Likewise.
46568 * sysdeps/i386/configure: Regenerated.
46569
1a4ac776
JM
46570 [BZ #13883]
46571 * sysdeps/i386/fpu/s_cexp.S: Remove.
46572 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46574 * math/libm-test.inc (cexp_test): Add more tests.
46575 * sysdeps/i386/fpu/libm-test-ulps: Update.
46576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46577
a458e7fe
AM
465782012-03-21 Allan McRae <allan@archlinux.org>
46579
46580 * timezone/Makefile: Do not install iso3166.tab and zone.tab
46581
0cb7efc5
JM
465822012-03-21 Joseph Myers <joseph@codesourcery.com>
46583
46584 [BZ #13871]
46585 * math/w_exp2.c: Do not include <float.h>.
46586 (o_threshold, u_threshold): Remove.
46587 (__exp2): Calculate result before checking finiteness and calling
46588 __kernel_standard.
46589 * math/w_exp2f.c: Likewise.
46590 * math/w_exp2l.c: Likewise.
46591 * math/libm-test.inc (exp2_test): Require overflow exception for
46592 1e6 input.
2460d3aa
JM
46593
46594 [BZ #3866]
46595 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46596 range of signed 64-bit integers before using fistpll. Remove
46597 checks for whether integers fit in mantissa bits.
46598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46599 the range of signed 32-bit integers before using fistpl. Remove
46600 checks for whether integers fit in mantissa bits.
46601 * sysdeps/i386/fpu/e_powl.S (p64): New object.
46602 (__ieee754_powl): Test for y outside the range of signed 64-bit
46603 integers before using fistpll. Reduce 64-bit values to 63-bit
46604 ones as needed.
46605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46606 divide-by-zero is raised for zero to large negative powers.
46607 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46608 (__ieee754_powl): Test for y outside the range of signed 64-bit
46609 integers before using fistpll. Reduce 64-bit values to 63-bit
46610 ones as needed.
46611 * math/libm-test.inc (pow_test): Add more tests.
46612
eb96ffb0
L
466132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46614
46615 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46616 <stdio-common/_itoa.h>.
46617 * debug/segfault.c: Likewise.
46618 * elf/dl-cache.c: Likewise.
46619 * elf/dl-minimal.c: Likewise.
46620 * elf/dl-misc.c: Likewise.
46621 * elf/dl-sysdep.c: Likewise.
46622 * elf/dl-version.c: Likewise.
46623 * elf/rtld.c: Likewise.
46624 * hurd/hurdsock.c: Likewise.
46625 * hurd/lookup-retry.c: Likewise.
46626 * malloc/malloc.c: Likewise.
46627 * malloc/mtrace.c: Likewise.
46628 * nscd/nscd_getgr_r.c: Likewise.
46629 * nscd/nscd_getpw_r.c: Likewise.
46630 * nscd/nscd_getserv_r.c: Likewise.
46631 * posix/getopt_init.c: Likewise.
46632 * posix/wordexp.c: Likewise.
46633 * stdio-common/_itoa.c: Likewise.
46634 * stdio-common/printf_fphex.c: Likewise.
46635 * stdio-common/vfprintf.c: Likewise.
46636 * string/_strerror.c: Likewise.
46637 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46638 * sysdeps/i386/i686/hp-timing.h: Likewise.
46639 * sysdeps/mach/_strerror.c: Likewise.
46640 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46641 * sysdeps/mach/hurd/sethostid.c: Likewise.
46642 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46643 * sysdeps/mach/xpg-strerror.c: Likewise.
46644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46646 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46647 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46648 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46649 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46651 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46652 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46653 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46654 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46655 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46656 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46657 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46658 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46659 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46660 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46661 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46662 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46663 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46664 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46665
46666 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46667
46668 * stdio-common/_itoa.h: Moved to ...
46669 * sysdeps/generic/_itoa.h: Here.
46670
46671 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46672
46673 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46674 instead of "_itoa.h" and "_itowa.h".
46675 * stdio-common/vfprintf.: Likewise.
46676
d1af992d
L
466772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46678
46679 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46680 <bits/wordsize.h>.
46681 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46682 (__signbit): Likwise.
46683 (llrintf): Likwise.
46684 (llrint): Likwise.
46685
114883e0
L
466862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46687
46688 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46689 __WORDSIZE != 64.
46690
c135cc1b
JM
466912012-03-20 Joseph Myers <joseph@codesourcery.com>
46692
46693 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46694 OVERFLOW_EXCEPTION_OK.
46695 * math/libm-test.inc ("Philosophy"): Update comment about
46696 exception testing.
46697 (OVERFLOW_EXCEPTION): Define.
46698 (OVERFLOW_EXCEPTION_OK): Likewise.
46699 (INVALID_EXCEPTION_OK): Renumber.
46700 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46701 (IGNORE_ZERO_INF_SIGN): Likewise.
46702 (test_exceptions): Handle FE_OVERFLOW.
46703 (exp10_test): Expect overflow exceptions.
46704 (exp2_test): Likewise.
46705 (expm1_test): Likewise.
46706 (nextafter_test): Likewise.
46707 (pow_test): Likewise.
46708 (scalbn_test): Likewise.
46709 (scalbln_test): Likewise.
46710
95443d88
L
467112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46712
46713 * sysdeps/x86_64/bits/atomic.h
46714 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46715 64bit integer.
46716 (atomic_exchange_acq): Likewise.
46717 (__arch_exchange_and_add_body): Likewise.
46718 (__arch_add_body): Likewise.
46719 (atomic_add_negative): Likewise.
46720 (atomic_add_zero): Likewise.
46721
490df6c4
L
467222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46723
c2722551 46724 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46725 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46726
5e52b189
L
467272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46728
46729 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46730 Check __x86_64__ instead of __WORDSIZE.
46731
a9879d4c
L
467322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46733
46734 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46735
5df98260
DM
467362012-03-19 David S. Miller <davem@davemloft.net>
46737
e1497744
DM
46738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46739
5df98260
DM
46740 * sysdeps/sparc/fpu/fenv_private.h: New file.
46741 * sysdeps/sparc/fpu/math_private.h: Use it.
46742 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46743 Remove.
57f41c40 46744 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46745 (libc_feholdexcept_setroundl): Remove.
46746 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46747 Remove.
46748 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46749 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46750
b4c35121
L
467512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46752
46753 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46754 int64_t instead of long int.
46755 (INSERT_WORDS64): Likwise.
46756
56965fd7
L
467572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46758
46759 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46760 _Unwind_GetCFA return to _Unwind_Ptr first.
46761
83d1aec8
JM
467622012-03-19 Joseph Myers <joseph@codesourcery.com>
46763
1897ad44
JM
46764 [BZ #13629]
46765 * math/s_clog.c: Include <float.h>.
46766 (__clog): Scale large or subnormal inputs.
46767 * math/s_clogf.c: Likewise.
46768 * math/s_clogl.c: Likewise.
46769 * math/s_clog10.c: Include <float.h>.
46770 (M_LOG10_2): Define.
46771 (__clog10): Scale large or subnormal inputs.
46772 * math/s_clog10f.c: Likewise.
46773 * math/s_clog10l.c: Likewise.
46774 * math/libm-test.inc (clog_test): Add more tests.
46775 (clog10_test): Likewise.
46776 * sysdeps/i386/fpu/libm-test-ulps: Update.
46777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46778
7726d6a9
JM
46779 [BZ #11451]
46780 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46781 x and y.
46782 * math/libm-test.inc (atan2_test): Add another test.
46783
83d1aec8
JM
46784 * Makerules (common-objdir-compile): Remove.
46785 * sysdeps/unix/Makefile (config-generated): Do not add
46786 $(unix-generated) to variable.
46787 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46788 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46789 Remove rule.
46790 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46791 Likewise.
46792 [generic bits/local_lim.h] (before-compile): Do not append to
46793 variable.
46794 [generic bits/local_lim.h] (common-generated): Likewise.
46795 [generic sys/param.h] (before-compile): Do not append to variable.
46796 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46797 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46799 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46800 include.
46801 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46802 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46803 [generic sys/param.h] ($(addprefix
46804 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46805 [generic sys/param.h] (common-generated): Do not append to
46806 variable.
46807 [generic sys/param.h] (sysdep_headers): Likewise.
46808 [generic bits/errno.h] (before-compile): Do not append to
46809 variable.
46810 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46811 rule.
46812 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46813 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46814 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46815 [generic bits/errno.h] (common-generated): Do not append to
46816 variable.
46817 [generic bits/ioctls.h] (before-compile): Do not append to
46818 variable.
46819 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46820 rule.
46821 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46822 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46823 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46824 rule.
46825 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46826 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46827 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46828 [generic bits/ioctls.h] (common-generated): Do not append to
46829 variable.
46830 [generic sys/syscall.h] (syscall.h): Remove variable.
46831 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46832 rule.
46833 [generic sys/syscall.h] (before-compile): Do not append to
46834 variable.
46835 [generic sys/syscall.h] (common-generated): Likewise.
46836 * sysdeps/unix/errnos-tmpl.c: Remove file.
46837 * sysdeps/unix/errnos.awk: Likewise.
46838 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46839 * sysdeps/unix/ioctls.awk: Likewise.
46840 * sysdeps/unix/mk-local_lim.c: Likewise.
46841 * sysdeps/unix/snarf-ioctls: Likewise.
46842
4851a949
RH
468432012-03-19 Richard Henderson <rth@twiddle.net>
46844
bd37f2ee
RH
46845 * sysdeps/i386/fpu/fenv_private.h: New file.
46846 * sysdeps/i386/fpu/math_private.h: Use it.
46847 (math_opt_barrier, math_force_eval): Remove.
46848 (libc_feholdexcept_setround_53bit): Remove.
46849 (libc_feupdateenv_53bit): Remove.
46850 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46851 (math_opt_barrier, math_force_eval): Remove.
46852 (libc_feholdexcept): Remove.
46853 (libc_feholdexcept_setround): Remove.
46854 (libc_fetestexcept, libc_fesetenv): Remove.
46855 (libc_feupdateenv_test): Remove.
46856 (libc_feupdateenv, libc_feholdsetround): Remove.
46857 (libc_feresetround): Remove.
46858
d0adc922
RH
46859 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46860 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46861
0fe0f1f8
RH
46862 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46863 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46864 (libc_feupdateenv_testl): New.
46865 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46866 (libc_feupdateenv_testf): New.
46867 (libc_feupdateenv): Use libc_feupdateenv_test.
46868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46870
eb92c487
RH
46871 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46872 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46873 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46874 (libc_feresetround_noex): New.
46875 (libc_feresetround_noexf): New.
46876 (libc_feresetround_noexl): New.
46877 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46878 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46879 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46880 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46881 SET_RESTORE_ROUND.
46882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46883 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46884 (__cos): Likewise.
46885 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46886 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46887 SET_RESTORE_ROUND_NOEX.
46888 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46889 SET_RESTORE_ROUND_NOEXF.
46890 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46891 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46892 (libc_feholdsetroundf): New.
46893 (libc_feresetround, libc_feresetroundf): New.
46894
7d2e8012
RH
46895 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46896 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46897 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46898
b4dabbb4
RH
46899 * sysdeps/generic/math_private.h: Include <fenv.h>.
46900 (default_libc_feholdexcept): New.
46901 (default_libc_feholdexcept_setround): New.
46902 (default_libc_fesetenv, default_libc_feupdateenv): New.
46903 (libc_feholdexcept): Only define if undefined.
46904 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46905 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46906 (libc_feholdexcept_setroundl): Likewise.
46907 (libc_feholdexcept_setround_53bit): Likewise.
46908 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46909 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46910 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46911 (libc_feupdateenv_53bit): Likewise.
46912 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46913 (libc_feholdexcept): Convert from macro to inline function.
46914 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46915 (libc_fesetenv, libc_feupdateenv): Likewise.
46916
4851a949
RH
46917 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46918 not previously defined.
46919 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46920 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46921 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46922 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46923 * sysdeps/ieee754/flt-32/math_private.h: New file.
46924 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46925 math_private.h below SET_FLOAT_WORD.
46926 (__isnan, __isinf_ns, __finite): Remove.
46927 (__isnanf, __isinf_nsf, __finitef): Remove.
46928
e79d442e
AS
469292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46930
46931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46932
90b80344
DM
469332012-03-17 David S. Miller <davem@davemloft.net>
46934
46935 [BZ #6471]
46936 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46937 for 2.16.
46938
edc21804
DM
469392012-03-16 David S. Miller <davem@davemloft.net>
46940
77e927af
DM
46941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46942 warnings.
46943
374976dd
DM
46944 [BZ #6471]
46945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46946 properly.
46947 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46948 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46949 sysdep_routines when subdir is sysvipc.
46950 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46951 __getshmlba helper.
46952
edc21804
DM
46953 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46954
473c3ef3
L
469552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46956
46957 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46958 [__LP64__].
46959
eb0f39b6
L
469602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46961
46962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46963 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46964 (__lround): Renamed to ...
46965 (__llround): This. Replace long int with long long int.
46966 Define lround functions as aliases of llround functions.
46967 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46968
6b6cd74b
L
469692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46970
46971 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46972 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46973 adresses to uintptr_t. Replace "long int" and "unsigned long
46974 int" with "greg_t" on va_arg.
46975
f1a77b01
L
469762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46977
46978 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46979 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46980
46981 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46982 Move e_machine check before EI_CLASS check. Handle x32
46983 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46984 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46985 SKIP_EM_IA_64 and include
46986 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46987
46988 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46989 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46990 (add_system_dir): New macro.
46991
46992 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46993 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46994
11b90b9f
JM
469952012-03-16 Joseph Myers <joseph@codesourcery.com>
46996
c36e1d23
JM
46997 [BZ #2551]
46998 [BZ #2552]
46999 [BZ #2553]
47000 [BZ #2554]
47001 [BZ #2562]
47002 [BZ #2563]
47003 [BZ #2565]
47004 [BZ #2566]
47005 [BZ #2576]
47006 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47007 (y0): Likewise.
47008 * math/w_j0f.c (j0f): Likewise.
47009 (y0f): Likewise.
47010 * math/w_j0l.c (__j0l): Likewise.
47011 (__y0l): Likewise.
47012 * math/w_j1.c (j1): Likewise.
47013 (y1): Likewise.
47014 * math/w_j1f.c (j1f): Likewise.
47015 (y1f): Likewise.
47016 * math/w_j1l.c (__j1l): Likewise.
47017 (__y1l): Likewise.
47018 * math/w_jn.c (jn): Likewise.
47019 (yn): Likewise.
47020 * math/w_jnf.c (jnf): Likewise.
47021 (ynf): Likewise.
47022 * math/w_jnl.c (__jnl): Likewise.
47023 (__ynl): Likewise.
47024 * math/libm-test.inc (j0_test): Add more tests.
47025 (j1_test): Likewise.
47026 (jn_test): Likewise. Add trailing semicolon to existing test.
47027 (y0_test): Likewise.
47028 (y1_test): Likewise.
47029 * sysdeps/i386/fpu/libm-test-ulps: Update.
47030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47031
11b90b9f
JM
47032 [BZ #13851]
47033 [BZ #13854]
47034 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47035 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47036 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47038 (__tanl): Set errno for infinite argument.
47039 * sysdeps/i386/fpu/mptan.c: Remove.
47040 * sysdeps/i386/fpu/s_tan.S: Likewise.
47041 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47042 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47043 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47044 * math/libm-test.inc (tan_test): Add more tests and enable more
47045 tests for double and long double.
47046 * sysdeps/i386/fpu/libm-test-ulps: Update.
47047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47048
6a1bd2a1
JK
470492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47050
47051 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47052 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47053
10a803e0
RM
470542012-03-16 Roland McGrath <roland@hack.frob.com>
47055
47056 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47057 * configure.in: Use it for both main tree and add-ons.
47058 * configure: Regenerated.
47059
f196c7f7
L
470602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47061
47062 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47063
8848d99d
JM
470642012-03-16 Joseph Myers <joseph@codesourcery.com>
47065
96cbe7f4
JM
47066 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47067 in comment.
47068
8848d99d
JM
47069 [BZ #13851]
47070 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47071 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47072 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47073 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47074 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47075 infinite argument.
47076 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47078 != 0 for prec == 2.
47079 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47080 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47081 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47082 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47083 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47084 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47085 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47086 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47087 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47088 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47089 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47090 * math/libm-test.inc (cos_test): Add more tests and enable more
47091 tests for long double.
47092 (sin_test): Likewise.
47093 (sincos_test): Likewise.
47094 * sysdeps/i386/fpu/libm-test-ulps: Update.
47095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47096
dd7f4703
DM
470972012-03-16 David S. Miller <davem@davemloft.net>
47098
47099 * sysdeps/sparc/fpu/math_private.h: New file.
47100
006f1daa
DM
471012012-03-15 David S. Miller <davem@davemloft.net>
47102
c0c83bc8
DM
47103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47104 file.
e6a62e18 47105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
47106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47107 file.
e6a62e18
DM
47108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47113 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47114 sysdep routines.
47115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47116
88cb87d9
DM
47117 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47118 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47119
006f1daa 47120 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
47121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47122 sparc-ifunc.h
006f1daa 47123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
47124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47125 Likewise.
47126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47127 Likewise.
006f1daa
DM
47128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
47131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47132 Likewise.
006f1daa
DM
47133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
47137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47138 Likewise.
47139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47140 Likewise.
006f1daa
DM
47141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47146 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47148 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47150 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47158 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47160 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47162 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47164 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47165
11e0098e
AS
471662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47167
47168 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47169 scaling.
47170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47171
e85b09d0
AJ
471722012-03-15 Andreas Jaeger <aj@suse.de>
47173
47174 [BZ #13852]
47175 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47176 ieee754/flt-32 implementation for sin, cos and sincos.
47177 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47178 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47179 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47180 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47181 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47182 ieee754/flt-32 implementation for tan.
47183
47184 * math/libm-test.inc (cos_test): Enable some large input tests for
47185 float as well
47186 (sin_test): Likewise.
47187 (sincos_test): Likewise.
47188 (tan_test): Add tests for large input.
47189
47190 * sysdeps/i386/fpu/libm-test-ulps: Update.
47191
81c64153
AJ
471922012-03-15 Andreas Jaeger <aj@suse.de>
47193
47194 [BZ #13658]
47195 * math/libm-test.inc (cos_test): Add more test cases.
47196 (sin_test): Likewise.
47197 (sincos_test): Likewise.
47198
7bbfa5c6
AJ
471992012-03-15 Andreas Jaeger <aj@suse.de>
47200
47201 [BZ #13837]
47202 * math/libm-test.inc (cos_test): Add a test case for large input
47203 value.
47204 (sin_test): Likewise.
47205 (sincos_test): Likewise.
47206
57f41c40
AS
472072012-03-15 Andreas Jaeger <aj@suse.de>
47208 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
47209
47210 [BZ #13658]
0671f479 47211 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
47212 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47213 * sysdeps/i386/fpu/branred.c: Likewise.
47214 * sysdeps/i386/fpu/dosincos.c: Likewise.
47215 * sysdeps/i386/fpu/mpa.c: Likewise.
47216 * sysdeps/i386/fpu/s_cos.S: Likewise.
47217 * sysdeps/i386/fpu/s_sin.S: Likewise.
47218 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47219 * sysdeps/i386/fpu/sincos32.c: Likewise.
47220
47221 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47222 Define.
47223 (libc_feupdateenv_53bit): Define.
47224 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47225 Define.
47226 (libc_feupdateenv_53bit): Define.
47227
47228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47229 53 bit (without extend i386 double precision).
47230
47231 * math/libm-test.inc (sincos_test): Add tests for large input.
47232 (sin): Likewise.
47233 (cos): Likewise.
47234
47235 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47236
9cad04ea
AS
472372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47238
47239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47240
f7062b9a
DM
472412012-03-15 David S. Miller <davem@davemloft.net>
47242
47243 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47244 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47245 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47246 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
47258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47259 file.
f7062b9a 47260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
47261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47262 file.
f7062b9a 47263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
47264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47265 file.
f7062b9a 47266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
47267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47268 file.
f7062b9a
DM
47269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47271 fmin/fmax sysdep routines.
47272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47273
7bd951ff
DM
472742012-03-14 David S. Miller <davem@davemloft.net>
47275
559398ab
DM
47276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47287 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47299 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47305 routines.
47306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47307 file.
559398ab 47308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
47309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47310 file.
559398ab 47311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
47312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47313 file.
559398ab 47314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
47315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47316 file.
559398ab 47317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
47318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47319 file.
559398ab 47320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
47321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47322 file.
47323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47324 file.
47325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47326 file.
47327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47328 file.
47329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47330 New file.
47331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47332 file.
47333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47334 file.
559398ab 47335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
47336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47337 file.
559398ab 47338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
47339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47340 file.
559398ab 47341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
47342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47343 file.
559398ab 47344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
47345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47346 VIS3 routines.
559398ab
DM
47347
47348 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47349 New file.
47350
5a1c1e32
DM
47351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47352
eae47a36
DM
47353 * sysdeps/sparc/configure.in: New file.
47354 * sysdeps/sparc/configure: Generate.
47355 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47356 * configure: Regenerate.
47357 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47358 * config.make.in (have-as-vis3): New.
47359 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47360 available use -Av9d instead of -Av9a.
47361 * sysdeps/sparc/sparc64/Makefile: Likewise.
47362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
47363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47364 New file.
47365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47366 file.
47367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47368 New file.
47369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47370 file.
eae47a36
DM
47371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47375 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47376
c0c83bc8
DM
47377 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47378 fzeros/fnegs to load 0x80000000 into a float register instead of
47379 using the stack.
7bd951ff
DM
47380 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47381
bd951ccb
JM
473822012-03-14 Joseph Myers <joseph@codesourcery.com>
47383
47384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47385 bits/syscall.h.
47386 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47387 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47388 ($(inst_includedir)/bits/syscall.h): Remove rule.
47389 ($(objpfx)bits/syscall.d): Include instead of
47390 $(objpfx)syscall-list.d.
47391 (generated): Change syscall-list.h and syscall-list.d to
47392 bits/syscall.h and bits/syscall.d.
47393
bb4e6db2
RM
473942012-03-14 Roland McGrath <roland@hack.frob.com>
47395
47396 [BZ #13846]
47397 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47398
aa4a2ae1
JM
473992012-03-14 Joseph Myers <joseph@codesourcery.com>
47400
e456826d
JM
47401 [BZ #13841]
47402 * math/s_csqrt.c: Include <float.h>.
47403 (__csqrt): Scale large or subnormal inputs.
47404 * math/s_csqrtf.c: Likewise.
47405 * math/s_csqrtl.c: Likewise.
47406 * math/libm-test.inc (csqrt_test): Add more tests.
47407 * sysdeps/i386/fpu/libm-test-ulps: Update.
47408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47409
aa4a2ae1
JM
47410 [BZ #13840]
47411 * math/libm-test.inc (hypot_test): Add more tests.
47412
7c10fd35
DM
474132012-03-13 David S. Miller <davem@davemloft.net>
47414
47415 [BZ #13840]
47416 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47417 double-precision for the calculation instead of scaling.
47418
f453b98b
JM
474192012-03-13 Joseph Myers <joseph@codesourcery.com>
47420
47421 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47422 manipulate bits before adding and subtracting TWO52[sx].
47423 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47424 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47425 Likewise.
47426 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47427
09a3453f
DM
474282012-03-13 David S. Miller <davem@davemloft.net>
47429
8e59da90
DM
47430 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47431 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47433 rtld-global-offsets.h
47434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47435
2a8ab7f2
DM
47436 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47437 large parameters.
47438
10f62770
DM
47439 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47440
5f0bdb18
DM
47441 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47442 'err' in the ifdef scope in which it is actually used.
47443
09a3453f
DM
47444 * nss/nss_db/db-init.c: Include string.h
47445
b4b2eb5e
DM
474462012-03-12 David S. Miller <davem@davemloft.net>
47447
98bb2f1c
DM
47448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47449 masking out of the most significant byte of random value used.
47450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47451 Fix coding style in previous change.
47452
b4b2eb5e
DM
47453 * sysdeps/unix/sysv/linux/kernel-features.h
47454 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47455 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47456 expression.
47457 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47458 later.
47459
6e226b09
DM
474602012-03-11 David S. Miller <davem@davemloft.net>
47461
a1bcbd40
DM
47462 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47463 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47465 for 'resultvar' otherwise things get truncated on 64-bit.
47466
cb9d6174
DM
47467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47468 Fix masking out of the most significant byte of random value used.
47469
6e226b09
DM
47470 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47471
058c132d
AS
474722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47473
47474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47475
2d2cd515
DM
474762012-03-09 David S. Miller <davem@davemloft.net>
47477
47478 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47479 variables with appropriate CPP guards.
57f41c40
AS
47480 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47481 from the frame pointer, not the stack pointer. Correct layout
47482 comments. Fix test on resulting framesize and the management of
47483 the outregs buffer for pltexit. Preserve floating point return
47484 values across _dl_call_pltexit call.
2d2cd515
DM
47485 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47486 framesize and the management of the outregs buffer for pltexit.
47487 Preserve floating point return values across _dl_call_pltexit
47488 call.
57f41c40
AS
47489 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47490 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47491 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
47492 (print_exit): Fix format string for return register value.
47493
9a07f9d0
JM
474942012-03-10 Joseph Myers <joseph@codesourcery.com>
47495
47496 * sunrpc/Makefile (others): Add rpcgen.
47497 ($(objpfx)rpcgen): Remove special build rule and dependency on
47498 libc.
47499 * sunrpc/rpcgen.c: New file.
47500
547b5e30
PE
475012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47502
c524201a
PE
47503 [BZ #13673]
47504 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47505 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47506 * sysdeps/i386/crti.S: Likewise.
47507 * sysdeps/i386/crtn.S: Likewise.
47508 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47509 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47510 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47511 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47512 * sysdeps/sh/crti.S: Likewise.
47513 * sysdeps/sh/crtn.S: Likewise.
47514 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47515
7b6235f2
PE
47516 [BZ #13673]
47517 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47518 with URL.
47519 * locale/programs/locfile-kw.gperf: Likewise.
47520 * locale/programs/charmap-kw.h: Regenerated.
47521 * locale/programs/locfile-kw.h: Likewise.
47522
547b5e30
PE
47523 [BZ #13673]
47524 * intl/plural.y: Replace FSF snail mail address with URL.
47525 * intl/plural.c: Regenerated.
47526
5f0a5dae
RH
475272012-03-09 Richard Henderson <rth@twiddle.net>
47528
47529 * include/math_private.h: Remove file.
47530 * math/math_private.h: Move file ...
47531 * sysdeps/generic/math_private.h: ... here.
47532
b8c03620
RH
47533 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47534 * sysdeps/powerpc/fpu/math_private.h: Likewise.
47535 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47536
4e234f5d 47537 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
47538 and <math_private.h>.
47539 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47540 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47541 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47542 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47543 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47544 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47545 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47547 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47548 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47551 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47552 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47553 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47554 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47555 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47556 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47557 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47558 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47560 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47561 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47563 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47564 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47565 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47568 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47569 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47570 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47571 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47572 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47573 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47574 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47575 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47576 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47577 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47579 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47580 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47581 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47582 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47583 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47584 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47585 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47586 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47587 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47588 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47589 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47590 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47591 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47592 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47593 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47594 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47595 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47596 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47597 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47598 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47599 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47600 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47602 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47603 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47604 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47605 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47606 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47607 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47610 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47613 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47618 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47619 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47620 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47621 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47622 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47623 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47625 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47626 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47627 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47628 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47629 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47630 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47631 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47633 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47634 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47635 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47636 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47637 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47639 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47640 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47641 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47642 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47643 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47644 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47645 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47646 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47647 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47648 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47649 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47650 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47651 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47652 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47653 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47654 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47655 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47656 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47657 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47658 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47659 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47660 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47661 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47662 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47663 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47664 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47665 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47666 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47667 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47668 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47669 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47670 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47671 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47672 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47673 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47674 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47675 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47676 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47677 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47678 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47679 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47680 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47681 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47682 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47683 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47684 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47685 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47686 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47687 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47688 * sysdeps/ieee754/k_standard.c: Likewise.
47689 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47690 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47692 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47693 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47694 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47696 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47701 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47702 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47703 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47704 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47705 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47706 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47707 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47708 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47709 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47710 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47712 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47714 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47715 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47716 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47717 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47718 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47719 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47720 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47721 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47722 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47723 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47724 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47725 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47726 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47727 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47728 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47729 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47730 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47731 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47733 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47734 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47735 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47737 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47738 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47740 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47741 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47742 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47744 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47745 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47746 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47747 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47748 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47749 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47750 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47751 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47752 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47754 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47755 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47756 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47757 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47759 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47760 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47761 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47763 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47764 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47765 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47766 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47767 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47768 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47769 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47770 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47771 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47772 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47773 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47774 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47775 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47776 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47777 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47779 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47780 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47781 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47782 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47783 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47784 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47785 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47786 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47787 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47788 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47791 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47792 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47793 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47796 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47797 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47798 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47799 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47800 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47801 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47803 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47805 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47807 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47808 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47810 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47811 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47812 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47813 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47814 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47815 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47816 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47817 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47819 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47820 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47821 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47822 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47823 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47824 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47825 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47826 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47827 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47828 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47829 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47831 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47832 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47833 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47834 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47835 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47838 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47839 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47840 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47842 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47843 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47844 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47845 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47846 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47847 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47848 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47849 * sysdeps/ieee754/s_lib_version.c: Likewise.
47850 * sysdeps/ieee754/s_matherr.c: Likewise.
47851 * sysdeps/ieee754/s_signgam.c: Likewise.
47852 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47853 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47854 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47855 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47856 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47857 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47858 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47859 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47860 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47861 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47862 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47863 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47864 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47865 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47866 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47867 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47868 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47869 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47870 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47873
1991fa03
JM
478742012-03-09 Joseph Myers <joseph@codesourcery.com>
47875
47876 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47877 * sunrpc/rpc_main.c: Likewise.
47878 * sunrpc/rpc_svcout.c: Likewise.
47879
60d6f5a6
DM
478802012-03-09 David S. Miller <davem@davemloft.net>
47881
47882 * include/math_private.h: New file.
47883
4962050e
JM
478842012-03-09 Joseph Myers <joseph@codesourcery.com>
47885
02a6f887
JM
47886 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47887 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47888 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47889 from <bits/socket_type.h>.
47890 (enum __socket_type): Don't define here.
47891 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47893 bits/socket_type.h.
47894
c6e013c1
JM
47895 [BZ #13566]
47896 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47897 checking __USE_GNU.
47898
4962050e
JM
47899 * Makerules ($(inst_includedir)/%.h): New rule.
47900 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47901 (install-others): Remove variable setting.
47902 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47903
38842f45
RH
479042012-03-08 Richard Henderson <rth@twiddle.net>
47905
67bb6da6
RH
47906 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47907 from macro to inline function; merge with the
47908 !__LIBC_INTERNAL_MATH_INLINES version.
47909 (__ieee754_sqrtf): Likewise.
47910
15194b4b
RH
47911 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47912 to inline function.
47913 (__rintf, __floor, __floorf): Likewise.
47914
64e21ede
RH
47915 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47916 macro to inline function.
47917 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47918
38842f45
RH
47919 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47920 not <math/math_private.h>.
47921
c64bf5fe
DM
479222012-03-08 David S. Miller <davem@davemloft.net>
47923
47924 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47925 copyright year.
47926 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47927
82d86f28
TS
479282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47929
47930 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47931 normalization.
47932 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47933 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47934
aea5d727
UD
479352012-03-08 Ulrich Drepper <drepper@gmail.com>
47936
47937 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47938 be defined individually, they must be defined as a block. Define
47939 S for printing a string instead of hidint the different by using a
47940 macro for adding the 'l'.
47941 * stdio-common/tst-fphex-wide.c: Adjust.
47942
70bca0a3
MP
479432012-03-07 Marek Polacek <polacek@redhat.com>
47944
47945 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47946
65b81130
MP
479472012-03-08 Marek Polacek <polacek@redhat.com>
47948
47949 [BZ #13806]
47950 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47951 * stdio-common/tst-fphex.c: Define a few macros to make the
47952 test reusable. Use them.
47953 * stdio-common/tst-fphex-wide.c: New file.
47954
07037eeb
JM
479552012-03-08 Joseph Myers <joseph@codesourcery.com>
47956
a7a93d50
JM
47957 [BZ #6911]
47958 * manual/macros.texi (gnusystems): New macro.
47959 (nongnusystems): Likewise.
47960 (gnulinuxhurdsystems): Likewise.
47961 (gnuhurdsystems): Likewise..
47962 (gnulinuxsystems): Likewise.
47963 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47964 variants of the GNU system, not "GNU system".
47965 * manual/conf.texi: Likewise.
47966 * manual/errno.texi: Likewise. Update example of errno macro
47967 expansion.
47968 * manual/filesys.texi: Likewise.
47969 (getumask): Document as specific to GNU/Hurd.
47970 * manual/install.texi: Likewise. Reword some references to
47971 GNU/Linux.
47972 * manual/intro.texi: Likewise.
47973 * manual/io.texi: Likewise.
47974 (File Name Portability): Detail which constraints are inapplicable
47975 to all GNU systems and which are only inapplicable to GNU/Hurd.
47976 * manual/job.texi: Likewise.
47977 * manual/llio.texi: Likewise.
47978 (O_NOCTTY): Document as present on GNU/Linux.
47979 * manual/maint.texi: Likewise.
47980 * manual/memory.texi: Likewise.
47981 * manual/pattern.texi: Likewise.
47982 * manual/pipe.texi: Likewise.
47983 * manual/process.texi: Likewise.
47984 * manual/resource.texi: Likewise.
47985 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47986 child on GNU/Hurd.
47987 * manual/setjmp.texi: Likewise.
47988 * manual/signal.texi: Likewise.
47989 * manual/startup.texi: Likewise.
47990 * manual/stdio.texi: Likewise.
47991 * manual/terminal.texi: Likewise.
47992 (ONLCR): Document as POSIX.
47993 (OXTABS): Document availability on GNU/Linux as XTABS.
47994 (ONOEOT): Document availability separately from other bits.
47995 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47996 * manual/time.texi: Likewise.
47997 * manual/users.texi: Likewise.
47998 * INSTALL: Regenerated.
47999 * sysdeps/gnu/errlist.c: Regenerated.
48000
07037eeb
JM
48001 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48002 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48003 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48004 puts.
48005 * configure: Regenerated.
48006
d1d3431a
JM
480072012-03-07 Joseph Myers <joseph@codesourcery.com>
48008
af6a1e37
JM
48009 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48010 default includes instead of AC_HEADER_CHECK.
48011 * sysdeps/i386/configure: Regenerated.
48012
d1d3431a
JM
48013 [BZ #10716]
48014 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48015 * math/s_cacoshf.c (__cacoshf): Likewise.
48016 * math/s_cacoshl.c (__cacoshl): Likewise.
48017 * math/s_casinh.c (__casinh): Set signs of result from argument.
48018 * math/s_casinhf.c (__casinhf): Likewise.
48019 * math/s_casinhl.c (__casinhl): Likewise.
48020 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48021 (casinh_test): Add more tests.
48022 * sysdeps/i386/fpu/libm-test-ulps: Update.
48023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48024
482ff4da
UD
480252012-03-07 Ulrich Drepper <drepper@gmail.com>
48026
872fda05
UD
48027 * po/zh_TW.po: Update from translation team.
48028
a4300c7a
UD
48029 * login/Makefile (distribute): Remove variable.
48030 * catgets/Makefile: Likewise.
48031 * mach/Makefile: Likewise.
48032 * malloc/Makefile: Likewise.
48033 * misc/Makefile: Likewise.
48034 * iconv/Makefile: Likewise.
48035 * nscd/Makefile: Likewise.
48036 * hurd/Makefile: Likewise.
48037 * manual/Makefile: Likewise.
48038 * locale/Makefile: Likewise.
48039 * intl/Makefile: Likewise.
48040 * conform/Makefile: Likewise.
48041 * nss/Makefile: Likewise.
48042 * time/Makefile: Likewise.
48043 * soft-fp/Makefile: Likewise.
48044 * dirent/Makefile: Likewise.
48045 * gmon/Makefile: Likewise.
48046 * po/Makefile: Likewise.
48047 * rt/Makefile: Likewise.
48048 * socket/Makefile: Likewise.
48049 * math/Makefile: Likewise.
48050 * signal/Makefile: Likewise.
48051 * debug/Makefile: Likewise.
48052 * elf/Makefile: Likewise.
48053 * timezone/Makefile: Likewise.
48054 * stdlib/Makefile: Likewise.
48055 * iconvdata/Makefile: Likewise.
48056 * sunrpc/Makefile: Likewise.
48057 * io/Makefile: Likewise.
48058 * argp/Makefile: Likewise.
48059 * inet/Makefile: Likewise.
48060 * hesiod/Makefile: Likewise.
48061 * grp/Makefile: Likewise.
48062 * csu/Makefile: Likewise.
48063 * wctype/Makefile: Likewise.
48064 * crypt/Makefile: Likewise.
48065 * libio/Makefile: Likewise.
48066 * string/Makefile: Likewise.
48067 * nis/Makefile: Likewise.
48068 * resolv/Makefile: Likewise.
48069 * stdio-common/Makefile: Likewise.
48070 * wcsmbs/Makefile: Likewise.
48071 * dlfcn/Makefile: Likewise.
48072 * posix/Makefile: Likewise.
48073
3b7c4e74 48074 [BZ #6959]
482ff4da
UD
48075 * timezone/Makefile: Don't install timezone files, just the programs
48076 and scripts.
48077
f72ed77d
UD
480782012-03-06 Ulrich Drepper <drepper@gmail.com>
48079
a000466f
UD
48080 * nss/databases.def: Add missing gshadow entry.
48081
f72ed77d
UD
48082 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48083
a53b7a4e
MP
480842012-03-06 Marek Polacek <polacek@redhat.com>
48085
48086 [BZ #13726]
48087 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48088 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48089 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48090 * stdio-common/tst-long-dbl-fphex.c: New file.
48091
e9258400
DM
480922012-03-06 David S. Miller <davem@davemloft.net>
48093
48094 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48095 (set_obp_int): New function.
48096 (get_obp_int): New function.
48097 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
48098 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48099 Avoid unused variable warnings on 'val' and use builtin_expect.
48100 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48101 __builtin_expect.
e9258400
DM
48102 (INLINE_CLONE_SYSCALL): Likewise.
48103
3bd2c723
DM
481042012-03-05 David S. Miller <davem@davemloft.net>
48105
48106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48107
bbb78d03
AS
481082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48109
884c5db4
AS
48110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48111
bbb78d03
AS
48112 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48113 only for |x| >= 40.
48114 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48115
1c9f702a 481162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
48117
48118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48119 Replace gettimeofday with __vdso_gettimeofday.
48120
7be16f82
RM
48121 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48122 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48123 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
48124
48125 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48126 time with __vdso_time.
48127
ed58a00f
JM
481282012-03-05 Joseph Myers <joseph@codesourcery.com>
48129
48130 * manual/lang.texi (size_t): Note types to which size_t may be
48131 equivalent with the GNU C Library, but do not describe when
48132 differences between them are significant.
48133
30ee4ced
AJ
481342012-03-05 Andreas Jaeger <aj@suse.de>
48135
48136 * sysdeps/i386/fpu/libm-test-ulps: Update.
48137
b7cd39e8
JM
481382012-03-05 Joseph Myers <joseph@codesourcery.com>
48139
48140 [BZ #3976]
48141 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48142 (__ieee754_pow): Save and restore rounding mode and use
48143 round-to-nearest for main computations.
48144 * math/libm-test.inc (pow_test_tonearest): New function.
48145 (pow_test_towardzero): Likewise.
48146 (pow_test_downward): Likewise.
48147 (pow_test_upward): Likewise.
48148 (main): Call the new functions.
48149 * sysdeps/i386/fpu/libm-test-ulps: Update.
48150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
48151
48152 [BZ #3976]
48153 * math/libm-test.inc (cosh_test_tonearest): New function.
48154 (cosh_test_towardzero): Likewise.
48155 (cosh_test_downward): Likewise.
48156 (cosh_test_upward): Likewise.
48157 (sinh_test_tonearest): Likewise.
48158 (sinh_test_towardzero): Likewise.
48159 (sinh_test_downward): Likewise.
48160 (sinh_test_upward): Likewise.
48161 (main): Call the new functions.
48162 * sysdeps/i386/fpu/libm-test-ulps: Update.
48163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48164
6c6a98c9
TV
481652012-03-05 Tom de Vries <tom@codesourcery.com>
48166
48167 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48168 default stack guard is set in last bytes.
48169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48170
21bb2d2e 481712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 48172
21bb2d2e 48173 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 48174
21bb2d2e
AJ
48175 [BZ #13656]
48176 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48177 possibly allocate from heap instead of stack.
48178 * stdio-common/bug-vfprintf-nargs.c: New file.
48179 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 48180
c6922934
AS
481812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48182
48183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48184
bc957d53
MP
481852012-03-03 Marek Polacek <polacek@redhat.com>
48186
48187 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48188 * math/math_private.h: Likewise.
48189 * stdlib/tst-strtod.c: Likewise.
48190 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48191 * sysdeps/x86_64/bits/atomic.h: Likewise.
48192
6358490d
DM
481932012-03-02 David S. Miller <davem@davemloft.net>
48194
48195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48199 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48200 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48201 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48202 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48203
01ae168d
RM
482042012-03-02 Roland McGrath <roland@hack.frob.com>
48205
d9a17c07
RM
48206 [BZ #13792]
48207 * manual/examples/README: New file, says the example source files
48208 can be used under GPL>=2.
48209 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48210 line containing just "*/".
48211 * manual/examples/add.c: Add copyright header (GPL>=2).
48212 * manual/examples/argp-ex1.c: Likewise.
48213 * manual/examples/argp-ex2.c: Likewise.
48214 * manual/examples/argp-ex3.c: Likewise.
48215 * manual/examples/argp-ex4.c: Likewise.
48216 * manual/examples/atexit.c: Likewise.
48217 * manual/examples/db.c: Likewise.
48218 * manual/examples/dir.c: Likewise.
48219 * manual/examples/dir2.c: Likewise.
48220 * manual/examples/execinfo.c: Likewise.
48221 * manual/examples/filecli.c: Likewise.
48222 * manual/examples/filesrv.c: Likewise.
48223 * manual/examples/fmtmsgexpl.c: Likewise.
48224 * manual/examples/genpass.c: Likewise.
48225 * manual/examples/inetcli.c: Likewise.
48226 * manual/examples/inetsrv.c: Likewise.
48227 * manual/examples/isockad.c: Likewise.
48228 * manual/examples/longopt.c: Likewise.
48229 * manual/examples/memopen.c: Likewise.
48230 * manual/examples/memstrm.c: Likewise.
48231 * manual/examples/mkfsock.c: Likewise.
48232 * manual/examples/mkisock.c: Likewise.
48233 * manual/examples/mygetpass.c: Likewise.
48234 * manual/examples/pipe.c: Likewise.
48235 * manual/examples/popen.c: Likewise.
48236 * manual/examples/rprintf.c: Likewise.
48237 * manual/examples/search.c: Likewise.
48238 * manual/examples/select.c: Likewise.
48239 * manual/examples/setjmp.c: Likewise.
48240 * manual/examples/sigh1.c: Likewise.
48241 * manual/examples/sigusr.c: Likewise.
48242 * manual/examples/stpcpy.c: Likewise.
48243 * manual/examples/strdupa.c: Likewise.
48244 * manual/examples/strftim.c: Likewise.
48245 * manual/examples/strncat.c: Likewise.
48246 * manual/examples/subopt.c: Likewise.
48247 * manual/examples/swapcontext.c: Likewise.
48248 * manual/examples/termios.c: Likewise.
48249 * manual/examples/testopt.c: Likewise.
48250 * manual/examples/testpass.c: Likewise.
48251 * manual/examples/timeval_subtract.c: Likewise.
48252
01ae168d
RM
48253 [BZ #13792]
48254 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48255 function to ...
48256 * manual/timeval_subtract.c.texi: ... here, new file.
48257
49efa33d
DM
482582012-03-02 David S. Miller <davem@davemloft.net>
48259
48260 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48261
28afd92d
JM
482622012-03-02 Joseph Myers <joseph@codesourcery.com>
48263
804360ed
JM
48264 [BZ #3976]
48265 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48266 (__sin): Save and restore rounding mode and use round-to-nearest
48267 for all computations.
48268 (__cos): Save and restore rounding mode and use round-to-nearest
48269 for all computations.
48270 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48271 <fenv.h>.
48272 (tan): Save and restore rounding mode and use round-to-nearest for
48273 all computations.
48274 * math/libm-test.inc (cos_test_tonearest): New function.
48275 (cos_test_towardzero): Likewise.
48276 (cos_test_downward): Likewise.
48277 (cos_test_upward): Likewise.
48278 (sin_test_tonearest): Likewise.
48279 (sin_test_towardzero): Likewise.
48280 (sin_test_downward): Likewise.
48281 (sin_test_upward): Likewise.
48282 (tan_test_tonearest): Likewise.
48283 (tan_test_towardzero): Likewise.
48284 (tan_test_downward): Likewise.
48285 (tan_test_upward): Likewise.
48286 (main): Call the new functions.
48287 * sysdeps/i386/fpu/libm-test-ulps: Update.
48288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48289
a6d06d7b
JM
48290 [BZ #10135]
48291 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48292 small n, then large n, before computing and testing k+n.
48293 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48294 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48295 Likewise.
48296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48297 Likewise.
48298 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48299 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48300 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48301 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48302 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48303 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48304 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48305 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48306 * math/libm-test.inc (scalbn_test): Add more tests.
48307 (scalbln_test): Likewise.
48308
07e12bb3
JM
48309 * manual/filesys.texi (mode_t): Describe constraints on size and
48310 signedness, not exact equivalence to a particular type.
48311 (ino_t): Likewise.
48312 (ino64_t): Likewise.
48313 (dev_t): Likewise.
48314 (nlink_t): Likewise.
48315 (blkcnt_t): Likewise.
48316 (blkcnt64_t): Likewise.
48317 * manual/llio.texi (off_t): Likewise.
48318
28afd92d
JM
48319 [BZ #3976]
48320 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48321 (__ieee754_exp): Save and restore rounding mode and use
48322 round-to-nearest for all computations.
48323 * math/libm-test.inc (exp_test_tonearest): New function.
48324 (exp_test_towardzero): Likewise.
48325 (exp_test_downward): Likewise.
48326 (exp_test_upward): Likewise.
48327 (main): Call the new functions.
48328 * sysdeps/i386/fpu/libm-test-ulps: Update.
48329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48330
b1eeb65d
CD
483312012-03-01 Chris Demetriou <cgd@google.com>
48332
48333 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48334 have predictable order.
48335
53362a4b
DM
483362012-03-01 David S. Miller <davem@davemloft.net>
48337
3c969083
DM
48338 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48339
759707de
DM
48340 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48341 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48342 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48343 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48344
dfdb8ff2
DM
48345 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48346 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48347 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48349 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48350 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48351 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48352 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48353 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48354
ead89f96
DM
48355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48356
7f66bd07
DM
48357 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48358 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48359 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48360
53362a4b
DM
48361 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48362 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48363 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48364 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48365 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48367 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48368 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48369 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48370 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48371 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48373 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48377 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48378 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48379 * sysdeps/sparc/elf/configure: Regenerated.
48380
7b1902cb
JM
483812012-03-01 Joseph Myers <joseph@codesourcery.com>
48382
bec039bc
JM
48383 * configure.in (AS, LD): Require binutils 2.20 or later.
48384 * configure: Regenerated.
48385 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48386 as required minimum version.
48387 * INSTALL: Regenerated.
48388
7b1902cb
JM
48389 [BZ #2541]
48390 [BZ #4108]
48391 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48392 before squaring exponent.
48393 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48394 bottom long double and 27 bits of top long double before squaring
48395 exponent.
48396 * math/libm-test.inc (erfc_test): Add more tests.
48397 * sysdeps/i386/fpu/libm-test-ulps: Update.
48398 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48400
f775c276
KT
484012012-03-01 Kai Tietz <ktietz@redhat.com>
48402
48403 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48404 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48405 containing bit-fields.
48406 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48407 * soft-fp/single.h (_FP_UNION_S): Likewise.
48408 * soft-fp/double.h (_FP_UNION_D): Likewise.
48409
5b8a4d4a
JM
484102012-02-29 Joseph Myers <joseph@codesourcery.com>
48411
0bab47b6
JM
48412 [BZ #13786]
48413 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48414 not include ../strcmp.S.
48415 [USE_AS_STRNCASECMP_L]: Likewise.
48416 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48417 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48418 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48419 (__strncasecmp_l_ia32): Define as alias to
48420 __strncasecmp_l_nonascii.
48421
0fcad3e2
JM
48422 [BZ #5794]
48423 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48424 * sysdeps/i386/fpu/libm-test-ulps: Update.
48425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48426
5b8a4d4a
JM
48427 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48429
8fdceb2e
JL
484302012-02-29 Jeff Law <law@redhat.com>
48431
48432 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48433 out of bounds read.
48434
1f393a11
MP
484352012-02-29 Marek Polacek <polacek@redhat.com>
48436
48437 [BZ #13706]
48438 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48439 * elf/Makefile: Add rules to run tst-unused-dep.out.
48440
8847f037
DM
484412012-02-28 David S. Miller <davem@davemloft.net>
48442
48443 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48444 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48446 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48447 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48448 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48449
169d7f11
JM
484502012-02-29 Joseph Myers <joseph@codesourcery.com>
48451
48452 * math/libm-test.inc (llround_test): Move one test from
48453 lround_test. Use TEST_f_L in moved test.
48454 (lround_test): Move misplaced test to llround_test. Add testcase
48455 from bug 2561.
48456
39adf059
UD
484572012-02-28 Ulrich Drepper <drepper@gmail.com>
48458
48459 * sysdeps/x86_64/fpu/e_expf.S: New file.
48460 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48461
71b5d1c5
SB
484622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48463
48464 [BZ #13637]
48465 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48466 of remain_len that may cause incomplete multi-byte character and
48467 false match.
48468 * posix/bug-regex33.c: New file.
48469 * posix/Makefile (tests): Add bug-regex33.
48470
1f77f049
JM
484712012-02-28 Joseph Myers <joseph@codesourcery.com>
48472
48473 * manual/macros.texi: New file.
48474 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48475 * manual/libc.texinfo: Include macros.texi.
48476 * manual/creatute.texi: Likewise.
48477 * manual/install.texi: Likewise.
48478 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48479 @glibcadj{} in references to the GNU C Library.
48480 * manual/charset.texi: Likewise.
48481 * manual/conf.texi: Likewise.
48482 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48483 when not using those macros.
48484 * manual/creature.texi: Likewise.
48485 * manual/crypt.texi: Likewise.
48486 * manual/errno.texi: Likewise.
48487 * manual/filesys.texi: Likewise.
48488 * manual/header.texi: Likewise.
48489 * manual/install.texi: Likewise.
48490 * manual/intro.texi: Likewise.
48491 * manual/io.texi: Likewise.
48492 * manual/job.texi: Likewise.
48493 * manual/lang.texi: Likewise.
48494 * manual/libc.texiinfo: Likewise.
48495 * manual/llio.texi: Likewise.
48496 * manual/locale.texi: Likewise.
48497 * manual/maint.texi: Likewise.
48498 * manual/math.texi: Likewise.
48499 * manual/memory.texi: Likewise.
48500 * manual/message.texi: Likewise.
48501 * manual/nss.texi: Likewise.
48502 * manual/pattern.texi: Likewise.
48503 * manual/process.texi: Likewise.
48504 * manual/resource.texi: Likewise.
48505 * manual/search.texi: Likewise.
48506 * manual/setjmp.texi: Likewise.
48507 * manual/signal.texi: Likewise.
48508 * manual/socket.texi: Likewise.
48509 * manual/startup.texi: Likewise.
48510 * manual/stdio.texi: Likewise.
48511 * manual/string.texi: Likewise.
48512 * manual/sysinfo.texi: Likewise.
48513 * manual/syslog.texi: Likewise.
48514 * manual/terminal.texi: Likewise.
48515 * manual/time.texi: Likewise.
48516 * manual/users.texi: Likewise.
48517 * INSTALL: Regenerated.
48518 * NOTES: Regenerated.
d40c5d54 48519 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 48520
450bf206
AS
485212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48522
48523 * include/dirent.h: Include <dirstream.h> before
48524 <dirent/dirent.h>.
48525
741a235b
DM
485262012-02-28 David S. Miller <davem@davemloft.net>
48527
48528 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48529 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48530 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48531 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48532
d6b5aa58
DM
485332012-02-27 David S. Miller <davem@davemloft.net>
48534
1aff59a3
DM
48535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48537 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48538 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48539
d6b5aa58
DM
48540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48541 frame pointer instead of stack pointer relative arg slot.
48542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48543 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48544 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48545
433f48bf
CD
485462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
48547
48548 [BZ #3992]
48549 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48550
d674b76d
DM
485512012-02-27 David S. Miller <davem@davemloft.net>
48552
48553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48559 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48560 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48561
0e7727f7
JM
485622012-02-27 Joseph Myers <joseph@codesourcery.com>
48563
48564 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48565 later. Allow versions 5-9.
43be4ca2 48566 * configure: Regenerated.
0e7727f7
JM
48567 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48568 required minimum version and 4.6 as recommended version. Do not
48569 mention bugs in GCC 2.7 and 2.8.
43be4ca2 48570 * INSTALL: Regenerated.
0e7727f7 48571
a78bc654
DM
485722012-02-27 David S. Miller <davem@davemloft.net>
48573
428d5830
DM
48574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48578 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48579 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48580 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48581 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48582
a78bc654
DM
48583 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48584 manipulate bits before adding and subtracting TWO112[sx].
48585 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48586
4579f81c
RM
485872012-02-27 Roland McGrath <roland@hack.frob.com>
48588
36c8acb4
RM
48589 [BZ #13775]
48590 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48591 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48592 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48593 being in POSIX, because they are in 1003.1-2008.
48594
84ad622b
RM
48595 * rt/tst-aio.c: Include <fcntl.h>.
48596 * rt/tst-aio7.c: Likewise.
48597 * rt/tst-aio64.c: Likewise.
48598
4579f81c
RM
48599 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48600
abd923db
JM
486012012-02-27 Joseph Myers <joseph@codesourcery.com>
48602
48603 * manual/install.texi (--with-headers): Describe headers as
48604 interface headers, not private headers.
48605 (Specific advice for GNU/Linux systems): Describe use of headers
48606 from "make headers_install", not private headers from older
48607 kernels.
43be4ca2 48608 * INSTALL: Regenerated.
abd923db
JM
48609 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48610 Change to 2.6.19.
48611 * sysdeps/unix/sysv/linux/configure: Regenerated.
48612
6664049b
JM
48613 * manual/llio.texi (fclean): Remove documentation.
48614
bb8b6697
JM
48615 * manual/Makefile (libc-texi-generated): New variable. Include
48616 version.texi.
48617 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48618 $(libc-texi-generated), not duplicated list of files.
48619 (version.texi, stamp-version): New rules.
48620 (realclean): Remove $(libc-texi-generated), not individual files
48621 from that list. Do not remove dir-add.texinfo.
48622 * manual/libc.texinfo: Comment out uses of edition numbers and
48623 references to printed manual. Remove last-updated dates.
48624 (EDITION): Comment out.
48625 (ISBN): Likewise.
48626 (VERSION, UPDATED): Remove.
48627 (version.texi): Include.
48628
12e5c3b9
AS
486292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48630
48631 * sysdeps/posix/spawni.c: Include <signal.h>.
48632 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48633 * sysdeps/pthread/aio_fsync.c: Likewise.
48634
4efeffc1 486352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48636
ba63ba08
UD
48637 * conform/Makefile (tests): Run only when not cross-compiling and
48638 when fast-check is not defined.
48639
d94a4670
UD
48640 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48641 * conform/data/limits.h-data: Fixes for POSIX2008.
48642 * conform/run-conformtest.sh: Run all tests.
48643 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48644 headers.
48645 * include/bits/dlfcn.h: Likewise.
48646 * include/langinfo.h: Likewise.
48647 * include/monetary.h: Likewise.
48648 * include/sys/poll.h: Likewise.
48649
48650 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48651 for __USE_GNU.
48652 * posix/spawn.h: Define __need_sigset_t.
48653 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48654 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48655 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48656 to get sigevent_t only.
48657 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48658 only for __USE_GNU.
48659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48660 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48661 process_vm_writev only for __USE_GNU.
48662 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48663
48664 * conform/Makefile: For now ignore errors from run-conformtest.
48665 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48666 POSIX to avoid namespace pollution. Don't prepend headers.
48667 * conform/data/aio.h-data: Fixes for POSIX testing.
48668 * conform/data/fcntl.h-data: Likewise.
48669 * conform/data/glob.h-data: Likewise.
48670 * conform/data/grp.h-data: Likewise.
48671 * conform/data/pthread.h-data: Likewise.
48672 * conform/data/pwd.h-data: Likewise.
48673 * conform/data/signal.h-data: Likewise.
48674 * conform/data/spawn.h-data: Likewise.
48675 * conform/data/stdio.h-data: Likewise.
48676 * conform/data/stdlib.h-data: Likewise.
48677 * conform/data/stropts.h-data: Likewise.
48678 * conform/data/sys/mman.h-data: Likewise.
48679 * conform/data/sys/stat.h-data: Likewise.
48680 * conform/data/sys/types.h-data: Likewise.
48681 * conform/data/sys/wait.h-data: Likewise.
48682 * conform/data/time.h-data: Likewise.
48683 * conform/data/unistd.h-data: Likewise.
48684 * conform/data/utime.h-data: Likewise.
48685
48686 * io/sys/stat.h: fchmod was always in POSIX.
48687 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48688 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48689 * rt/aio.h: Define __need_timespec before including <time.h>.
48690 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48691 struct. Add forward declaration of pthread_attr_t and use it in
48692 sigevent.
48693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48695 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48696 always remove CLK_TCK definition.
48697
c20105c3
AS
486982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48699
48700 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48701
7a270350
UD
487022012-02-25 Ulrich Drepper <drepper@gmail.com>
48703
31341567
UD
48704 * conform/run-conformtest.sh: New file.
48705 * conform/Makefile: Run run-conformtest for tests.
48706 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48707 support.
48708
48709 * conform/data/uchar.h-data: New file.
48710 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48711 * conform/data/arpa/inet.h-data: Likewise.
48712 * conform/data/assert.h-data: Likewise.
48713 * conform/data/complex.h-data: Likewise.
48714 * conform/data/cpio.h-data: Likewise.
48715 * conform/data/ctype.h-data: Likewise.
48716 * conform/data/dirent.h-data: Likewise.
48717 * conform/data/dlfcn.h-data: Likewise.
48718 * conform/data/errno.h-data: Likewise.
48719 * conform/data/fcntl.h-data: Likewise.
48720 * conform/data/float.h-data: Likewise.
48721 * conform/data/fmtmsg.h-data: Likewise.
48722 * conform/data/fnmatch.h-data: Likewise.
48723 * conform/data/ftw.h-data: Likewise.
48724 * conform/data/glob.h-data: Likewise.
48725 * conform/data/grp.h-data: Likewise.
48726 * conform/data/iconv.h-data: Likewise.
48727 * conform/data/inttypes.h-data: Likewise.
48728 * conform/data/langinfo.h-data: Likewise.
48729 * conform/data/libgen.h-data: Likewise.
48730 * conform/data/limits.h-data: Likewise.
48731 * conform/data/locale.h-data: Likewise.
48732 * conform/data/math.h-data: Likewise.
48733 * conform/data/monetary.h-data: Likewise.
48734 * conform/data/mqueue.h-data: Likewise.
48735 * conform/data/ndbm.h-data: Likewise.
48736 * conform/data/net/if.h-data: Likewise.
48737 * conform/data/netdb.h-data: Likewise.
48738 * conform/data/netinet/in.h-data: Likewise.
48739 * conform/data/nl_types.h-data: Likewise.
48740 * conform/data/poll.h-data: Likewise.
48741 * conform/data/pthread.h-data: Likewise.
48742 * conform/data/pwd.h-data: Likewise.
48743 * conform/data/regex.h-data: Likewise.
48744 * conform/data/sched.h-data: Likewise.
48745 * conform/data/search.h-data: Likewise.
48746 * conform/data/semaphore.h-data: Likewise.
48747 * conform/data/setjmp.h-data: Likewise.
48748 * conform/data/signal.h-data: Likewise.
48749 * conform/data/spawn.h-data: Likewise.
48750 * conform/data/stdarg.h-data: Likewise.
48751 * conform/data/stdio.h-data: Likewise.
48752 * conform/data/stdlib.h-data: Likewise.
48753 * conform/data/string.h-data: Likewise.
48754 * conform/data/strings.h-data: Likewise.
48755 * conform/data/stropts.h-data: Likewise.
48756 * conform/data/sys/ipc.h-data: Likewise.
48757 * conform/data/sys/mman.h-data: Likewise.
48758 * conform/data/sys/msg.h-data: Likewise.
48759 * conform/data/sys/resource.h-data: Likewise.
48760 * conform/data/sys/select.h-data: Likewise.
48761 * conform/data/sys/sem.h-data: Likewise.
48762 * conform/data/sys/shm.h-data: Likewise.
48763 * conform/data/sys/socket.h-data: Likewise.
48764 * conform/data/sys/stat.h-data: Likewise.
48765 * conform/data/sys/statvfs.h-data: Likewise.
48766 * conform/data/sys/time.h-data: Likewise.
48767 * conform/data/sys/timeb.h-data: Likewise.
48768 * conform/data/sys/times.h-data: Likewise.
48769 * conform/data/sys/types.h-data: Likewise.
48770 * conform/data/sys/uio.h-data: Likewise.
48771 * conform/data/sys/un.h-data: Likewise.
48772 * conform/data/sys/utsname.h-data: Likewise.
48773 * conform/data/sys/wait.h-data: Likewise.
48774 * conform/data/syslog.h-data: Likewise.
48775 * conform/data/tar.h-data: Likewise.
48776 * conform/data/termios.h-data: Likewise.
48777 * conform/data/utime.h-data: Likewise.
48778 * conform/data/utmpx.h-data: Likewise.
48779 * conform/data/varargs.h-data: Likewise.
48780 * conform/data/wchar.h-data: Likewise.
48781 * conform/data/wctype.h-data: Likewise.
48782 * conform/data/wordexp.h-data: Likewise.
48783
48784 * include/stropts.h: New file.
48785 * include/uchar.h: New file.
48786 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48787 * include/assert.h: Likewise.
48788 * include/ctype.h: Likewise.
48789 * include/dirent.h: Likewise.
48790 * include/dlfcn.h: Likewise.
48791 * include/fcntl.h: Likewise.
48792 * include/fnmatch.h: Likewise.
48793 * include/glob.h: Likewise.
48794 * include/grp.h: Likewise.
48795 * include/libio.h: Likewise.
48796 * include/locale.h: Likewise.
48797 * include/math.h: Likewise.
48798 * include/net/if.h: Likewise.
48799 * include/netdb.h: Likewise.
48800 * include/netinet/in.h: Likewise.
48801 * include/pthread.h: Likewise.
48802 * include/pwd.h: Likewise.
48803 * include/regex.h: Likewise.
48804 * include/sched.h: Likewise.
48805 * include/search.h: Likewise.
48806 * include/setjmp.h: Likewise.
48807 * include/signal.h: Likewise.
48808 * include/stdio.h: Likewise.
48809 * include/stdlib.h: Likewise.
48810 * include/string.h: Likewise.
48811 * include/sys/cdefs.h: Likewise.
48812 * include/sys/mman.h: Likewise.
48813 * include/sys/msg.h: Likewise.
48814 * include/sys/resource.h: Likewise.
48815 * include/sys/select.h: Likewise.
48816 * include/sys/socket.h: Likewise.
48817 * include/sys/stat.h: Likewise.
48818 * include/sys/statvfs.h: Likewise.
48819 * include/sys/time.h: Likewise.
48820 * include/sys/times.h: Likewise.
48821 * include/sys/uio.h: Likewise.
48822 * include/sys/utsname.h: Likewise.
48823 * include/sys/wait.h: Likewise.
48824 * include/termios.h: Likewise.
48825 * include/time.h: Likewise.
48826 * include/ulimit.h: Likewise.
48827 * include/unistd.h: Likewise.
48828 * include/utime.h: Likewise.
48829 * include/wchar.h: Likewise.
48830 * include/wctype.h: Likewise.
48831 * include/wordexp.h: Likewise.
48832
48833 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48834
7a270350
UD
48835 * time/time.h: TIME_UTC must be a macro.
48836 Make timespec_get available for ISO C11 only as well.
48837
7724defc
UD
488382012-02-24 Ulrich Drepper <drepper@gmail.com>
48839
48840 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48841 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48842
6b1d1d46
JM
488432012-02-24 Joseph Myers <joseph@codesourcery.com>
48844
48845 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48846
0f8bbd69
JM
488472012-02-24 Joseph Myers <joseph@codesourcery.com>
48848
48849 * manual/texinfo.tex: Update to version 2012-01-19.16.
48850
66ab80bc
JM
488512012-02-24 Joseph Myers <joseph@codesourcery.com>
48852
48853 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48854
74981cc5
RM
488552012-02-24 Roland McGrath <roland@hack.frob.com>
48856
ee968201
RM
48857 [BZ #13738]
48858 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48859 * manual/fdl-1.3.texi: New file.
48860 * manual/fdl-1.1.texi: File removed.
48861
74981cc5
RM
48862 [BZ #13738]
48863 * manual/libc.texinfo (FDL_VERSION): New @set.
48864 Use it for mention of FDL in cover text.
48865 (Documentation License): Use it in @include file name.
48866
7bb764bc
JM
488672012-02-22 Joseph Myers <joseph@codesourcery.com>
48868 Roland McGrath <roland@hack.frob.com>
48869
48870 [BZ #5461]
57f41c40
AS
48871 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48872 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48873 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48874 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48875 name.
48876 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48877
6cbeae47
JM
488782012-02-22 Joseph Myers <joseph@codesourcery.com>
48879
48880 [BZ #2547]
48881 [BZ #11365]
48882 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48883 manipulate bits before adding and subtracting TWO23[sx].
48884 * math/libm-test.inc (nearbyint_test): Add more tests.
48885
fe45ce09
JM
488862012-02-22 Joseph Myers <joseph@codesourcery.com>
48887
48888 [BZ #2548]
48889 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48890 bits before adding and subtracting TWO23[sx].
48891 * math/libm-test.inc (rint_test): Add more tests.
48892 (rint_test_tonearest): Likewise.
48893 (rint_test_towardzero): Likewise.
48894 (rint_test_downward): Likewise.
48895 (rint_test_upward: Likewise.
48896
ff3b3d82
JM
488972012-02-22 Joseph Myers <joseph@codesourcery.com>
48898
48899 [BZ #10110]
48900 * include/stdc-predef.h: New file. Extracted from features.h.
48901 * include/features.h: Include stdc-predef.h.
48902 * Makefile (headers): Add stdc-predef.h.
48903 * CONFORMANCE (Compiler limitations): Update.
48904
ef0aab35
JM
489052012-02-22 Joseph Myers <joseph@codesourcery.com>
48906
48907 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48908
58639409
DM
489092012-02-21 David S. Miller <davem@davemloft.net>
48910
48911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48913
c0e70b25
DM
489142012-02-20 David S. Miller <davem@davemloft.net>
48915
48916 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48917 using a normal save/restore sequence, rather than allocating a
48918 dummy stack frame just to store a frame pointer and restore.
48919 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48920
fb06851d
JM
489212012-02-21 Joseph Myers <joseph@codesourcery.com>
48922
48923 * manual/install.texi: Fix stray word in line-wrapped comment.
48924
7a8b71c3
DM
489252012-02-20 David S. Miller <davem@davemloft.net>
48926
d510c123
DM
48927 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48928 both binutils and gcc support GOTDATA.
48929
0722d7c2
DM
48930 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48931 "rd %pc" in the PIC register setup sequences.
48932
3d2b3019
DM
48933 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48934 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48935 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48936 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48937 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48939 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48942 (SYSCALL_ERROR_HANDLER): Likewise.
48943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48944 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48946 (SYSCALL_ERROR_HANDLER): Likewise.
48947
c80098a9
DM
48948 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48949 (HAVE_GCC_GOTDATA): New.
48950 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48951 relocation support in both binutils and gcc.
48952 * sysdeps/sparc/elf/configure: Regenerate.
48953
3a2545a0
DM
48954 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48955 * sysdeps/sparc/sparc32/elf/configure: Delete.
48956 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48957 * sysdeps/sparc/sparc64/elf/configure: Delete.
48958 * sysdeps/sparc/elf/configure.in: New file.
48959 * sysdeps/sparc/elf/configure: Generate.
48960
7a8b71c3
DM
48961 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48962 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48963 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48964 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48965 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48966
f1e86fca
JM
489672012-02-21 Joseph Myers <joseph@codesourcery.com>
48968
48969 * manual/install.texi: Do not mention specific glibc version
48970 numbers.
48971 * manual/libc.texinfo (VERSION, UPDATED): Update.
48972 (@copying): Use @copyright{} and range of years.
48973
0e7dfaef
JM
489742012-02-21 Joseph Myers <joseph@codesourcery.com>
48975
48976 [BZ #13695]
48977 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48978 [crti.S not in sysdirs] (generated): Do not append.
48979 [crti.S not in sysdirs] (omit-deps): Likewise.
48980 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48981 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48982 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48983 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48984 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48985 Likewise.
48986 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48987 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48988 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48989 * csu/defs.awk: Remove file.
48990 * sysdeps/generic/initfini.c: Likewise.
48991 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48992 variable.
48993 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48994 Likewise.
48995
599af3ca
JM
489962012-02-20 Joseph Myers <joseph@codesourcery.com>
48997
48998 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48999 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49000 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49001 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49003 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49004 <bits/epoll.h>.
49005 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49006 (__EPOLL_PACKED): Define to empty if not defined by
49007 <bits/epoll.h>.
49008 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49010 bits/epoll.h.
49011
0e499750
JM
490122012-02-20 Joseph Myers <joseph@codesourcery.com>
49013
49014 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49015 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49016 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49017 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49018 <bits/timerfd.h>.
49019 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49020 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49021 bits/timerfd.h.
49022
5ad91f6e
JM
490232012-02-20 Joseph Myers <joseph@codesourcery.com>
49024
49025 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49026 in C locale.
49027 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49028 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49029 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49031
06b99b02
AJ
490322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49033
49034 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49036
7638c0fd
AS
490372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49038
49039 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49040 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49041 defined.
49042 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49043 Likewise.
49044 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49045 entry for 2.16.
49046
92221550
AJ
490472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49048
49049 * math/w_acos.c: Use non-signaling floating-point comparisons.
49050 * math/w_acosf.c: Likewise.
49051 * math/w_acosh.c: Likewise.
49052 * math/w_acoshf.c: Likewise.
49053 * math/w_acoshl.c: Likewise.
49054 * math/w_acosl.c: Likewise.
49055 * math/w_asin.c: Likewise.
49056 * math/w_asinf.c: Likewise.
49057 * math/w_asinl.c: Likewise.
49058 * math/w_atanh.c: Likewise.
49059 * math/w_atanhf.c: Likewise.
49060 * math/w_atanhl.c: Likewise.
49061 * math/w_exp2.c: Likewise.
49062 * math/w_exp2f.c: Likewise.
49063 * math/w_exp2l.c: Likewise.
49064 * math/w_j0.c: Likewise.
49065 * math/w_j0f.c: Likewise.
49066 * math/w_j0l.c: Likewise.
49067 * math/w_j1.c: Likewise.
49068 * math/w_j1f.c: Likewise.
49069 * math/w_j1l.c: Likewise.
49070 * math/w_jn.c: Likewise.
49071 * math/w_jnf.c: Likewise.
49072 * math/w_log.c: Likewise.
49073 * math/w_log10.c: Likewise.
49074 * math/w_log10f.c: Likewise.
49075 * math/w_log10l.c: Likewise.
49076 * math/w_log2.c: Likewise.
49077 * math/w_log2f.c: Likewise.
49078 * math/w_log2l.c: Likewise.
49079 * math/w_logf.c: Likewise.
49080 * math/w_logl.c: Likewise.
49081 * math/w_sqrt.c: Likewise.
49082 * math/w_sqrtf.c: Likewise.
49083 * math/w_sqrtl.c: Likewise.
49084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49085 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49086 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49087 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49088 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49089
ebaf36eb
JM
490902012-02-19 Joseph Myers <joseph@codesourcery.com>
49091
49092 [BZ #9739]
49093 * manual/string.texi (strnlen): Use correct parameter name in
49094 equivalent expression.
49095
71c254a6
JM
490962012-02-19 Joseph Myers <joseph@codesourcery.com>
49097
49098 [BZ #11174]
49099 * manual/users.texi (seteuid): Consistently use neweuid for
49100 argument name.
49101
16d2c631
JM
491022012-02-19 Joseph Myers <joseph@codesourcery.com>
49103
49104 [BZ #13704]
49105 * manual/nss.texi (Services in the NSS configuration): Correct
49106 list of services in example configuration file.
49107
cd837b09
NB
491082012-02-19 Nick Bowler <nbowler@draconx.ca>
49109
49110 [BZ #11322]
49111 * manual/arith.texi: Remove statements about negative zero
49112 behaving identically to zero.
49113
02c4bbad
JM
491142012-02-18 Joseph Myers <joseph@codesourcery.com>
49115
49116 [BZ #5993]
49117 * manual/install.texi: Do not document upgrading from libc5.
49118
366842e7
JM
491192012-02-18 Joseph Myers <joseph@codesourcery.com>
49120
49121 [BZ #4596]
49122 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49123
dd54084d
DM
491242012-02-18 David S. Miller <davem@davemloft.net>
49125
49126 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49127 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49128 %o7 across the call.
49129 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49130 instead.
49131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49132 SETUP_PIC_REG_LEAF.
49133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49134 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49135 * sysdeps/sparc/crtn.S: Likewise.
49136
2bcc53a3
UD
491372012-02-17 Ulrich Drepper <drepper@gmail.com>
49138
49139 * aout/Makefile: Remove.
49140
09c093b5
RK
491412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49142
49143 [BZ #13058]
49144 * manual/examples/argp-ex1.c (main): Format definition in GNU
49145 style.
49146 * manual/examples/argp-ex2.c (main): Likewise.
49147 * manual/examples/argp-ex3.c (main): Likewise.
49148 * manual/examples/argp-ex4.c (main): Likewise.
49149 * manual/examples/longopt.c (main): Use new-style prototype
49150 definition.
49151 * manual/examples/strncat.c (main): Specify return type and use
49152 (void) for arguments.
49153 * manual/examples/subopt.c (main): Use char **argv argument.
49154
2ee633a2
JM
491552012-02-17 Joseph Myers <joseph@codesourcery.com>
49156
49157 [BZ #5077]
49158 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49159 rounding modes.
49160
0520adde
FB
491612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49162
49163 [BZ #6907]
49164 * manual/string.texi (strchr): Change when strchrnul is
49165 recommended.
49166
3f4081cd
DGM
491672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49168
49169 [BZ #174]
49170 * manual/locale.texi (setlocale): Document LOCPATH.
49171
d1b10e78
JM
491722012-02-17 Joseph Myers <joseph@codesourcery.com>
49173
49174 [BZ #10210]
49175 * manual/process.texi (execle): Move @dots{} before last argument.
49176
79c6869c
PB
491772012-02-17 Paul Bolle <pebolle@tiscali.nl>
49178
49179 [BZ #12047]
49180 * manual/charset.texi (Generic Charset Conversion): Fix typo
49181 (LC_TYPE -> LC_CTYPE).
49182
cc6e48bc
NB
491832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49184
49185 [BZ #5805]
49186 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49187 (scalbnf): Likewise.
49188 (scalbnl): Likewise.
49189 (scalbln): Likewise.
49190 (scalblnf): Likewise.
49191 (scalblnl): Likewise.
49192 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49193 (vwarnx): Likewise.
49194 (verr): Likewise.
49195 (verrx): Likewise.
49196 * manual/filesys.texi (telldir): Use braces around return type.
49197 * manual/llio.texi (mmap): Add space after comma.
49198 (mmap64): Likewise.
49199 * manual/math.texi (jn): Use @var{} on parameter names.
49200 (jnf): Likewise.
49201 (jnl): Likewise.
49202 (yn): Likewise.
49203 (ynf): Likewise.
49204 (ynl): Likewise.
49205 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49206 line.
49207 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49208 "...".
49209 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49210 (sched_get_priority_max): Likewise.
49211 * manual/signal.texi (sigvec): Add space after comma.
49212 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49213 names.
49214 (if_indextoname): Likewise.
49215 (if_freenameindex): Likewise.
49216 (sendto): Use ',' instead of '.' in prototype.
49217 * manual/startup.texi (syscall): Use @dots{} instead of literal
49218 "...".
49219 * manual/stdio.texi (__fpending): Separate initial words of
49220 paragraph from @deftypefun line.
49221 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49222 "...".
49223 (vsyslog): Use @var{} on parameter names.
49224 * manual/terminal.texi (stty): Use @var{} on parameter names.
49225 * manual/users.texi (getutmp): Use @var{} on parameter names.
49226 (getutmpx): Likewise.
49227
5b23062f
JM
492282012-02-17 Joseph Myers <joseph@codesourcery.com>
49229
49230 [BZ #6884]
49231 * manual/stdio.texi (fopen): Fix typos in description of
49232 ",ccs=STRING".
49233
8dee4833
AJ
492342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49235
49236 [BZ #4026]
49237 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49238 get clock_id definition.
49239
9078ce93
TS
492402012-02-17 Thomas Schwinge <thomas@schwinge.name>
49241
49242 [BZ #4822]
49243 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49244 (madvise): Cast every argument to void on its own.
49245
3835c55f
JM
492462012-02-17 Joseph Myers <joseph@codesourcery.com>
49247
49248 [BZ #9902]
49249 * manual/startup.texi (Exit Status): Fix typo.
49250
35c47e37
JM
492512012-02-17 Joseph Myers <joseph@codesourcery.com>
49252
49253 [BZ #10140]
49254 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49255 * manual/examples/argp-ex2.c: Likewise.
49256 * manual/examples/argp-ex3.c: Likewise.
49257
e3b69ca7
RH
492582012-02-16 Richard Henderson <rth@redhat.com>
49259
49260 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49261 * sysdeps/s390/s390-32/initfini.c: Remove.
49262 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49263 * sysdeps/s390/s390-64/initfini.c: Remove.
49264
df83af67
KK
492652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49266
49267 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49268 compiler output for sysdeps/generic/initfini.c.
49269 * sysdeps/sh/elf/initfini.c: Remove file.
49270
f63f3380
DM
492712012-02-16 David S. Miller <davem@davemloft.net>
49272
fb59b3a4
DM
49273 [BZ #11494]
49274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49275
f63f3380
DM
49276 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49277 * sysdeps/sparc/crti.S: New file.
49278 * sysdeps/sparc/crtn.S: New file.
49279 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49280 * sysdeps/sparc/sparc64/Makefile: Likewise.
49281
df6a4a4a
MF
492822012-02-15 Mike Frysinger <vapier@gentoo.org>
49283
6dd8f3dc 49284 [BZ #3335]
df6a4a4a
MF
49285 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49286
1cac7236
RM
492872012-02-15 Roland McGrath <roland@hack.frob.com>
49288
d2c736f8
RM
49289 [BZ #4822]
49290 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49291
1cac7236
RM
49292 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49293 (write, read, close): Likewise.
49294 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49295
8e475601
JM
492962012-02-15 Joseph Myers <joseph@codesourcery.com>
49297
49298 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49299 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49300 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49301 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49302 <bits/signalfd.h>.
49303 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49305 bits/signalfd.h.
49306
ed656b40
MP
493072012-02-14 Marek Polacek <polacek@redhat.com>
49308
49309 * sysdeps/x86_64/crti.S: New file.
49310 * sysdeps/x86_64/crtn.S: New file.
49311 * sysdeps/x86_64/elf/initfini.c: Remove file.
49312
2a979d3a
JM
493132012-02-13 Joseph Myers <joseph@codesourcery.com>
49314
49315 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49316 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49317 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49318 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49319 <bits/inotify.h>.
49320 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49322 bits/inotify.h.
49323
2a418ac3
JM
493242012-02-13 Joseph Myers <joseph@codesourcery.com>
49325
49326 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49327 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49328 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49329 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49330 <bits/eventfd.h>.
49331 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49333 bits/eventfd.h.
49334
fb779be7
TS
493352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49336
e19e83c5
RM
49337 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49338 __feraiseexcept instead of feraiseexcept.
7c35ffed 49339
fb779be7
TS
49340 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49341 nanosleep invocations.
49342 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49343 strings, and add error checking for a nanosleep invocations.
49344
59ba27a6
PE
493452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49346
49347 Replace FSF snail mail address with URLs, as per GNU coding standards.
49348 Most of the snail mail addresses were wrong anyway, and omitting
49349 them makes the source code easier to maintain. Almost all of the
49350 changes are to license notices and to locale LC_IDENTIFICATION
49351 addresses, except for this one:
49352 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49353 not its snail mail address.
49354
57b957eb
RH
493552012-02-09 Richard Henderson <rth@twiddle.net>
49356
af850b1c
RH
49357 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49358 of kernel-features.h.
49359
57b957eb
RH
49360 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49361
6b73181a
MP
493622012-02-08 Marek Polacek <polacek@redhat.com>
49363
49364 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49365 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49366 * sysdeps/gnu/_G_config.h: Likewise.
49367 * sysdeps/generic/_G_config.h: Likewise.
49368
26ecc33a
AS
493692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49370
6c6dbc63
AS
49371 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49372 tests.
49373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49374
e216c012
AS
49375 * sysdeps/powerpc/powerpc32/crti.S: New file.
49376 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49377 * sysdeps/powerpc/powerpc64/crti.S: New file.
49378 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49379
26ecc33a
AS
49380 * Makeconfig (have-initfini): Don't set.
49381 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49382 * configure.in (nopic_initfini): Don't substitute.
49383 * config.h.in (HAVE_INITFINI): Don't #undef.
49384 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49385 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49386
3add8e13
JM
493872012-02-08 Joseph Myers <joseph@codesourcery.com>
49388
49389 Support crti.S and crtn.S provided directly by architectures.
49390 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49391 [crti.S in sysdirs] (omit-deps): Likewise.
49392 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49393 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49394 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49395 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49396 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49397 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49398 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49399 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49400 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49401 compiler output for sysdeps/generic/initfini.c.
49402 * sysdeps/i386/elf/Makefile: Remove file.
49403 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49404
a22f12b4
MP
494052012-02-07 Marek Polacek <polacek@redhat.com>
49406
49407 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49408 * sysdeps/gnu/_G_config.h: Likewise.
49409 * sysdeps/mach/hurd/_G_config.h: Likewise.
49410
148cf100
MP
494112012-02-07 Marek Polacek <polacek@redhat.com>
49412
49413 * math/Makefile (tests): Add tst-CMPLX2.
49414 * math/tst-CMPLX2.c: New file.
49415
cfdc0dd7
AS
494162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49417
84ba42c4
AS
49418 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49419
cfdc0dd7
AS
49420 * math/libm-test.inc (jn_test): Add missing L suffix.
49421
622c86f4
MP
494222012-02-06 Marek Polacek <polacek@redhat.com>
49423
49424 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49425 * sysdeps/i386/fpu/e_powf.S: Likewise.
49426 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49427 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49428 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49429 * sysdeps/i386/fpu/e_pow.S: Likewise.
49430 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49431 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49432 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49433 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49434 * sysdeps/i386/fpu/e_log2.S: Likewise.
49435 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49436 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49437 * sysdeps/i386/fpu/e_powl.S: Likewise.
49438 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49439 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49440 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49441 * sysdeps/i386/fpu/e_logl.S: Likewise.
49442 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49443 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49444 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49445 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49446 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49447 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49448 * sysdeps/i386/fpu/e_log.S: Likewise.
49449 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49450 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49451 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49452 * sysdeps/i386/fpu/e_logf.S: Likewise.
49453 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49454 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49455 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49456 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49457 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49458 * sysdeps/i386/fpu/e_log10.S: Likewise.
49459 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49460 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49461 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49462 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49463 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49464 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49465 * sysdeps/i386/asm-syntax.h: Likewise.
49466 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49467 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49468 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49469 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49470 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49471 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49472 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49473 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49474 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49475 * sysdeps/powerpc/sysdep.h: Likewise.
49476 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49477 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49478
d4a54ac6
JM
494792012-02-06 Joseph Myers <joseph@codesourcery.com>
49480
49481 [BZ #411]
49482 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49483
314054ea
JM
494842012-02-06 Joseph Myers <joseph@codesourcery.com>
49485
49486 * sysdeps/i386/sysdep.h: Include <features.h>.
49487 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49488 version.
49489
d8e0ca50
JM
494902012-02-05 Joseph Myers <joseph@codesourcery.com>
49491
49492 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49493 Define.
49494 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49495 LOAD_PIC_REG_STR.
49496
b1da7dd9
JM
494972012-02-03 Joseph Myers <joseph@codesourcery.com>
49498
49499 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49500 (SETUP_PIC_REG): Use GET_PC_THUNK.
49501 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49502 macro.
49503
9a1d9254
JM
495042012-02-03 Joseph Myers <joseph@codesourcery.com>
49505
49506 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49507 for non-PIC compilation.
49508 (SETUP_PIC_REG): Add .p2align directive.
49509 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49510 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49511 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49512 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49513 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49514 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49515 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49516 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49517 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49518 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49519 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49520 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49521 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49522 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49523 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49524 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49525 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49526 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49527 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49528 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49529 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49530 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49531 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49532 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49533 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49535 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49536 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49537 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49538 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49539 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49540 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49541 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49542 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49543 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49544 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49545 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49546 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49547 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49548 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49549 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49550
65dc3b75
JM
495512012-02-03 Joseph Myers <joseph@codesourcery.com>
49552
49553 * math/tst-CMPLX.c: Include <stdio.h>.
49554
d55bf177
JM
495552012-01-31 Joseph Myers <joseph@codesourcery.com>
49556
49557 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49558 float.
49559 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49560 * sysdeps/sparc/bits/mathdef.h: Likewise.
49561
69db4f8f
MP
495622012-01-31 Marek Polacek <polacek@redhat.com>
49563
49564 * libio/libio.h: Don't define _PARAMS.
49565 * locale/programs/config.h: Don't define PARAMS.
49566 * stdlib/strtol_l.c: Likewise.
49567 (__strtol_l): Remove PARAMS from the prototype.
49568
41b81892
UD
495692012-01-31 Ulrich Drepper <drepper@gmail.com>
49570
3b49edc0
UD
49571 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
49572 names. Just use the correct names. Remove unnecessary wrapper
49573 functions.
49574 * malloc/arena.c: Likewise.
49575 * malloc/hooks.c: Likewise.
49576
41b81892
UD
49577 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49578 ARENA_TEST says not to. Simplify test for creation of a new arena.
49579 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49580
27a25b6e
UD
495812012-01-30 Ulrich Drepper <drepper@gmail.com>
49582
49583 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49584 into tail calls.
49585 (update_get_addr): New function.
49586 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49587 GET_ADDR_MODULE parameter.
49588
c8a89e7d
JM
495892012-01-30 Joseph Myers <joseph@codesourcery.com>
49590
49591 * crypt/cert.c: Remove __STDC__ conditionals.
49592 * crypt/crypt-entry.c: Likewise.
49593 * crypt/crypt_util.c: Likewise.
49594 * libio/filedoalloc.c: Likewise.
49595 * libio/fileops.c: Likewise.
49596 * libio/genops.c: Likewise.
49597 * libio/iofclose.c: Likewise.
49598 * libio/iofdopen.c: Likewise.
49599 * libio/iofopen.c: Likewise.
49600 * libio/iofopen64.c: Likewise.
49601 * libio/iogetdelim.c: Likewise.
49602 * libio/iopopen.c: Likewise.
49603 * libio/obprintf.c: Likewise.
49604 * libio/oldfileops.c: Likewise.
49605 * libio/oldiofclose.c: Likewise.
49606 * libio/oldiofdopen.c: Likewise.
49607 * libio/oldiofopen.c: Likewise.
49608 * libio/oldiopopen.c: Likewise.
49609 * libio/wfiledoalloc.c: Likewise.
49610 * libio/wgenops.c: Likewise.
49611 * locale/programs/xmalloc.c: Likewise.
49612 * misc/syslog.c: Likewise.
49613 * stdio-common/xbug.c: Likewise.
49614 * string/memchr.c: Likewise.
49615 * string/memcmp.c: Likewise.
49616 * string/memrchr.c: Likewise.
49617 * string/rawmemchr.c: Likewise.
49618 * sysdeps/posix/getcwd.c: Likewise.
49619 * time/strftime_l.c: Likewise.
49620
3b100462
JM
496212012-01-30 Joseph Myers <joseph@codesourcery.com>
49622
49623 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49624 * config.make.in (config-cflags-sse2avx): Define.
49625 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49626 Fix typo.
49627
607998af
CM
496282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49629
49630 * scripts/config.guess: Update from upstream config git repository.
49631 * scripts/config.sub: Likewise.
49632
3601428f
CM
496332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49634
3ac8b282
CM
49635 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49636 (EM_NUM): Update.
49637 (R_TILEPRO_*, R_TILEGX_*): New macros.
49638
e034841e
CM
49639 * scripts/firstversions.awk: Fix bug in version range handling.
49640
540d7568
CM
49641 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49642
3601428f
CM
49643 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49644
463de862
CM
49645 * include/sys/epoll.h: New file.
49646 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49647 libc_hidden_def.
49648
73139a76
UD
496492012-01-28 Ulrich Drepper <drepper@gmail.com>
49650
96bc5b45
UD
49651 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49652 Avoid unnecessary __WORDSIZE == 64 test.
49653 (fmaxf): Use VEX format if possible.
49654 (fmax): Likewise.
49655 (fminf): Likewise.
49656 (fmin): Likewise.
49657
56f6f6a2
UD
49658 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49659 * math/math_private.h: Remove libc_fegetround* and
49660 libc_fesetround*.
49661 * sysdeps/i386/configure.in: Check for -msse2avx.
49662 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49663 also if SSE2AVX is defined.
49664 Remove libc_fegetround* and libc_fesetround*.
49665 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49666 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49667 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49668 of HAS_YMM_USABLE.
49669 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49670 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49674
73139a76
UD
49675 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49676
d73f93a4
AZ
496772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49678
49679 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49680 size is not set.
49681 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49682
6ee65ed6
UD
496832012-01-27 Ulrich Drepper <drepper@gmail.com>
49684
49685 [BZ #13618]
49686 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49687 relocation.
49688 * Makeconfig (libm): Define.
49689 * elf/Makefile: Add rules to build and run tst-relsort1.
49690 * elf/tst-relsort1.c: New file.
49691 * elf/tst-relsort1mod1.c: New file.
49692 * elf/tst-relsort1mod2.c: New file.
49693
8db21882
JM
496942012-01-27 Joseph Myers <joseph@codesourcery.com>
49695
49696 * math/s_ldexp.c: Remove __STDC__ conditionals.
49697 * math/s_ldexpf.c: Likewise.
49698 * math/s_ldexpl.c: Likewise.
49699 * math/s_nextafter.c: Likewise.
49700 * math/s_nexttowardf.c: Likewise.
49701 * math/s_significand.c: Likewise.
49702 * math/s_significandf.c: Likewise.
49703 * math/s_significandl.c: Likewise.
49704 * math/w_jnl.c: Likewise.
49705 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49706 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49707 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49708 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49709 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49710 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49711 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49714 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49715 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49717 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49718 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49719 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49720 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49721 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49722 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49724 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49725 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49726 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49727 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49729 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49730 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49731 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49732 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49733 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49734 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49735 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49736 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49737 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49738 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49739 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49740 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49741 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49742 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49743 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49744 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49745 * sysdeps/ieee754/k_standard.c: Likewise.
49746 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49747 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49748 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49749 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49750 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49751 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49752 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49753 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49754 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49755 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49756 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49758 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49759 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49760 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49762 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49765 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49768 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49769 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49770 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49771 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49772 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49773 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49777 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49781 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49782 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49783 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49784 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49785 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49786 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49787 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49788 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49789 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49790 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49791 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49792 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49795 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49796 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49797 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49798 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49799 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49800 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49801 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49802 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49803 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49804 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49805 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49806 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49807 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49808 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49809 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49810 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49811 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49812 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49813 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49814 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49815 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49816 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49821 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49822 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49823 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49824 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49825 * sysdeps/ieee754/s_matherr.c: Likewise.
49826 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49827 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49829 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49830
965a54a4
JM
498312012-01-26 Joseph Myers <joseph@codesourcery.com>
49832
49833 * crypt/md5.h: Remove __STDC__ conditionals.
49834 * libio/libioP.h: Likewise.
49835 * locale/programs/config.h: Likewise.
49836 * sysdeps/generic/sysdep.h: Likewise.
49837 * sysdeps/i386/asm-syntax.h: Likewise.
49838 * sysdeps/s390/asm-syntax.h: Likewise.
49839 * sysdeps/unix/sysdep.h: Likewise.
49840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49842
7071ad79
JM
498432012-01-26 Joseph Myers <joseph@codesourcery.com>
49844
49845 * libio/libio.h: Remove __STDC__ conditionals.
49846 * malloc/obstack.h: Likewise.
49847 * math/complex.h: Likewise.
49848 * math/math.h: Likewise.
49849 * sysdeps/generic/_G_config.h: Likewise.
49850 * sysdeps/gnu/_G_config.h: Likewise.
49851 * sysdeps/mach/hurd/_G_config.h: Likewise.
49852 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49853 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49854 * sysdeps/sparc/bits/mathdef.h: Likewise.
49855
afc5ed09
UD
498562012-01-26 Ulrich Drepper <drepper@gmail.com>
49857
49858 [BZ #13583]
49859 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49860 Clean up HAS_* macros.
afc5ed09 49861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49862 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49863 possible.
49864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49865 HAS_AVX.
49866 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49867 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49868 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49869 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49870 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49871
bdb6de1d
JM
498722012-01-25 Joseph Myers <joseph@codesourcery.com>
49873
49874 * elf/tst-unique3.cc (gets): Remove declaration.
49875 * elf/tst-unique3lib.cc (gets): Likewise.
49876 * elf/tst-unique3lib2.cc (gets): Likewise.
49877 * elf/tst-unique4.cc (gets): Likewise.
49878
b15549e6
UD
498792012-01-24 Ulrich Drepper <drepper@gmail.com>
49880
49881 * include/stdio.h: Add C++ protection. Add gets declarations and
49882 definitions.
49883 * debug/tst-chk1.c: Don't declare gets here.
49884 * stdio-common/tst-gets.c: Likewise.
49885
a037381f
JM
498862012-01-24 Joseph Myers <joseph@codesourcery.com>
49887
49888 * posix/glob: Remove directory.
49889
f1d4aa75
JM
498902012-01-24 Joseph Myers <joseph@codesourcery.com>
49891
49892 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49893
81c0c964
PT
498942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49895
49896 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49897 of the non-standard EPFNOSUPPORT.
49898
0ea698ae
ST
498992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49900
49901 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49902 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49903 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49904
d220b117
UD
499052012-01-21 Ulrich Drepper <drepper@gmail.com>
49906
49907 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49908
3e1aa84e
UD
499092012-01-20 Ulrich Drepper <drepper@gmail.com>
49910
49911 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49912 transient errors.
49913 * nscd/grpcache.c (cache_addgr): Likewise.
49914 * nscd/hstcache.c (cache_addhst): Likewise.
49915 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49916 * nscd/pwdcache.c (cache_addpw): Likewise.
49917 * nscd/servicescache.c (cache_addserv): Likewise.
49918
400aa020
UD
499192012-01-16 Ulrich Drepper <drepper@gmail.com>
49920
d77e7869
UD
49921 * malloc/malloc.c: Various cleanups.
49922 * malloc/hooks.c: Likewise.
49923
400aa020
UD
49924 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49925 * stdlib/bug-fmtmsg1.c: New file.
49926
49927 * stdlib/fmtmsg.c (init): Add missing unlock.
49928 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49929
e0a309cf
MP
499302012-01-12 Marek Polacek <polacek@redhat.com>
49931
49932 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49933 and _GNU_SOURCE.
49934
929d11c7
WS
499352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49936
49937 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49938 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49939 macro to ensure uniqueness of label name.
49940 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49941 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49942
41d0e869
UD
499432012-01-11 Ulrich Drepper <drepper@gmail.com>
49944
0cc5ed3b
UD
49945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49946
41d0e869
UD
49947 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49948 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49949 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49950 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49951
a47a831a
UD
499522012-01-10 Ulrich Drepper <drepper@gmail.com>
49953
daa891c0
UD
49954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49955
49956 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49957 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49958 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49959
e58ef0f2
UD
49960 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49961
a47a831a 49962 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49963 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49964 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49965 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49966
49967 * math/bits/math-finite.h: Add ldexp support.
49968
a0bfc9c7
MP
499692012-01-10 Marek Polacek <polacek@redhat.com>
49970
49971 * locale/programs/localedef.h (show_archive_content): Add noreturn
49972 attribute.
49973
d6e97a1d
UD
499742012-01-09 Ulrich Drepper <drepper@gmail.com>
49975
49976 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49977
d5835c26
UD
499782012-01-08 Ulrich Drepper <drepper@gmail.com>
49979
e5f484c6
UD
49980 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49981
d5835c26
UD
49982 * io/Makefile (headers): Add bits/poll2.h.
49983
d1f741e9
WS
499842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49985
49986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49987 typo #include statement.
49988
ec09c1c4
UD
499892012-01-08 Ulrich Drepper <drepper@gmail.com>
49990
49991 * include/sys/cdefs.h: Define __attribute_alloc_size.
49992 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49993 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49994 * elf/pldd.c: Likewise.
49995 * iconv/iconv_charmap.c: Likewise.
49996 * iconv/iconvconfig.c: Likewise.
49997 * iconv/strtab.c: Likewise.
49998 * locale/programs/locale.c: Likewise.
49999 * locale/programs/localedef.h: Likewise.
50000 * locale/programs/simple-hash.c: Likewise.
50001 * nscd/nscd.h: Likewise.
50002 * nss/makedb.c: Likewise.
50003 * sysdeps/generic/ldconfig.h: Likewise.
50004 * locale/programs/localedef.c: Remove xmalloc prototype.
50005 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50006
20b38e03
PP
500072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50008
50009 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50010 appropriate.
50011
a0da5fe1
UD
500122012-01-08 Ulrich Drepper <drepper@gmail.com>
50013
1d5a644a 50014 * math/Makefile (tests): Add tst-CMPLX.
669704fd 50015 * math/tst-CMPLX.c: New file.
1d5a644a 50016
8784a6db
UD
50017 * math/complex.h (CMPLXL): Fix typo.
50018
d9a216c0
UD
50019 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50020 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50021 GLIBC_2.16.
50022 * debug/tst-chk1.c: Add poll and ppoll tests.
50023 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50024 * include/sys/poll.h: Add hidden proto for ppoll.
50025 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50026 * sysdeps/mach/hurd/ppoll.c: Likewise.
50027 * io/ppoll.c: Likewise.
50028 * debug/poll_chk.c: New file.
50029 * debug/ppoll_chk.c: New file.
50030 * include/bits/poll2.h: New file.
50031 * io/bits/poll2.h: New file.
50032
ac097f5c
UD
50033 [BZ #1350]
50034 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50035
2119dcfa
UD
50036 * configure.in: static is always set to yes. Remove.
50037 * config.make.in: Don't set build-static.
50038 * Makeconfig: Remove use of build-static.
50039 * dlfcn/Makefile: Likewise.
50040 * elf/Makefile: Likewise.
50041 * math/Makefile: Likewise.
50042 * misc/Makefile: Likewise.
50043 * nptl/Makefile: Likewise.
50044 * sysdeps/mach/hurd/Makefile: Likewise.
50045
121766a9
UD
50046 * configure.in: PWD_P is not used anymore.
50047 * config.make.in: Remove PWD_P entry.
50048
51a1d39c 50049 * configure.in: Remove last remnants of RANLIB.
8720d066 50050 No need to check for signed size_t anymore.
215f4bdc
UD
50051 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50052 and IA-64.
3857022a 50053 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
50054 * aclocal.m4: Likewise.
50055
d3ed7225
UD
50056 * wcsmbs/mbrtoc16.c: Implement using towc function.
50057 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50058 * wcsmbs/wcsmbsload.c: Likewise.
50059 * iconv/gconv_simple.c: Likewise.
50060 * iconv/gconv_int.h: Likewise.
50061 * iconv/gconv_builtin.h: Likewise.
50062 * iconv/iconv_prog.c: Remove CHAR16 handling.
50063
50064 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50065
50066 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50067
a0da5fe1
UD
50068 * configure.in: Remove --with-elf and --enable-bounded options.
50069 Dont set base_machine for ia64. More non-ELF conditions removed.
50070 Remove testing and setting of leading underscore information.
50071 * config.make.in (build-bounded): Set to no.
50072 * config.h.in: Remove NO_UNDERSCORES entry.
50073 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50074 them.
50075 * csu/start.c: Remove !NO_UNDERSCORE code.
50076 * locale/localeinfo.h: Likewise.
50077 * sysdeps/generic/machine-gmon.h: Likewise.
50078 * sysdeps/generic/sysdep.h: Likewise.
50079 * sysdeps/i386/sysdep.h: Likewise.
50080 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50081 * sysdeps/mach/sysdep.h: Likewise.
50082 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50083 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50084 * sysdeps/sh/sysdep.h: Likewise.
50085 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50086 * sysdeps/unix/i386/sysdep.S: Likewise.
50087 * sysdeps/unix/sparc/start.c: Likewise.
50088 * sysdeps/unix/sparc/sysdep.S: Likewise.
50089 * sysdeps/unix/sparc/sysdep.h: Likewise.
50090 * sysdeps/unix/start.c: Likewise.
50091 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50092 * sysdeps/x86_64/sysdep.h: Likewise.
50093
df78418a
UD
500942012-01-07 Ulrich Drepper <drepper@gmail.com>
50095
a784e502
UD
50096 [BZ #13553]
50097 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50098 for non-gcc.
50099 * argp/argp-fmtstream.h: Use const instead __const.
50100 * argp/argp.h: Likewise.
50101 * assert/assert.h: Likewise.
50102 * bits/fenv.h: Likewise.
50103 * bits/sched.h: Likewise.
50104 * bits/sigset.h: Likewise.
50105 * bits/sigthread.h: Likewise.
50106 * catgets/nl_types.h: Likewise.
50107 * conform/data/pthread.h-data: Likewise.
50108 * crypt/crypt-private.h: Likewise.
50109 * crypt/crypt.h: Likewise.
50110 * crypt/crypt_util.c: Likewise.
50111 * ctype/ctype.h: Likewise.
50112 * debug/execinfo.h: Likewise.
50113 * debug/mbsnrtowcs_chk.c: Likewise.
50114 * debug/mbsrtowcs_chk.c: Likewise.
50115 * debug/wcsnrtombs_chk.c: Likewise.
50116 * debug/wcsrtombs_chk.c: Likewise.
50117 * debug/wcstombs_chk.c: Likewise.
50118 * dirent/dirent.h: Likewise.
50119 * dlfcn/dlfcn.h: Likewise.
50120 * elf/neededtest4.c: Likewise.
50121 * grp/grp.h: Likewise.
50122 * gshadow/gshadow.h: Likewise.
50123 * iconv/gconv.h: Likewise.
50124 * iconv/gconv_int.h: Likewise.
50125 * iconv/gconv_simple.c: Likewise.
50126 * iconv/iconv.h: Likewise.
50127 * iconv/loop.c: Likewise.
50128 * iconv/skeleton.c: Likewise.
50129 * include/aio.h: Likewise.
50130 * include/aliases.h: Likewise.
50131 * include/argz.h: Likewise.
50132 * include/arpa/inet.h: Likewise.
50133 * include/assert.h: Likewise.
50134 * include/dirent.h: Likewise.
50135 * include/dlfcn.h: Likewise.
50136 * include/execinfo.h: Likewise.
50137 * include/fcntl.h: Likewise.
50138 * include/fenv.h: Likewise.
50139 * include/glob.h: Likewise.
50140 * include/grp.h: Likewise.
50141 * include/libintl.h: Likewise.
50142 * include/mntent.h: Likewise.
50143 * include/netdb.h: Likewise.
50144 * include/pwd.h: Likewise.
50145 * include/rpc/netdb.h: Likewise.
50146 * include/sched.h: Likewise.
50147 * include/search.h: Likewise.
50148 * include/shadow.h: Likewise.
50149 * include/signal.h: Likewise.
50150 * include/stdio.h: Likewise.
50151 * include/stdlib.h: Likewise.
50152 * include/string.h: Likewise.
50153 * include/sys/socket.h: Likewise.
50154 * include/sys/stat.h: Likewise.
50155 * include/sys/statfs.h: Likewise.
50156 * include/sys/statvfs.h: Likewise.
50157 * include/sys/syslog.h: Likewise.
50158 * include/sys/time.h: Likewise.
50159 * include/sys/uio.h: Likewise.
50160 * include/time.h: Likewise.
50161 * include/unistd.h: Likewise.
50162 * include/utmp.h: Likewise.
50163 * include/wchar.h: Likewise.
50164 * include/wctype.h: Likewise.
50165 * inet/aliases.h: Likewise.
50166 * inet/arpa/inet.h: Likewise.
50167 * inet/netinet/ether.h: Likewise.
50168 * inet/netinet/in.h: Likewise.
50169 * intl/libintl.h: Likewise.
50170 * io/bits/fcntl2.h: Likewise.
50171 * io/fcntl.h: Likewise.
50172 * io/ftw.h: Likewise.
50173 * io/sys/poll.h: Likewise.
50174 * io/sys/stat.h: Likewise.
50175 * io/sys/statfs.h: Likewise.
50176 * io/sys/statvfs.h: Likewise.
50177 * io/utime.h: Likewise.
50178 * libio/bits/stdio.h: Likewise.
50179 * libio/bits/stdio2.h: Likewise.
50180 * libio/libio.h: Likewise.
50181 * libio/libioP.h: Likewise.
50182 * libio/stdio.h: Likewise.
50183 * locale/lc-ctype.c: Likewise.
50184 * locale/locale.h: Likewise.
50185 * login/utmp.h: Likewise.
50186 * malloc/arena.c: Likewise.
50187 * malloc/malloc.c: Likewise.
50188 * malloc/malloc.h: Likewise.
50189 * malloc/mcheck.c: Likewise.
50190 * malloc/mtrace.c: Likewise.
50191 * math/bits/mathcalls.h: Likewise.
50192 * math/fenv.h: Likewise.
50193 * math/math_private.h: Likewise.
50194 * misc/bits/error.h: Likewise.
50195 * misc/bits/syslog.h: Likewise.
50196 * misc/err.h: Likewise.
50197 * misc/error.h: Likewise.
50198 * misc/fstab.h: Likewise.
50199 * misc/mntent.h: Likewise.
50200 * misc/regexp.h: Likewise.
50201 * misc/search.h: Likewise.
50202 * misc/sgtty.h: Likewise.
50203 * misc/sys/mman.h: Likewise.
50204 * misc/sys/syslog.h: Likewise.
50205 * misc/sys/uio.h: Likewise.
50206 * misc/sys/xattr.h: Likewise.
50207 * misc/ttyent.h: Likewise.
50208 * nis/rpcsvc/ypclnt.h: Likewise.
50209 * nss/nss.h: Likewise.
50210 * posix/bits/unistd.h: Likewise.
50211 * posix/fnmatch.h: Likewise.
50212 * posix/glob.h: Likewise.
50213 * posix/sched.h: Likewise.
50214 * posix/spawn.h: Likewise.
50215 * posix/sys/wait.h: Likewise.
50216 * posix/unistd.h: Likewise.
50217 * posix/wordexp.h: Likewise.
50218 * pwd/pwd.h: Likewise.
50219 * resolv/netdb.h: Likewise.
50220 * resource/sys/resource.h: Likewise.
50221 * rt/aio.h: Likewise.
50222 * rt/bits/mqueue2.h: Likewise.
50223 * rt/mqueue.h: Likewise.
50224 * shadow/shadow.h: Likewise.
50225 * signal/signal.h: Likewise.
50226 * socket/send.c: Likewise.
50227 * socket/sendto.c: Likewise.
50228 * socket/sys/socket.h: Likewise.
50229 * stdio-common/printf.h: Likewise.
50230 * stdlib/bits/stdlib.h: Likewise.
50231 * stdlib/fmtmsg.h: Likewise.
50232 * stdlib/monetary.h: Likewise.
50233 * stdlib/stdlib.h: Likewise.
50234 * stdlib/ucontext.h: Likewise.
50235 * streams/stropts.h: Likewise.
50236 * string/argz.h: Likewise.
50237 * string/bits/string2.h: Likewise.
50238 * string/string.h: Likewise.
50239 * string/strings.h: Likewise.
50240 * sunrpc/rpc/auth.h: Likewise.
50241 * sunrpc/rpc/auth_des.h: Likewise.
50242 * sunrpc/rpc/clnt.h: Likewise.
50243 * sunrpc/rpc/netdb.h: Likewise.
50244 * sunrpc/rpc/pmap_clnt.h: Likewise.
50245 * sunrpc/rpc/xdr.h: Likewise.
50246 * sysdeps/generic/inttypes.h: Likewise.
50247 * sysdeps/generic/net/if.h: Likewise.
50248 * sysdeps/generic/sys/swap.h: Likewise.
50249 * sysdeps/gnu/net/if.h: Likewise.
50250 * sysdeps/gnu/utmpx.h: Likewise.
50251 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50252 * sysdeps/i386/i486/bits/string.h: Likewise.
50253 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50254 * sysdeps/s390/bits/string.h: Likewise.
50255 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50256 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50257 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50258 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50259 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50260 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50261 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50262 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50263 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50264 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50265 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50266 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50267 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50268 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50269 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50270 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50271 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50274 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50275 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50276 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50277 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50278 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50279 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50280 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50281 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50282 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50283 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50284 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50285 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50286 * sysvipc/sys/ipc.h: Likewise.
50287 * sysvipc/sys/msg.h: Likewise.
50288 * sysvipc/sys/sem.h: Likewise.
50289 * sysvipc/sys/shm.h: Likewise.
50290 * termios/termios.h: Likewise.
50291 * time/sys/time.h: Likewise.
50292 * time/time.h: Likewise.
50293 * wcsmbs/bits/wchar2.h: Likewise.
50294 * wcsmbs/uchar.h: Likewise.
50295 * wcsmbs/wchar.h: Likewise.
50296 * wctype/wctype.h: Likewise.
50297
0269750c
UD
50298 [BZ #13551]
50299 * Makeconfig: Remove all but ELF support including AIX support.
50300 * Makerules: Likewise.
50301 * config.h.in: Likewise.
50302 * config.make.in: Likewise.
50303 * configure: Likewise.
50304 * configure.in: Likewise.
50305 * csu/Makefile: Likewise.
50306 * csu/version.c: Likewise.
50307 * debug/Makefile: Likewise.
50308 * dlfcn/Makefile: Likewise.
50309 * elf/Makefile: Likewise.
50310 * extra-lib.mk: Likewise.
50311 * iconv/Makefile: Likewise.
50312 * include/libc-symbols.h: Likewise.
50313 * include/shlib-compat.h: Likewise.
50314 * resolv/Makefile: Likewise.
50315 * resolv/res_libc.c: Likewise.
50316 * rt/Makefile: Likewise.
50317 * sysdeps/i386/asm-syntax.h: Likewise.
50318 * sysdeps/i386/sysdep.h: Likewise.
50319 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50320 * sysdeps/mach/sysdep.h: Likewise.
50321 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50322 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50323 * sysdeps/s390/asm-syntax.h: Likewise.
50324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50325 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50326 * sysdeps/sh/sysdep.h: Likewise.
50327 * sysdeps/unix/sparc/sysdep.h: Likewise.
50328 * sysdeps/wordsize-32/divdi3.c: Likewise.
50329 * sysdeps/x86_64/sysdep.h: Likewise.
50330
00bbd29b
UD
50331 * argp/Versions: Remove _argp_unlock_xxx.
50332
50333 [BZ #13559]
50334 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50335 * abilist/libBrokenLocale.abilist: Likewise.
50336 * abilist/libanl.abilist: Likewise.
50337 * abilist/libc.abilist: Likewise.
50338 * abilist/libcrypt.abilist: Likewise.
50339 * abilist/libdl.abilist: Likewise.
50340 * abilist/libm.abilist: Likewise.
50341 * abilist/libnsl.abilist: Likewise.
50342 * abilist/libpthread.abilist: Likewise.
50343 * abilist/libresolv.abilist: Likewise.
50344 * abilist/librt.abilist: Likewise.
50345 * abilist/libthread_db.abilist: Likewise.
50346 * abilist/libutil.abilist: Likewise.
50347 * abilist/libnss_db.abilist: New file.
50348
50349 * scripts/abilist.awk: Add support for indirect functions.
50350
a2693a0e
UD
50351 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50352
3f05895f
UD
50353 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50354
ecb6fb48
UD
50355 * shlib-versions: Remove entries for ports architectures.
50356
664f8cb9
UD
50357 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50358 files in ports.
50359 * elf/stackguard-macros.h: Remove support for IA-64.
50360 * elf/tst-auditmod1.c: Likewise.
50361 * sysdeps/generic/ldsodefs.h: Likewise.
50362
7ae81d88
UD
50363 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50364 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50365 configure files.
50366
bdeba135
UD
50367 [BZ #13552]
50368 * configure.in: Remove --enable-omitfp support.
50369 * FAQ.in: Adjust.
50370 * config.make.in: Likewise.
50371 * Makeconfig: Likewise.
50372 * manual/install.texi: Likewise.
50373
d75a0a62
UD
50374 In case anyone cares, the IA-64 architecture could move to ports.
50375 * sysdeps/ia64/*: Removed.
50376 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 50377 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 50378
dcc9756b
UD
50379 [BZ #13555]
50380 * configure.in: Remove entries for unsupported architectures.
50381
d3761ebc 50382 [BZ #13533]
9954432e
UD
50383 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50384 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50385 routines.
50386 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50387 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50388 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50389 fall back to using wcrtomb.
50390 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50391 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50392 renaming.
50393 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50394 * wcsmbs/tst-c16c32-1.c: New file.
50395
50396 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50397 local variable.
50398
c3a87236
UD
50399 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50400
28926a1b
UD
50401 * elf/tst-unique3.cc: Add explicit declaration of gets.
50402 * elf/tst-unique3lib.cc: Likewise.
50403 * elf/tst-unique3lib2.cc: Likewise.
50404 * elf/tst-unique4.cc: Likewise.
50405
df78418a
UD
50406 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50407
8ecd6b2a
JM
504082012-01-06 Joseph Myers <joseph@codesourcery.com>
50409
50410 [BZ #13566]
50411 * assert/assert.h (static_assert): Don't define for C++.
50412 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50413 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50414
9f115170
UD
504152012-01-03 Ulrich Drepper <drepper@gmail.com>
50416
5e0d0300
UD
50417 * iconv/loop.c (single loop): Fix assertion in storing of
50418 remaining bytes.
50419
9f115170
UD
50420 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50421
81fb02b0
UD
504222012-01-01 Ulrich Drepper <drepper@gmail.com>
50423
50424 * posix/getconf.c: Update copyright year.
50425 * nss/getent.c: Likewise.
a316c1f6 50426 * nss/makedb.c: Likewise.
81fb02b0
UD
50427 * iconv/iconvconfig.c: Likewise.
50428 * iconv/iconv_prog.c: Likewise.
50429 * elf/ldconfig.c: Likewise.
a316c1f6
UD
50430 * elf/pldd.c: Likewise.
50431 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
50432 * catgets/gencat.c: Likewise.
50433 * csu/version.c: Likewise.
50434 * elf/ldd.bash.in: Likewise.
50435 * elf/sprof.c (print_version): Likewise.
50436 * locale/programs/locale.c: Likewise.
50437 * locale/programs/localedef.c: Likewise.
a316c1f6 50438 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
50439 * nscd/nscd.c (print_version): Likewise.
50440 * debug/xtrace.sh: Likewise.
50441 * malloc/memusage.sh: Likewise.
50442 * malloc/mtrace.pl: Likewise.
50443 * debug/catchsegv.sh: Likewise.
50444
2ba92745
JJ
504452011-12-30 Jakub Jelinek <jakub@redhat.com>
50446
50447 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50448 pure attribute.
50449
dadebdae
UD
504502011-12-24 Ulrich Drepper <drepper@gmail.com>
50451
d3761ebc 50452 [BZ #13533]
db6af3eb
UD
50453 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50454 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50455 transformations.
50456 * iconv/gconv_int.h: Likewise.
50457 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50458 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50459 from libc for GLIBC_2.16.
50460 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50461 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50462 * wcsmbs/uchar.h: Really define mbstate_t.
50463 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50464 * wcsmbs/c16rtomb.c: New file.
50465 * wcsmbs/mbrtoc16.c: New file.
50466 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50467 for C/POSIX locale.
50468 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50469 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50470
dadebdae
UD
50471 * wcsmbs/wchar.h: Add missing __restrict.
50472
67371b56
UD
504732011-12-23 Ulrich Drepper <drepper@gmail.com>
50474
74033a25
UD
50475 [BZ #13532]
50476 * time/Makefile (routines): Add timespec_get.
50477 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50478 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50479 timespec for ISO C11.
50480 * time/timespec_get.c: New file.
50481 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50482 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50483
380d7e87
UD
50484 [BZ #13531]
50485 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50486 * stdlib/stdlib.h: Declare aligned_alloc.
50487 * Versions.def: Add GLIBC_2.16 for libc.
50488 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50489
4e9e7a35
UD
50490 [BZ 13527]
50491 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50492 ISO C11.
50493
380d7e87 50494 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
50495 code.
50496
03a71829
UD
50497 [BZ #13528]
50498 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50499
839e283e
UD
50500 [BZ #13529]
50501 * assert/assert.h (static_assert): Define.
50502
ce5294e2 50503 * version.h: Update for 2.16 development version.
90fa7312 50504
8d44e150 50505 [BZ #13526]
d7809905
UD
50506 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50507 _ISOC11_SOURCE.
50508
c0da14cd
UD
50509 * version.h (RELEASE): Bump for 2.15 release.
50510 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50511
530a3249
MP
50512 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50513 Patch by Marek Polacek <mpolacek@redhat.com>.
50514
67371b56
UD
50515 * bits/byteswap.h: Protect long long constants with __extension__.
50516 * sysdeps/i386/bits/byteswap.h: Likewise.
50517 * sysdeps/ia64/bits/byteswap.h: Likewise.
50518 * sysdeps/s390/bits/byteswap.h: Likewise.
50519 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50520
15db4de1
LD
505212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50522
50523 [BZ #13540]
bbe315ea
LD
50524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50525 destination buffer.
15db4de1
LD
50526 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50527
2b2596b1
MP
505282011-12-23 Marek Polacek <polacek@redhat.com>
50529
50530 * elf/dl-addr.c (determine_info): Add inline keyword.
50531 * elf/tst-auditmod4b.c (check_avx): Likewise.
50532 * elf/tst-auditmod6b.c (check_avx): Likewise.
50533 * elf/tst-auditmod6c.c (check_avx): Likewise.
50534 * elf/tst-auditmod7b.c (check_avx): Likewise.
50535
70c6c246
UD
505362011-12-23 Ulrich Drepper <drepper@gmail.com>
50537
50538 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50539 !__SSE_MATH__.
50540
c044cf14
LD
505412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50542
15db4de1 50543 [BZ #13540]
c044cf14
LD
50544 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50545 processing for last bytes.
50546
6b13d9d9
BH
505472011-08-06 Bruno Haible <bruno@clisp.org>
50548
d455f537
BH
50549 [BZ #13061]
50550 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50551 U+0385, not to U+1FEE.
50552
6b13d9d9
BH
50553 [BZ #13062]
50554 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50555 entry for U+00A5 U+0301.
50556
db910efd
UD
505572011-12-22 Ulrich Drepper <drepper@gmail.com>
50558
27deeafc
UD
50559 [BZ #13166]
50560 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50561 buffer for the output is too small.
50562
aed9d171
UD
50563 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50564 optimization.
50565
db910efd
UD
50566 [BZ #13185]
50567 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50568 SSE flags if possible.
50569
2bd779ae
LD
505702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50571
e7f9dac3 50572 [BZ #13540]
2bd779ae
LD
50573 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50574 processing for last bytes.
50575
154bfc16
JM
505762011-12-22 Joseph Myers <joseph@codesourcery.com>
50577
50578 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50579 (syscall-list-default-options, syscall-list-default-condition)
50580 (syscall-list-includes): Define.
50581 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50582 list of ABIs and options and #if conditions for each ABI. Do not
50583 handle common syscalls between ABIs specially.
50584 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50585 Remove.
50586 (syscall-list-variants, syscall-list-32bit-options)
50587 (syscall-list-32bit-condition, syscall-list-64bit-options)
50588 (syscall-list-64bit-condition): Define.
50589 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50590 (syscall-list-variants, syscall-list-32bit-options)
50591 (syscall-list-32bit-condition, syscall-list-64bit-options)
50592 (syscall-list-64bit-condition): Define.
50593 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50594 Remove.
50595 (syscall-list-variants, syscall-list-32bit-options)
50596 (syscall-list-32bit-condition, syscall-list-64bit-options)
50597 (syscall-list-64bit-condition): Define.
50598 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50599 Remove.
50600 (syscall-list-variants, syscall-list-32bit-options)
50601 (syscall-list-32bit-condition, syscall-list-64bit-options)
50602 (syscall-list-64bit-condition): Define.
50603
21eaf3a5
UD
506042011-12-22 Ulrich Drepper <drepper@gmail.com>
50605
16c6f992
UD
50606 * locale/iso-639.def: Add brx entry.
50607
41043168
UD
50608 [BZ #13328]
50609 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50610 Proposed by Mariusz_Cukr <marcukr@op.pl>.
50611
21eaf3a5
UD
50612 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50613 __feraiseexcept_renamed.
50614
e3a851a2
UD
506152011-12-21 Ulrich Drepper <drepper@gmail.com>
50616
4920765e
UD
50617 [BZ #13538]
50618 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50619 EPOLLET with unsigned values.
50620 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50621 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50622
e3a851a2
UD
50623 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50624 to large cancellation.
50625 * math/s_cacoshf.c: Likewise.
50626 * math/s_cacoshl.c: Likewise.
50627
b27e24b8
RK
506282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50629
50630 [BZ #13305]
aebefeee 50631 [BZ #12786]
b27e24b8
RK
50632 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50633 * math/s_cacoshf.c: Likewise.
50634 * math/s_cacoshl.c: Likewise.
50635
ee190f67
UD
506362011-12-21 Ulrich Drepper <drepper@gmail.com>
50637
50638 [BZ #13439]
50639 * iconv/gconv.h: Define __GCONV_SWAP.
50640 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50641 * iconvdata/utf-16.c: Likewise.
50642 * iconvdata/utf-32.c: Likewise.
50643
707f25df
AS
506442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50645
50646 [BZ #13524]
50647 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50648 numerator after shifting it by one limb.
50649
d2daaa1e
RÁE
506502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50651
50652 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50653 under [__USE_EXTERN_INLINES].
50654
a4647e72
UD
506552011-12-17 Ulrich Drepper <drepper@gmail.com>
50656
50657 [BZ #13446]
50658 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50659
f0b264f1
AZ
506602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50661
50662 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50663 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50664 optimized code.
50665 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50666 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50667 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50668 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50669 for strncasecmp/strncasecmp_l compilation.
50670 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50671 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50672
8ef4f244
MP
506732011-12-08 Marek Polacek <mpolacek@redhat.com>
50674
50675 [BZ #13484]
50676 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50677 of __asm__.
50678
97ac2654
UD
506792011-12-17 Ulrich Drepper <drepper@gmail.com>
50680
50681 [BZ #13506]
50682 * time/tzfile.c (__tzfile_read): Check values from file header.
50683
91d2a845
WS
506842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50685
50686 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50687 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50688 * powerpc/powerpc32/dl-start.S: Likewise.
50689 * powerpc/powerpc32/elf/start.S: Likewise.
50690 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50691 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50692 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50693 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50694 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50695 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50696 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50697 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50698 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50699 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50700 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50701 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50702 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50703 * powerpc/powerpc32/memset.S: Likewise.
50704 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50705 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50706 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50707 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50708 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50709 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50710 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50711 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50712 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50713 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50715 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50716 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50717
a1267ba1
AZ
507182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50719
50720 * math/libm-test.inc: Added more nearbyint tests.
50721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50722 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50724 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50725
ad8ac1bd
RL
507262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50727
50728 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50729 FD_CLOEXEC.
50730
1d3e4b61
UD
507312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50732
50733 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50734 Add wcscpy-ssse3 wcscpy-c.
50735 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50736 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50737 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50738 * sysdeps/x86_64/wcschr.S: New file.
50739 * sysdeps/x86_64/wcsrchr.S: New file.
50740 * string/test-strcmp.c: Remove checking of wcscmp function for
50741 wrong alignments.
50742 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50743 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50744 wcsrchr-sse2 wcsrchr-c.
50745 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50746 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50747 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50748 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50749 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50750 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50751 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50752 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50753 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50754 * wcsmbc/wcschr.c (WCSCHR): New macro.
50755
5b330a2d
UD
507562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50757
50758 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50759 * wcsmbs/test-wcsrchr.c: New file.
50760 * string/test-strrchr.c: Add wcsrchr support.
50761 (WIDE): New macro.
50762 * wcsmbs/test-wcscpy.c: New file.
50763 * string/test-strcpy.c: Add wcscpy support.
50764 (WIDE): New macro.
26428b7c 50765
f039c043
UD
507662011-12-10 Ulrich Drepper <drepper@gmail.com>
50767
50768 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50769 the inner loop.
50770
850fb039
AS
507712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50772
50773 [BZ #13472]
50774 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50775
4efbd5cb
UD
507762011-12-04 Ulrich Drepper <drepper@gmail.com>
50777
52ff5dd0 50778 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50779 Minor optimizations.
52ff5dd0 50780
4efbd5cb
UD
50781 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50782 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50783 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50784
8a426e12
UD
507852011-12-03 Ulrich Drepper <drepper@gmail.com>
50786
aff2453d
UD
50787 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50788 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50789 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50790 for gcc to avoid warnings.
50791 * inet/Makefile (tests): Add tst-checks.
50792 * inet/tst-checks.c: New file.
50793
50794 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50795 warning.
50796
50797 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50798 __wmemcmp_sse2.
50799
50800 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50801 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50802
8a426e12
UD
50803 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50804
9bea3473
UD
508052011-12-02 Ulrich Drepper <drepper@gmail.com>
50806
3a965496
UD
50807 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50808 problem.
50809
9bea3473
UD
50810 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50811
f101631b
UD
508122011-11-29 Joseph Myers <joseph@codesourcery.com>
50813
50814 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50815 conditional on GCC version.
50816 (__arch_compare_and_exchange_val_8_acq)
50817 (__arch_compare_and_exchange_val_16_acq)
50818 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50819 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50820 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50821
a98275aa
UD
508222011-12-02 Joseph Myers <joseph@codesourcery.com>
50823
50824 * sysdeps/sh/backtrace.c: New file.
50825
d4cc29a2
AS
508262011-12-02 Andreas Schwab <schwab@redhat.com>
50827
50828 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50829 parenthesis.
50830
6257af2d
AS
508312011-12-01 Andreas Schwab <schwab@redhat.com>
50832
50833 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50834 falling back to utime.
50835
b5f44c1a
AS
508362011-11-30 Andreas Schwab <schwab@redhat.com>
50837
50838 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50839 expectations for float.
50840
f3a6cc0a
AS
508412011-11-29 Andreas Schwab <schwab@redhat.com>
50842
50843 * locale/weight.h (findidx): Add parameter len.
50844 * locale/weightwc.h (findidx): Likewise.
50845 * posix/fnmatch_loop.c (FCT): Adjust caller.
50846 * posix/regcomp.c (build_equiv_class): Likewise.
50847 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50848 * posix/regexec.c (check_node_accept_bytes): Likewise.
50849 * string/strcoll_l.c (STRCOLL): Likewise.
50850 * string/strxfrm_l.c (STRXFRM): Likewise.
50851
9d65ea3a
UD
508522011-11-17 Ulrich Drepper <drepper@gmail.com>
50853
50854 * Makefile.in: Remove CVSOPT handling.
50855 * configure.in: Remove use of AC_REVISION.
50856 * iconvdata/Makefile (distribute): No need to filter out CVS.
50857 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50858 handling.
50859
5583a086
AS
508602011-11-16 Andreas Schwab <schwab@redhat.com>
50861
50862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50863 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50864 [USE_AS_STRNCASECMP_L]: Likewise.
50865 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50866 NO_TLS_DIRECT_SEG_REFS.
50867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50868 Fix argument offsets for non-PIC.
50869 [USE_AS_STRNCASECMP_L]: Likewise.
50870 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50871 NO_TLS_DIRECT_SEG_REFS.
50872
d62a8200
UD
508732011-11-15 Ulrich Drepper <drepper@gmail.com>
50874
9d65ea3a 50875 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50876 O_CLOEXEC.
50877 * locale/loadlocale.c (_nl_load_locale): Likewise.
50878
09f93bd3
AS
508792011-11-15 Andreas Schwab <schwab@redhat.com>
50880
446514f9
AS
50881 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50882 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50883 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50884 (SYSCALL_GETTIME): Set errno on error.
50885
09f93bd3
AS
50886 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50887 count references to noai6ai_cached.
50888
312be3f9
UD
508892011-11-15 Ulrich Drepper <drepper@gmail.com>
50890
50891 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50892
50893 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50894 FD_CLOEXEC for /proc/self/maps.
50895
50896 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50897 FD_CLOEXEC for /proc/meminfo.
50898
50899 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50900 gai.conf.
50901
50902 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50903 FD_CLOEXEC for given file.
50904
50905 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50906
50907 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50908 FD_CLOEXEC for /etc/hosts.
50909 (_gethtent): Likewise.
50910
50911 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50912
50913 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50914 cancellation and set FD_CLOEXEC for /etc/netgroup.
50915
50916 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50917 reading /etc/publickey.
50918
50919 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50920 allow cancellation when reading /etc/group.
50921
50922 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50923 cancellation.
50924 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50925
50926 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50927 when using data file.
50928
50929 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50930
50931 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50932 (write_nis_obj): Use "c" and "e" in fopen.
50933
50934 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50935
50936 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50937
50938 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50939
50940 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50941
50942 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50943 locale.alias.
50944
50945 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50946
50947 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50948
50949 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50950
50951 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50952 file parsing and set FD_CLOEXEC.
50953
82af0fa8
UD
509542011-11-14 Ulrich Drepper <drepper@gmail.com>
50955
50956 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50957
a5fb313c
AS
509582011-11-14 Andreas Schwab <schwab@redhat.com>
50959
50960 * malloc/arena.c (arena_get2): Don't call reused_arena when
50961 _int_new_arena failed.
50962
6abf3465
UD
509632011-11-14 Ulrich Drepper <drepper@gmail.com>
50964
50965 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50966 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50967 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50968 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50969 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50971 to compile strcasecmp and strncasecmp.
50972 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50973 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50974
50975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50976
76e3966e
UD
509772011-11-13 Ulrich Drepper <drepper@gmail.com>
50978
50979 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50980 locale-defines.sym to gen-as-const-headers.
50981 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50982 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50984 to compile strcasecmp and strncasecmp.
50985 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50986 strcasecmp_l and strncasecmp_l.
50987 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50988 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50989 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50990 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50991 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50992 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50993 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50994 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50995 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50996 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50997 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50998
ab26144e
UD
509992011-11-12 Ulrich Drepper <drepper@gmail.com>
51000
7edb22ef
UD
51001 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51002 result of SYSDEP_GETTIME_CPU to retval.
51003 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51004 parameter list to macro. Remove trailing semicolon. Adjust users.
51005
9694fc44
UD
51006 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51007 variable.
51008
8ad89ef8
UD
51009 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51010 mantissa words.
51011 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51012
0c822ef9
UD
51013 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51014 from unused variable.
51015
874e0564
UD
51016 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51017 DWARF definitions.
51018 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51019 for assembling.
51020
3a2edc79
UD
51021 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51022 over namespaces.
51023
f3c2577f
UD
51024 * sunrpc/rpc_prot.c (rejected): Fix case value.
51025
294ce126
UD
51026 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51027 unsigned long long int to avoid warnings in shift.
51028
5e2b63c6
UD
51029 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51030 of use of trans.
51031 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51032 variable tmp.
51033
e7f4b08e
UD
51034 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51035 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51036 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51037
ab26144e
UD
51038 * nis/nis_table.c (nis_list): Use variable of correct type for
51039 result of __follow_path call.
51040
8a6d5255
AZ
510412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51042
51043 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51044 of math functions ceil, trunc, floor, round, and sqrt, when
51045 avaliable on the platform.
51046 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51047 name clash.
51048 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51049 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51050 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51051
aaddc98c
MP
510522011-10-30 Marek Polacek <mpolacek@redhat.com>
51053
51054 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51055 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51056
95b7042b
RM
510572011-11-11 Roland McGrath <roland@hack.frob.com>
51058
51059 * include/unistd.h: Fix __readlink return type.
51060 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51061
57769839
UD
510622011-11-11 Ulrich Drepper <drepper@gmail.com>
51063
51064 * stdlib/ucontext.h: Undo last change for makecontext.
51065
edc5984d
AS
510662011-11-11 Andreas Schwab <schwab@redhat.com>
51067
98591e58
AS
51068 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51069
edc5984d
AS
51070 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51071 * setjmp/setjmp.h: Mark functions as non-leaf.
51072 * setjmp/bits/setjmp2.h: Likewise.
51073 * stdlib/ucontext.h: Likewise.
51074
77cdc054
AS
510752011-11-10 Andreas Schwab <schwab@redhat.com>
51076
51077 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51078 (reused_arena): Don't check arena limit.
51079 (arena_get2): Atomically check arena limit.
51080
fe72eebd
UD
510812011-11-08 Ulrich Drepper <drepper@gmail.com>
51082
5f078c32
UD
51083 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51084 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51085
fe72eebd
UD
51086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51087 instructions.
51088
ae1bc2fa
AS
510892011-11-07 Andreas Schwab <schwab@redhat.com>
51090
7583a88d
AS
51091 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51092 handler when locking.
51093
ae1bc2fa
AS
51094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51095 Fix size of allocated buffer.
51096
10fb0bfa
AS
510972011-11-04 Andreas Schwab <schwab@redhat.com>
51098
998832a4
AS
51099 [BZ #10103]
51100 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51101 declarations for long double functions.
51102 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51103
10fb0bfa
AS
51104 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51105
3d7ba52b
AS
511062011-11-03 Andreas Schwab <schwab@redhat.com>
51107
a9ae54a1
AS
51108 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51109 installed.
51110
3d7ba52b
AS
51111 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51112 is disabled.
51113
bc8db248
ST
511142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51115
51116 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51117
45b96dd6
AS
511182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51119
647776f6
AS
51120 * include/alloca.h (stackinfo_alloca_round): Define.
51121 (extend_alloca): Use it.
51122 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51123 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51124 here.
51125
d91a8b93
AS
51126 * scripts/check-local-headers.sh: Ignore libaudit.h.
51127
45b96dd6
AS
51128 * nscd/Makefile (extra-objs): Make recursively expanded.
51129
432d41ce
UD
511302011-11-01 Ulrich Drepper <drepper@gmail.com>
51131
34372fc6
UD
51132 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51134
fadb59f8
UD
51135 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51136 * posix/tst-rfc3484-2.c: Likewise.
51137 * posix/tst-rfc3484-3.c: Likewise.
51138
78239589
UD
51139 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51140 process_vm_writev.
51141 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51142 process_vm_writev.
51143 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51144 process_vm_writev from libc using GLIBC_2.15 version.
51145
432d41ce
UD
51146 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51147
02f9c6cf
PP
511482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51149
51150 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51151 stack usage.
51152
3a2c0242
UD
511532011-10-31 Ulrich Drepper <drepper@gmail.com>
51154
f4ec4833
UD
51155 [BZ #13367]
51156 * nss/getent.c (initgroups_keys): Show error message in case no group
51157 names are given.
51158
3a2c0242
UD
51159 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51160 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51161 __bump_nl_timestamp.
51162 * nscd/connections (nscd_init): When host database is served open
51163 netlink socket and request notification about configuration changes.
51164 (main_loop_poll): Track netlink file descriptor and bump timestamp
51165 in case data becomes available.
51166 (main_loop_epoll): Likewise.
51167 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51168 (database_pers_head): Add extra_data fileds.
51169 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51170 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51171 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51172 Adjust caller.
51173 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51174 in6ai data, call __free_in6ai.
51175 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51176 Add -DHAVE_NETLINK.
51177 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51178 interface information. Reuse previous data if netlink timestamp
51179 is not changed.
51180 (__bump_nl_timestamp): New function.
51181 (__free_in6ai): New function.
51182
636064eb
UD
511832011-10-30 Ulrich Drepper <drepper@gmail.com>
51184
51185 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51186 close_not_cancel_no_status here.
51187 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51188
9beb2334
UD
511892011-10-29 Ulrich Drepper <drepper@gmail.com>
51190
6ef76f3b
UD
51191 [BZ #13276]
51192 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51193 return value.
51194
0ffc4f3e 51195 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
51196 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51197 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51198
cb95113e
UD
511992011-07-03 Andreas Jaeger <aj@suse.de>
51200
51201 [BZ #10709]
51202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51203 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51204 * math/libm-test.inc (sin_test): Add test case.
51205
a1b560ff
UD
512062011-10-29 Ulrich Drepper <drepper@gmail.com>
51207
c9aaface
UD
51208 [BZ #13337]
51209 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51210 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51211
d272e7f1
UD
51212 * elf/chroot_canon.c (chroot_canon): Cleanups.
51213
1bc33071
UD
51214 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51215
1760874d
TJ
51216 [BZ #13335]
51217 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51218 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51219
51d91b18
UD
51220 * string/test-strchr.c: Make usable for strchrnul testing.
51221 * string/test-strchrnul.c: New file.
51222 * string/Makefile (strop-tests): Add strchrnul.
51223
a1b560ff 51224 * po/it.po: Update from translation team.
b611fb81 51225 * po/es.po: Likewise.
a1b560ff 51226
a5b81e1f
UD
512272011-10-28 Ulrich Drepper <drepper@gmail.com>
51228
fd52bc6d
UD
51229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51230 the three constants needed as parameters. Drop the others.
51231 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51232 __m128i_strloadu_tolower.
52e4b9eb
UD
51233 Create and initialize variable zero and use it in all the places
51234 where _mm_setzero_si128 was used.
fd52bc6d 51235
a5b81e1f
UD
51236 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51237 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51238 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51240 anymore.
51241 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51242 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51243 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51244 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51245 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51246 __mpranred, __mptan.
51247 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51248 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51249 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51250 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51251 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51252 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51253 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51254 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51255 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51256
b4343346
AS
512572011-10-28 Andreas Schwab <schwab@redhat.com>
51258
0c92d8a8
AS
51259 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51260 redefine if SHARED.
51261 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51262
b4343346
AS
51263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51264 wide char related routines to wcsmbs subdir.
51265
3871f58f
AS
512662011-10-27 Andreas Schwab <schwab@redhat.com>
51267
51268 [BZ #13344]
51269 * misc/sys/cdefs.h (__THROWNL): Define.
51270 * posix/unistd.h: Use __THREADNL instead of __THREAD
51271 for memory synchronization functions.
51272
94d44d9f
RM
512732011-10-26 Roland McGrath <roland@hack.frob.com>
51274
21b64b15 51275 [BZ #13349]
94d44d9f
RM
51276 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51277 doesn't exist.
51278 * manual/stdio.texi (Obstack Streams): Node removed.
51279
f6ce9294
AS
512802011-10-26 Andreas Schwab <schwab@redhat.com>
51281
80479147
AS
51282 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51283 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51284 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51285
f6ce9294
AS
51286 * math/math_private.h (math_force_eval): Allow non-addressable
51287 arguments.
51288 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51289
618280a1
UD
512902011-10-25 Ulrich Drepper <drepper@gmail.com>
51291
e0016b11
UD
51292 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51293 file is not needed.
51294
51295 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51296 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51302 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51303 Add AVX variants.
51304 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51305 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51306 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51307 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51308 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51309 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51310 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51311 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51312 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51313 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51314 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51315 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51316 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51317 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51318 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51319 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51320 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51321 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51322 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51323
51324 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51325 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51326
618280a1
UD
51327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51328 place. Use VEX encoding when compiling for AVX.
51329
37822576
AS
513302011-10-25 Andreas Schwab <schwab@redhat.com>
51331
1f1e1947
AS
51332 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51333 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51334
37822576
AS
51335 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51336
31ea014d
UD
513372011-10-25 Ulrich Drepper <drepper@gmail.com>
51338
d7826aa1 51339 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 51340 useless if() expression.
d7826aa1
UD
51341 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51343 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51344 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51346 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51349 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51350 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51351 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51352 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51353 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51354 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51355 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51356 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51358 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51359 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51360
31ea014d
UD
51361 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51362
16437fec
AS
513632011-10-25 Andreas Schwab <schwab@redhat.com>
51364
51365 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51366 condition.
51367 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51368
31d3cc00
UD
513692011-10-25 Ulrich Drepper <drepper@gmail.com>
51370
51371 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51372 .text section. Avoid duplicate constants.
51373 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51374 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51375 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51376 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51377 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51381 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51382 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51383 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51384 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51385 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51386 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51387 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51388 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51389 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51390 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51391 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51392 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51393 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51394 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51395 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51396 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51397 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51398 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51399 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51400 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51401 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51402 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51403 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51404 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51405 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51406 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51407 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51408 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51409 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51410 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51411 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51412 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51414 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51418
58985aa9
UD
514192011-10-24 Ulrich Drepper <drepper@gmail.com>
51420
202c9deb
UD
51421 * sysdeps/x86_64/dla.h: Move to ...
51422 * sysdeps/x86_64/fpu/dla.h: ...here.
51423 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51424 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 51425
af968f62
UD
51426 * config.make.in: Add have-mfma4 entry.
51427 * configure.in: Substitute libc_cv_cc_fma4.
51428 * math/Makefile (dbl-only-routines): Add sincostab.
51429 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51430 Use __sincostab not sincos.
51431 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51432 name is a macro.
51433 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51437 using __copysign.
51438 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51439 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51440 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51441 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51442 and __inv.
51443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51444 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51445 __copysign.
51446 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51447 define aliases when function name is a macro.
51448 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51449 sysdeps/ieee754/dbl-64/sincos.tbl.
51450 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51451 fma4-enabled routines.
51452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51453 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51454 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51455 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51456 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51457 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51458 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51459 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51460 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51461 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51462 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51463 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51464 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51465 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51466 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51467 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51468 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51469 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51470 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51472 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51473 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51474 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51475 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51476 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51477 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51478 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51479 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51480 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51481 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51482
58985aa9
UD
51483 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51484 rename.
51485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51486 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51487 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51490 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51491 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51492 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51493
a201fbcf
AS
514942011-10-24 Andreas Schwab <schwab@redhat.com>
51495
51496 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51497
fc2ee42a
LD
514982011-10-23 Ulrich Drepper <drepper@gmail.com>
51499
bb3129bd
UD
51500 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51501
0275fff8
UD
51502 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51503 prediction.
51504 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51505
2fa2ae85
UD
51506 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51507 Remove unused variable magic_bits.
51508 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51509
fc2ee42a
LD
51510 * string/strnlen.c: Define and use STRNLEN macro.
51511 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51512 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51514 * wcsmbs/wcslen.c: Define and use WCSLEN.
51515 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51516 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51517 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51518 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51519 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51520 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51521 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51522
ce7dd29f
LD
515232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51524
51525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51526 strnlen-sse2-no-bsf.
51527 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51529 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51530 Add strnlen support.
51531 (USE_AS_STRNLEN): New macro.
51532 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51533 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51534 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51535 * sysdeps/x86_64/wcslen.S: New file.
51536
979c70a3
MZ
515372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
51538
51539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51540 XMM-moves are used for copying on small sizes.
51541
2d09f82f
LD
515422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51543
51544 * wcsmbs/Makefile (strop-tests): Add wcschr.
51545 * wcsmbs/test-wcschr.c: New file.
51546 * string/test-strchr.c: Update.
51547 Add wcschr support.
51548 (WIDE): New macro.
51549
619fccca
LD
515502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51551
2d09f82f 51552 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
51553 * wcsmbs/test-wcslen.c: New file.
51554 * string/test-strlen.c: Update.
51555 Add wcslen support.
51556 (WIDE): New macro.
51557
09f699ea
UD
515582011-10-23 Ulrich Drepper <drepper@gmail.com>
51559
51560 * po/it.po: Update from translation team.
51561
95584d3b
LD
515622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51563
51564 * sysdeps/x86_64/wcscmp.S: Update.
51565 Fix wrong comparison semantics.
51566 wcscmp shall use signed comparison not unsigned.
51567 Don't use substraction to avoid overflow bug.
51568 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51569 * wcsmbc/wcscmp.c: Likewise.
51570 * string/test-strcmp.c: Likewise.
51571 Add new tests to check cases with negative values.
51572
c8b3296b
UD
515732011-10-23 Ulrich Drepper <drepper@gmail.com>
51574
51575 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51576 * sysdeps/x86_64/dla.h: ...here. New file.
51577 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51582 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51583 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51585 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51586
246ad57a
AS
515872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
51588
51589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51590 __ynl_finite aliases.
51591
a1a87169
UD
515922011-10-22 Ulrich Drepper <drepper@gmail.com>
51593
0d355eb7
UD
51594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51595
a1a87169
UD
51596 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51597 define DLA_FMA.
51598 [DLA_FMA] (EMULV): Use DLA_FMA.
51599 [DLA_FMA] (MUL12): Use EMULV.
51600 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51601 that are not needed.
51602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51607 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51609
ee2aafe0
AS
516102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
51611
51612 * math/s_nan.c: Undef __nan.
51613 * math/s_nanf.c: Undef __nanf.
51614 * math/s_nanl.c: Undef __nanl.
51615 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51616 "math_private.h".
51617
bc62c2fb
UD
516182011-10-22 Ulrich Drepper <drepper@gmail.com>
51619
77425c63
UD
51620 * math/s_catan.c: Add branch predictions.
51621 * math/s_catanf.c: Likewise.
51622 * math/s_catanh.c: Likewise.
51623 * math/s_catanhf.c: Likewise.
51624 * math/s_catanhl.c: Likewise.
51625 * math/s_catanl.c: Likewise.
51626 * math/s_cexp.c: Likewise.
51627 * math/s_cexpf.c: Likewise.
51628 * math/s_cexpl.c: Likewise.
51629 * math/s_clog.c: Likewise.
51630 * math/s_clog10.c: Likewise.
51631 * math/s_clog10f.c: Likewise.
51632 * math/s_clog10l.c: Likewise.
51633 * math/s_clogf.c: Likewise.
51634 * math/s_clogl.c: Likewise.
51635 * math/s_csqrt.c: Likewise.
51636 * math/s_csqrtf.c: Likewise.
51637 * math/s_csqrtl.c: Likewise.
51638 * math/s_ctanf.c: Likewise.
51639 * math/s_ctanh.c: Likewise.
51640 * math/s_ctanhf.c: Likewise.
51641 * math/s_ctanhl.c: Likewise.
51642 * math/s_ctanl.c: Likewise.
51643
bc62c2fb
UD
51644 * math/math_private.h: Define __nan, __nanf, __nanl.
51645 * math/s_cacosh.c: Include <math_private.h>.
51646 * math/s_cacoshl.c: Likewise.
51647 * math/s_casinh.c: Likewise.
51648 * math/s_casinhf.c: Likewise.
51649 * math/s_casinhl.c: Likewise.
51650 * math/s_ccos.c: Rely entire on ccosh.
51651 * math/s_ccosf.c: Rely entire on ccoshf.
51652 * math/s_ccosl.c: Rely entirely on ccoshl.
51653 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51654 Remove tests for FE_INVALID.
51655 * math/s_ccoshf.c: Likewise.
51656 * math/s_ccoshl.c: Likewise.
51657 * math/s_csin.c: Likewise.
51658 * math/s_csinf.c: Likewise.
51659 * math/s_csinh.c Likewise.
51660 * math/s_csinhf.c: Likewise.
51661 * math/s_csinhl.c: Likewise.
51662 * math/s_csinl.c: Likewise.
51663 * math/s_ctan.c: Likewise.
51664 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51665 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51666 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51667
8ec250a4
UD
516682011-10-21 Ulrich Drepper <drepper@gmail.com>
51669
c196fed8
UD
51670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51671 compilation problems.
51672
8ec250a4
UD
51673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51674 __builtin_expect.
51675
8d4f46c6
UD
516762011-10-20 Ulrich Drepper <drepper@gmail.com>
51677
ed72b654
UD
51678 * sysdeps/i386/configure.in: Test for -mfma4 option.
51679 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51680 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51681 COMMON_CPUID_INDEX_80000001.
51682 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51683 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51684 use it if FMA3 is not supported.
51685 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51686
8d4f46c6
UD
51687 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51688 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51689
d45c60c2
AS
516902011-10-20 Andreas Schwab <schwab@redhat.com>
51691
51692 [BZ #12892]
51693 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51694 it would create a cycle with a link time dependency.
51695
d9a4d2ab
UD
516962011-10-19 Ulrich Drepper <drepper@gmail.com>
51697
855d1560
UD
51698 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51699 instruction.
51700 * string/Makefile (strop-tests): Add rawmemchr.
51701 * string/test-rawmemchr.c: New file.
51702
d9a4d2ab
UD
51703 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51705 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51706 when compiling str{,n}casecmp and when AVX is available. Hook up
51707 new optimized code in initializers.
51708
8f3b1ffe
AS
517092011-10-19 Andreas Schwab <schwab@redhat.com>
51710
51711 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51712 __feraiseexcept instead of feraiseexcept.
51713
d38f1dba
UD
517142011-10-18 Ulrich Drepper <drepper@gmail.com>
51715
d9a8d0ab
UD
51716 * math/math_private.h: Define defaults for libc_fetestexcept and
51717 libc_feupdateenv.
51718 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51719 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51720 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51721 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51722 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51724 libc_fetestexcept and libc_feupdateenv.
51725
4855e3dd
UD
51726 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51727 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51728 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51729 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51730 libc_feholdexcept_setround.
51731
581d30e3
UD
51732 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51733 Add s_nearbyint-c and s_nearbyintf-c.
51734 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51735 nearbyintf inlines.
51736 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51737 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51738 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51739 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51740
d38f1dba
UD
51741 * math/math_private.h: Define defaults for libc_fegetround,
51742 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51743 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51744 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51745 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51746 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51747 standard functions.
51748 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51749 Remove comments and hacks for old compiler versions.
51750 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51751 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51752 libc_feholdexceptl.
51753
caa6c9d8
AS
517542011-10-18 Andreas Schwab <schwab@redhat.com>
51755
51756 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51757 (__feraiseexcept_renamed): Add __NTH.
51758 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51759 namespace violations.
51760
97c066e6
UD
517612011-10-17 Ulrich Drepper <drepper@gmail.com>
51762
99ce7b04
UD
51763 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51764
1004d182
UD
51765 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51766
228a984d
UD
51767 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51768 recently added interfaces.
51769 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51770
c8553a6a
UD
51771 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51772 about macro parameter expansion.
51773
ed22dcf6
UD
51774 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51775 __NO_MATH_INLINES is defined. Cleanups.
51776
51777 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51778 and __floorf is target has SSE4.1.
51779 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51780 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51781 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51782 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51783
b171c137
UD
51784 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51785 name.
51786 (floorf): Likewise.
51787
97c066e6
UD
51788 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51789
629f62ef
AS
517902011-10-17 Andreas Schwab <schwab@redhat.com>
51791
49a43d80
AS
51792 * misc/sys/cdefs.h: Fix last change.
51793
629f62ef
AS
51794 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51795 database lookup.
51796
e453f6cd
UD
517972011-10-16 Ulrich Drepper <drepper@gmail.com>
51798
aa78043a
UD
51799 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51800
ad0f5cad
UD
51801 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51802 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51803 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51804 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51805 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51806 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51807 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51808 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51809 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51810 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51811 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51812 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51813 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51814 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51815 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51816 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51817 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51818 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51819 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51820 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51821 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51822 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51823
51824 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51825 ceil, ceilf, floor, floorf.
51826
51827 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51828 Perform IRELATIVE relocations last.
51829
e453f6cd
UD
51830 * elf/do-rel.h: Add another parameter nrelative, replacing the
51831 local variable with the same name. Change name of the function
51832 to end in Rel or Rela (uppercase).
51833 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51834 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51835 elf_dynamic_do_##reloc function.
51836
fd5bdc09
UD
518372011-10-15 Ulrich Drepper <drepper@gmail.com>
51838
79b195b5
UD
51839 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51840 is sufficient, at least on modern CPUs.
51841
d4a28569
UD
51842 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51843
b61099b5
UD
51844 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51845 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51846
bcf01e6d
UD
51847 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51848 __expl_finite.
51849 * math/bits/math-finite.h: Add entries for exp.
51850 * math/e_expl.c: Add __*_finite alias.
51851 * sysdeps/i386/fpu/e_exp.S: Likewise.
51852 * sysdeps/i386/fpu/e_expf.S: Likewise.
51853 * sysdeps/i386/fpu/e_expl.c: Likewise.
51854 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51855 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51856 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51858 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51859 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51860 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51861
ba1a0d59
UD
51862 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51863 is sufficient, at least on modern CPUs.
51864
fd5bdc09
UD
51865 * ctype/ctype-info.c (__ctype_init): Define.
51866 * include/ctype.h (__ctype_init): Declare.
51867 (__ctype_b_loc): The variable is always initialized.
51868 (__ctype_toupper_loc): Likewise.
51869 (__ctype_tolower_loc): Likewise.
51870 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51871 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51872
7872cfb0
AS
518732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51874
b468825a
AS
51875 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51876
7872cfb0
AS
51877 * configure.in: Also look in $cxxmachine/include for C++ system
51878 headers.
51879
be13f7bf
LD
518802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51881
51882 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51883 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51884 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51885 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51886 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51887 (USE_AS_WMEMCMP): New macro.
51888 Fixing indents.
51889 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51890 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51891 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51892 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51894 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51895 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51896 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51897 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51898 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51899 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51900 (USE_AS_WMEMCMP): New macro.
51901 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51902 * sysdeps/string/test-memcmp.c: Update.
51903 Fix simple_wmemcmp.
51904 Add new tests.
51905 * wcsmbs/wmemcmp.c: Update.
51906 (WMEMCMP): New macro.
51907 Fix overflow bug.
51908
556a2007
AJ
519092011-10-12 Andreas Jaeger <aj@suse.de>
51910
51911 [BZ #13268]
51912 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51913
538faaa7
UD
519142011-10-15 Ulrich Drepper <drepper@gmail.com>
51915
ab6737ff
UD
51916 * libio/iofwide.c (do_length): Avoid warning.
51917
538faaa7
UD
51918 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51919
396a21b1
UD
519202011-10-14 Ulrich Drepper <drepper@gmail.com>
51921
cdf2901f
UD
51922 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51923
38ad40ce
UD
51924 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51925 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51926 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51927 * sysdeps/i386/i686/fpu/e_log.S: New file.
51928 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51929 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51930
396a21b1
UD
51931 * ctype/ctype.h: Add support for inlined isXXX functions when
51932 compiling C++ code.
51933
6b1f68c9
AS
519342011-10-14 Andreas Schwab <schwab@redhat.com>
51935
349290c0
AS
51936 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51937
6b1f68c9
AS
51938 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51939
f2282d42
RM
519402011-10-13 Roland McGrath <roland@hack.frob.com>
51941
51942 [BZ #13291]
51943 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51944
5298ffa8
AS
519452011-10-13 Andreas Schwab <schwab@redhat.com>
51946
714fad23
AS
51947 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51948 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51949 feraiseexcept.
51950
81dcc7fb
AS
51951 * sysdeps/x86_64/memrchr.S: Check for zero size.
51952
5298ffa8
AS
51953 * string/stratcliff.c: Add memrchr tests.
51954
951fbcec
LD
519552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51956
51957 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51958 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51959 rawmemchr-sse2 rawmemchr-sse2-bsf.
51960 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51961 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51962 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51963 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51964 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51965 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51966 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51967 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51968 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51969 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51970 * string/memrchr.c (MEMRCHR): New macro.
51971
0ac5ae23
UD
519722011-10-12 Ulrich Drepper <drepper@gmail.com>
51973
51974 Add integration with gcc's -ffinite-math-only and optimize wrapper
51975 functions in libm.
51976 * Versions.def: Define GLIBC_2.15 version for libm.
51977 * math/Makefile (headers): Add bits/math-finite.h.
51978 * math/bits/math-finite.h: New file.
51979 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51980 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51981 * math/e_acoshl.c: Add __*_finite alias.
51982 * math/e_acosl.c: Likewise.
51983 * math/e_asinl.c: Likewise.
51984 * math/e_atan2l.c: Likewise.
51985 * math/e_atanhl.c: Likewise.
51986 * math/e_coshl.c: Likewise.
51987 * math/e_exp10.c: Likewise.
51988 * math/e_exp10f.c: Likewise.
51989 * math/e_exp10l.c: Likewise.
51990 * math/e_exp2l.c: Likewise.
51991 * math/e_fmodl.c: Likewise.
51992 * math/e_gammal_r.c: Likewise.
51993 * math/e_hypotl.c: Likewise.
51994 * math/e_j0l.c: Likewise.
51995 * math/e_j1l.c: Likewise.
51996 * math/e_jnl.c: Likewise.
51997 * math/e_lgammal_r.c: Likewise.
51998 * math/e_log10l.c: Likewise.
51999 * math/e_log2l.c: Likewise.
52000 * math/e_logl.c: Likewise.
52001 * math/e_powl.c: Likewise.
52002 * math/e_sinhl.c: Likewise.
52003 * math/e_sqrtl.c: Likewise.
52004 * math/e_scalb.c: Completely rewritten and optimized.
52005 * math/e_scalbf.c: Likewise.
52006 * math/e_scalbl.c: Likewise.
52007 * math/w_acos.c: Likewise.
52008 * math/w_acosf.c: Likewise.
52009 * math/w_acosl.c: Likewise.
52010 * math/w_acosh.c: Likewise.
52011 * math/w_acoshf.c: Likewise.
52012 * math/w_acoshl.c: Likewise.
52013 * math/w_asin.c: Likewise.
52014 * math/w_asinf.c: Likewise.
52015 * math/w_asinl.c: Likewise.
52016 * math/w_atan2.c: Likewise.
52017 * math/w_atan2f.c: Likewise.
52018 * math/w_atan2l.c: Likewise.
52019 * math/w_atanh.c: Likewise.
52020 * math/w_atanhf.c: Likewise.
52021 * math/w_atanhl.c: Likewise.
52022 * math/w_exp10.c: Likewise.
52023 * math/w_exp10f.c: Likewise.
52024 * math/w_exp10l.c: Likewise.
52025 * math/w_fmod.c: Likewise.
52026 * math/w_fmodf.c: Likewise.
52027 * math/w_fmodl.c: Likewise.
52028 * math/w_j0.c: Likewise.
52029 * math/w_j0f.c: Likewise.
52030 * math/w_j0l.c: Likewise.
52031 * math/w_j1.c: Likewise.
52032 * math/w_j1f.c: Likewise.
52033 * math/w_j1l.c: Likewise.
52034 * math/w_jn.c: Likewise.
52035 * math/w_jnf.c: Likewise.
52036 * math/w_log.c: Likewise.
52037 * math/w_logf.c: Likewise.
52038 * math/w_logl.c: Likewise.
52039 * math/w_log10.c: Likewise.
52040 * math/w_log10f.c: Likewise.
52041 * math/w_log10l.c: Likewise.
52042 * math/w_log2.c: Likewise.
52043 * math/w_log2f.c: Likewise.
52044 * math/w_log2l.c: Likewise.
52045 * math/w_pow.c: Likewise.
52046 * math/w_powf.c: Likewise.
52047 * math/w_powl.c: Likewise.
52048 * math/w_remainder.c: Likewise.
52049 * math/w_remainderf.c: Likewise.
52050 * math/w_remainderl.c: Likewise.
52051 * math/w_scalb.c: Likewise.
52052 * math/w_scalbf.c: Likewise.
52053 * math/w_scalbl.c: Likewise.
52054 * math/w_sqrt.c: Likewise.
52055 * math/w_sqrtf.c: Likewise.
52056 * math/w_sqrtl.c: Likewise.
52057 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52058 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52059 used.
52060 * math/math_private.h: Declare __kernel_standard_f.
52061 * math/w_cosh.c: Remove cruft and optimize a bit.
52062 * math/w_coshf.c: Likewise.
52063 * math/w_coshl.c: Likewise.
52064 * math/w_exp2.c: Likewise.
52065 * math/w_exp2f.c: Likewise.
52066 * math/w_exp2l.c: Likewise.
52067 * math/w_hypot.c: Likewise.
52068 * math/w_hypotf.c: Likewise.
52069 * math/w_hypotl.c: Likewise.
52070 * math/w_lgamma.c: Likewise.
52071 * math/w_lgamma_r.c: Likewise.
52072 * math/w_lgammaf.c: Likewise.
52073 * math/w_lgammaf_r.c: Likewise.
52074 * math/w_lgammal.c: Likewise.
52075 * math/w_lgammal_r.c: Likewise.
52076 * math/w_sinh.c: Likewise.
52077 * math/w_sinhf.c: Likewise.
52078 * math/w_sinhl.c: Likewise.
52079 * math/w_tgamma.c: Likewise.
52080 * math/w_tgammaf.c: Likewise.
52081 * math/w_tgammal.c: Likewise.
52082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52083 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52084 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52085 Minor optimizations. Pretty printing. Remove cruft.
52086 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52088 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52089 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52090 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52091 * sysdeps/i386/fpu/e_asin.S: Likewise.
52092 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52093 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52094 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52095 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52096 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52097 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52098 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52099 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52100 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52101 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52102 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52103 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52104 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52105 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52106 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52107 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52108 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52109 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52110 * sysdeps/i386/fpu/e_log.S: Likewise.
52111 * sysdeps/i386/fpu/e_log10.S: Likewise.
52112 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52113 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52114 * sysdeps/i386/fpu/e_log2.S: Likewise.
52115 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52116 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52117 * sysdeps/i386/fpu/e_logf.S: Likewise.
52118 * sysdeps/i386/fpu/e_logl.S: Likewise.
52119 * sysdeps/i386/fpu/e_pow.S: Likewise.
52120 * sysdeps/i386/fpu/e_powf.S: Likewise.
52121 * sysdeps/i386/fpu/e_powl.S: Likewise.
52122 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52123 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52124 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52125 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52127 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52128 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52129 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52130 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52131 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52132 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52133 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52134 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52135 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52136 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52137 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52138 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52140 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52141 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52142 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52144 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52145 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52147 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52148 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52149 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52151 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52152 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52153 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52154 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52155 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52156 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52157 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52158 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52159 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52160 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52161 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52162 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52163 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52164 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52165 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52166 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52167 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52168 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52169 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52170 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52171 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52172 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52173 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52174 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52175 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52176 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52177 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52178 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52179 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52180 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52181 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52182 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52183 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52184 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52185 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52186 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52187 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52188 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52189 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52190 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52191 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52192 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52194 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52195 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52196 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52197 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52198 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52199 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52200 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52201 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52202 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52204 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52205 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52207 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52208 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52209 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52210 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52211 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52212 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52213 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52214 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52215 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52216 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52217 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52218 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52219 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52220 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52222 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52223 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52224 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52225 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52226 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52227 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52228 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52229 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52230 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52231 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52232 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52233 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52234 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52235 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52237 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52238 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52239 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52240 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52241 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52242 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52243 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52244 (__isnanf): Likewise.
52245 (__isinf_ns): Likewise.
52246 (__isinf_nsf): Likewise.
52247 (__finite): Likewise.
52248 (__finitef): Likewise.
52249 (__ieee754_sqrt): Define as macro.
52250 (__ieee754_sqrtf): Define as macro.
52251 (__ieee754_sqrtl): Define as macro.
52252 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52253 inlined copy.
52254 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52255 __FINITE_MATH_ONLY__ consistent.
52256 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52257
12cc2fcd
AS
522582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52259
a843a204
AS
52260 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52261 of rawmemchr.
52262
12cc2fcd
AS
52263 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52264
c853acd5
UD
522652011-10-09 Ulrich Drepper <drepper@gmail.com>
52266
52267 * po/ja.po: Update from translation team.
52268
c658d255
RM
522692011-10-08 Roland McGrath <roland@hack.frob.com>
52270
110946e4
RM
52271 * locale/programs/locarchive.c (prepare_address_space): New function.
52272 (create_archive, enlarge_archive, open_archive): Use it.
52273
50604220
RM
52274 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52275 inside [SHARED], where it is used.
52276
c658d255
RM
52277 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52278
52279 * nss/getent.c (netgroup_keys): Remove unused variable.
52280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52281
6a621eb7
UD
522822011-10-08 Ulrich Drepper <drepper@gmail.com>
52283
7edb55ce
UD
52284 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52285 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52286 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52287 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52288 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52289 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52290 * math/Makefile (libm-calls): Add s_isinf_ns.
52291 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52292 * math/multc3.c: Likewise.
52293 * math/s_casin.c: Likewise.
52294 * math/s_casinf.c: Likewise.
52295 * math/s_casinl.c: Likewise.
52296 * math/s_ccos.c: Likewise.
52297 * math/s_ccosf.c: Likewise.
52298 * math/s_ccosl.c: Likewise.
52299 * math/s_ctan.c: Likewise.
52300 * math/s_ctanf.c: Likewise.
52301 * math/s_ctanh.c: Likewise.
52302 * math/s_ctanhf.c: Likewise.
52303 * math/s_ctanhl.c: Likewise.
52304 * math/s_ctanl.c: Likewise.
52305 * math/w_fmod.c: Likewise.
52306 * math/w_fmodf.c: Likewise.
52307 * math/w_fmodl.c: Likewise.
52308 * math/w_remainder.c: Likewise.
52309 * math/w_remainderf.c: Likewise.
52310 * math/w_remainderl.c: Likewise.
52311 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52312 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52313 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52314 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52315 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52316 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52317 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52318 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52319
187da0ae
UD
52320 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52321 of the number.
52322 * stdio-common/printf_fphex.c: Likewise.
52323 * stdio-common/printf_size.c: Likewise.
52324
9277c064
UD
52325 * math/e_exp10.c: Include math_private.h using <...> not "...".
52326 * math/e_exp10f.c: Likewise.
52327 * math/e_exp10l.c: Likewise.
52328 * math/e_exp2l.c: Likewise.
52329 * math/e_j0l.c: Likewise.
52330 * math/e_j1l.c: Likewise.
52331 * math/e_jnl.c: Likewise.
52332 * math/e_lgammal_r.c: Likewise.
52333 * math/e_rem_pio2l.c: Likewise.
52334 * math/e_scalb.c: Likewise.
52335 * math/e_scalbf.c: Likewise.
52336 * math/e_scalbl.c: Likewise.
52337 * math/k_cosl.c: Likewise.
52338 * math/k_sinl.c: Likewise.
52339 * math/k_tanl.c: Likewise.
52340 * math/s_cacoshf.c: Likewise.
52341 * math/s_catan.c: Likewise.
52342 * math/s_catanf.c: Likewise.
52343 * math/s_catanh.c: Likewise.
52344 * math/s_catanhf.c: Likewise.
52345 * math/s_catanhl.c: Likewise.
52346 * math/s_catanl.c: Likewise.
52347 * math/s_ccosh.c: Likewise.
52348 * math/s_ccoshf.c: Likewise.
52349 * math/s_ccoshl.c: Likewise.
52350 * math/s_cexp.c: Likewise.
52351 * math/s_cexpf.c: Likewise.
52352 * math/s_cexpl.c: Likewise.
52353 * math/s_clog.c: Likewise.
52354 * math/s_clog10.c: Likewise.
52355 * math/s_clog10f.c: Likewise.
52356 * math/s_clog10l.c: Likewise.
52357 * math/s_clogf.c: Likewise.
52358 * math/s_clogl.c: Likewise.
52359 * math/s_csin.c: Likewise.
52360 * math/s_csinf.c: Likewise.
52361 * math/s_csinh.c: Likewise.
52362 * math/s_csinhf.c: Likewise.
52363 * math/s_csinhl.c: Likewise.
52364 * math/s_csinl.c: Likewise.
52365 * math/s_csqrt.c: Likewise.
52366 * math/s_csqrtf.c: Likewise.
52367 * math/s_csqrtl.c: Likewise.
52368 * math/s_ctan.c: Likewise.
52369 * math/s_ctanf.c: Likewise.
52370 * math/s_ctanh.c: Likewise.
52371 * math/s_ctanhf.c: Likewise.
52372 * math/s_ctanhl.c: Likewise.
52373 * math/s_ctanl.c: Likewise.
52374 * math/s_ldexp.c: Likewise.
52375 * math/s_ldexpf.c: Likewise.
52376 * math/s_ldexpl.c: Likewise.
52377 * math/s_significand.c: Likewise.
52378 * math/s_significandf.c: Likewise.
52379 * math/s_significandl.c: Likewise.
52380 * math/w_acos.c: Likewise.
52381 * math/w_acosf.c: Likewise.
52382 * math/w_acosh.c: Likewise.
52383 * math/w_acoshf.c: Likewise.
52384 * math/w_acoshl.c: Likewise.
52385 * math/w_acosl.c: Likewise.
52386 * math/w_asin.c: Likewise.
52387 * math/w_asinf.c: Likewise.
52388 * math/w_asinl.c: Likewise.
52389 * math/w_atan2.c: Likewise.
52390 * math/w_atan2f.c: Likewise.
52391 * math/w_atan2l.c: Likewise.
52392 * math/w_atanh.c: Likewise.
52393 * math/w_atanhf.c: Likewise.
52394 * math/w_atanhl.c: Likewise.
52395 * math/w_cosh.c: Likewise.
52396 * math/w_coshf.c: Likewise.
52397 * math/w_coshl.c: Likewise.
52398 * math/w_dremf.c: Likewise.
52399 * math/w_exp10.c: Likewise.
52400 * math/w_exp10f.c: Likewise.
52401 * math/w_exp10l.c: Likewise.
52402 * math/w_exp2.c: Likewise.
52403 * math/w_exp2f.c: Likewise.
52404 * math/w_fmod.c: Likewise.
52405 * math/w_fmodf.c: Likewise.
52406 * math/w_fmodl.c: Likewise.
52407 * math/w_hypot.c: Likewise.
52408 * math/w_hypotf.c: Likewise.
52409 * math/w_hypotl.c: Likewise.
52410 * math/w_j0.c: Likewise.
52411 * math/w_j0f.c: Likewise.
52412 * math/w_j0l.c: Likewise.
52413 * math/w_j1.c: Likewise.
52414 * math/w_j1f.c: Likewise.
52415 * math/w_j1l.c: Likewise.
52416 * math/w_jn.c: Likewise.
52417 * math/w_jnf.c: Likewise.
52418 * math/w_jnl.c: Likewise.
52419 * math/w_lgamma.c: Likewise.
52420 * math/w_lgamma_r.c: Likewise.
52421 * math/w_lgammaf.c: Likewise.
52422 * math/w_lgammaf_r.c: Likewise.
52423 * math/w_lgammal.c: Likewise.
52424 * math/w_lgammal_r.c: Likewise.
52425 * math/w_log.c: Likewise.
52426 * math/w_log10.c: Likewise.
52427 * math/w_log10f.c: Likewise.
52428 * math/w_log10l.c: Likewise.
52429 * math/w_log2.c: Likewise.
52430 * math/w_log2f.c: Likewise.
52431 * math/w_log2l.c: Likewise.
52432 * math/w_logf.c: Likewise.
52433 * math/w_logl.c: Likewise.
52434 * math/w_pow.c: Likewise.
52435 * math/w_powf.c: Likewise.
52436 * math/w_powl.c: Likewise.
52437 * math/w_remainder.c: Likewise.
52438 * math/w_remainderf.c: Likewise.
52439 * math/w_remainderl.c: Likewise.
52440 * math/w_scalb.c: Likewise.
52441 * math/w_scalbf.c: Likewise.
52442 * math/w_scalbl.c: Likewise.
52443 * math/w_sinh.c: Likewise.
52444 * math/w_sinhf.c: Likewise.
52445 * math/w_sinhl.c: Likewise.
52446 * math/w_sqrt.c: Likewise.
52447 * math/w_sqrtf.c: Likewise.
52448 * math/w_sqrtl.c: Likewise.
52449 * math/w_tgamma.c: Likewise.
52450 * math/w_tgammaf.c: Likewise.
52451 * math/w_tgammal.c: Likewise.
52452
6a621eb7
UD
52453 * po/ja.po: Update from translation team.
52454
bf582445
AJ
524552011-09-29 Andreas Jaeger <aj@suse.de>
52456
f9efbf3a
AJ
52457 [BZ #13179]
52458 * sunrpc/netname.c (netname2host): Fix logic.
52459
bf582445
AJ
52460 [BZ #6779]
52461 [BZ #6783]
52462 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52463 correctly.
52464 * math/w_remainder.c (__remainder): Likewise.
52465 * math/w_remainderf.c (__remainderf): Likewise.
52466 * math/libm-test.inc (remainder_test): Add test cases.
52467
48693bea
AK
524682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52469
52470 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52471 sdiv_qrnnd.
52472
42622229
LD
524732011-10-07 Ulrich Drepper <drepper@gmail.com>
52474
52475 * string/test-memcmp.c: Avoid unncessary #defines.
52476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52477
093ecf92
LD
524782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52479
52480 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52481 Use new sse2 version for core i3 - i7 as it's faster
52482 than sse42 version.
52483 (bit_Prefer_PMINUB_for_stringop): New.
52484 * sysdeps/x86_64/rawmemchr.S: Update.
52485 Replace with faster SSE2 version.
52486 * sysdeps/x86_64/memrchr.S: New file.
52487 * sysdeps/x86_64/memchr.S: Update.
52488 Replace with faster SSE2 version.
52489
fde56e5c
MP
524902011-09-12 Marek Polacek <mpolacek@redhat.com>
52491
52492 * elf/dl-load.c (lose): Add cast to avoid warning.
52493
21fd49a9
UD
524942011-10-07 Ulrich Drepper <drepper@gmail.com>
52495
5a06e643
UD
52496 * po/ca.po: Update from translation team.
52497
684ae515
UD
52498 * inet/getnetgrent_r.c: Hook up nscd.
52499 * nscd/Makefile (routines): Add nscd_netgroup.
52500 (nscd-modules): Add netgroupcache.
52501 (CFLAGS-netgroupcache.c): Define.
52502 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52503 (cache_search): Add const to second parameter.
52504 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52505 INNETGR.
52506 (dbs): Add netgrdb entry.
52507 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52508 (verify_persistent_db): Handle netgrdb.
52509 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52510 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52511 GETFDNETGR.
52512 (netgroup_response_header): Define.
52513 (innetgroup_response_header): Define.
52514 (datahead): Add netgroup_response_header and innetgroup_response_header
52515 elements.
52516 * nscd/nscd.conf: Add entries for netgroup cache.
52517 * nscd/nscd.h (dbtype): Add netgrdb.
52518 (_PATH_NSCD_NETGROUP_DB): Define.
52519 (netgroup_iov_disabled): Declare.
52520 (xmalloc, xcalloc, xrealloc): Move declarations here.
52521 (cache_search): Adjust prototype.
52522 Add netgroup-related prototypes.
52523 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52524 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52525 (__nscd_innetgr): Declare.
52526 * nscd/selinux.c (perms): Use access_vector_t as element type and
52527 add netgroup-related initializers.
52528 * nscd/netgroupcache.c: New file.
52529 * nscd/nscd_netgroup.c: New file.
52530 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52531 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52532 For four parameters use innetgr.
52533 * nss/nss_files/files-init.c: Add definition and callback for netgr.
52534 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52535 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52536 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52537
21fd49a9
UD
52538 * nscd/connections.c (register_traced_file): Don't register file
52539 for disabled databases.
52540
054c0457
UD
525412011-10-06 Ulrich Drepper <drepper@gmail.com>
52542
32b63198
UD
52543 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52544
054c0457
UD
52545 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52546 from tree and freeing node.
52547
64031225
JO
525482011-09-25 Jiri Olsa <jolsa@redhat.com>
52549
52550 * nss/nsswitch.c (__nss_database_lookup): Handle
52551 nss_parse_service_list out of memory case.
52552
0490345c
JO
525532011-09-15 Jiri Olsa <jolsa@redhat.com>
52554
52555 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52556 out of memory case.
52557
3a62d00d
AS
525582011-10-04 Andreas Schwab <schwab@redhat.com>
52559
52560 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52561 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52562 pass it down.
52563 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52564 elf_machine_rela, elf_machine_lazy_rel.
52565 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52566 (ELF_DYNAMIC_DO_REL): Likewise.
52567 (ELF_DYNAMIC_DO_RELA): Likewise.
52568 (ELF_DYNAMIC_RELOCATE): Likewise.
52569 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52570 to ELF_DYNAMIC_DO_REL.
52571 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52572 (dl_main): In trace mode always set __RTLD_NOIFUNC.
52573 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52574 elf_machine_rela.
52575 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52576 skip_ifunc, don't call ifunc function if non-zero.
52577 (elf_machine_rela): Likewise.
52578 (elf_machine_lazy_rel): Likewise.
52579 (elf_machine_lazy_rela): Likewise.
52580 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52581 (elf_machine_lazy_rel): Likewise.
52582 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52583 Likewise.
52584 (elf_machine_lazy_rel): Likewise.
52585 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52586 Likewise.
52587 (elf_machine_lazy_rel): Likewise.
52588 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52589 (elf_machine_lazy_rel): Likewise.
52590 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52591 (elf_machine_lazy_rel): Likewise.
52592 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52593 (elf_machine_lazy_rel): Likewise.
52594 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52595 (elf_machine_lazy_rel): Likewise.
52596 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52597 (elf_machine_lazy_rel): Likewise.
52598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52599 (elf_machine_lazy_rel): Likewise.
52600
68577918
UD
526012011-09-28 Ulrich Drepper <drepper@gmail.com>
52602
52603 * nss/nss_files/files-init.c (_nss_files_init): Use static
52604 initialization for all the *_traced_file variables.
52605
68822d74
AS
526062011-09-28 Andreas Schwab <schwab@redhat.com>
52607
52608 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52609
2056100b
RM
526102011-09-27 Roland McGrath <roland@hack.frob.com>
52611
52612 [BZ #13226]
52613 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52614
32c76b63
AS
526152011-09-27 Andreas Schwab <schwab@redhat.com>
52616
52617 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52618 Reread the line before reparsing it.
52619
bf972c9d
AS
526202011-09-26 Andreas Schwab <schwab@redhat.com>
52621
52622 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52623
e057a1b5
JM
526242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52625 Maxim Kuvyrkov <maxim@codesourcery.com>
52626 Joseph Myers <joseph@codesourcery.com>
52627
52628 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52629 if needed for __stack_chk_guard.
52630
bc7e1c36
RM
526312011-09-19 Roland McGrath <roland@hack.frob.com>
52632
ecb1482f
RM
52633 * sysdeps/posix/spawni.c (script_execute): Always define it.
52634 It will be optimized away if unused.
52635 (maybe_script_execute): New function.
52636 (__spawni): Call it.
52637
bc7e1c36
RM
52638 * Makerules: Don't include tls.make.
52639 (config-tls): Always set to thread.
52640 * tls.make.c: File removed.
52641
1c3b002b
MF
526422011-09-19 Mike Frysinger <vapier@gentoo.org>
52643
52644 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52645 * config.make.in (CPPFLAGS-config): New substituted variable.
52646
2840865d
UD
526472011-09-15 Ulrich Drepper <drepper@gmail.com>
52648
88738eb6
UD
52649 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52650
cbf645a6 52651 [BZ #13192]
2840865d
UD
52652 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52653 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52654
b402e91a
RM
526552011-09-15 Roland McGrath <roland@hack.frob.com>
52656
52657 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52658 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52660 (CALL_FAIL): Likewise.
52661 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52662 (CALL_FAIL): Macro removed.
52663 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52664
4c1a1f71
UD
526652011-09-15 Ulrich Drepper <drepper@gmail.com>
52666
52667 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52668 for __FINITE_MATH_ONLY__ == 1.
52669
edc121be
AS
526702011-09-15 Andreas Schwab <schwab@redhat.com>
52671
52672 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52673 __ieee754_sqrt instead of sqrt.
52674 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52675 __ieee754_sqrtf instead of sqrtf.
52676 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52677 __floorf instead of floorf.
52678 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52679 __floorf, __truncf instead of floorf, truncf.
52680
cd205654
UD
526812011-09-14 Ulrich Drepper <drepper@gmail.com>
52682
ee4d0315
UD
52683 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52684
cd205654
UD
52685 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52686 __extern_always_inline.
52687 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52688 32-bit.
52689
48b67d71
AS
526902011-09-14 Andreas Schwab <schwab@redhat.com>
52691
52692 * elf/rtld.c (dl_main): Also relocate in dependency order when
52693 doing symbol dependency testing.
52694
1ae12c75
AS
526952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52696
52697 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52698 Always define `refsym'.
52699
995a80df
AS
527002011-09-13 Andreas Schwab <schwab@redhat.com>
52701
e529793b
AS
52702 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52703 (__FD_ELT): Renamed from __FDELT.
52704 * misc/bits/select2.h (__FD_ELT): Likewise.
52705 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52706 __FD_MASK instead of __FDELT, __FDMASK.
52707 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52708 Likewise.
52709 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52710 Likewise.
52711
52d4fef8
AS
52712 * elf/Makefile (gen-ldd): Fix pattern.
52713
995a80df
AS
52714 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52715 (init_tls): Likewise.
52716
8682f8b0
UD
527172011-09-12 Ulrich Drepper <drepper@gmail.com>
52718
52719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52720
de82006d
AS
527212011-09-12 Andreas Schwab <schwab@redhat.com>
52722
a7c8e6a1
AS
52723 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52724 `struct cmsghdr *' instead of `void *'.
52725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52726 Likewise.
52727
0f31fe77
AS
527282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52729
52730 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52731 if non-absolute.
52732 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52733 ldd_rewrite_script.
0f31fe77 52734
32b4c839
UD
527352011-09-11 Ulrich Drepper <drepper@gmail.com>
52736
83cd1420
UD
52737 * configure.in: Remove --with-tls option.
52738 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52739 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52740 out in case it is missing.
52741 * sysdeps/ia64/elf/configure.in: Likewise.
52742 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52743 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52744 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52745 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52746 * sysdeps/sh/elf/configure.in: Likewise.
52747 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52748 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52749 * sysdeps/x86_64/elf/configure.in: Likewise.
52750 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52751 * sysdeps/mach/hurd/tls.h: Likewise.
52752
633f745d
UD
52753 [BZ #13067]
52754 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52755
f318beb8
UD
52756 [BZ #13090]
52757 * configure.in: Fix use of AC_INIT.
52758
32b4c839
UD
52759 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52760
3ce1f295
UD
527612011-09-10 Ulrich Drepper <drepper@gmail.com>
52762
bb016596
UD
52763 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52764 __set_errno.
8e58439c
UD
52765 * malloc/hooks.c: Likewise.
52766
aebae053 52767 [BZ #11929]
02d46fc4
UD
52768 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52769 variables statically.
52770 (narenas): Initialize.
52771 (list_lock): Initialize.
bb016596
UD
52772 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52773 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52774 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52775 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52776 Add initializers to main_arena and mp_.
52777 (malloc_state): Remove pagesize member. Change all users to use
52778 GLRO(dl_pagesize).
52779
52780 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52781 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52782 is always initialized.
52783
22a89187
UD
52784 * malloc/malloc.c: Removed unused configurations and dead code.
52785 * malloc/arena.c: Likewise.
52786 * malloc/hooks.c: Likewise.
02d46fc4 52787 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52788
d063d164
UD
52789 * include/tls.h: Removed. USE___THREAD must always be defined.
52790 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52791 * elf/dl-libc.c: Likewise.
52792 * elf/dl-tsd.c: Likewise.
52793 * include/errno.h: Likewise.
52794 * include/netdb.h: Likewise.
52795 * include/resolv.h: Likewise.
52796 * inet/herrno-loc.c: Likewise.
52797 * inet/herrno.c: Likewise.
52798 * malloc/arena.c: Likewise.
52799 * malloc/hooks.c: Likewise.
52800 * malloc/malloc.c: Likewise.
52801 * resolv/res-state.c: Likewise.
52802 * resolv/res_libc.c: Likewise.
52803 * sysdeps/i386/dl-machine.h: Likewise.
52804 * sysdeps/ia64/dl-machine.h: Likewise.
52805 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52806 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52807 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52808 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52809 * sysdeps/sh/dl-machine.h: Likewise.
52810 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52811 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52812 * sysdeps/unix/i386/sysdep.S: Likewise.
52813 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52814 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52818 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52819 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52821 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52823 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52824 * sysdeps/x86_64/dl-machine.h: Likewise.
52825 * tls.make.c: Likewise.
52826
3ce1f295
UD
52827 * configure.in: Remove --with-__thread option. Make tests for
52828 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52829 tls_model attribute fail if no support is available. Remove
52830 USE_IN_LIBIO.
52831 * Makeconfig: Adjust for dropped configure option. All features are
52832 now mandatory.
52833 * Makerules: Likewise.
52834 * Versions.def: Likewise.
52835 * argp/argp-fmtstream.c: Likewise.
52836 * argp/argp-fmtstream.h: Likewise.
52837 * argp/argp-help.c: Likewise.
52838 * assert/assert.c: Likewise.
52839 * config.h.in: Likewise.
52840 * config.make.in: Likewise.
52841 * configure: Likewise.
52842 * configure.in: Likewise.
52843 * csu/Versions: Likewise.
52844 * csu/init.c: Likewise.
52845 * elf/tst-audit2.c: Likewise.
52846 * elf/tst-tls10.c: Likewise.
52847 * elf/tst-tls10.h: Likewise.
52848 * elf/tst-tls11.c: Likewise.
52849 * elf/tst-tls12.c: Likewise.
52850 * elf/tst-tls14.c: Likewise.
52851 * elf/tst-tlsmod11.c: Likewise.
52852 * elf/tst-tlsmod12.c: Likewise.
52853 * elf/tst-tlsmod13.c: Likewise.
52854 * elf/tst-tlsmod13a.c: Likewise.
52855 * elf/tst-tlsmod14a.c: Likewise.
52856 * elf/tst-tlsmod15b.c: Likewise.
52857 * elf/tst-tlsmod16a.c: Likewise.
52858 * elf/tst-tlsmod16b.c: Likewise.
52859 * elf/tst-tlsmod7.c: Likewise.
52860 * elf/tst-tlsmod8.c: Likewise.
52861 * elf/tst-tlsmod9.c: Likewise.
52862 * gmon/gmon.c: Likewise.
52863 * grp/fgetgrent_r.c: Likewise.
52864 * grp/putgrent.c: Likewise.
52865 * hurd/fopenport.c: Likewise.
52866 * include/libc-symbols.h: Likewise.
52867 * include/tls.h: Likewise.
52868 * intl/gettextP.h: Likewise.
52869 * intl/loadinfo.h: Likewise.
52870 * locale/global-locale.c: Likewise.
52871 * locale/localeinfo.h: Likewise.
52872 * mach/devstream.c: Likewise.
52873 * malloc/arena.c: Likewise.
52874 * malloc/set-freeres.c: Likewise.
52875 * misc/err.c: Likewise.
52876 * misc/getttyent.c: Likewise.
52877 * misc/mntent_r.c: Likewise.
52878 * posix/getopt.c: Likewise.
52879 * posix/wordexp.c: Likewise.
52880 * pwd/fgetpwent_r.c: Likewise.
52881 * resolv/Versions: Likewise.
52882 * resolv/res_hconf.c: Likewise.
52883 * shadow/fgetspent_r.c: Likewise.
52884 * shadow/putspent.c: Likewise.
52885 * stdio-common/printf_fphex.c: Likewise.
52886 * stdio-common/tmpfile.c: Likewise.
52887 * stdlib/abort.c: Likewise.
52888 * stdlib/fmtmsg.c: Likewise.
52889 * sunrpc/auth_unix.c: Likewise.
52890 * sunrpc/clnt_perr.c: Likewise.
52891 * sunrpc/clnt_tcp.c: Likewise.
52892 * sunrpc/clnt_udp.c: Likewise.
52893 * sunrpc/clnt_unix.c: Likewise.
52894 * sunrpc/openchild.c: Likewise.
52895 * sunrpc/svc_simple.c: Likewise.
52896 * sunrpc/svc_tcp.c: Likewise.
52897 * sunrpc/svc_udp.c: Likewise.
52898 * sunrpc/svc_unix.c: Likewise.
52899 * sunrpc/xdr.c: Likewise.
52900 * sunrpc/xdr_array.c: Likewise.
52901 * sunrpc/xdr_rec.c: Likewise.
52902 * sunrpc/xdr_ref.c: Likewise.
52903 * sunrpc/xdr_stdio.c: Likewise.
52904
1248c1c4
PB
529052011-09-09 Ulrich Drepper <drepper@gmail.com>
52906
52907 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52908
529092011-07-03 Andreas Jaeger <aj@suse.de>
52910
52911 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52912 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52913 regenerate with gen-libm-tests.pl.
52914
529152010-05-12 Petr Baudis <pasky@suse.cz>
52916
52917 [BZ #11589]
52918 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52919 around j0() zero points by switching to j1().
52920 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52923 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52924
f22e1074
UD
529252011-09-09 Ulrich Drepper <drepper@gmail.com>
52926
f19009c1
UD
52927 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52928 instead of 0.
52929 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52930 instead of 0.
f19009c1
UD
52931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52932 Patch in part by Pavel Roskin <proski@gnu.org>.
52933
3f8cc204
UD
52934 [BZ #13138]
52935 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52936 realloc.
52937 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52938 Free memory block if necessary.
52939
f22e1074
UD
52940 [BZ #12847]
52941 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52942 be NULL. Don't lock in this case.
52943
0a2349f9
RM
529442011-09-09 Roland McGrath <roland@hack.frob.com>
52945
52946 * elf/elf.h (ELFOSABI_GNU): New macro.
52947 (ELFOSABI_LINUX): Define to that.
52948
f3cdd467
DZ
529492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52950
52951 * string/strncat.c (strncat): Undef the symbol in case it has been
52952 defined in bits/string.h.
52953
74718d13
UD
529542011-09-09 Ulrich Drepper <drepper@gmail.com>
52955
633e9e0f
UD
52956 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52957
0a2349f9 52958 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52959 link map.
52960
f9924780
AJ
529612011-08-17 Andreas Jaeger <aj@suse.de>
52962
52963 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52964
7f5517aa
PP
529652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52966 Ian Lance Taylor <iant@google.com>
52967
52968 * math/libm-test.inc (lround_test): New testcase.
52969 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52970
762011fe
UD
529712011-09-08 Ulrich Drepper <drepper@gmail.com>
52972
92963737
UD
52973 * Makefile: Remove support for automatic cvs check-ins.
52974 * Makerules: Likewise.
52975 * config.make.in: Likewise.
52976 * configure.in: Likewise.
52977 * intl/Makefile: Likewise.
52978 * locale/Makefile: Likewise.
52979 * po/Makefile: Likewise.
52980 * posix/Makefile: Likewise.
52981 * sysdeps/gnu/Makefile: Likewise.
52982 * sysdeps/mach/hurd/Makefile: Likewise.
52983 * sysdeps/sparc/sparc32/Makefile: Likewise.
52984
b0727fd8
JS
52985 [BZ #13118]
52986 * posix/Makefile (bug-regex32-ENV): Define.
52987 Patch by John Stanley <jpsinthemix@verizon.net>.
52988
a0f33f99
UD
52989 * misc/Makefile (headers): Add bits/select2.h.
52990 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52991 * misc/bits/select2.h: New file.
52992 * include/bits/select2.h: New file.
52993 * debug/Makefile (routines): Add fdelt_chk.
52994 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52995 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52996 FD_ISSET.
52997 * debug/fdelt_chk.c: New file.
52998
762011fe
UD
52999 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53000 * wcsmbs/test-wmemcmp.c: Likewise.
53001 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 53002 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
53003
530042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53005
53006 * string/Makefile (strop-tests): Add memcmp.
53007 * string/test-wmemcmp.c: New file.
53008 * string/test-memcmp.c: Add wmemcmp support.
53009
7f513ec8
RM
530102011-09-08 Roland McGrath <roland@hack.frob.com>
53011
0442afb4
RM
53012 [BZ #13153]
53013 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53014 2011-07-19 change.
53015
7f513ec8
RM
53016 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53017 garbage value in a __mach_port_mod_refs call in the cases of the
53018 task-self and thread-self ports.
53019
a12b2239
ST
530202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53021
53022 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53023
610f9ab4
AS
530242011-09-08 Andreas Schwab <schwab@redhat.com>
53025
7f513ec8 53026 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 53027
48882a1a
LD
530282011-09-07 Ulrich Drepper <drepper@gmail.com>
53029
b49865be
UD
53030 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53031
fdc86bc9
UD
53032 * elf/dl-libc.c (dlerror_run): Pass back error code from
53033 dl_catch_error.
53034
c966526a
UD
53035 [BZ #13123]
53036 * elf/dl-load.c (lose): Free l_origin if it is valid.
53037
48882a1a
LD
53038 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53039 names.
53040 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53041 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53042 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53043 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53044 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53045 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53046
77a2a8b4
AZ
530472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53048
53049 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53050 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53051 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53052 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53053 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53054 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53055 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53056 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53057 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53058 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53059
24f579d8
AM
530602011-08-15 Alan Modra <amodra@gmail.com>
53061
53062 [BZ #13092]
53063 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53064 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53065 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53066 ppc_mcount to static-only-routines.
53067 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53068 __mcount_internal.
53069 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53070 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53071
3d4837df
UD
530722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53073
53074 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53075 for finite and infinity parameters.
53076
22700377
WS
530772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53078
53079 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53080 and add nop instructions for throughput optimization.
53081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53082
5025581e
WS
530832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53084
53085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53086 aligned copy for power7 with vector-scalar instructions.
53087 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53088
08a300c9
L
530892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53090
53091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53092 AVX check.
53093
59178ef9
AS
530942011-09-07 Andreas Schwab <schwab@redhat.com>
53095
53096 [BZ #13144]
53097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53098 last change.
53099
e38ba7ab
UD
531002011-09-07 Ulrich Drepper <drepper@gmail.com>
53101
53102 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53103 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53104 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53105 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53106 clock_gettime.
53107
d53a73ac
UD
531082011-09-06 Ulrich Drepper <drepper@gmail.com>
53109
fc8bffcc
UD
53110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53111 Forgot to demangle the pointer.
53112
ceaa0c5d
UD
53113 * sysdeps/i386/sysdep.h: Define atom_text_section.
53114 * sysdeps/x86_64/sysdep.h: Likewise.
53115 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53116 section with atom_text_section.
53117 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53118 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53119 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53122
a77d3c17
UD
53123 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53124 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53125 already be defined. Change to take two parameters and don't assign
53126 result to variable. Adjust all users.
53127 Define INTERNAL_GETTIME if not already defined.
53128 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53129 call.
53130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53131 HAVE_CLOCK_GETTIME_VSYSCALL.
53132 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53133
d53a73ac
UD
53134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53135 gettimeofday vsyscall, just use time.
53136
a8f84144
AS
531372011-09-06 Andreas Schwab <schwab@redhat.com>
53138
53139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53140 <errno.h>.
53141
ef606249
UD
531422011-09-06 Ulrich Drepper <drepper@gmail.com>
53143
53144 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53145 syscall on x86-64.
53146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53147 syscall.
53148 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53149 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53150 syscall if possible.
53151
6585cb60
UD
531522011-09-05 Ulrich Drepper <drepper@gmail.com>
53153
53154 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53155 e_ident. Don't pass to find_mapsXX.
53156 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53157
a5f524e4
LD
531582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53159
53160 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53161 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53162 * sysdeps/x86_64/multiarch/strchr.S: Update.
53163 Check bit_slow_BSF bit.
53164 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53165 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53166 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53167
554881ef
UD
531682011-09-05 Ulrich Drepper <drepper@gmail.com>
53169
d96de963
UD
53170 [BZ #13134]
53171 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53172 before glibc 2.15.
53173 (tryshell): Define.
53174 (__spawni): Change last parameter to be flag. Test
53175 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53176 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53177 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53178 * posix/spawni.c: Likewise.
53179 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53180 * posix/spawnp.c: Likewise. Change normal version to use
53181 SPAWN_XFLAGS_USE_PATH.
53182 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53183 SPAWN_XFLAGS_TRY_SHELL.
53184
d48e5868
UD
53185 [BZ #13150]
53186 * posix/glob.h: Remove gcc 1.x support.
53187
554881ef
UD
53188 [BZ #13068]
53189 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53190
693fb948
LD
531912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53192
53193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53194 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53195 strrchr-sse2-bsf
53196 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53197 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53198 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53199 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53200 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53201 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53202
1b48c537
UD
532032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53204
49d42c37
UD
53205 * sysdeps/x86_64/wcscmp.S: New file.
53206
1b48c537
UD
53207 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53208 wcscmp-c wcscmp-sse2
53209 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53210 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53211 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53212 * wcsmbs/wcscmp.c: Allow renaming.
53213
15c95c5d
DM
532142011-09-05 David S. Miller <davem@davemloft.net>
53215
53216 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53217 stack slot, rather than the struct return pointer slot.
53218 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53219 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53221 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53222
2f0ad8f3
UD
532232011-09-05 Ulrich Drepper <drepper@gmail.com>
53224
d88ae418
UD
53225 * po/ja.po: Update from translation team.
53226
2f0ad8f3
UD
53227 [BZ #13144]
53228 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53229 kernel in 64-bit binaries.
53230
5f4318d1
DM
532312011-09-01 David S. Miller <davem@davemloft.net>
53232
53233 * elf/elf.h (HWCAP_SPARC_*): Move to..
53234 * sysdeps/sparc/sysdep.h: this new file and add new values.
53235 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53236 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53237 _DL_HWCAP_COUNT to 24.
53238 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53239 entries.
53240 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53241 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53242 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53244 instead of magic constants.
53245 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53246
3ba57516
DM
532472011-08-31 David S. Miller <davem@davemloft.net>
53248
53249 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53251 Reimplement to do errno handling inline.
53252 (SYSCALL_ERROR_HANDLER): New macro.
53253 (__SYSCALL_STRING): Do not do errno handling in asm.
53254 (__CLONE_SYSCALL_STRING): Delete.
53255 (__INTERNAL_SYSCALL_STRING): Delete.
53256 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53257 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53258 (PSEUDO): Reimplement to do errno handling inline.
53259 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53260 (SYSCALL_ERROR_HANDLER): New macro.
53261 (__SYSCALL_STRING): Do not do errno handling in asm.
53262 (__CLONE_SYSCALL_STRING): Delete.
53263 (__INTERNAL_SYSCALL_STRING): Delete.
53264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53265 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53266 i386.
53267 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53268 (inline_syscall*): Add 'err' argument.
53269 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53270 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53271 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53272 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53273
53274 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53275 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53276
2bc17433
AS
532772011-08-30 Andreas Schwab <schwab@redhat.com>
53278
53279 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53280
fbeb5f4d
JO
532812011-08-29 Jiri Olsa <jolsa@redhat.com>
53282
53283 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53284 directive.
53285
ad69cc26
DM
532862011-08-24 David S. Miller <davem@davemloft.net>
53287
53288 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53289
39dd69df
AS
532902011-08-24 Andreas Schwab <schwab@redhat.com>
53291
53292 * elf/Makefile: Add rules to build and run unload8 test.
53293 * elf/unload8.c: New file.
53294 * elf/unload8mod1.c: New file.
53295 * elf/unload8mod1x.c: New file.
53296 * elf/unload8mod2.c: New file.
53297 * elf/unload8mod3.c: New file.
53298
53299 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53300 it wasn't used.
53301
2c0b250a
DM
533022011-08-23 David S. Miller <davem@davemloft.net>
53303
53304 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53305 subtract stack bias.
53306 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53307 %sp not %fp in calculations.
53308 (_JMPBUF_UNWINDS_ADJ): Likewise.
53309
22044b48
DM
53310 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53311 (aio_suspend): Call it to force an exception region around the
53312 AIO_MISC_WAIT() invocation.
53313
2cae4995
AS
533142011-08-23 Andreas Schwab <schwab@redhat.com>
53315
53316 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53317 backslash.
53318
873a772e
AJ
533192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53320
53321 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53322 protection macro.
53323 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53324 and <dl-machine.h>.
53325 (Elf64_FuncDesc): Remove.
53326
25ad0df1
DM
533272011-08-22 David S. Miller <davem@davemloft.net>
53328
53329 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53330 sigaltstack check, add missing cfi directives.
53331 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53332 missing cfi directives, and sigaltstack handling.
53333
e888bcbe
AS
533342011-08-16 Andreas Schwab <schwab@redhat.com>
53335
53336 [BZ #11724]
53337 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53338 object is seen twice.
53339 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53340
53341 * elf/Makefile (distribute): Add tst-initorder2.c.
53342 (tests): Add tst-initorder2.
53343 (modules-names): Add tst-initorder2a tst-initorder2b
53344 tst-initorder2c tst-initorder2d. Add rules to build them.
53345 ($(objpfx)tst-initorder2.out): New rule.
53346 * elf/tst-initorder2.c: New file.
53347 * elf/tst-initorder2.exp: New file.
53348
87162f46
AS
533492011-08-22 Andreas Schwab <schwab@redhat.com>
53350
70538b7f
AS
53351 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53352
f55ffe58
AS
53353 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53354 dependencies back to end of function.
53355
87162f46
AS
53356 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53357 $(elfobjdir)/ld.so.
53358
91b392a4
UD
533592011-08-21 Ulrich Drepper <drepper@gmail.com>
53360
53361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53362 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53364 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53365 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53366 of __vdso_gettimeofday.
53367 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53368 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53369 attribute_hidden.
53370 (_libc_vdso_platform_setup): Remove initialization of
53371 __vdso_gettimeofday and __vdso_time.
53372
5c43483f
UD
533732011-08-20 Ulrich Drepper <drepper@gmail.com>
53374
775a77e7
UD
53375 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53376 and fgetc_unlocked.
53377 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53378 getc_unlocked.
89f447ed 53379
49c74ba9
UD
53380 * elf/dl-open.c (add_to_global): Report additions to the global scope
53381 for LD_DEBUG=scopes.
53382 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 53383 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 53384
5c43483f
UD
53385 [BZ #13114]
53386 * stdio-common/Makefile (tests): Add bug24.
53387 * stdio-common/bug24.c: New file.
53388
a101b025
AJ
533892011-08-19 Andreas Jaeger <aj@suse.de>
53390
53391 [BZ #13114]
53392 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53393 non-existant file when using close-on-exec mode.
53394
c88f1766
UD
533952011-08-20 Ulrich Drepper <drepper@gmail.com>
53396
0276a718
UD
53397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53398 the very first instruction.
53399
c88f1766
UD
53400 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53401 the CFI state in the end.
53402 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53403 inclusion of dl-trampoline.h.
53404 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53405
51ccffa0
AS
534062011-08-19 Andreas Schwab <schwab@redhat.com>
53407
94d7165f
AS
53408 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53409 expectations for long double.
53410
51ccffa0
AS
53411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53412 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53413
fd708658 534142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
53415
53416 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53417 artificual limit depends upon the system page size.
53418
44f0a71e
UD
534192011-08-17 Ulrich Drepper <drepper@gmail.com>
53420
53421 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53422 * resolv/Makefile: Define CFLAGS-libresolv.
53423
8de79a24
AS
534242011-08-17 Andreas Schwab <schwab@redhat.com>
53425
53426 * nss/makedb.c (compute_tables): Make variables used in nested
53427 function static.
53428
27724598
UD
534292011-08-17 Ulrich Drepper <drepper@gmail.com>
53430
c5305d88
UD
53431 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53432 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53433 if buffer was too small.
53434
27724598
UD
53435 * elf/pldd.c (main): Attach to all threads in the process.
53436 Rewrite /proc handling to use *at functions.
53437
076fe015
UD
534382011-08-16 Ulrich Drepper <drepper@gmail.com>
53439
174baab3
UD
53440 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53441 specifies first scope to show.
53442 (dl_open_worker): Update callers. Move printing scope of new
53443 object to before the relocation.
44f0a71e 53444 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
53445 * sysdeps/generic/ldsodefs.h: Update declaration.
53446
076fe015
UD
53447 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53448 string for the scope number.
53449
a60df2c3
UD
534502011-08-14 Ulrich Drepper <drepper@gmail.com>
53451
53452 * nscd/servicescache.c (cache_addserv): Make sure written is always
53453 initialized.
53454
5e4287d1
RM
534552011-08-14 Roland McGrath <roland@hack.frob.com>
53456
85ae0589
RM
53457 * sysdeps/i386/i486/bits/atomic.h
53458 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53459 statement expression, so as to suppress "set but not used" warning.
53460 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53461
69f63097
RM
53462 * string/strncat.c (STRNCAT): Use prototype definition.
53463
675456ef
RM
53464 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53465 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53466 -Iprograms here.
53467 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53468 (localedef-modules): Add localedef.
53469 (locale-modules): Add locale.
53470
5e4287d1
RM
53471 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53472 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53473 to avoid a warning.
53474
9c96ff23
DM
534752011-08-14 David S. Miller <davem@davemloft.net>
53476
53477 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53478 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53479
f9ddf089
UD
534802011-08-13 Ulrich Drepper <drepper@gmail.com>
53481
44f0a71e 53482 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
53483 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53484 * elf/rtld.c (dl_main): Set l_name of vDSO.
53485 Call _dl_show_scope when DL_DEBUG_SCOPES.
53486 (process_dl_debug): Recognize scopes flag and also set it for all.
53487 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53488 Declare _dl_show_scope.
53489
1dc27704
UD
53490 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53491 (do_dlopen): Pass caller_dlopen to dl_open.
53492 (__libc_dlopen_mode): Initialize caller_dlopen.
53493
f9ddf089
UD
53494 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53495 of libc. Make tolower call locale-independent. Optimize a bit by
53496 using isdigit instead of isalnum.
53497 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53498
9ac533d3
UD
534992011-08-12 Ulrich Drepper <drepper@gmail.com>
53500
53501 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53502 was a dependency or dynamically loaded.
53503
89edf2e9
UD
535042011-08-11 Ulrich Drepper <drepper@gmail.com>
53505
8e999d29
UD
53506 * intl/l10nflist.c: Allow architecture-specific pop function.
53507 * sysdeps/x86_64/l10nflist.c: New file.
53508
89edf2e9
UD
53509 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53510 classification.
53511
14d96785
AS
535122011-08-10 Andreas Schwab <schwab@redhat.com>
53513
53514 * include/dirent.h: Add libc_hidden_proto for scandirat and
53515 scandirat64. Don't declare __scandirat64.
53516 * dirent/scandirat.c: Add libc_hidden_def.
53517 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53518 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53519
6761ac04
DM
535202011-08-10 David S. Miller <davem@davemloft.net>
53521
53522 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53523 enum.
53524 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53525 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53526 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53527
c55fbd1e
UD
535282011-08-09 Ulrich Drepper <drepper@gmail.com>
53529
53530 * Versions.def [libc]: Add GLIBC_2.15.
53531 * dirent/Makefile (routines): Add scandirat and scandirat64.
53532 * dirent/Versions [libc]: Export scandirat and scandirat64 for
53533 GLIBC_2.15.
53534 * dirent/dirent.h: Declare scandirat and scandirat64.
53535 * dirent/scandirat.c: New file.
53536 * dirent/scandirat64.c: New file.
53537 * sysdeps/wordsize-64/scandirat.c: New file.
53538 * sysdeps/wordsize-64/scandirat64.c: New file.
53539 * dirent/opendir.c: Define opendirat.
53540 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
53541 using scandirat.
53542 * dirent/scandir64.c: Adjust for scandir.c change.
53543 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
53544 __scandirat64, and __scandir_cancel_handler.
53545 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
53546 additional parameter and use openat instead of open (outside of ld.so).
53547 Add new __opendir as wrapper around __opendirat.
53548 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53549 here without requiring old scandirat implementation.
53550
879165f2
UD
535512011-08-08 Ulrich Drepper <drepper@gmail.com>
53552
53553 * dirent/scandir.c (cancel_handler): Renamed to
53554 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
53555 defined. Adjust users.
53556 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53557 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53558
cb7e923b
UD
535592011-08-04 Ulrich Drepper <drepper@gmail.com>
53560
16292edd
UD
53561 * string/test-string.h (IMPL): Use __STRING to expand name and then
53562 stringify it.
53563
cb7e923b
UD
53564 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
53565 of cleanups.
53566
cff82933
LD
535672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53568
53569 * string/Makefile: Update.
53570 (strop-tests): Append strncat.
53571 * string/test-wcscmp.c: New file.
53572 New comprehensive test for wcscmp.
53573 * string/test-strcmp.c: Update.
53574 (WIDE): New define.
53575
9be9bfcc
AS
535762011-07-22 Andreas Schwab <schwab@redhat.com>
53577
53578 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53579 line.
53580
2e96f1c7
AS
535812011-07-26 Andreas Schwab <schwab@redhat.com>
53582
53583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53584 encoding to ACE if AI_IDN.
53585
85188888
JJ
535862011-08-01 Jakub Jelinek <jakub@redhat.com>
53587
53588 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53589 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53590
5fa16e9b
LD
535912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53592
53593 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53594 Fix overflow bug in strncat.
53595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53596
53597 * string/test-strncat.c: Update.
53598 Add new tests for checking overflow bugs.
53599
536002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53601
53602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53603 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53604 * sysdeps/i386/i686/multiarch/strcat.S: New file.
53605 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53606 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53607 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53608 * sysdeps/i386/i686/multiarch/strncat.S: New file.
53609 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53610 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53611
53612 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53613 (USE_AS_STRCAT): Define.
53614 Add strcat and strncat support.
53615 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53616
8c1a459f
AS
536172011-07-25 Andreas Schwab <schwab@redhat.com>
53618
53619 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53620 __n bigger than INT_MAX+1.
53621 (__strncmp_g): Likewise.
53622
bba33c28
UD
536232011-07-23 Ulrich Drepper <drepper@gmail.com>
53624
798be72d
UD
53625 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53626 * libio/stido.h: Likewise.
53627
8accd4dc
UD
53628 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53629 (AF_NFC): Define.
53630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53631 (AF_NFC): Define.
53632
cbff0d96
UD
53633 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53634 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53635 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53636 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53638
9191c04a
UD
53639 [BZ #13021]
53640 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53641 installed.
53642
bba33c28
UD
53643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53644 typo.
53645 (_dl_x86_64_save_sse): Likewise.
53646
90f139dd
UD
536472011-07-22 Ulrich Drepper <drepper@gmail.com>
53648
1aae088a
UD
53649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53650 OSXSAVE.
53651 (_dl_x86_64_save_sse): Likewise.
53652
8e2045f5
UD
53653 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53654
90f139dd
UD
53655 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53656
1d002f25
AS
536572011-07-21 Andreas Schwab <schwab@redhat.com>
53658
53659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53660 change.
53661 (_dl_x86_64_save_sse): Use correct AVX check.
53662
21137f89
UD
536632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53664
53665 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53666 bug in strncpy/strncat.
53667 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53668
a65c0b7a
UD
536692011-07-21 Ulrich Drepper <drepper@gmail.com>
53670
53671 * string/tester.c (test_strcat): Add tests for different alignments
53672 of source and destination.
53673 (test_strncat): Likewise.
53674
6986b98a
UD
536752011-07-20 Ulrich Drepper <drepper@gmail.com>
53676
90bb2039
UD
53677 [BZ #12852]
53678 * posix/glob.c (glob): Check passed in values before using them in
53679 expressions to avoid some overflows.
53680 (glob_in_dir): Likewise.
53681
5644ef54
UD
53682 [BZ #13007]
53683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53684 check for AVX enablement so that we don't crash with old kernels and
53685 new hardware.
53686 * elf/tst-audit4.c: Add same checks here.
53687 * elf/tst-audit6.c: Likewise.
53688
53689 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53690
bfc9dc9b
AS
536912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53692
53693 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53694
702e64bb
UD
536952011-07-20 Ulrich Drepper <drepper@gmail.com>
53696
53697 * po/cs.po: Update from translation team.
53698 * po/bg.po: Likewise.
53699
295e904f
MP
537002011-07-12 Marek Polacek <mpolacek@redhat.com>
53701
53702 * misc/sys/cdefs.h: Add support for const attribute.
53703 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53704 to gnu_dev_{major,minor,makedev} functions.
53705
3ff94596
MP
537062011-07-20 Marek Polacek <mpolacek@redhat.com>
53707
53708 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53709
28b59fca
AS
537102011-07-20 Andreas Schwab <schwab@redhat.com>
53711
53712 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53713 strlen results.
53714
19df733e
AK
537152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53716
53717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53718 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53719 register in order to avoid conflicts with the soft frame pointer
53720 being held in r11 when necessary.
53721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53722 (INTERNAL_VSYSCALL_NCS): Likewise.
53723
c8835729
MP
537242011-07-14 Marek Polacek <mpolacek@redhat.com>
53725
53726 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53727 * elf/dl-fini.c (_dl_fini): Adjust caller.
53728 * elf/dl-close.c (_dl_close_worker): Likewise.
53729 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53730
b902330c
MP
537312011-07-15 Marek Polacek <mpolacek@redhat.com>
53732
8991e135
MP
53733 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53734 "aux_cache->nlibs < 0".
53735
b902330c
MP
53736 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53737 in the reload-count case.
53738
99710781
LD
537392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53740
53741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53742 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53743 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53744 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53745 * sysdeps/x86_64/multiarch/strcat.S: New file.
53746 * sysdeps/x86_64/multiarch/strncat.S: New file.
53747 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53748 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53749 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53750 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53752 (USE_AS_STRCAT): Define.
53753 Add strcat and strncat support.
53754 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53755 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53756 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53757 * string/strncat.c: Update.
53758 (USE_AS_STRNCAT): Define.
53759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53760 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53761 and i7.
53762 * sysdeps/x86_64/multiarch/init-arch.h
53763 (bit_Prefer_PMINUB_for_stringop): New.
53764 (index_Prefer_PMINUB_for_stringop): Likewise.
53765 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53766 bit_Prefer_PMINUB_for_stringop.
53767
7dc6bd90
UD
537682011-07-19 Ulrich Drepper <drepper@gmail.com>
53769
53770 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53771 buffer64.
53772 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53773 of casting of buffer.
53774 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53775 buffer32 and buffer64.
53776 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53777 writes instead of casting of buffer.
53778 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53779 buffer32.
53780 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53781 casting of buffer.
53782
e0e72284
AS
537832011-07-19 Andreas Schwab <schwab@redhat.com>
53784
53785 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53786
feb1eb0b
UD
537872011-07-19 Ulrich Drepper <drepper@gmail.com>
53788
53789 * nscd/nscd.c (termination_handler): Don't do anything for a database
53790 if it has not yet been initialized.
53791
298711ff
UD
537922011-07-18 Ulrich Drepper <drepper@gmail.com>
53793
53794 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53795
537962011-07-15 Marek Polacek <mpolacek@redhat.com>
53797
53798 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53799
f9d68389
UD
538002011-07-18 Ulrich Drepper <drepper@gmail.com>
53801
53802 * po/nl.po: Update from translation team.
53803 * po/sv.po: Likewise.
53804
db290cf5
RM
538052011-07-16 Roland McGrath <roland@hack.frob.com>
53806
53807 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53808 now disallowed by GCC.
5c550700 53809
fd5e21c7
RM
53810 * configure.in (use-default-link): Default to yes if a test -shared
53811 link meets our qualifications.
53812 * configure: Regenerated.
53813
5c550700
RM
53814 * config.make.in (output-format): New variable.
53815 * configure.in: Check for ld --print-output-format support.
53816 * configure: Regenerated.
53817 * Makerules ($(common-objpfx)format.lds)
53818 [$(output-format) != unknown]: Just use $(output-format),
53819 instead of the linker-script munging.
53820
9fa2c032
RM
538212011-07-14 Roland McGrath <roland@hack.frob.com>
53822
a6928d51
RM
53823 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53824 of $(common-objpfx)shlib.lds.
53825 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53826
661607b3
RM
53827 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53828 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53829
9fa2c032
RM
53830 * configure.in (-z relro check): Adjust test code to add a large
53831 writable data section after it.
53832 * configure: Regenerated.
53833
defe9061
RM
538342011-07-11 Roland McGrath <roland@hack.frob.com>
53835
53836 * configure.in (-z relro check): Fix test code to make the variable
53837 truly const.
53838 * configure: Regenerated.
53839
319b9ad4
UD
538402011-07-11 Ulrich Drepper <drepper@gmail.com>
53841
53842 * nscd/nscd.h (struct traced_file): Define.
53843 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53844 elements. Add traced_files.
53845 (inotify_fd): Declare.
53846 (register_traced_file): Declare.
53847 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53848 (inotify_fd): Export.
53849 (resolv_conf_descr): Remove.
53850 (nscd_init): Move inotify descriptor creation to main.
53851 Don't register files for notification here.
53852 (register_traced_file): New function.
53853 (invalidate_cache): Don't use reset_res to determine whether to call
53854 res_init, go through the list of registered files.
53855 (main_loop_poll): The inotify descriptors are now stored in the
53856 structures for the traced files.
53857 (main_loop_epoll): Likewise
53858 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53859 to __nss_disable_nscd.
53860 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53861 for a database anymore. Check the records for all the registered
53862 files instead.
53863 * nss/Makefile (libnss_files-routines): Add files-init.
53864 (libnss_db-routines): Add db-init.
53865 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53866 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53867 * nss/nss_db/db-init.c: New file.
53868 * nss/nss_files/files-init.c: New file.
53869 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53870 __nss_lookup_function.
53871 (__nss_lookup_function): Call nss_load_library.
53872 (nss_load_all_libraries): New function.
53873 (__nss_disable_nscd): Take parameter with callback function for files
53874 to register. Set is_nscd. Load all the DSOs for the NSS modules
53875 used for the cached services.
53876 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53877 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53878 options for features to all the files in nscd.
53879
53880 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53881
23bee3e8
RM
538822011-07-10 Roland McGrath <roland@hack.frob.com>
53883
53884 * csu/elf-init.c (__libc_csu_init): Comment typo.
53885
46a5b7f0
UD
538862011-07-09 Ulrich Drepper <drepper@gmail.com>
53887
53888 * po/pl.po: Update from translation team.
53889 * po/ja.po: Likewise.
53890 * po/ru.po: Likewise.
53891 * po/ko.po: Likewise.
53892 * po/fr.po: Likewise.
53893
d30cf5bb
RM
538942011-07-09 Roland McGrath <roland@hack.frob.com>
53895
113ddea4
RM
53896 * configure.in (.ctors/.dtors header and trailer check):
53897 Use an empirical test on a built program.
53898 * configure: Regenerated.
53899
574920b4
RM
53900 * configure.in (-z relro check): Use an empirical test on a built DSO.
53901 Detect, but do not require, on ia64.
53902 * configure: Regenerated.
53903
d30cf5bb
RM
53904 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53905 Update tests that use readelf to use $READELF instead.
53906 * configure: Regenerated.
53907
8538fdb3
UD
539082011-07-08 Ulrich Drepper <drepper@gmail.com>
53909
53910 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53911 if the result is not used.
53912
04d08991
AJ
539132011-07-05 Andreas Jaeger <aj@suse.de>
53914
53915 [BZ#9696]
53916 * stdlib/tst-strtod.c: Add testcase.
53917
de283087
AD
539182011-07-07 Ulrich Drepper <drepper@gmail.com>
53919
4e5f31c8 53920 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53921 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53922 The latter has a higher limit. Take additional parameter to pass to
53923 the new function.
53924 (__pathconf): Pass file to __statfs_link_max.
53925 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53926 __statfs_link_max.
53927 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53928 __statfs_link_max.
53929
de283087
AD
53930 [BZ #12868]
53931 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53933 Handle Lustre.
53934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53935 (__statfs_filesize_max): Likewise.
53936 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53937
c75fa153
AJ
539382011-07-05 Andreas Jaeger <aj@suse.de>
53939
53940 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53941
1a544854
UD
539422011-07-06 Marek Polacek <mpolacek@redhat.com>
53943
53944 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53945 `status' variable.
53946 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53947 Likewise.
53948
6f0eec67
UD
539492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53950
53951 * Makefile (strop-tests): Add strncat.
53952 * string/test-strncat.c: New file.
53953
aae30307
UD
539542011-06-30 Marek Polacek <mpolacek@redhat.com>
53955
53956 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53957
c0cfb5eb
UD
539582011-06-21 Andreas Jaeger <aj@suse.de>
53959
53960 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53961 Copy rule from iconvdata/Makefile.
53962
01636b21
UD
539632011-07-06 Ulrich Drepper <drepper@gmail.com>
53964
53965 [BZ #12922]
53966 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53967 but no long options are defined, just return 'W'.
53968
9895c8bc
UD
539692011-06-22 Marek Polacek <mpolacek@redhat.com>
53970
53971 [BZ #9696]
53972 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53973
5d4cf042
UD
539742011-07-06 Ulrich Drepper <drepper@gmail.com>
53975
53976 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53977 netgroups to read.
960e5535 53978 (innetgr): Likewise.
5d4cf042 53979
751eb97e
RM
539802011-07-05 Roland McGrath <roland@hack.frob.com>
53981
53982 * config.make.in (install_root): Default to $(DESTDIR).
53983
f15f1e45
UD
539842011-07-05 Ulrich Drepper <drepper@gmail.com>
53985
53986 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53987
4e34ac6a
RM
539882011-07-02 Roland McGrath <roland@hack.frob.com>
53989
5e9b6af4
RM
53990 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53991
84f9ea0f
RM
53992 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53993 containing directory rather than embedding absolute directory names.
53994
ea5ee9f7
RM
53995 * scripts/check-local-headers.sh: Rewritten using awk.
53996 Match by word, not by line. Print error messages for matches.
53997 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53998
1b74661a
RM
53999 * Makerules [shlib-lds-flags empty]:
54000 ($(common-objpfx)libc_pic.opts): New target.
54001 ($(common-objpfx)libc_pic.os.clean): New target.
54002 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54003
54004 * config.make.in (OBJCOPY): New variable.
54005 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54006 * configure: Regenerated.
54007
f781ef40
RM
54008 * config.make.in (use-default-link): New variable.
54009 * configure.in (use_default_link): Grok --with-default-link to set it.
54010 * configure: Regenerated.
54011 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54012 (shlib-lds, shlib-lds-flags): Define to empty.
54013
2d4fa81e
RM
54014 * Makerules (shlib-lds): New variable.
54015 (shlib-lds-flags): New variable.
54016 (build-shlib, build-moduile, build-module-asneeded): Use it.
54017 ($(common-objpfx)libc.so): Use $(shlib-lds).
54018 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54019 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54020
31fffa6b
RM
54021 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54022 DT_FLAGS/DT_FLAGS_1 with zero flags.
54023
4e34ac6a
RM
54024 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54025 linker script munging.
54026
fcfc776b
UD
540272011-07-02 Ulrich Drepper <drepper@gmail.com>
54028
54029 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54030 as 128-bit value.
54031 * crypt/sha512.c (sha512_process_block): Perform total addition using
54032 128-bit if possible.
54033 (__sha512_finish_ctx): Likewise.
54034 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54035 as 64-bit value.
54036 * crypt/sha256.c (SWAP64): Define.
54037 (sha256_process_block): Perform total addition using 64-bit if
54038 possible.
54039 (__sha256_finish_ctx): Likewise.
54040
99231d9a
UD
540412011-07-01 Ulrich Drepper <drepper@gmail.com>
54042
54043 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54044 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54045 * nscd/hstcache.c (cache_addhst): Likewise.
54046 * nscd/grpcache.c (cache_addgr): Likewise.
54047 * nscd/aicache.c (addhstaiX): Likewise
54048 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54049
445b4a53
TK
540502011-07-01 Thorsten Kukuk <kukuk@suse.de>
54051
54052 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54054 * nscd/hstcache.c (cache_addhst): Likewise.
54055 * nscd/grpcache.c (cache_addgr): Likewise.
54056 * nscd/aicache.c (addhstaiX): Likewise
54057
6d4d8e8e
AS
540582011-07-01 Andreas Schwab <schwab@redhat.com>
54059
54060 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54061 domain only when needed.
54062
89f654c5
AS
540632011-06-30 Andreas Schwab <schwab@redhat.com>
54064
54065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54066 is always restored.
54067
cf3b23ff
UD
540682011-06-29 Ulrich Drepper <drepper@gmail.com>
54069
54070 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54071 are re-adding the entry.
54072 * nscd/servicescache.c (cache_addserv): Likewise.
54073
751626f9
AJ
540742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54075
54076 * sysdeps/generic/dl-irel.h: fix protection against multiple
54077 inclusions.
54078 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54079
9113ea1f
UD
540802011-06-28 Ulrich Drepper <drepper@gmail.com>
54081
5c0b8d90
UD
54082 [BZ #12935]
54083 * malloc/memusage.sh: Fix quoting in message.
54084 * debug/xtrace.sh: Likewise.
54085
9113ea1f
UD
54086 * configure.in: Remove support for --experimental-malloc option, make
54087 it the default.
54088 * config.make.in: Likewise.
54089 * malloc/Makefile: Likewise.
54090
a4172181
AS
540912011-06-27 Andreas Schwab <schwab@redhat.com>
54092
54093 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54094 two-byte characters.
54095
78a7eee7
RM
540962011-06-27 Roland McGrath <roland@hack.frob.com>
54097
62bede13
RM
54098 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54099 AC_CACHE_CHECK invocation.
54100 * configure: Regenerated.
54101
78a7eee7
RM
54102 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54103
5ce33a62
UD
541042011-06-27 Ulrich Drepper <drepper@gmail.com>
54105
034807a9
UD
54106 [BZ #12350]
54107 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54108 bit from old_res_options.
54109
4902da17
UD
54110 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54111
5ce33a62
UD
54112 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54113 value type for setfct.
54114
c2344f56
L
541152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54116
54117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54118 __gettimeofday instead of gettimeofday.
54119
68468076
UD
541202011-06-26 Ulrich Drepper <drepper@gmail.com>
54121
54122 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54123
acb0d739
L
541242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54125
54126 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54127
54128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54129 info.
54130
8912479f
L
541312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54132
54133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54134 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54135 strcpy-sse2-unaligned strncpy-sse2-unaligned
54136 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54137 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54138 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54139 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54140 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54142 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54143 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54144 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54145 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54146 (STRCPY): Support SSE2 and SSSE3 versions.
54147
d5495a11
UD
541482011-06-24 Ulrich Drepper <drepper@gmail.com>
54149
54150 [BZ #12874]
54151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54152 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54153 kernels which artificially limit size of requests.
54154
0b1cbaae
L
541552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54156
54157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54158 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54159 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54160 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54161 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54162 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54163 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54164 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54165 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54167 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54168 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54169 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54170 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54171 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54173 Enable unaligned load optimization for Intel Core i3, i5 and i7
54174 processors.
54175 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54176 Define.
54177 (index_Fast_Unaligned_Load): Define.
54178 (HAS_FAST_UNALIGNED_LOAD): Define.
54179
07f494a0
MP
541802011-06-23 Marek Polacek <mpolacek@redhat.com>
54181
54182 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54183
fa3fc0fe
UD
541842011-06-22 Ulrich Drepper <drepper@gmail.com>
54185
54186 [BZ #12907]
54187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54188 until it is clear that the information is realy needed.
54189 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54190
e12df166
AS
541912011-06-22 Andreas Schwab <schwab@redhat.com>
54192
54193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54194
852eb34d
UD
541952011-06-22 Ulrich Drepper <drepper@gmail.com>
54196
84e2a551
UD
54197 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54198 /sys/devices/system/cpu/online if it is usable.
54199
852eb34d
UD
54200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54201 reading the information from the /proc filesystem to once a second.
54202
6e502e19
UD
542032011-06-21 Andreas Jaeger <aj@suse.de>
54204
54205 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54206 NULL after inclusion of kernel headers.
54207
75d39ff2
UD
542082011-06-21 Ulrich Drepper <drepper@gmail.com>
54209
51f9aa6a
UD
54210 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54211 calls to internal_setent.
54212
c0244a9d
UD
54213 [BZ #12885]
54214 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54215 addresses using gethostbyname4_r ignore IPv4 addresses.
54216
c5e3c2ae
UD
54217 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54218 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54219
75d39ff2
UD
54220 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54221
42675c6f
DM
542222011-06-20 David S. Miller <davem@davemloft.net>
54223
54224 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54225 inclusions.
54226 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54227
54228 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54229 (elf_irel): Use it.
54230 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54231 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54232 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54233 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54234 * sysdeps/x86_64/dl-irel.h: Likewise.
54235
54236 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54237 * elf/dl-sym.c: Likewise.
54238
57912a71
UD
542392011-06-15 Ulrich Drepper <drepper@gmail.com>
54240
54241 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54242 need to dereference resplen2.
54243
ee22793d
AS
542442011-06-14 Andreas Schwab <schwab@redhat.com>
54245
54246 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54247
a9e836b0
UD
542482011-06-15 Ulrich Drepper <drepper@gmail.com>
54249
77fb9117
UD
54250 * Makeconfig: Define vardbdir and inst_vardbdir.
54251 * nss/Makefile: Add rules to install db-Makefile.
54252
40c1b22c
UD
54253 * nss/nss_db/db-XXX.c: Cleanup.
54254
9f2da732
UD
54255 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54256 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54257 GLIBC_PRIVATE.
54258 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54259 * nss/makedb.c: Implement -g option to specify that value strings
54260 are generated and should not be added to table iterated over for
54261 get*ent calls.
54262 * nss/nss_db/db-initgroups.c: New file.
54263
82e9a1f7
UD
54264 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54265 interface.
54266
c41af17e
UD
54267 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54268 (internal_getgrouplist): Adjust to name change.
54269 Update use_initgroups_entry if this is not the first call.
54270 * nss/databases.def: Add initgroups entry.
54271
a9e836b0
UD
54272 * nss/makedb.c (compute_tables): Check result of multiple hash table
54273 sizes to minimize maximum chain length.
54274
2666d441
UD
542752011-06-14 Ulrich Drepper <drepper@gmail.com>
54276
54277 * Versions.def: Add entry for libnss_db.
54278 * shlib-versions: Likewise.
54279 * nss/Makefile: Add rules to build libnss_db.
54280 * nss/Versions: Add libnss_db information. Organize libnss_files
54281 entries better.
54282 * nss/db-Makefile: Add gshadow support. Change rules for the new
54283 makedb progra. Some minor improvements to generate smaller files.
54284 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54285 here from...
54286 * nss/makedb.c: ...here.
54287 Improve database format to be smaller and require less memory at
54288 runtime.
54289 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54290 db anymore.
54291 * nss/nss_db/db-netgrp.c: Likewise.
54292 * nss/nss_db/db-open.c: Likewise.
54293 * nss/nss_files/flies-XXX.x: Adjust comments.
54294 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54295 * nss/nss_files/files-grp.c: Likewise.
54296 * nss/nss_files/files-hosts.c: Likewise.
54297 * nss/nss_files/files-network.c: Likewise.
54298 * nss/nss_files/files-proto.c: Likewise.
54299 * nss/nss_files/files-pwd.c: Likewise.
54300 * nss/nss_files/files-rpc.c: Likewise.
54301 * nss/nss_files/files-service.c: Likewise.
54302 * nss/nss_files/files-sgrp.c: Likewise.
54303 * nss/nss_files/files-spwd.c: Likewise.
54304 * nss/nss_db/db-alias.c: Removed.
54305 * nss/nss_db/dummy-db.h: Removed.
54306
9ee76b5a
UD
543072011-06-02 Ulrich Drepper <drepper@gmail.com>
54308
54309 * nss/makedb.c: Rewritten to not use database library.
54310 * nss/Makefile: Update to build new makedb program.
54311
c71ca1f8
AJ
543122011-06-14 Andreas Jaeger <aj@suse.de>
54313
54314 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54315 memset declaration.
54316
3154bfb8
UD
543172011-06-10 Andreas Schwab <schwab@redhat.com>
54318
54319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54320 tmpbuf.
54321
b350afab
RM
543222011-06-10 Roland McGrath <roland@hack.frob.com>
54323
decd4e50
RM
54324 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54325 * elf/Makefile ($(objpfx)ld.so): Likewise.
54326
5615eaf2
RM
54327 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54328 Don't list ld.so twice in dependencies.
54329
54330 * posix/bug-regex31.c: Include <stdlib.h>.
54331
54332 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54333
54334 * nis/nss_compat/compat-spwd.c
54335 (getspent_next_nss_netgr): Remove unused variable.
54336 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54337
54338 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54339 nonmembers" output to use the right array.
54340
54341 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54342
54343 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54344
54345 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54346 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54347 * catgets/gencat.c (read_input_file): Likewise.
54348 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54349
54350 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54351 variable definition inside #if's controlling its use.
54352
54353 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54354
54355 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54356
54357 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54358
54359 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54360 unreachable code.
54361
54362 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54363
b68e08db
RM
54364 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54365 * configure: Regenerated.
54366
b350afab
RM
54367 * Makerules: Revert last change.
54368 * elf/Makefile: Likewise.
54369
28368601
RM
543702011-06-09 Roland McGrath <roland@hack.frob.com>
54371
54372 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54373 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54374 (reloc-link): Likewise.
54375
11988f8f
UD
543762011-06-09 Ulrich Drepper <drepper@gmail.com>
54377
54378 * elf/Makefile: Add rules to build pldd.
54379 * elf/pldd.c: New file.
54380 * elf/pldd-xx.c: New file.
54381
e80fab37
UD
543822011-06-07 Ulrich Drepper <drepper@gmail.com>
54383
54384 * version.h: Update for 2.15 development version.
54385
9b849836
DM
543862011-06-07 David S. Miller <davem@davemloft.net>
54387
54388 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54389 ifuncs.
54390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54391 elf_machine_lazy_rel): Likewise.
54392 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54394 elf_machine_lazy_rel): Likewise.
54395 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54396 dl_hwcap via passed in argument.
54397 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54398 Likewise.
54399
5a31b283
AK
544002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54401
54402 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54403
069e52f8
RM
544042011-06-06 Roland McGrath <roland@hack.frob.com>
54405
54406 [BZ #12849]
54407 * manual/fdl-1.1.texi: New file, verbatim from:
54408 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54409 * manual/lgpl-2.1.texi: New file, verbatim from:
54410 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54411 * manual/Makefile (licenses): New variable, list those new file names.
54412 (texis): Use it.
54413 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54414
54415 * manual/fdl.texi: File removed.
54416 * manual/lesser.texi: File removed.
54417 * manual/libc.texinfo (Copying, Documentation License):
54418 Use new @include file names, put @appendix directive before @include.
54419
f16846a5
JJ
544202011-06-04 Jakub Jelinek <jakub@redhat.com>
54421
54422 [BZ #12841]
54423 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54424 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54425 (mq_open): Add __NTH.
54426
3d29045b
L
544272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54428
54429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54430 Assume Intel Core i3/i5/i7 processor if AVX is available.
54431
8c297311
UD
544322011-05-31 Ulrich Drepper <drepper@gmail.com>
54433
54434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54435 typo.
54436
c8fc0c91
UD
544372011-05-31 Andreas Schwab <schwab@redhat.com>
54438
54439 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54440 memory. Use alloca_account. Fix memory leak when retrying.
54441
5b27a807
UD
544422011-05-31 Ulrich Drepper <drepper@gmail.com>
54443
356f8bc6
UD
54444 * version.h (RELEASE): Bump for 2.14 release.
54445 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54446
5b27a807
UD
54447 * config.make.in (RANLIB): Remove entry.
54448
01f16ab0
UD
544492011-05-30 Ulrich Drepper <drepper@gmail.com>
54450
41fce8bd
UD
54451 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54452 (libc.pot): Work around missing support for .ksh extension in xgettext.
54453
4769ae77
UD
54454 [BZ #12684]
54455 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54456 if both request failed.
54457 (send_dg): In case of server errors clear resplen or *resplen2.
54458
6b1e7d19
UD
54459 [BZ #12454]
54460 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54461 when there are multiple maps.
54462 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54463 (_dl_fini): Remove test here.
54464
01f16ab0
UD
54465 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54466
b1ebd700
UD
544672011-05-29 Ulrich Drepper <drepper@gmail.com>
54468
7ae22829
UD
54469 [BZ #12350]
54470 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54471 bit from old_res_options.
54472 (gaih_inet): Likewise.
54473
553149f6 54474 [BZ #11099]
18a84741 54475 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
54476 as signed.
54477
652ffab1
UD
54478 * resolv/res_init.c (res_setoptions): Make the code more compact.
54479
16985fd0
UD
54480 [BZ #11558]
54481 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54482 set RES_USEVC.
54483
0464f746
UD
54484 [BZ #11634]
54485 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54486
7d17596c
UD
54487 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54488
cf6bbbd7
UD
54489 [BZ #11781]
54490 * malloc/malloc.h: Declare malloc hook variables as volatile.
54491
13f1ab36
UD
54492 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54493 in last patch.
54494
b1ebd700
UD
54495 [BZ #11799]
54496 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 54497 raise in the comment.
80e2212d
UD
54498 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54499 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54500 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 54501
ce67228d
UD
545022011-05-28 Ulrich Drepper <drepper@gmail.com>
54503
8887a920
UD
54504 [BZ #12811]
54505 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54506 grow the buffers more if it already has to be sufficient.
54507 (build_wcs_upper_buffer): Likewise.
54508 * posix/regexec.c (check_matching): Likewise.
54509 (clean_state_log_if_needed): Likewise.
54510 (extend_buffers): Don't enlarge buffers beyond size of the input
54511 buffer.
54512 Patches mostly by Emil Wojak <emil@wojak.eu>.
54513 * posix/bug-regex32.c: New file.
54514 * posix/Makefile (tests): Add bug-regex32.
54515
4f031072
UD
54516 * locale/findlocale.c (_nl_find_locale): Return right away if
54517 _nl_explode_name failed.
54518 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54519
d0478f0c
UD
54520 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54521
de81b246
UD
54522 * debug/xtrace.sh: Unify messages.
54523 * malloc/memusage.sh: Likewise.
54524
c738465a
UD
54525 [BZ #12813]
54526 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54527 time symbol from vDSO. Substitute with vsyscall if not available.
54528 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54529 __vdso_time.
54530
f1f929d7
UD
54531 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54532 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54533 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54534 Add sendmmsg and internal_sendmmsg.
54535 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54536 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54538
ce67228d
UD
54539 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54540 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54541 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54542
e57420c6
UD
545432011-05-27 Ulrich Drepper <drepper@gmail.com>
54544
a8509ca5
UD
54545 [BZ #12813]
54546 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54547 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
54548 available.
54549 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54550 __vdso_getcpu.
54551
e57420c6
UD
54552 [BZ #12814]
54553 * iconvdata/Makefile (tests): Add bug-iconv9.
54554 * iconvdata/bug-iconv9.c: New file.
54555
4d07db15
AS
545562011-05-27 Andreas Schwab <schwab@redhat.com>
54557
54558 [BZ #12814]
54559 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54560
ea486f69
JJ
545612011-05-25 Jakub Jelinek <jakub@redhat.com>
54562
54563 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54564 (struct user_regs_struct): Change intcs field back to cs.
54565
6f038433
UD
545662011-05-25 Ulrich Drepper <drepper@gmail.com>
54567
54568 * po/ja.po: Update from translation team.
54569
67f86a25
UD
545702011-05-23 Ulrich Drepper <drepper@gmail.com>
54571
54572 [BZ #12795]
54573 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54574 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54575
def7fbd6
AS
545762011-05-20 Andreas Schwab <schwab@redhat.com>
54577
54578 * stdlib/longlong.h: Update from GCC.
54579
f50ef8f1
AS
545802011-05-23 Andreas Schwab <schwab@redhat.com>
54581
54582 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54583 parameter name.
54584 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54585 Add parameter name.
54586 (__sysconf): Pass it down.
54587
de7ce8f1
UD
545882011-05-22 Ulrich Drepper <drepper@gmail.com>
54589
f2962a71
UD
54590 [BZ #12671]
54591 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54592 some situations.
54593 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54594 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54595 add in in __libc_use_alloca calls. Adjust callers.
54596 (glob): Use malloc in some situations.
54597
de7ce8f1
UD
54598 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54599 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54600 pltexit.
54601
aec84f53
UD
546022011-05-21 Ulrich Drepper <drepper@gmail.com>
54603
05bb4a68
UD
54604 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54605 and CLOCK_BOOTTIME_ALARM.
54606
7ea72f99
UD
54607 [BZ #12782]
54608 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54609 is returned.
54610
7e4afad5
UD
54611 * string/_strerror.c (__strerror_r): Print negative errors as signed
54612 numbers.
54613
8e211fec
UD
54614 [BZ #12777]
54615 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54616 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54617 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54618
f7d82dc9
UD
54619 * configure.in: Fix typo in redirection and correct removal of test
54620 files in two cases.
54621
cc9e536d
UD
54622 [BZ #12788]
54623 * locale/setlocale.c (new_composite_name): Fix test to check for
54624 identical name of all categories.
54625
aec84f53
UD
54626 [BZ #12792]
54627 * libio/filedoalloc.c (local_isatty): New function.
54628 (_IO_file_doallocate): Use local_isatty.
54629 * stdio-common/perror.c (perror): In case a new stream is used
54630 forward the stream error.
54631 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54632 error flag.
54633
78e64fdc
RT
546342011-05-20 Ulrich Drepper <drepper@gmail.com>
54635
34a9094f
UD
54636 [BZ #11869]
54637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54638 alloca.
54639 * include/alloca.h (extend_alloca_account): Define.
54640
78e64fdc
RT
54641 [BZ #11857]
54642 * posix/regex.h: Fix comments with documentation of user-accessible
54643 fields after compilation and describe correct free'ing of pattern
54644 after re_compile_pattern.
54645 Patch by Reuben Thomas <rrt@sc3d.org>.
54646
457bddfc
RA
546472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54648
54649 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54650 and -mno-altivec to prevent the compiler from using Altivec and/or
54651 VSX instructions when the corresponding registers are not available.
54652
a4527b51
AS
546532011-05-19 Andreas Schwab <schwab@redhat.com>
54654
54655 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54656
ed690b2f
UD
546572011-05-19 Ulrich Drepper <drepper@gmail.com>
54658
54659 * libio/freopen.c (freopen): Use __dup2, not dup2.
54660 * libio/freopen64.c (freopen64): Likewise.
54661
8db73634
L
546622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54663
54664 [BZ #12775]
54665 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54666 * math/Makefile (tests): Add test-powl.
54667 (CFLAGS-test-powl.c): Define.
54668 * math/test-powl.c: New file.
54669
0a197a9d
L
546702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54671
54672 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54673
ee30c380
UD
546742011-05-17 Ulrich Drepper <drepper@gmail.com>
54675
54676 [BZ #11837]
54677 * iconvdata/gb18030.c: Update to GB18020-2005.
54678
6ce75379
UD
546792011-05-16 Ulrich Drepper <drepper@gmail.com>
54680
a4b89fd8
AR
54681 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54682 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54683 Patch by Aharon Robbins <arnold@skeeve.com>.
54684
ea389b12
UD
54685 [BZ #11892]
54686 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54687 on the stack.
54688
68a3f91f
UD
54689 [BZ #11895]
54690 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54691 through underflows.
54692
15cc7dd1
UD
54693 [BZ #12766]
54694 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54695 point to strings before performing equality test for error_one_per_line
54696 mode.
54697
f3799213
UD
54698 [BZ #11697]
54699 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54700
d79a9c94
UD
54701 [BZ #11820]
54702 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54703 (struct user_fpregs_struct): Avoid __uint*_t types.
54704
56e5eb46
UD
54705 [BZ #6420]
54706 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54707 symbol info. Use it instead of calling _dl_addr locally.
54708 (lock_and_info): New function.
54709 (tr_freehook): Call lock_and_info and pass symbol info as additional
54710 parameter to tr_where.
54711 (tr_mallochook): Likewise.
54712 (tr_reallochook): Likewise.
54713 (tr_memalignhook): Likewise.
54714
6ce75379
UD
54715 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54716 used and couldn't be at all thread-safe.
54717
f8a3b5bf
UD
547182011-05-15 Ulrich Drepper <drepper@gmail.com>
54719
94b7cc37
UD
54720 * libio/freopen.c (freopen): Don't close old file descriptor
54721 before the new one is opened. Instead dup the new file descriptor
54722 to the old one after the new stream is created.
54723 * libio/freopen64.c (freopen64): Likewise.
54724 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54725 * libio/fileops.c (_IO_new_file_close_it): Handle new
54726 _IO_FLAGS2_NOCLOSE flag.
54727 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54728 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54729 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54730 _IO_FLAGS2_NOCLOSE flag.
54731 * include/unistd.h: Add hidden_proto for dup3.
54732 Define __have_dup3.
54733 * io/dup3.c: Define hidden symbol.
54734 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54735
bd25564e
UD
54736 [BZ #7101]
54737 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54738 when an incomplete long option is used.
54739 * posix/tst-getopt_long1.c: New file.
54740 * posix/Makefile (tests): Add tst-getopt_long1.
54741
c84cfef4
UD
54742 [BZ #10138]
54743 * scripts/config.guess: Update from autoconf-2.68.
54744 * scripts/config.sub: Likewise.
54745
3b85df27
UD
54746 [BZ #10157]
54747 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54748 tests into ...
54749 (has_cpuclock): ...this. New function.
54750 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54751 macro here based on has_cpuclock code.
54752
15a856b1
UD
54753 [BZ #10149]
54754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54755 First byte (not low byte) is now always NUL.
54756 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54757
05f399e6
UD
54758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54759 Use non-cancelable interfaces.
54760
10a52685 54761 [BZ #9809]
94ecc67d
UD
54762 * locale/iso-639.def: Add entry for Sorani.
54763
f8a3b5bf
UD
54764 [BZ #11901]
54765 * include/stdlib.h: Move include protection to the right place.
54766 Define abort_msg_s. Declare __abort_msg with it.
54767 * stdlib/abort.c (__abort_msg): Adjust type.
54768 * assert/assert.c (__assert_fail_base): New function. Majority
54769 of code from __assert_fail. Allocate memory for __abort_msg with
54770 mmap.
54771 (__assert_fail): Now call __assert_fail_base.
54772 * assert/assert-perr.c: Remove bulk of implementation. Use
54773 __assert_fail_base.
54774 * include/assert.hL Declare __assert_fail_base.
54775 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54776 mmap.
54777 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54778
1af4e298
UD
547792011-05-14 Ulrich Drepper <drepper@gmail.com>
54780
f8a3b5bf 54781 [BZ #11952]
d26dfc60
MG
54782 [BZ #12453]
54783 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54784 until all modules are registered in the DTV.
54785 * elf/Makefile: Add rules to build and run tst-tls19.
54786 * elf/tst-tls19.c: New file.
54787 * elf/tst-tls19mod1.c: New file.
54788 * elf/tst-tls19mod2.c: New file.
54789 * elf/tst-tls19mod3.c: New file.
54790 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54791
2fc54d6f
UD
54792 [BZ #12083]
54793 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54794 correctly.
54795
98d76b46
UD
54796 [BZ #12601]
54797 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54798 two-byte sequence errors.
54799 * iconvdata/Makefile (tests): Add bug-iconv8.
54800 * iconvdata/bug-iconv8.c: New file.
54801
da3c19ef
UD
54802 [BZ #12626]
54803 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54804 buf2 definition.
54805
ca408c15
UD
54806 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54807
d6f67f7d
UD
54808 [BZ #12432]
54809 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54810 (dummy_getcfa): New function.
54811 (init): Get _Unwind_GetCFA address, use dummy if not found.
54812 (backtrace_helper): In recursion check, also check whether CFA changes.
54813 (__backtrace): Completely initialize arg.
54814
1af4e298 54815 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54816 storing incomplete byte sequence in state object. Avoid testing for
54817 guaranteed too small input if we know there is enough data available.
1af4e298 54818
da62f81b
AS
548192011-05-11 Andreas Schwab <schwab@redhat.com>
54820
54821 * Makeconfig (+link-pie): Indent.
54822 * Rules (binaries-pie): Define if $(have-fpie) and
54823 $(build-shared).
54824 (binaries-shared): Also filter out $(binaries-pie).
54825 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54826 * nscd/Makefile (others-pie): Add nscd.
54827 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54828 ($(objpfx)nscd): Remove command override.
54829 * login/Makefile (others-pie): Add pt_chown.
54830 ($(objpfx)pt_chown): Remove command override.
54831 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54832 remove command overrides.
54833
fcabc0f8
UD
548342011-05-13 Ulrich Drepper <drepper@gmail.com>
54835
20030ae6
UD
54836 * libio/tst_putwc.c: Fix error messages.
54837
fcabc0f8
UD
54838 [BZ #12724]
54839 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54840 currently writing and seek to current position when not.
54841 * libio/Makefile (tests): Add bug-fclose1.
54842 * libio/bug-fclose1.c: New file.
54843
320a5dc0
PB
548442011-05-12 Ulrich Drepper <drepper@gmail.com>
54845
54846 [BZ #12511]
54847 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54848 don't set DF_1_NODELETE here.
54849 (do_lookup_x): When entering new entry test for copy relocation
54850 and if necessary set DF_1_NODELETE flag.
54851 * elf/tst-unique4.cc: New file.
54852 * elf/tst-unique4.h: New file.
54853 * elf/tst-unique4lib.cc: New file.
54854 * elf/Makefile: Add rules to build and run tst-unique4.
54855 Patch by Piotr Bury <pbury@goahead.com>.
54856
22836f52
UD
548572011-05-11 Ulrich Drepper <drepper@gmail.com>
54858
f574184a
UD
54859 [BZ #12052]
54860 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54861
e1fb097f
UD
54862 [BZ #12625]
54863 * misc/mntent_r.c (addmntent): Flush the stream after the output
54864
22836f52
UD
54865 [BZ #12393]
54866 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54867 (is_trusted_path_normalize): Skip initial colon. Append slash
54868 to empty buffer. Duplicate is_trusted_path code but allow
54869 constructed patch to be prefix.
54870 (is_dst): Allow $ORIGIN followed by /.
54871 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54872 Correct testing of result of is_trusted_path_normalize
54873 (decompose_rpath): Fix warning.
54874
7b3b0b2a
UD
548752011-05-10 Ulrich Drepper <drepper@gmail.com>
54876
54877 [BZ #11257]
54878 * grp/initgroups.c (internal_getgrouplist): When we found the service
54879 list through the initgroups entry in nsswitch.conf do not always
54880 continue on a successful lookup. Don't always use the
eac80ce2 54881 __nss_group_database value if it is set.
7b3b0b2a
UD
54882 * nss/nsswitch.conf (initgroups): Change action for successful db
54883 lookup to continue for compatibility.
54884
2a81eaa5
UD
548852011-05-09 Ulrich Drepper <drepper@gmail.com>
54886
be97a69e
UD
54887 [BZ #11532]
54888 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54889 and CP774 modules.
54890 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54891 and CP774 modules.
54892 * iconvdata/tst-tables.sh: Likewise.
54893 * iconvdata/cp770.c: New file.
54894 * iconvdata/cp771.c: New file.
54895 * iconvdata/cp772.c: New file.
54896 * iconvdata/cp773.c: New file.
54897 * iconvdata/cp774.c: New file.
54898 * iconvdata/testdata/CP770: New file.
54899 * iconvdata/testdata/CP770..UTF8: New file.
54900 * iconvdata/testdata/CP771: New file.
54901 * iconvdata/testdata/CP771..UTF8: New file.
54902 * iconvdata/testdata/CP772: New file.
54903 * iconvdata/testdata/CP772..UTF8: New file.
54904 * iconvdata/testdata/CP773: New file.
54905 * iconvdata/testdata/CP773..UTF8: New file.
54906 * iconvdata/testdata/CP774: New file.
54907 * iconvdata/testdata/CP774..UTF8: New file.
54908
54909 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54910 END CHARMAP line.
54911 * iconvdata/gen-8bit-gap.sh: Likewise.
54912 * iconvdata/gen-8bit.sh: Likewise.
54913
c1e9e399
UD
54914 * locale/iso-639.def: Add ary entry.
54915
24c55fb3 54916 [BZ #11258]
96b4b1b0
UD
54917 * locale/C-translit.h.in: Add U20A1 transliteration.
54918
bdc2f971
KB
54919 [BZ #12178]
54920 * locale/iso-639.def: Add wae entry.
54921 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54922
2952b117
UD
54923 [BZ #12545]
54924 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54925 for n.
54926
2a81eaa5
UD
54927 [BZ #12711]
54928 * locale/C-translit.h.in: Add entry for U20B9.
54929 Patch by pravin.d.s@gmail.com.
54930
28377d1b
UD
549312011-05-08 Ulrich Drepper <drepper@gmail.com>
54932
7fb90fb8
UD
54933 [BZ #12713]
54934 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54935 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54936 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54937 in rtld. Use *stat64.
7fb90fb8 54938 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54939 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54940 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54941 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54942 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54943 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54944 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54945 __fstatat64 macros.
7fb90fb8
UD
54946 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54947 * dirent/rewinddir.c: Add libc_hidden_def.
54948 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54949 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54950
28377d1b
UD
54951 * include/dirent.h (__alloc_dir): Add flags parameter.
54952 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54953 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54954 __alloc_dir.
54955 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54956 from fdopendir if O_CLOEXEC is already set.
54957
66bdbaa4
AM
549582011-03-15 Alan Modra <amodra@gmail.com>
54959
54960 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54961 l_tls_firstbyte_offset non-zero. Save padding offset in
54962 l_tls_firstbyte_offset for later use.
54963 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54964 freeing static tls block.
54965
95721191
JN
549662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54967
54968 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54969 where #ifdef was intended. The intent is to prevent ARG_MAX from
54970 being defined by the kernel headers.
54971
f87dfb1f
UD
549722011-05-07 Ulrich Drepper <drepper@gmail.com>
54973
54974 [BZ #12734]
54975 * resolv/resolv.h: Define RES_NOTLDQUERY.
54976 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54977 no-tld-query and set RES_NOTLDQUERY.
54978 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54979 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54980 modern BIND to search name as TLD unless forbidden.
54981
47c3cd7a
UD
549822011-05-07 Petr Baudis <pasky@suse.cz>
54983 Ulrich Drepper <drepper@gmail.com>
54984
54985 [BZ #12393]
54986 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54987 (is_trusted_path): ...to here.
c1e9ea35 54988 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54989 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54990 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54991
8a35c912
PP
549922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54993
54994 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54995 __BEGIN/__END_DECLS.
54996
acd41f47
UD
549972011-05-06 Ulrich Drepper <drepper@gmail.com>
54998
54999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55000 NSS_STATUS_NOTFOUND if no record was found.
55001
597df647
AS
550022011-05-05 Andreas Schwab <schwab@redhat.com>
55003
55004 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55005 (headers-not-in-tirpc): Remove rpc/netdb.h
55006 * resolv/netdb.h: Revert last change.
55007
b9af1301
PP
550082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55009
55010 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55011 circular dependency between libgcc.a and libc.a.
55012
4e34d5f5
AS
550132011-05-05 Andreas Schwab <schwab@redhat.com>
55014
55015 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55016 * nis/Makefile: Don't install rpcsvc/*.
55017 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55018 instead of <rpc/types.h>.
55019 (MAXHOSTNAMELEN): Define.
55020
00ee369c
AS
550212011-05-03 Andreas Schwab <schwab@redhat.com>
55022
55023 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55024
0b592a30
MB
550252011-04-28 Maciej Babinski <mbabinski@google.com>
55026
55027 [BZ #12714]
55028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55029 gethostbyname4_r when IPv6 results are possible.
55030
6e04cbbe
UD
550312011-05-02 Ulrich Drepper <drepper@gmail.com>
55032
55033 [BZ #12723]
55034 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55035 _PC_PIPE_BUF handling.
55036
e4ecafe0
BH
550372011-04-30 Bruno Haible <bruno@clisp.org>
55038
55039 [BZ #12717]
55040 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55041 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55042 to 'int'.
55043 * inet/getnameinfo.c (getnameinfo): Likewise.
55044
125ee683
UD
550452011-04-29 Ulrich Drepper <drepper@gmail.com>
55046
55047 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55048 to groups setting in database lookup.
55049 * nss/nsswitch.conf: Add initgroups entry.
55050
b722481a
EB
550512011-04-22 Ulrich Drepper <drepper@gmail.com>
55052
55053 [BZ #12685]
55054 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55055 mode string.
55056 Patch by Eric Blake <eblake@redhat.com>.
55057
4df46dbd
L
550582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55059
55060 * sunrpc/Makefile (need-export-routines): Add svc_run.
55061 (routines): Remove svc_run.
55062 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55063 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55064 * sunrpc/svc_run.c (svc_run): Likewise.
55065 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55066
e84142d2
UD
550672011-04-21 Ulrich Drepper <drepper@gmail.com>
55068
55069 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55070 problem in reallocation in last patch.
55071
877175d8
UD
550722011-04-20 Ulrich Drepper <drepper@gmail.com>
55073
55074 * sunrpc/Makefile: Move inclusion of Rules.
55075
ab8eed78
UD
550762011-04-19 Ulrich Drepper <drepper@gmail.com>
55077
55078 * nss/nss_files/files-initgroups.c: New file.
55079 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55080 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55081 _nss_files_initgroups_dyn.
55082
e3d8f584
RS
550832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55084
55085 * elf/elf.h (R_ARM_IRELATIVE): Define.
55086
af190f45
UD
550872011-04-19 Ulrich Drepper <drepper@gmail.com>
55088
55089 * po/ru.po: Update from translation team.
55090
53cf59ef
UD
550912011-04-17 Ulrich Drepper <drepper@gmail.com>
55092
55093 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55094 dependencies.
55095
4c559bcd
MF
550962011-02-06 Mike Frysinger <vapier@gentoo.org>
55097
55098 [BZ #12653]
55099 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55100 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55102 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55103 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55104
4420675c
AS
551052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55106
55107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55108 differing bytes.
55109 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55110 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55111 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55112
75ea32ab
UD
551132011-04-17 Ulrich Drepper <drepper@gmail.com>
55114
55115 [BZ #12420]
55116 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55117 storing it.
55118 * stdlib/bug-getcontext.c: New file.
55119 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55120
27390476
AK
551212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55122
55123 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55124 instructions into .machine "z9-109".
55125 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55126 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55127
10442705
AK
551282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55129
55130 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55131 between environment variables and auxiliary vector.
55132
7b57bfe5
UD
551332011-04-16 Ulrich Drepper <drepper@gmail.com>
55134
55135 * Makefile: Add rules to build linkobj/libc.so.
55136 * include/libc-symbols.h: Define libc_hidden_nolink.
55137 * include/rpc/auth.h: Mark functions which are to be hidden.
55138 * include/rpc/auth_des.h: Likewise.
55139 * include/rpc/auth_unix.h: Likewise.
55140 * include/rpc/clnt.h: Likewise.
55141 * include/rpc/des_crypt.h: Likewise.
55142 * include/rpc/key_prot.h: Likewise.
55143 * include/rpc/pmap_clnt.h: Likewise.
55144 * include/rpc/pmap_prot.h: Likewise.
55145 * include/rpc/pmap_rmt.h: Likewise.
55146 * include/rpc/rpc_msg.h: Likewise.
55147 * include/rpc/svc.h: Likewise.
55148 * include/rpc/svc_auth.h: Likewise.
55149 * include/rpc/xdr.h: Likewise.
55150 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55151 * nss/Makefile: Likewise.
55152 * sunrpc/Makefile: Don't install headers. Build library with normal
55153 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55154 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55155 for the compat linking library. Remove use of INTDEF/INTUSE.
55156 * sunrpc/auth_none.c: Likewise.
55157 * sunrpc/auth_unix.c: Likewise.
55158 * sunrpc/authdes_prot.c: Likewise.
55159 * sunrpc/authuxprot.c: Likewise.
55160 * sunrpc/clnt_gen.c: Likewise.
55161 * sunrpc/clnt_perr.c: Likewise.
55162 * sunrpc/clnt_raw.c: Likewise.
55163 * sunrpc/clnt_simp.c: Likewise.
55164 * sunrpc/clnt_tcp.c: Likewise.
55165 * sunrpc/clnt_udp.c: Likewise.
55166 * sunrpc/clnt_unix.c: Likewise.
55167 * sunrpc/des_crypt.c: Likewise.
55168 * sunrpc/des_soft.c: Likewise.
55169 * sunrpc/get_myaddr.c: Likewise.
55170 * sunrpc/key_call.c: Likewise.
55171 * sunrpc/key_prot.c: Likewise.
55172 * sunrpc/netname.c: Likewise.
55173 * sunrpc/pm_getmaps.c: Likewise.
55174 * sunrpc/pm_getport.c: Likewise.
55175 * sunrpc/pmap_clnt.c: Likewise.
55176 * sunrpc/pmap_prot.c: Likewise.
55177 * sunrpc/pmap_prot2.c: Likewise.
55178 * sunrpc/pmap_rmt.c: Likewise.
55179 * sunrpc/publickey.c: Likewise.
55180 * sunrpc/rpc_cmsg.c: Likewise.
55181 * sunrpc/rpc_common.c: Likewise.
55182 * sunrpc/rpc_dtable.c: Likewise.
55183 * sunrpc/rpc_prot.c: Likewise.
55184 * sunrpc/rpc_thread.c: Likewise.
55185 * sunrpc/rtime.c: Likewise.
55186 * sunrpc/svc.c: Likewise.
55187 * sunrpc/svc_auth.c: Likewise.
55188 * sunrpc/svc_authux.c: Likewise.
55189 * sunrpc/svc_raw.c: Likewise.
55190 * sunrpc/svc_run.c: Likewise.
55191 * sunrpc/svc_simple.c: Likewise.
55192 * sunrpc/svc_tcp.c: Likewise.
55193 * sunrpc/svc_udp.c: Likewise.
55194 * sunrpc/svc_unix.c: Likewise.
55195 * sunrpc/svcauth_des.c: Likewise.
55196 * sunrpc/xcrypt.c: Likewise.
55197 * sunrpc/xdr.c: Likewise.
55198 * sunrpc/xdr_array.c: Likewise.
55199 * sunrpc/xdr_float.c: Likewise.
55200 * sunrpc/xdr_intXX_t.c: Likewise.
55201 * sunrpc/xdr_mem.c: Likewise.
55202 * sunrpc/xdr_rec.c: Likewise.
55203 * sunrpc/xdr_ref.c: Likewise.
55204 * sunrpc/xdr_sizeof.c: Likewise.
55205 * sunrpc/xdr_stdio.c: Likewise.
55206
e6c61494
UD
552072011-04-10 Ulrich Drepper <drepper@gmail.com>
55208
55209 [BZ #12650]
55210 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55211 * sysdeps/ia64/dl-tls.h: Likewise.
55212 * sysdeps/powerpc/dl-tls.h: Likewise.
55213 * sysdeps/s390/dl-tls.h: Likewise.
55214 * sysdeps/sh/dl-tls.h: Likewise.
55215 * sysdeps/sparc/dl-tls.h: Likewise.
55216 * sysdeps/x86_64/dl-tls.h: Likewise.
55217 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55218
34fe483e
AS
552192011-03-14 Andreas Schwab <schwab@redhat.com>
55220
55221 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55222 rpath element also skip the following colon.
55223 (expand_dynamic_string_token): Add is_path parameter and pass
55224 down to DL_DST_REQUIRED and _dl_dst_substitute.
55225 (decompose_rpath): Call expand_dynamic_string_token with
55226 non-zero is_path. Ignore empty rpaths.
55227 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55228 with zero is_path.
55229
f12a32e6
AS
552302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55231
55232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55233 Make cancelable.
55234
38a7d692
UD
552352011-04-09 Ulrich Drepper <drepper@gmail.com>
55236
55237 [BZ #12655]
55238 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55239 Patch by Filipe David Manana <fdmanana@apache.org>.
55240
e451d22b
AS
552412011-04-07 Andreas Schwab <schwab@redhat.com>
55242
55243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55244 Maintain aligned stack.
55245 (CHECK_RSP): Remove unused macro.
55246
dedc7c7b
UD
552472011-04-03 Ulrich Drepper <drepper@gmail.com>
55248
55249 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55250 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55251
94521213
UD
552522011-04-02 Ulrich Drepper <drepper@gmail.com>
55253
55254 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55255
8cb700c0 55256 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 55257
0354e355
L
552582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55259
55260 [BZ #12518]
55261 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55262 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55263 * sysdeps/x86_64/memmove.c: New file.
55264 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55265 (memcpy): Renamed to ...
55266 (__new_memcpy): This.
55267 (memcpy): Provide GLIBC_2_14 memcpy.
55268 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55269 (memcpy): Provide GLIBC_2_2_5 memcpy.
55270
8593482f
UD
552712011-04-01 Ulrich Drepper <drepper@gmail.com>
55272
55273 [BZ #12631]
55274 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55275
81a5726b
AS
552762011-03-30 Andreas Schwab <schwab@redhat.com>
55277
55278 * misc/syncfs.c: New file.
55279 * misc/Makefile (routines): Add syncfs.
55280 * posix/unistd.h: Declare syncfs.
55281 * sysdeps/unix/syscalls.list: Add syncfs.
55282
00e5419f
AS
552832011-04-01 Andreas Schwab <schwab@redhat.com>
55284
55285 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55286 open_by_handle_at.
55287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55289 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55290 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55291 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55292 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55294
748876bf
UD
552952011-04-01 Ulrich Drepper <drepper@gmail.com>
55296
658e451d
UD
55297 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55298 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55299 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55304
748876bf
UD
55305 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55306 sync_file_range.c with -fexceptions.
55307 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55308 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55309 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55310 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55311 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55312 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
55314 sync_file_range as cancellation point
55315 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55316 now a wrapper around __call_sync_file_range with cancellation handling.
55317 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55318 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55319 function name to __call_sync_file_range.
55320 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55321 Add call_sync_file_range.
748876bf 55322
6e63d5e1
AS
553232011-04-01 Andreas Schwab <schwab@redhat.com>
55324
55325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 55326 bits/timex.h.
6e63d5e1 55327
46998f74
UD
553282011-04-01 Ulrich Drepper <drepper@gmail.com>
55329
4c1423ed
UD
55330 * iconv/iconv.h: Fix typo in comment.
55331 * io/fcntl.h: Likewise.
55332 * libio/stdio.h: Likewise.
55333 * posix/spawn.h: Likewise.
55334 * posix/unistd.h: Likewise.
55335 * stdlib/stdlib.h: Likewise.
55336 * time/time.h: Likewise.
55337 * wcsmbs/wchar.h: Likewise.
55338
158648c0
UD
55339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55340 open_by_handle): Add.
55341 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55342 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55343 Augment a few comments.
55344 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55346 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55348 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55349 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55350 open_by_handle.
55351
46998f74
UD
55352 * io/fcntl.h (AT_EMPTY_PATH): Define.
55353
83fe108b
UD
553542011-03-30 Ulrich Drepper <drepper@gmail.com>
55355
55356 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55357 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55358 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55359 to...
55360 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
55361 * Versions.def: Add GLIBC_2.14.
55362 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55363 Export.
83fe108b 55364
bb242059
UD
553652011-03-22 Ulrich Drepper <drepper@gmail.com>
55366
55367 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55368 round counter.
55369 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55370
c97a1282
L
553712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55372
55373 [BZ #12597]
55374 * string/test-strncmp.c (do_page_test): New function.
55375 (check2): Likewise.
55376 (test_main): Call check2.
55377 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55378
2a115601
UD
553792011-03-20 Ulrich Drepper <drepper@gmail.com>
55380
55381 [BZ #12587]
55382 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55383 Handle cache information in CPU leaf 4.
55384 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55385
8126d904
UD
553862011-03-18 Ulrich Drepper <drepper@gmail.com>
55387
042c49c6 55388 [BZ #12583]
8126d904
UD
55389 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55390 character representation.
55391 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55392
ccfe366e
RA
553932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55394
55395 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55396 END(__isnan) to END(__isnanf) to match function entry point/label
55397 EALIGN(__isnanf,...).
55398
c6e13027
JJ
553992011-03-10 Jakub Jelinek <jakub@redhat.com>
55400
55401 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55402
33f85a3f
UD
554032011-03-10 Ulrich Drepper <drepper@gmail.com>
55404
028478fa
UD
55405 [BZ #12510]
55406 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55407 copy from the symbol referenced in the relocation to initialize the
55408 used variable.
55409 Patch by Piotr Bury <pbury@goahead.com>.
55410 * elf/Makefile: Add rules to build and tst-unique3.
55411 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55412 * elf/tst-unique3.cc: New file.
55413 * elf/tst-unique3.h: New file.
55414 * elf/tst-unique3lib.cc: New file.
55415 * elf/tst-unique3lib2.cc: New file.
55416
33f85a3f
UD
55417 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55418
03592fc7
MF
554192011-03-10 Mike Frysinger <vapier@gentoo.org>
55420
55421 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55422 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55423 to _start.
03592fc7 55424
6a5ee102
UD
554252011-03-06 Ulrich Drepper <drepper@gmail.com>
55426
55427 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55428 to-be-loaded object along a path to loader is ld.so.
55429
7e4ba49c
HJ
554302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55431 Ulrich Drepper <drepper@gmail.com>
55432
55433 * sysdeps/x86_64/memset.S: After aligning destination, code
55434 branches to different locations depending on the value of
55435 misalignment, when multiarch is enabled. Fix this.
55436
554372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55438
55439 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55440 Set _x86_64_preferred_memory_instruction for AMD processsors.
55441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55442 Set bit_Prefer_SSE_for_memop for AMD processors.
55443
13a804de
UD
554442011-03-04 Ulrich Drepper <drepper@gmail.com>
55445
55446 * libio/fmemopen.c (fmemopen): Optimize a bit.
55447
9d25c392
AS
554482011-03-03 Andreas Schwab <schwab@redhat.com>
55449
55450 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55451
a5543c6a
RM
554522011-03-03 Roland McGrath <roland@redhat.com>
55453
55454 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55455
012d35f7
DM
554562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55457
7e4ba49c 55458 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
55459 __bzero_ultra1 instead of __memset_ultra1.
55460
4bff6e01
AS
554612011-02-23 Andreas Schwab <schwab@redhat.com>
55462 Ulrich Drepper <drepper@gmail.com>
55463
55464 [BZ #12509]
55465 * include/link.h (struct link_map): Add l_orig_initfini.
55466 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55467 returning unsuccessfully.
55468 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55469 close of a file loaded at startup, restore the original l_initfini
55470 list.
55471 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55472 list, store the pointer.
55473 * elf/Makefile ($(objpfx)noload-mem): New rule.
55474 (noload-ENV): Define.
55475 (tests): Add $(objpfx)noload-mem.
55476 * elf/noload.c: Include <memcheck.h>.
55477 (main): Call mtrace. Close all opened handles.
55478
f2092faf
AS
554792011-02-17 Andreas Schwab <schwab@redhat.com>
55480
55481 [BZ #12454]
55482 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55483 dependencies are missing.
55484
6c8a2e88
ST
554852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55486
f2092faf 55487 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
55488 Hurd needs munmap.
55489 * sysdeps/mach/hurd/ifreq.h: New file.
55490
84a42118
PB
554912011-01-27 Petr Baudis <pasky@suse.cz>
55492 Ulrich Drepper <drepper@gmail.com>
55493
071f805e 55494 [BZ 12445]#
84a42118
PB
55495 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55496 to extend_alloca().
55497 * stdio-common/bug23.c: New file.
55498 * stdio-common/Makefile (tests): Add bug23.
55499
e23fe25b
AS
555002010-09-28 Andreas Schwab <schwab@redhat.com>
55501 Ulrich Drepper <drepper@gmail.com>
55502
55503 [BZ #12489]
55504 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55505 before performing relro protection. At old place add assertion
55506 to make sure nothing changed.
55507
d3f02e10
NS
555082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55509 Glauber de Oliveira Costa <glommer@gmail.com>
55510
55511 * elf/elf.h: Add new ARM TLS relocs.
55512
d55fd7a5
RA
555132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55514
55515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55516 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55517 cast from r3.
55518 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55519 'tests' variable.
55520 * sysdeps/wordsize-64/tst-writev.c: New file.
55521
2206397e
RA
555222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55523
55524 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55525 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55526 insns in _dl_start to prevent a TOC reference before relocs are
55527 resolved.
55528
e9433893
UD
555292011-02-15 Ulrich Drepper <drepper@gmail.com>
55530
55531 [BZ #12469]
55532 * Makeconfig: Remove RANLIB definition.
55533 * Makerules: Don't use RANLIB.
55534 * aclocal.m4: Remove ranlib test.
55535 * configure.in: No need to check for ranlib.
55536 * elf/rtld-Rules: Don't use RANLIB.
55537
f75286c6
ST
555382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
55539
8e31c82d
ST
55540 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55541 protection macro.
55542 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55543 inclusion protection macro.
55544
f75286c6
ST
55545 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55546 SIGRTMIN and SIGRTMAX and print information in that case only when
55547 SIGRTMIN is defined.
55548
c1d0e639
JJ
555492011-02-11 Jakub Jelinek <jakub@redhat.com>
55550
55551 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55552 arginfo fn returning -1.
55553
55554 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55555 and thousands string is zero terminated.
55556
edf9294e
AS
555572011-02-03 Andreas Schwab <schwab@redhat.com>
55558
55559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55560 sysdeps/unix/sysv/linux/bits/socket.h.
55561
2b7e92df
ST
555622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
55563
edf9294e
AS
55564 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55565 (__CPU_COUNT): Remove old macros.
55566 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55567 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55568 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
55569 (__sched_cpualloc, __sched_cpufree): Add declarations.
55570
a4c7ea7b
UD
555712011-02-05 Ulrich Drepper <drepper@gmail.com>
55572
55573 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55574 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55575 * nscd/aicache.c (addhstaiX): Return timeout of added value.
55576 (readdhstai): Return value of addhstaiX call.
55577 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55578 (addgrbyX): Return value returned by cache_addgr.
55579 (readdgrbyname): Return value returned by addgrbyX.
55580 (readdgrbygid): Likewise.
55581 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55582 (addpwbyX): Return value returned by cache_addpw.
55583 (readdpwbyname): Return value returned by addhstbyX.
55584 (readdpwbyuid): Likewise.
55585 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55586 (addservbyX): Return value returned by cache_addserv.
55587 (readdservbyname): Return value returned by addservbyX:
55588 (readdservbyport): Likewise.
55589 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55590 (addhstbyX): Return value returned by cache_addhst.
55591 (readdhstbyname): Return value returned by addhstbyX.
55592 (readdhstbyaddr): Likewise.
55593 (readdhstbynamev6): Likewise.
55594 (readdhstbyaddrv6): Likewise.
55595 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55596 (readdinitgroups): Return value returned by addinitgroupsX.
55597 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55598 (prune_cache): Keep track of timeout value of re-added entries.
55599 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55600 * nscd/nscd.h: Adjust prototypes of readd* functions.
55601
a0bf67cc
RM
556022011-02-04 Roland McGrath <roland@redhat.com>
55603
55604 * nis/nis_server.c (nis_servstate): Use the right name for 0.
55605 (nis_stats): Likewise.
55606 * nis/nis_modify.c (nis_modify): Likewise.
55607 * nis/nis_remove.c (nis_remove): Likewise.
55608 * nis/nis_add.c (nis_add): Likewise.
55609
55610 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55611
55612 * posix/fnmatch_loop.c: Add some consts.
55613
55614 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55615
435b95eb
L
556162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
55617
55618 [BZ #12460]
55619 * config.make.in (config-cflags-novzeroupper): Define.
55620 * configure.in: Substitute libc_cv_cc_novzeroupper.
55621 * elf/Makefile (AVX-CFLAGS): Define.
55622 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55623 (CFLAGS-tst-auditmod4a.c): Likewise.
55624 (CFLAGS-tst-auditmod4b.c): Likewise.
55625 (CFLAGS-tst-auditmod6b.c): Likewise.
55626 (CFLAGS-tst-auditmod6c.c): Likewise.
55627 (CFLAGS-tst-auditmod7b.c): Likewise.
55628 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55629
8517b15e
UD
556302011-02-02 Ulrich Drepper <drepper@gmail.com>
55631
55632 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55633 function to the callback.
55634 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55635
10a656fe
AS
556362011-02-02 Andreas Schwab <schwab@redhat.com>
55637
55638 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55639 of errno.
55640
968dad0a
UD
556412011-01-19 Ulrich Drepper <drepper@gmail.com>
55642
9f94d2ea 55643 [BZ #11724]
968dad0a
UD
55644 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55645 of constructors.
55646 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55647 of destructors.
55648 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55649
55650 [BZ #11724]
55651 * elf/Makefile: Add rules to build and run new test.
55652 * elf/tst-initorder.c: New file.
55653 * elf/tst-initorder.exp: New file.
55654 * elf/tst-initordera1.c: New file.
55655 * elf/tst-initordera2.c: New file.
55656 * elf/tst-initordera3.c: New file.
55657 * elf/tst-initordera4.c: New file.
55658 * elf/tst-initorderb1.c: New file.
55659 * elf/tst-initorderb2.c: New file.
55660 * elf/tst-order-a1.c: New file.
55661 * elf/tst-order-a2.c: New file.
55662 * elf/tst-order-a3.c: New file.
55663 * elf/tst-order-a4.c: New file.
55664 * elf/tst-order-b1.c: New file.
55665 * elf/tst-order-b2.c: New file.
55666 * elf/tst-order-main.c: New file.
55667 New test case by George Gensure <werkt0@gmail.com>.
55668
86e92359
UD
556692010-10-01 Andreas Schwab <schwab@redhat.com>
55670
55671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55672 decoding ACE if AI_CANONIDN.
55673
5d5732b0
UD
556742011-01-18 Ulrich Drepper <drepper@gmail.com>
55675
55676 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55677
a77e8cbc
UD
556782011-01-17 Ulrich Drepper <drepper@gmail.com>
55679
6392473f
UD
55680 * version.h (RELEASE): Bump for 2.13 release.
55681 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55682
620a0529
UD
55683 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55684
18ba70a5
UD
55685 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55686 MADV_NOHUGEPAGE.
32465c3e
UD
55687 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55688 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55689 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55690 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55691 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55693
c0dafcf1
UD
55694 * posix/getconf.c: Update copyright year.
55695 * catgets/gencat.c: Likewise.
55696 * csu/version.c: Likewise.
55697 * debug/catchsegv.sh: Likewise.
55698 * debug/xtrace.sh: Likewise.
55699 * elf/ldconfig.c: Likewise.
55700 * elf/ldd.bash.in: Likewise.
55701 * elf/sprof.c (print_version): Likewise.
55702 * iconv/iconv_prog.c: Likewise.
55703 * iconv/iconvconfig.c: Likewise.
55704 * locale/programs/locale.c: Likewise.
55705 * locale/programs/localedef.c: Likewise.
55706 * malloc/memusage.sh: Likewise.
55707 * malloc/mtrace.pl: Likewise.
55708 * nscd/nscd.c (print_version): Likewise.
55709 * nss/getent.c: Likewise.
55710
a77e8cbc
UD
55711 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55712 PF_CAIF, and PF_ALG.
55713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55714
77e8bddf
AS
557152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55716
1f20b93a
AS
55717 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55718 (modules-names): Use them.
55719 (ifunc-test-modules, ifunc-pie-tests): Define.
55720 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55721 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55722 (test-extras): Likewise.
55723 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55724 $(compile-command.c).
55725 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55726 (all-built-dso): Define.
55727 (check-textrel.out, check-execstack.out): Depend on it.
55728
77e8bddf
AS
55729 * configure.in: Don't override --enable-multi-arch.
55730
bc425b33
UD
557312011-01-15 Ulrich Drepper <drepper@gmail.com>
55732
55733 [BZ #6812]
55734 * nscd/hstcache.c (tryagain): Define.
55735 (cache_addhst): Return tryagain not notfound for temporary errors.
55736 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55737 failed.
55738
794c3ad3
UD
557392011-01-14 Ulrich Drepper <drepper@gmail.com>
55740
70181fdd
UD
55741 [BZ #10563]
55742 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55743 to make the syscall.
55744 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55745
794c3ad3
UD
55746 [BZ #12378]
55747 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55748 and fall back to matching as normal character if the string ends before
55749 the matching ']' is found. This is what POSIX requires.
55750 * posix/testfnm.c: Adjust test result.
55751 * posix/globtest.sh: Adjust test result. Add new test.
55752 * posix/tst-fnmatch.input: Likewise.
55753 * posix/tst-fnmatch2.c: Add new test.
55754
68dc9497
AS
557552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55756
55757 * elf/Makefile (check-execstack): Revert last change. Depend on
55758 check-execstack.h.
55759 (check-execstack.h): New target.
55760 (generated): Add check-execstack.h.
55761 * elf/check-execstack.c: Include "check-execstack.h".
55762 (main): Revert last change.
55763 (handle_file): Return zero if GNU_STACK is absent and
55764 DEFAULT_STACK_PERMS doesn't include PF_X.
55765
451f001b
UD
557662011-01-13 Ulrich Drepper <drepper@gmail.com>
55767
cfa28e56
UD
55768 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55769 in child fails because the descriptor is already closed.
8cf8ce17
UD
55770 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55771 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55772 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55773
1086d70d
UD
55774 [BZ #12397]
55775 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55776 syscall.
55777
451f001b
UD
55778 [BZ #10484]
55779 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55780 temporary buffer used to handle multi lookups locally.
a85b5cb4 55781 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55782
08769175
UD
557832011-01-12 Ulrich Drepper <drepper@gmail.com>
55784
55785 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55786 loader is ld.so.
55787
5e49c52e
UD
557882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55789
55790 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55791 alignment for SSE2.
55792
60522a5f
UD
557932011-01-12 Ulrich Drepper <drepper@gmail.com>
55794
55795 [BZ #12394]
55796 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55797 characters. When rounding increased number of integer digits recompute
55798 number of groups.
55799 * stdio-common/tst-grouping.c: New file.
55800 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55801
f257bbd7
UD
558022011-01-09 Ulrich Drepper <drepper@gmail.com>
55803
55804 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55805 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55806
55807 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55808 void.
55809 * bits/select.h: Likewise.
55810
fa9c15cb
UD
558112011-01-08 Ulrich Drepper <drepper@gmail.com>
55812
55813 * po/ja.po: Update from translation team.
55814
16c2895f
DM
558152011-01-04 David S. Miller <davem@sunset.davemloft.net>
55816
55817 [BZ #11155]
55818 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55819 implementation just like for lxstat, fxstatat, et al.
55820
2543fef2
JM
558212010-12-27 Jim Meyering <meyering@redhat.com>
55822
55823 [BZ #12348]
55824 * posix/regexec.c (build_trtable): Return failure indication upon
55825 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55826
98727dbe
UD
558272010-12-25 Ulrich Drepper <drepper@gmail.com>
55828
5bd6dc5c
UD
55829 [BZ #12201]
55830 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55831 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55832 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55833 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55834
97983464
UD
55835 [BZ #12207]
55836 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55837
98727dbe
UD
55838 [BZ #12204]
55839 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55840 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55841
4a531bb0
L
558422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55843
55844 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55845 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55846 script has SORT_BY_INIT_PRIORITY.
55847 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55848 NO_CTORS_DTORS_SECTIONS is defined.
55849 * elf/soinit.c: Likewise.
55850 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55851 NO_CTORS_DTORS_SECTIONS is defined.
55852 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55853 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55854 * sysdeps/sh/init-first.c: Likewise.
55855 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55856
07eb4b71
UD
558572010-12-24 Ulrich Drepper <drepper@gmail.com>
55858
55859 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55860 always use the slow path.
55861
30950a5f
RA
558622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55863
55864 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55865 similar rule which adds the sysdep directories to the header search in
55866 order to pick up the correct platform stackinfo.h.
55867 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55868 perform test if it is, otherwise return successfully without testing.
55869 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55870 DEFAULT_STACK_PERMS define in stackinfo.h.
55871 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55872 defined in stackinfo.h.
55873 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55874 DEFAULT_STACK_PERMS defined in stackinfo.h.
55875 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55876 * sysdeps/ia64/stackinfo.h: Likewise.
55877 * sysdeps/s390/stackinfo.h: Likewise.
55878 * sysdeps/sh/stackinfo.h: Likewise.
55879 * sysdeps/sparc/stackinfo.h: Likewise.
55880 * sysdeps/x86_64/stackinfo.h: Likewise.
55881 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55882 PF_X for powerpc64. Retain PF_X for powerpc32.
55883
db753e2c
UD
558842010-12-19 Ulrich Drepper <drepper@gmail.com>
55885
14b697f7
UD
55886 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55887 accurately.
db753e2c
UD
55888 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55889 GETDENTS_64BIT_ALIGNED.
55890
28300719
UD
558912010-12-14 Ulrich Drepper <dreper@gmail.com>
55892
14b697f7 55893 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55894
4f197237
AS
558952010-12-10 Andreas Schwab <schwab@redhat.com>
55896
dbb0472f
AS
55897 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55898 _GNU_SOURCE.
55899
4f197237
AS
55900 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55901 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55902 Remove __restrict.
55903 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55904 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55905
fb88ac72
UD
559062010-12-09 Ulrich Drepper <drepper@gmail.com>
55907
55908 [BZ #11655]
55909 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55910 are initialized.
55911
42acbb92
JJ
559122010-12-09 Jakub Jelinek <jakub@redhat.com>
55913
55914 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55915
c038d98d
UD
559162010-12-03 Ulrich Drepper <drepper@gmail.com>
55917
55918 * po/it.po: Update from translation team.
55919
3a4a2499
L
559202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55921
55922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55923 unused codes.
55924
1e24cf6e
UD
559252010-11-30 Ulrich Drepper <drepper@gmail.com>
55926
55927 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55928
a7690819
AS
559292010-11-24 Andreas Schwab <schwab@redhat.com>
55930
55931 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55932 specially.
55933 (gaih_getanswer_slice): Likewise.
55934
3bf8d1b1
JJ
559352010-10-20 Jakub Jelinek <jakub@redhat.com>
55936
55937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55938
6db52fbb
PB
559392010-05-31 Petr Baudis <pasky@suse.cz>
55940
55941 [BZ #11149]
55942 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55943 silently even in the chroot mode.
55944
eaca7569
UD
559452010-11-22 Ulrich Drepper <drepper@gmail.com>
55946
55947 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55948 last patch a bit. Pretty printing
55949
3056dcdb
UD
559502010-05-31 Petr Baudis <pasky@suse.cz>
55951
55952 [BZ #10085]
55953 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55954 initialization of skip_initgroups_dyn.
55955
cf7c9078
UD
559562010-11-19 Ulrich Drepper <drepper@gmail.com>
55957
55958 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55959 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55960
a1fb5e3e
UD
559612010-11-16 Ulrich Drepper <drepper@gmail.com>
55962
55963 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55964
3540d66b
AS
559652010-11-11 Andreas Schwab <schwab@redhat.com>
55966
55967 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55968 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55969 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55970 ($(objpfx)tst-fnmatch-mem): New rule.
55971 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55972 * posix/tst-fnmatch.c (main): Call mtrace.
55973
13b69574
L
559742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55975
55976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55977 Support Intel processor model 6 and model 0x2c.
55978
da93d214
LM
559792010-11-10 Luis Machado <luisgpm@br.ibm.com>
55980
55981 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55982 signed comparison.
55983
8ca52c6e
L
559842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55985
55986 [BZ #12205]
55987 * string/test-strncasecmp.c (check_result): New function.
55988 (do_one_test): Use it.
55989 (check1): New function.
55990 (test_main): Use it.
55991 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55992 Support strcasecmp and strncasecmp.
55993
69da074d
UD
559942010-11-08 Ulrich Drepper <drepper@gmail.com>
55995
55996 [BZ #12194]
55997 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55999
ff02d528
L
560002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56001
56002 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56003 IFUNC support.
56004 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56005 memset-x86-64.
56006 * sysdeps/x86_64/multiarch/bzero.S: New file.
56007 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56008 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56009 * sysdeps/x86_64/multiarch/memset.S: New file.
56010 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56012 Set bit_Prefer_SSE_for_memop for Intel processors.
56013 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56014 Define.
56015 (index_Prefer_SSE_for_memop): Define.
56016 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56017
344d0b54
LM
560182010-11-04 Luis Machado <luisgpm@br.ibm.com>
56019
56020 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56021 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56022
c0dde15b
UD
560232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56024
56025 [BZ #12191]
56026 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56027 (__x86_64_raw_data_cache_size_half): Likewise.
56028 (__x86_64_raw_shared_cache_size): Likewise.
56029 (__x86_64_raw_shared_cache_size_half): Likewise.
56030
56031 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56032 (__x86_64_raw_data_cache_size_half): Likewise.
56033 (__x86_64_raw_shared_cache_size): Likewise.
56034 (__x86_64_raw_shared_cache_size_half): Likewise.
56035 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56036 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56037 and __x86_64_raw_shared_cache_size_half. Round
56038 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56039 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56040 to multiple of 256 bytes.
56041
0e516e0e
MS
560422010-11-03 Ulrich Drepper <drepper@gmail.com>
56043
56044 [BZ #12167]
56045 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56046 of inacessible symlinks. Verify result of symlink before returning it.
56047 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56048 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56049
0e012e87
ER
560502010-10-28 Erich Ritz <erichritz@gmail.com>
56051
56052 * math/math.h (isinf): Fix typo in comment.
56053
de0ff7bc
UD
560542010-11-01 Ulrich Drepper <drepper@gmail.com>
56055
56056 * po/da.po: Update from translation team.
56057
fa41c84d
UD
560582010-10-26 Ulrich Drepper <drepper@gmail.com>
56059
56060 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56061 is added to the list.
56062
f0967738
AK
560632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56064 Ulrich Drepper <drepper@gmail.com>
56065
56066 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56067 the global list here. Move code to...
56068 (_dl_add_to_namespace_list): ...here. New function.
56069 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56070 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56071 * elf/dl-load.c (lose): Don't remove the element from the list.
56072 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56073 (_dl_map_object): Likewise.
56074
560752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
56076
56077 [BZ #12159]
56078 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56079 into all bytes of SSE register.
56080 Patch by Richard Li <richardpku@gmail.com>.
56081
f0967738 560822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
56083
56084 [BZ #12140]
56085 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56086 perturbing.
56087
d0b9e94f
MB
560882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56089
56090 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56091 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56092 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56093 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56095 submachine.
56096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56097
8e9f92e9
AS
560982010-10-22 Andreas Schwab <schwab@redhat.com>
56099
56100 * include/dlfcn.h (__RTLD_SECURE): Define.
56101 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56102 mode & __RTLD_SECURE instead.
56103 (open_path): Rename preloaded parameter to secure.
56104 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56105 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56106 * elf/dl-deps.c (openaux): Likewise.
56107 * elf/rtld.c (struct map_args): Remove is_preloaded.
56108 (map_doit): Don't use it.
56109 (dl_main): Likewise.
56110 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56111 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56112
bc96fbda
AS
561132010-09-09 Andreas Schwab <schwab@redhat.com>
56114
56115 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56116 (sysd-rules-targets): Remove duplicates.
56117 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56118 rtld-%.$o dependency.
56119
22cd1c9b
AS
561202010-10-18 Andreas Schwab <schwab@redhat.com>
56121
56122 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56123 _dl_map_object do it.
56124
18edac48
UD
561252010-10-19 Ulrich Drepper <drepper@gmail.com>
56126
56127 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56128 fast fma builtins, define the macros in the C99 standard.
56129 (FP_FAST_FMAF): Likewise.
56130 (FP_FAST_FMAL): Likewise.
56131 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56132
56133 * bits/mathdef.h: Update copyright year.
56134 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56135
d2050124
MM
561362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56137
56138 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56139 builtins, define the macros in the C99 standard.
56140 (FP_FAST_FMAF): Likewise.
56141 (FP_FAST_FMAL): Likewise.
56142 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56143 multiply/add.
56144 (FP_FAST_FMAF): Likewise.
56145
475facd1
JJ
561462010-10-15 Jakub Jelinek <jakub@redhat.com>
56147
56148 [BZ #3268]
56149 * math/libm-test.inc (fma_test): Some new testcases.
56150 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56151 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56152 y and infinite z. Do multiplication by C already in long double.
56153 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56154 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56155 y and infinite z. Do bitwise or of inexact bit into u.d.
56156 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56157 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56158 * sysdeps/i386/fpu/s_fma.S: Removed.
56159 * sysdeps/i386/fpu/s_fmal.S: Removed.
56160
7c08a05c
JJ
561612010-10-16 Jakub Jelinek <jakub@redhat.com>
56162
56163 [BZ #3268]
56164 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56166 computation is not scheduled after fetestexcept. Fix value
56167 of minimum denormal long double.
56168
f3f7372d
JJ
561692010-10-14 Jakub Jelinek <jakub@redhat.com>
56170
56171 [BZ #3268]
56172 * math/libm-test.inc (fma_test): Add some more tests.
56173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56174 correctly.
56175
14d43591
AS
561762010-10-15 Andreas Schwab <schwab@redhat.com>
56177
56178 * scripts/data/localplt-s390-linux-gnu.data: New file.
56179 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56180
5e908464
JJ
561812010-10-13 Jakub Jelinek <jakub@redhat.com>
56182
56183 [BZ #3268]
56184 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56185 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56186 instead of dbl-64.
56187 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56188 inlines.
56189 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56191 if one of x and y is very large and the other is subnormal.
56192 * sysdeps/s390/fpu/s_fmaf.c: New file.
56193 * sysdeps/s390/fpu/s_fma.c: New file.
56194 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56195 * sysdeps/powerpc/fpu/s_fma.S: New file.
56196 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56197 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56198 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56199
562002010-10-12 Jakub Jelinek <jakub@redhat.com>
56201
56202 [BZ #3268]
56203 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56204 fma tests.
56205 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56206 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56207 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56208 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56209 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56210 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56211 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56212
b833d51f
UD
562132010-10-12 Ulrich Drepper <drepper@redhat.com>
56214
56215 [BZ #12078]
56216 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56217 * posix/bug-regex31.input: Add test case.
56218
1751705d
UD
562192010-10-11 Ulrich Drepper <drepper@gmail.com>
56220
e9b9cbf5
UD
56221 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56222 * posix/bug-regex31.input: New file.
56223
56224 [BZ #12078]
56225 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56226 (parse_sub_exp): Fix last change, use postorder.
56227
ef06edbe
UD
56228 * posix/bug-regex31.c: New file.
56229 * posix/Makefile: Add rules to build and run bug-regex31.
56230
a129c80d
UD
56231 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56232
56233 [BZ #12078]
56234 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56235
b76b818e
UD
56236 [BZ #12108]
56237 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56238 to have entries in sys_siglist.
56239
1751705d
UD
56240 [BZ #12093]
56241 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56242 be NULL.
56243
9ff8d36f
JJ
562442010-10-07 Jakub Jelinek <jakub@redhat.com>
56245
56246 [BZ #3268]
56247 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56248 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56249 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56250 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56251 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56252 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56253 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56254 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56255 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56256 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56257 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56258 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56259 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56260 * math/ftestexcept.c (fetestexcept): Likewise.
56261 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56262 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56263 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56264 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56265 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56266 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56267 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56268
af325969
UD
562692010-10-11 Ulrich Drepper <drepper@gmail.com>
56270
c579b202 56271 [BZ #12107]
af325969
UD
56272 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56273 newline.
56274
67a67b95
UD
562752010-10-06 Ulrich Drepper <drepper@gmail.com>
56276
56277 * string/bug-strstr1.c: New file.
56278 * string/Makefile: Add rules to build and run bug-strstr1.
56279
5fb308bc
EB
562802010-10-05 Eric Blake <eblake@redhat.com>
56281
56282 [BZ #12092]
56283 * string/str-two-way.h (two_way_long_needle): Always clear memory
56284 when skipping input due to the shift table.
56285
45db99c7
UD
562862010-10-03 Ulrich Drepper <drepper@gmail.com>
56287
3b111893
UD
56288 [BZ #12005]
56289 * malloc/mcheck.c: Handle large requests.
56290
45db99c7
UD
56291 [BZ #12077]
56292 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56293 for strncmp and strncasecmp.
56294 * string/stratcliff.c: Add tests for strcmp and strncmp.
56295 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56296
cf7a1eb8
NI
562972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56298
56299 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56300 __set_fpscr.
56301
6484ba5e
AJ
563022010-09-30 Andreas Jaeger <aj@suse.de>
56303
56304 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56305 (CGROUP_SUPER_MAGIC): Define.
56306 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56307 Handle btrfs and cgroup file systems.
56308 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56309 Likewise.
56310
91c42559
LM
563112010-09-27 Luis Machado <luisgpm@br.ibm.com>
56312
56313 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56314 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56315
87a97932
AK
563162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56317
56318 [BZ #12067]
56319 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56320 trying to locate the ELF header.
56321
c21cc9bc
AS
563222010-09-27 Andreas Schwab <schwab@redhat.com>
56323
56324 [BZ #11611]
56325 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56326 Mask out sign-bit copies when constructing f_fsid.
56327
315970f6
PB
563282010-09-24 Petr Baudis <pasky@suse.cz>
56329
56330 * debug/stack_chk_fail_local.c: Add missing licence exception.
56331 * debug/warning-nop.c: Likewise.
56332
1ac7a2c7
JM
563332010-09-15 Joseph Myers <joseph@codesourcery.com>
56334
56335 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56336 implementing getdents64 using getdents syscall, set d_type if
56337 __ASSUME_GETDENTS32_D_TYPE.
56338
56801c50
AS
563392010-09-16 Andreas Schwab <schwab@redhat.com>
56340
56341 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56342 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56343
dda51327
UD
563442010-09-21 Ulrich Drepper <drepper@redhat.com>
56345
56346 [BZ #12037]
56347 * posix/unistd.h: Undo change of feature selection for ftruncate from
56348 2010-01-11.
56349
8ffcee4a
UD
563502010-09-20 Ulrich Drepper <drepper@redhat.com>
56351
a545ecd9 56352 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
56353 detection.
56354
e24f0a8b
AS
563552010-09-20 Andreas Schwab <schwab@redhat.com>
56356
56357 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56358 fanotify_mark.
56359 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56360
7291c56f
AS
563612010-09-14 Andreas Schwab <schwab@redhat.com>
56362
56363 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56364 variables after CHECK_SP call.
56365 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56366
bc5fb037
AS
563672010-09-13 Andreas Schwab <schwab@redhat.com>
56368 Ulrich Drepper <drepper@redhat.com>
56369
56370 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56371 re-relocationg ld.so.
56372 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56373 _dl_init_paths call.
56374 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56375 here anymore.
56376
e66e7419
UD
563772010-09-14 Ulrich Drepper <drepper@redhat.com>
56378
56379 * resolv/res_init.c (__res_vinit): Count the default server we added.
56380
c044aa75
CLT
563812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56382 Ulrich Drepper <drepper@redhat.com>
56383
56384 [BZ #11968]
56385 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56386 (____longjmp_chk): Use %ebx for saving value across system call.
56387 Add unwind info.
56388
32cf4069
AS
563892010-09-06 Andreas Schwab <schwab@redhat.com>
56390
56391 * manual/Makefile: Don't mix pattern rules with normal rules.
56392
817328ee
AS
563932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56394
56395 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56396 operation.
56397 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56398 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56399 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56400 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56401 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56402 Likewise.
56403
29fddf61
UD
564042010-09-04 Ulrich Drepper <drepper@redhat.com>
56405
56406 [BZ #11979]
56407 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56408 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56409
0959ffc9
UD
564102010-09-02 Ulrich Drepper <drepper@redhat.com>
56411
56412 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56413 * sysdeps/x86_64/addmul_1.S: Likewise.
56414 * sysdeps/x86_64/lshift.S: Likewise.
56415 * sysdeps/x86_64/mul_1.S: Likewise.
56416 * sysdeps/x86_64/rshift.S: Likewise.
56417 * sysdeps/x86_64/sub_n.S: Likewise.
56418 * sysdeps/x86_64/submul_1.S: Likewise.
56419
ece29840
ST
564202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56421
0959ffc9
UD
56422 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56423 Define __sched_param instead of SCHED_* and sched_param when
ece29840 56424 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 56425 * bits/sched.h [__need_schedparam]
ece29840 56426 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
56427 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56428 (__defined_schedparam): Define to 1.
ece29840
ST
56429 (__sched_param): New structure, identical to sched_param.
56430 (__need_schedparam): Undefine.
56431
e53a31fe
MF
564322010-08-31 Mike Frysinger <vapier@gentoo.org>
56433
fdc0c10d
MF
56434 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56435 (epoll_create1): Declare.
56436
e53a31fe
MF
56437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56438
a726d796
AS
564392010-08-31 Andreas Schwab <schwab@redhat.com>
56440
56441 [BZ #7066]
56442 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56443 shifting retval into place.
56444
2f3e3dc7
UD
564452010-09-01 Ulrich Drepper <drepper@redhat.com>
56446
f2933da9
UD
56447 * nis/rpcsvc/nis.h: Update copyright notice.
56448 * nis/rpcsvc/nis.x: Likewise.
56449 * nis/rpcsvc/nis_callback.h: Likewise.
56450 * nis/rpcsvc/nis_callback.x: Likewise.
56451 * nis/rpcsvc/nis_object.x: Likewise.
56452 * nis/rpcsvc/nis_tags.h: Likewise.
56453 * nis/rpcsvc/yp.h: Likewise.
56454 * nis/rpcsvc/yp.x: Likewise.
56455 * nis/rpcsvc/ypupd.h: Likewise.
56456 * nis/yp_xdr.c: Likewise.
56457 * nis/ypupdate_xdr.c: Likewise.
56458
2f3e3dc7
UD
56459 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56460 mainly the body of pmap_getport. Add parameters to specify timeouts.
56461 (pmap_getport): Use __libc_rpc_getport.
56462 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56463 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56464 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56465
f3dcc2f9
AS
564662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56467
56468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56469 fanotify_mark.
56470
6d34eb5b
RM
564712010-08-27 Roland McGrath <roland@redhat.com>
56472
56473 * sysdeps/i386/i686/multiarch/Makefile
56474 (CFLAGS-varshift.c): New variable.
56475
9ea3de11
UD
564762010-08-27 Ulrich Drepper <drepper@redhat.com>
56477
c96d23fc
UD
56478 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56479 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56480
9ea3de11
UD
56481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56482
56483 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56484
623aac7f
L
564852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56486
56487 * sysdeps/x86_64/strlen.S: Unroll the loop.
56488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56489 strlen-sse2 strlen-sse2-bsf.
56490 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56491 __strlen_no_bsf if bit_Slow_BSF is set.
56492 (__strlen_sse42): Removed.
56493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56494 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56495
8b2b7715
RM
564962010-08-25 Roland McGrath <roland@redhat.com>
56497
56498 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56499 * sysdeps/x86_64/multiarch/varshift.c: New file.
56500 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56501 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56502 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56503 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56504
e73015f2
L
565052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56506
56507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56508 strlen-sse2 strlen-sse2-bsf.
56509 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56510 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56511 (__strlen_sse2): Removed.
56512 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56515 bit_Slow_BSF for Atom.
56516 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56517 (index_Slow_BSF): Define.
56518 (HAS_SLOW_BSF): Define.
56519
df24a73e
UD
565202010-08-25 Ulrich Drepper <drepper@redhat.com>
56521
56522 [BZ #10851]
56523 * resolv/res_init.c (__res_vinit): When no server address at all
56524 is given default to loopback.
56525
f2ac4868
RM
565262010-08-24 Roland McGrath <roland@redhat.com>
56527
09055553
RM
56528 * configure.in: Remove config-name.h generation.
56529 * configure: Regenerated.
56530 * config-name.in: File removed.
56531 * scripts/config-uname.sh: New file.
56532 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56533 ($(objdir)config-name.h): New target.
56534
f2ac4868
RM
56535 * sunrpc/rpc_parse.h: Avoid nested comment.
56536
73f27d5e
RH
565372010-08-24 Richard Henderson <rth@redhat.com>
56538 Ulrich Drepper <drepper@redhat.com>
56539 H.J. Lu <hongjiu.lu@intel.com>
56540
56541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56543 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56544 Replace _mm_srli_si128 with __m128i_shift_right. Replace
56545 _mm_alignr_epi8 with _mm_loadu_si128.
56546 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56547 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56548 (__m128i_shift_right): Removed.
56549 * sysdeps/i386/i686/multiarch/varshift.h: New file.
56550 * sysdeps/i386/i686/multiarch/varshift.S: New file.
56551 * sysdeps/x86_64/multiarch/varshift.h: New file.
56552 * sysdeps/x86_64/multiarch/varshift.S: New file.
56553
84b9230c
MF
565542010-08-21 Mike Frysinger <vapier@gentoo.org>
56555
56556 * configure.in: Move assembler checks to before sysdep dir checking.
56557
9bbd0ddc
PB
565582010-08-20 Petr Baudis <pasky@suse.cz>
56559
56560 * LICENSES: Sync the sunrpc license.
56561
9da4bb31
UD
565622010-08-19 Ulrich Drepper <drepper@redhat.com>
56563
a7ab6ec8
UD
56564 * sunrpc/auth_des.c: Update copyright notice once again.
56565 * sunrpc/auth_none.c: Likewise.
56566 * sunrpc/auth_unix.c: Likewise.
56567 * sunrpc/authdes_prot.c: Likewise.
56568 * sunrpc/authuxprot.c: Likewise.
56569 * sunrpc/bindrsvprt.c: Likewise.
56570 * sunrpc/clnt_gen.c: Likewise.
56571 * sunrpc/clnt_perr.c: Likewise.
56572 * sunrpc/clnt_raw.c: Likewise.
56573 * sunrpc/clnt_simp.c: Likewise.
56574 * sunrpc/clnt_tcp.c: Likewise.
56575 * sunrpc/clnt_udp.c: Likewise.
56576 * sunrpc/clnt_unix.c: Likewise.
56577 * sunrpc/des_crypt.c: Likewise.
56578 * sunrpc/des_soft.c: Likewise.
56579 * sunrpc/get_myaddr.c: Likewise.
56580 * sunrpc/getrpcport.c: Likewise.
56581 * sunrpc/key_call.c: Likewise.
56582 * sunrpc/key_prot.c: Likewise.
56583 * sunrpc/openchild.c: Likewise.
56584 * sunrpc/pm_getmaps.c: Likewise.
56585 * sunrpc/pm_getport.c: Likewise.
56586 * sunrpc/pmap_clnt.c: Likewise.
56587 * sunrpc/pmap_prot.c: Likewise.
56588 * sunrpc/pmap_prot2.c: Likewise.
56589 * sunrpc/pmap_rmt.c: Likewise.
56590 * sunrpc/rpc/auth.h: Likewise.
56591 * sunrpc/rpc/auth_unix.h: Likewise.
56592 * sunrpc/rpc/clnt.h: Likewise.
56593 * sunrpc/rpc/des_crypt.h: Likewise.
56594 * sunrpc/rpc/key_prot.h: Likewise.
56595 * sunrpc/rpc/netdb.h: Likewise.
56596 * sunrpc/rpc/pmap_clnt.h: Likewise.
56597 * sunrpc/rpc/pmap_prot.h: Likewise.
56598 * sunrpc/rpc/pmap_rmt.h: Likewise.
56599 * sunrpc/rpc/rpc.h: Likewise.
56600 * sunrpc/rpc/rpc_des.h: Likewise.
56601 * sunrpc/rpc/rpc_msg.h: Likewise.
56602 * sunrpc/rpc/svc.h: Likewise.
56603 * sunrpc/rpc/svc_auth.h: Likewise.
56604 * sunrpc/rpc/types.h: Likewise.
56605 * sunrpc/rpc/xdr.h: Likewise.
56606 * sunrpc/rpc_clntout.c: Likewise.
56607 * sunrpc/rpc_cmsg.c: Likewise.
56608 * sunrpc/rpc_common.c: Likewise.
56609 * sunrpc/rpc_cout.c: Likewise.
56610 * sunrpc/rpc_dtable.c: Likewise.
56611 * sunrpc/rpc_hout.c: Likewise.
56612 * sunrpc/rpc_main.c: Likewise.
56613 * sunrpc/rpc_parse.c: Likewise.
56614 * sunrpc/rpc_parse.h: Likewise.
56615 * sunrpc/rpc_prot.c: Likewise.
56616 * sunrpc/rpc_sample.c: Likewise.
56617 * sunrpc/rpc_scan.c: Likewise.
56618 * sunrpc/rpc_scan.h: Likewise.
56619 * sunrpc/rpc_svcout.c: Likewise.
56620 * sunrpc/rpc_tblout.c: Likewise.
56621 * sunrpc/rpc_util.c: Likewise.
56622 * sunrpc/rpc_util.h: Likewise.
56623 * sunrpc/rpcinfo.c: Likewise.
56624 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56625 * sunrpc/rpcsvc/key_prot.x: Likewise.
56626 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56627 * sunrpc/rpcsvc/mount.x: Likewise.
56628 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56629 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56630 * sunrpc/rpcsvc/rex.x: Likewise.
56631 * sunrpc/rpcsvc/rstat.x: Likewise.
56632 * sunrpc/rpcsvc/rusers.x: Likewise.
56633 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56634 * sunrpc/rpcsvc/spray.x: Likewise.
56635 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56636 * sunrpc/rtime.c: Likewise.
56637 * sunrpc/svc.c: Likewise.
56638 * sunrpc/svc_auth.c: Likewise.
56639 * sunrpc/svc_authux.c: Likewise.
56640 * sunrpc/svc_raw.c: Likewise.
56641 * sunrpc/svc_run.c: Likewise.
56642 * sunrpc/svc_simple.c: Likewise.
56643 * sunrpc/svc_tcp.c: Likewise.
56644 * sunrpc/svc_udp.c: Likewise.
56645 * sunrpc/svc_unix.c: Likewise.
56646 * sunrpc/svcauth_des.c: Likewise.
56647 * sunrpc/xcrypt.c: Likewise.
56648 * sunrpc/xdr.c: Likewise.
56649 * sunrpc/xdr_array.c: Likewise.
56650 * sunrpc/xdr_float.c: Likewise.
56651 * sunrpc/xdr_mem.c: Likewise.
56652 * sunrpc/xdr_rec.c: Likewise.
56653 * sunrpc/xdr_ref.c: Likewise.
56654 * sunrpc/xdr_sizeof.c: Likewise.
56655 * sunrpc/xdr_stdio.c: Likewise.
56656
9da4bb31
UD
56657 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56658 handling.
56659
bdaa77bc
AS
566602010-08-19 Andreas Schwab <schwab@redhat.com>
56661
56662 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56663
fe2f79db
LM
566642010-08-19 Luis Machado <luisgpm@br.ibm.com>
56665
56666 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56667 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56668 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56669 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56670 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56671 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56672 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56673 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56674 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56675 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56676 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56677 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56678 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56679 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56680
b9b42ee0
AB
566812010-07-26 Anton Blanchard <anton@samba.org>
56682
56683 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56684 * malloc/arena.c (heap_trim): Likewise.
56685
1c06ba31
UD
566862010-08-16 Ulrich Drepper <drepper@redhat.com>
56687
56688 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56689 here. Not...
56690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56691 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56692
f8392f40
L
566932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56694
56695 * sysdeps/i386/elf/Makefile: New file.
56696
3162f12e
AS
566972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56698
56699 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56700 from fanotify_init.
56701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56702 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56703
28c90b2c
UD
567042010-08-15 Ulrich Drepper <drepper@redhat.com>
56705
56706 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56707 of strncasecmp_l.
1feccb6c 56708 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56709
ca6bb004
UD
567102010-08-14 Ulrich Drepper <drepper@redhat.com>
56711
e9f82e0d
UD
56712 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56713 strncase_l-nonascii.
56714 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56715 Add strncase_l-ssse3.
56716 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56717 * sysdeps/x86_64/strcmp.S: Likewise.
56718 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56719 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56720 * sysdeps/x86_64/strncase.S: New file.
56721 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56722 * sysdeps/x86_64/strncase_l.S: New file.
56723 * string/Makefile (strop-tests): Add strncasecmp.
56724 * string/test-strncasecmp.c: New file.
56725
56726 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56727 warning.
56728
ca6bb004
UD
56729 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56730 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56731
052fa7b3
AS
567322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56733
56734 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56735
962dba78
UD
567362010-08-12 Ulrich Drepper <drepper@redhat.com>
56737
56738 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56739 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56740 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56741
bebff237
AM
567422010-05-01 Alan Modra <amodra@gmail.com>
56743
56744 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56745 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56746 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56747 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56748 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56749 tidying. Don't tail-call __sigjmp_save for static lib.
56750 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56751 save location.
56752 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56753 (CALL_MCOUNT): Add eh info, and nop after bl.
56754 (TAIL_CALL_SYSCALL_ERROR): New macro.
56755 (PSEUDO_RET): Use it.
56756 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56757 Correct save location of integer regs and cr.
56758 (_dl_profile_resolve): Correct cr save location. Delete nops
56759 after bl when SHARED. Reduce cfi size a little by better
56760 placement of cfi directives.
56761 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56762 make a stack frame. Instead use parm save area as a temp.
56763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56764 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56766 Don't make a stack frame for parent, use parm save area.
56767 Increase child stack frame to 112 bytes. Don't save unused reg,
56768 and adjust reg usage. Set up cfi on error recovery and
56769 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56771 (__makecontext): Add dummy nop after jump to exit.
56772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56773 Use correct parm save area and cr save, reduce stack frame.
56774 Correct cfi for possible PSEUDO_RET frame setup.
56775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56776 Branch to local label emitted by PSEUDO_RET rather than
56777 __syscall_error.
56778
02637374
AS
567792010-08-12 Andreas Schwab <schwab@redhat.com>
56780
56781 [BZ #11904]
56782 * locale/programs/locale.c (print_assignment): New function.
56783 (show_locale_vars): Use it.
56784
c3e2f19b
UD
567852010-08-11 Ulrich Drepper <drepper@redhat.com>
56786
3cdaa6ad
UD
56787 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56788 field.
56789 (struct statfs64): Likewise.
56790 (_STATFS_F_FLAGS): Define.
56791 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56792 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56793 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56794 (ST_VALID): Define locally.
56795 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56796 __statvfs_getflags, use the provided value.
56797 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56798 __ASSUME_STATFS_F_FLAGS.
56799
754f7da3
UD
56800 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56801
10b3bedc
UD
56802 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56803 Add sys/fanotify.h.
56804 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56805 fanotify_mask for GLIBC_2.13.
56806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56807 fanotify_init and fanotify_mark.
56808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56809 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56810
c08fb0d7
UD
56811 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56812 Add prlimit.
56813 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56814 prlimit64 for GLIBC_2.13.
56815 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56816 prlimit64.
56817 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56818 syscall.
56819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56820 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56821 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56822 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56824 add prlimit alias.
56825 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56826
15bac72b
UD
56827 [BZ #11903]
56828 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56829 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56830
c3e2f19b
UD
56831 * nss/Makefile: Add rules to build and run tst-nss-test1.
56832 * shlib-versions: Add entry for libnss_test1.
56833 * nss/nss_test1.c: New file.
56834 * nss/tst-nss-test1.c: New file.
56835
56836 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56837 (__nss_configure_lookup): Set appropriate entry in
56838 __nss_configure_lookup to true.
56839 * nss/nsswitch.h: Define enum with indeces of databases in
56840 databases and __nss_database_custom arrays. Declare
56841 __nss_database_custom.
56842 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56843 to avoid using nscd when custom rules are installed.
56844 * nss/getXXbyYY_r.c: Likewise.
56845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56846
56847 * nss/nss_files/files-parse.c: Whitespace fixes.
56848
f15ce4d8
UD
568492010-08-09 Ulrich Drepper <drepper@redhat.com>
56850
56851 [BZ #11883]
56852 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56853 * posix/fnmatch_loop.c: Likewise.
56854
d22e4cc9
AK
568552010-07-17 Andi Kleen <ak@linux.intel.com>
56856
56857 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56858 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56859 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56860 * Versions.def [GLIBC_2.13]: Add.
56861
805bc17d
UD
568622010-08-06 Ulrich Drepper <drepper@redhat.com>
56863
56864 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56865 Also fail if tpwd after pwuid call is NULL.
56866
5a42321d
ST
568672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56868
56869 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56870 when converting to ms.
56871
fd3ebeda
ST
568722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56873
56874 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56875 EOPNOTSUPP errors with ENOTTY.
56876 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56877 EOPNOTSUPP errors with ENOTTY.
56878
73507d3a
UD
568792010-07-31 Ulrich Drepper <drepper@redhat.com>
56880
56881 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56882 Add strcasecmp_l-ssse3.
56883 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56884 strcasecmp.
56885 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56886 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56887 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56888
fe36dd02
UD
568892010-07-30 Ulrich Drepper <drepper@redhat.com>
56890
66f6765a
UD
56891 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56892
42e08a54
UD
56893 * string/Makefile (strop-tests): Add strcasecmp.
56894 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56895 strcasecmp_l-nonascii.
56896 (gen-as-const-headers): Add locale-defines.sym.
56897 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56898 * sysdeps/x86_64/strcasecmp.S: New file.
56899 * sysdeps/x86_64/strcasecmp_l.S: New file.
56900 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56901 * sysdeps/x86_64/locale-defines.sym: New file.
56902 * string/test-strcasecmp.c: New file.
56903
fe36dd02
UD
56904 * string/test-strcasestr.c: Test both ends of the range of characters.
56905 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56906
48cbc0d6
RM
569072010-07-29 Roland McGrath <roland@redhat.com>
56908
76e6d6bc 56909 [BZ #11856]
48cbc0d6
RM
56910 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56911
880113d9
UD
569122010-07-27 Ulrich Drepper <drepper@redhat.com>
56913
56914 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56915 for ld.so.
56916
deb9cabb
AS
569172010-07-27 Andreas Schwab <schwab@redhat.com>
56918
56919 * manual/memory.texi (Malloc Tunable Parameters): Document
56920 M_PERTURB.
56921
1c7570ff
RM
569222010-07-26 Roland McGrath <roland@redhat.com>
56923
56924 [BZ #11840]
56925 * configure.in (-fgnu89-inline check): Set and substitute
56926 gnu89_inline, not libc_cv_gnu89_inline.
56927 * configure: Regenerated.
56928 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56929
24fb0f88
UD
569302010-07-26 Ulrich Drepper <drepper@redhat.com>
56931
56932 * string/test-strnlen.c: New file.
56933 * string/Makefile (strop-tests): Add strnlen.
56934 * string/tester.c (test_strnlen): Add a few more test cases.
56935 * string/tst-strlen.c: Better error reporting.
56936
56937 * sysdeps/x86_64/strnlen.S: New file.
56938
8e96b93a
UD
569392010-07-24 Ulrich Drepper <drepper@redhat.com>
56940
56941 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56942 lower-latency instructions.
56943
dbc676d4
UD
569442010-07-23 Ulrich Drepper <drepper@redhat.com>
56945
56946 * string/test-strcasestr.c: New file.
56947 * string/test-strstr.c: New file.
56948 * string/Makefile (strop-tests): Add strstr and strcasestr.
56949 * string/str-two-way.h: Don't undefine MAX.
56950 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56951
f6a31e0e
AS
569522010-07-21 Andreas Schwab <schwab@redhat.com>
56953
56954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56955 strcasestr-nonascii.
56956 (CFLAGS-strcasestr-nonascii.c): Define.
56957 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56958 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56959 Remove unused attribute.
56960
5dbc3b6c
RM
569612010-07-20 Roland McGrath <roland@redhat.com>
56962
56963 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56964 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56965 ld.so.cache was broken. With it, there is no way to disable dsocaps
56966 like LD_HWCAP_MASK can disable hwcaps.
56967
23d101d8
EPM
569682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56969
56970 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56971
cc9f2e47
UD
569722010-07-16 Ulrich Drepper <drepper@redhat.com>
56973
56974 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56975 call in strcasestr.
56976 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56977 __strcasestr_sse42_nonascii.
56978 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56979 strcasestr-nonascii.c.
56980 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56981
77c1b069
LM
569822010-06-15 Luis Machado <luisgpm@br.ibm.com>
56983
56984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56985 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56987 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56988
440566c3
UD
569892010-07-09 Ulrich Drepper <drepper@redhat.com>
56990
56991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56992 fcntl.
56993
5be9d05d
AS
569942010-07-06 Andreas Schwab <schwab@redhat.com>
56995
c30b7ee2 56996 [BZ #11577]
5be9d05d
AS
56997 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56998 dl_signal_cerror.
56999
8a492a67
UD
570002010-07-06 Ulrich Drepper <drepper@redhat.com>
57001
57002 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57003 _PC_PIPE_BUF using F_GETPIPE_SZ.
57004
713df3d5
RM
570052010-07-05 Roland McGrath <roland@redhat.com>
57006
57007 * manual/arith.texi (Rounding Functions): Fix rint description
57008 implicit in round description.
57009
702e8f14
UD
570102010-07-02 Ulrich Drepper <drepper@redhat.com>
57011
57012 * elf/Makefile: Fix linking for a few tests to make recent linker
57013 happy.
57014
52ed8be9
AS
570152010-06-30 Andreas Schwab <schwab@redhat.com>
57016
57017 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57018 $(common-objpfx)libc_nonshared.a.
57019
f47c9a11
LM
570202010-06-21 Luis Machado <luisgpm@br.ibm.com>
57021
57022 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57023 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57024 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57025 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57026 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57027 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57028 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57029 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57044 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57045 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57046 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57047 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57048 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57049 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57050 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57051 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57052 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57053 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57054 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57055 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57070
6fb8cbcb
L
570712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57072
57073 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57074 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57075 * string/memmove.c (memmove): Renamed to ...
57076 (MEMMOVE): ...this. Default to memmove.
57077 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57078 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57079 (END_CHK): Define.
57080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57081 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57082 mempcpy-ssse3-back memmove-ssse3-back.
57083 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57086 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57087 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57088 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57089 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57090 * sysdeps/x86_64/multiarch/memmove.c: New file.
57091 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57092 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57093 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57094 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57095 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57096 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57097 Define.
57098 (index_Fast_Copy_Backward): Define.
57099 (HAS_ARCH_FEATURE): Define.
57100 (HAS_FAST_REP_STRING): Define.
57101 (HAS_FAST_COPY_BACKWARD): Define.
57102
4e733bac 571032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
57104
57105 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57106 Restore proper fallback handling.
57107
63c4ed22
UD
571082010-06-19 Ulrich Drepper <drepper@redhat.com>
57109
ac2b484c
UD
57110 [BZ #11701]
57111 * posix/group_member.c (__group_member): Correct checking loop.
57112
63c4ed22
UD
57113 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57114 OOM in getpwuid_r correctly. Return error number when the caller
57115 should return, otherwise -1.
57116 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57117 call returning > 0 value.
57118 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57119
765ade4b
AS
571202010-06-07 Andreas Schwab <schwab@redhat.com>
57121
57122 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57123 libc_nonshared.a from targets in modules-names.
57124
80da2e09
KS
571252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57126
57127 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57128 requires it.
57129
158db122
LM
571302010-06-10 Luis Machado <luisgpm@br.ibm.com>
57131
57132 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57133 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57134 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57135 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57136
caa78cf8
AS
571372010-06-02 Andreas Schwab <schwab@redhat.com>
57138
57139 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57140
b2ef2c01
UD
571412010-06-14 Ulrich Drepper <drepper@redhat.com>
57142
57143 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57144 and F_GETPIPE_SZ.
57145 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57147 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57148 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57149 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57150 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57151
fbd643b6
RM
571522010-06-14 Roland McGrath <roland@redhat.com>
57153
57154 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57155
f32f2869
JJ
571562010-06-07 Jakub Jelinek <jakub@redhat.com>
57157
57158 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57159 __REDIRECT followed by __THROW.
57160 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57161 * posix/getopt.h (getopt): Likewise.
57162
2a50c078
EPM
571632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57164
57165 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57166 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57167 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57168 in AT_FLAGS.
57169 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57170 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57171
eb5ad2eb
LM
571722010-05-28 Luis Machado <luisgpm@br.ibm.com>
57173
57174 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57175
3c88fe1e
L
571762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57177
57178 [BZ #11640]
57179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57180 Properly check family and model.
57181
d2f73151
TY
571822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57183
57184 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57185
ebd2e13d
LM
571862010-05-24 Luis Machado <luisgpm@br.ibm.com>
57187
57188 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57189
b32b8b45
UD
571902010-05-21 Ulrich Drepper <drepper@redhat.com>
57191
57192 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57193 symbol reference.
57194
9acbe24d
AS
571952010-05-19 Andreas Schwab <schwab@redhat.com>
57196
57197 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57198 symbol reference.
57199
f0ccf6ea
AS
572002010-05-21 Andreas Schwab <schwab@redhat.com>
57201
3d04ff3a
AS
57202 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57203 and internal_recvmmsg.
57204 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57205 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57206 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57207 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57208
f0ccf6ea
AS
57209 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57210 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57211 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57212
5b08ac57
AS
572132010-05-20 Andreas Schwab <schwab@redhat.com>
57214
57215 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57216
4828935d
LM
572172010-05-17 Luis Machado <luisgpm@br.ibm.com>
57218
57219 POWER7 optimizations.
57220 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57221 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57222
373d545e
UD
572232010-05-19 Ulrich Drepper <drepper@redhat.com>
57224
57225 * version.h: Update for 2.13 development version.
57226
21a2b1ae
AS
572272010-05-12 Andrew Stubbs <ams@codesourcery.com>
57228
57229 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57230 exceptions. Return 0.
57231
3f7dcb2b
RM
572322010-05-07 Roland McGrath <roland@redhat.com>
57233
57234 * elf/ldconfig.c (main): Add a const.
57235
5f24d53a 572362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 57237
a160f8d8
UD
57238 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57239 (args_options): Add no-idn option.
57240 (ahosts_keys_int): Add idn_flags to ai_flags.
57241 (parse_option): Handle 'i' option to clear idn_flags.
57242
5f24d53a
UD
57243 * malloc/malloc.c (_int_free): Possible race in the most recently
57244 added check. Only act on the data if no current modification
57245 happened.
265bb1ce
UD
57246
57247See ChangeLog.17 for earlier changes.